1. 20 11月, 2015 1 次提交
  2. 16 11月, 2015 1 次提交
  3. 11 11月, 2015 4 次提交
  4. 07 11月, 2015 1 次提交
    • S
      Parameterize with options to preserve case of string · c9143e15
      Swaathi K 提交于
      Added test cases
      
      Using kwargs instead of three seperate functions
      
      Updated parameterize in transliterate.rb
      
      Updated parameterize in transliterate.rb
      
      Added deprecation warnings and updating RDoc+Guide
      
      Misspelled separtor. Fixed.
      
      Deprecated test cases and added support to parameterize with keyword parameters
      
      Squashing commits.
      
      Fixed test cases and added deprecated test cases
      
      Small changes to Gemfile.lock and CHANGELOG
      
      Update Gemfile.lock
      c9143e15
  5. 22 10月, 2015 1 次提交
  6. 21 10月, 2015 2 次提交
  7. 02 10月, 2015 1 次提交
  8. 25 9月, 2015 1 次提交
    • L
      Make `assert_difference` return the result of the yielded block. · 564b1620
      Lucas Mazza 提交于
      With this we can perform new assertions on the returned value without having
      to cache it with an outer variable or wrapping all subsequent assertions inside
      the `assert_difference` block.
      
      Before:
      
      ```
      post = nil
      assert_difference -> { Post.count }, 1 do
        Post.create
      end
      
      assert_predicate post, :persisted?
      ```
      
      Now:
      
      ```
      post = assert_difference -> { Post.count } do
        Post.create
      end
      
      assert_predicate post, :persisted?
      ```
      564b1620
  9. 23 9月, 2015 1 次提交
  10. 21 9月, 2015 1 次提交
  11. 19 9月, 2015 1 次提交
  12. 04 9月, 2015 1 次提交
  13. 01 9月, 2015 1 次提交
  14. 29 8月, 2015 1 次提交
    • L
      ArrayInquirer to correctly find symbols or strings · 7abbe137
      Leigh Halliday 提交于
      The problem existed where if your ArrayInquirer values were
      strings but you checked them using any? with a symbol, it would
      not find the value. Now it will correctly check whether both
      the String form or the Symbol form are included in the Array.
      
      `
      7abbe137
  15. 28 8月, 2015 1 次提交
    • V
      - Extracted `DELIMITED_REGEX` to `delimited_regex` method and made use of ... · 7f23c5d5
      Vipul A M 提交于
      - Extracted `DELIMITED_REGEX` to `delimited_regex` method and made use of  user passed `options[:delimited_regex]` if available. Changed `DELIMITED_REGEX` to `DEFAULT)DELIMITED_REGEX` to signify what it means.
      - Added tests for number to delimited and number to currency in both actionview and activesupport.
      
      Changes
      
      Changes
      7f23c5d5
  16. 11 8月, 2015 1 次提交
  17. 27 7月, 2015 1 次提交
  18. 19 7月, 2015 1 次提交
    • R
      Fix `TimeWithZone#eql?` to handle `TimeWithZone` created from `DateTime` · 46b5b8ef
      Roque Pinel 提交于
      Before:
      
      ```ruby
        twz = DateTime.now.in_time_zone
        twz.eql?(twz.dup) => false
      ```
      
      Now:
      
      ```ruby
        twz = DateTime.now.in_time_zone
        twz.eql?(twz.dup) => true
      ```
      
      Please notice that this fix the `TimeWithZone` comparison to itself,
      not to `DateTime`. Based on #3725, `DateTime` should not be equal to
      `TimeWithZone`.
      46b5b8ef
  19. 18 7月, 2015 1 次提交
  20. 14 7月, 2015 1 次提交
    • J
      Replaced `ActiveSupport::Concurrency::Latch` with concurrent-ruby. · 284a9ba8
      Jerry D'Antonio 提交于
      The concurrent-ruby gem is a toolset containing many concurrency
      utilities. Many of these utilities include runtime-specific
      optimizations when possible. Rather than clutter the Rails codebase with
      concurrency utilities separate from the core task, such tools can be
      superseded by similar tools in the more specialized gem. This commit
      replaces `ActiveSupport::Concurrency::Latch` with
      `Concurrent::CountDownLatch`, which is functionally equivalent.
      284a9ba8
  21. 11 7月, 2015 1 次提交
  22. 10 7月, 2015 2 次提交
  23. 09 6月, 2015 1 次提交
    • G
      Handle invalid UTF-8 strings when HTML escaping · 05a2a6a0
      Grey Baker 提交于
      Use `ActiveSupport::Multibyte::Unicode.tidy_bytes` to handle invalid UTF-8
      strings in `ERB::Util.unwrapped_html_escape` and `ERB::Util.html_escape_once`.
      Prevents user-entered input passed from a querystring into a form field from
      causing invalid byte sequence errors.
      05a2a6a0
  24. 08 6月, 2015 1 次提交
  25. 01 6月, 2015 1 次提交
  26. 29 5月, 2015 1 次提交
    • K
      Add Enumerable#pluck. · d9092117
      Kevin Deisz 提交于
      Allows fetching the same values from arrays as from ActiveRecord associations.
      d9092117
  27. 24 5月, 2015 1 次提交
  28. 23 5月, 2015 1 次提交
  29. 20 5月, 2015 2 次提交
    • Y
      add missing punctuation in changelog. [ci skip] · 1ceeadad
      Yves Senn 提交于
      1ceeadad
    • N
      Patch `Delegator` to work with `#try` · af53280a
      Nate Smith 提交于
      `Delegator` inherits from `BasicObject`, which means that it will not
      have `Object#try` defined. It will then delegate the call to the
      underlying object, which will not (necessarily) respond to the method
      defined in the enclosing `Delegator`.
      
      This patches `Delegator` with the `#try` method to work around the
      surprising behaviour.
      
      Fixes #5790
      af53280a
  30. 19 5月, 2015 1 次提交
  31. 16 5月, 2015 1 次提交
  32. 14 5月, 2015 2 次提交
  33. 23 4月, 2015 1 次提交
    • A
      Improve ActiveSupport::TimeWithZone conversion to YAML · 3aa26cfb
      Andrew White 提交于
      Previously when converting AS::TimeWithZone to YAML it would be output
      as a UTC timestamp. Whilst this preserves the time information accurately
      it loses the timezone information. This commit changes that so that it is
      saved along with the time information. It also provides nicer encoding of
      AS::TimeZone instances themselves which previously embedded all of the
      data from the TZInfo records.
      
      Fixes #9183.
      3aa26cfb