1. 20 7月, 2014 1 次提交
    • R
      Stop requiring mocha automatically · fd6aaaa0
      Rafael Mendonça França 提交于
      We are planning to remove mocha from our test suite because of
      performance problems. To make this possible we should stop require mocha
      on ActionSupport::TestCase.
      
      This should not affect applications since users still need to add mocha
      to Gemfile and this already load mocha.
      
      Added FIXME notes to place that still need mocha removal
      fd6aaaa0
  2. 16 7月, 2014 1 次提交
  3. 18 6月, 2014 1 次提交
    • R
      Add a generic --skip-gems options to generator · 10565895
      Rafael Mendonça França 提交于
      Also remove --skip-turbolinks.
      
      This option is useful if users want to remove some gems like jbuilder,
      turbolinks, coffee-rails, etc that don't have specific options on the
      generator.
      
          rails new my_app --skip-gems turbolinks coffee-rails
      10565895
  4. 14 6月, 2014 1 次提交
  5. 30 5月, 2014 1 次提交
  6. 18 5月, 2014 2 次提交
  7. 11 4月, 2014 1 次提交
  8. 09 4月, 2014 1 次提交
  9. 24 3月, 2014 2 次提交
  10. 26 2月, 2014 2 次提交
  11. 15 2月, 2014 1 次提交
    • A
      remove railties changes. fixes #14054 · 22a1a5ac
      Aaron Patterson 提交于
      Squashed commit of the following:
      
      commit 96991e8e919edfb20cc4120bca4e36ed51175d57
      Author: Aaron Patterson <aaron.patterson@gmail.com>
      Date:   Fri Feb 14 11:29:24 2014 -0800
      
          Revert "gems can be added or skipped from the template"
      
          This reverts commit 8beb42cf.
      
          Conflicts:
          	railties/lib/rails/generators/rails/app/app_generator.rb
          	railties/test/generators/app_generator_test.rb
      
      commit 35599c0e657245ef14ac0f28c9189ad16acf40e6
      Author: Aaron Patterson <aaron.patterson@gmail.com>
      Date:   Fri Feb 14 11:26:53 2014 -0800
      
          Revert "oops, template replay needs to happen after bundle. :orz:"
      
          This reverts commit 9104702b.
      
          Conflicts:
          	railties/lib/rails/generators/rails/app/app_generator.rb
      
      commit f519c3902c313db8e906a49251c91643b8e6499e
      Author: Aaron Patterson <aaron.patterson@gmail.com>
      Date:   Fri Feb 14 11:25:51 2014 -0800
      
          Revert "only ask for these ivars if the target responds to them"
      
          This reverts commit 656d4125.
      
      commit aa524a9428e3e4c45fe221f10a66a08efb827ab5
      Author: Aaron Patterson <aaron.patterson@gmail.com>
      Date:   Fri Feb 14 11:25:39 2014 -0800
      
          Revert "refactor generator tests to use block form of Tempfile"
      
          This reverts commit 65251820.
      
      commit 7d3740549fa4dfa62e3761f8d4bc6d6d441256e7
      Author: Aaron Patterson <aaron.patterson@gmail.com>
      Date:   Fri Feb 14 11:25:25 2014 -0800
      
          Revert "add a more restricted codepath for templates fixes #13390"
      
          This reverts commit 2875b4a6.
      
      commit 525df0af1001918986cdfce59539fd2d52c4f32c
      Author: Aaron Patterson <aaron.patterson@gmail.com>
      Date:   Fri Feb 14 11:25:11 2014 -0800
      
          Revert "add a send so `apply` can be called.  Fixes #13510"
      
          This reverts commit c5034d60.
      22a1a5ac
  12. 11 2月, 2014 1 次提交
  13. 30 1月, 2014 2 次提交
    • G
      Modify the session serializer implementation · fd487860
      Guillermo Iguaran 提交于
      Rename allowed options to :marshal and :json, for custom serializers
      only allow the use of custom classes.
      fd487860
    • L
      Allow session serializer key in config.session_store · b23ffd0d
      Lukasz Sarnacki 提交于
      MessageEncryptor has :serializer option, where any serializer object can
      be passed. This commit make it possible to set this serializer from configuration
      level.
      
      There are predefined serializers (:marshal_serializer, :json_serialzier)
      and custom serializer can be passed as String, Symbol (camelized and
      constantized in ActionDispatch::Session namepspace) or serializer object.
      
      Default :json_serializer was also added to generators to provide secure
      defalt.
      b23ffd0d
  14. 15 1月, 2014 1 次提交
  15. 13 1月, 2014 3 次提交
  16. 09 1月, 2014 2 次提交
  17. 06 12月, 2013 1 次提交
  18. 04 12月, 2013 1 次提交
  19. 01 12月, 2013 1 次提交
  20. 30 11月, 2013 1 次提交
  21. 29 11月, 2013 1 次提交
  22. 23 11月, 2013 2 次提交
  23. 22 11月, 2013 2 次提交
  24. 08 11月, 2013 1 次提交
  25. 05 11月, 2013 2 次提交
  26. 04 11月, 2013 1 次提交
  27. 28 10月, 2013 2 次提交
  28. 22 10月, 2013 1 次提交
    • R
      Make the application name snake cased when it contains spaces · 52b25261
      Robin Dupret 提交于
      The application name is used to fill the `database.yml` and
      `session_store.rb` files ; previously, if the provided name contained
      whitespaces, it led to unexpected names in these files.
      
      Since Shellwords.escape adds backslashes to escape spaces, the app_name
      should remove them and replace any space with an underscore (just like
      periods previously).
      
      Also improve the assert_file helper to work with paths containing spaces
      using String#shellescape.
      52b25261
  29. 25 8月, 2013 1 次提交