1. 16 7月, 2019 1 次提交
  2. 29 7月, 2018 1 次提交
  3. 29 11月, 2017 1 次提交
  4. 29 10月, 2017 1 次提交
    • N
      Deprecate ActiveSupport::Inflector#acronym_regex · b2545e41
      Nick LaMuro 提交于
      To be removed in Rails 6.0 (default for the deprecate helper).  Code
      moved around as well for the ActiveSupport::Deprecation modules, since
      it was dependent on ActiveSupport::Inflector being loaded for it to
      work.  By "lazy loading" the Inflector code from within the Deprecation
      code, we can require ActiveSupport::Deprecation from
      ActiveSupport::Inflector and not get a circular dependency issue.
      b2545e41
  5. 21 10月, 2017 1 次提交
  6. 11 7月, 2017 1 次提交
  7. 09 7月, 2017 1 次提交
  8. 02 7月, 2017 1 次提交
  9. 01 7月, 2017 2 次提交
  10. 25 1月, 2017 1 次提交
    • J
      Change ActionView ERB Handler from Erubis to Erubi · 7da8d762
      Jeremy Evans 提交于
      Erubi offers the following advantages for Rails:
      
      * Works with ruby's --enable-frozen-string-literal option
      * Has 88% smaller memory footprint
      * Does no freedom patching (Erubis adds a method to Kernel)
      * Has simpler internals (1 file, <150 lines of code)
      * Has an open development model (Erubis doesn't have a
        public source control repository or bug tracker)
      * Is not dead (Erubis hasn't been updated since 2011)
      
      Erubi is a simplified fork of Erubis that contains just the
      parts that are generally needed (which includes the parts
      that Rails uses).  The only intentional difference in
      behavior is that it does not include support for <%=== tags
      for debug output.  That could be added to the ActionView ERB
      handler if it is desired.
      
      The Erubis template handler remains in a deprecated state
      so that code that accesses it directly does not break.  It
      can be removed after Rails 5.1.
      7da8d762
  11. 07 8月, 2016 1 次提交
  12. 23 7月, 2016 1 次提交
  13. 30 1月, 2016 1 次提交
  14. 27 1月, 2016 1 次提交
  15. 20 9月, 2015 1 次提交
  16. 25 8月, 2015 1 次提交
  17. 07 6月, 2015 1 次提交
  18. 25 5月, 2015 2 次提交
  19. 04 5月, 2015 1 次提交
  20. 25 4月, 2015 1 次提交
  21. 01 5月, 2013 1 次提交
  22. 08 12月, 2012 1 次提交
  23. 14 9月, 2012 1 次提交
  24. 13 9月, 2012 2 次提交
    • P
      Change ActiveSupport::Deprecation to class. · 71993c6f
      Piotr Niełacny 提交于
      ActiveSupport::Deprecation is now a class rather than a module. You can
      get instance of ActiveSupport::Deprecation calling #instance method.
      
        ActiveSupport::Deprecation.instance
      
      But when you need to get new object od ActiveSupport::Deprecation you
      need to just call #new.
      
        @instance = ActiveSupport::Deprecation.new
      
      Since you can create a new object, you can change the version and the
      name of the library where the deprecator concerned.
      
        ActiveSupport::Deprecation.new('2.0', 'MyGem')
      
      If you need use another deprecator instance you can select it in the
      options of deprecate method.
      
        deprecate :method, :deprecator => deprecator_instance
      
      Documentation has been updated.
      71993c6f
    • R
      extend ActiveSupport::Deprecation with self, allow other objects to extend/include it also. · 2c690a0f
      Robert Pankowecki 提交于
      test local deprecation
      
      deprecator object
      
      Test ActiveSupport::Deprecation when included
      2c690a0f
  25. 12 1月, 2011 1 次提交
  26. 27 8月, 2010 1 次提交
  27. 27 7月, 2010 2 次提交
  28. 27 4月, 2009 1 次提交
  29. 23 4月, 2009 1 次提交
  30. 18 4月, 2009 1 次提交