activesupport 4.0.13 → 4.1.0.beta1

Sign up to get free protection for your applications and to get access to all the features.

Potentially problematic release.


This version of activesupport might be problematic. Click here for more details.

Files changed (124) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +283 -508
  3. data/README.rdoc +1 -1
  4. data/lib/active_support.rb +7 -1
  5. data/lib/active_support/backtrace_cleaner.rb +5 -5
  6. data/lib/active_support/benchmarkable.rb +0 -10
  7. data/lib/active_support/cache.rb +62 -26
  8. data/lib/active_support/cache/file_store.rb +27 -22
  9. data/lib/active_support/cache/mem_cache_store.rb +2 -2
  10. data/lib/active_support/cache/memory_store.rb +1 -0
  11. data/lib/active_support/cache/strategy/local_cache.rb +3 -0
  12. data/lib/active_support/callbacks.rb +416 -245
  13. data/lib/active_support/concern.rb +13 -5
  14. data/lib/active_support/core_ext.rb +0 -1
  15. data/lib/active_support/core_ext/array.rb +0 -1
  16. data/lib/active_support/core_ext/array/access.rb +2 -0
  17. data/lib/active_support/core_ext/array/conversions.rb +2 -17
  18. data/lib/active_support/core_ext/array/grouping.rb +24 -12
  19. data/lib/active_support/core_ext/array/prepend_and_append.rb +2 -2
  20. data/lib/active_support/core_ext/class.rb +0 -1
  21. data/lib/active_support/core_ext/class/attribute.rb +1 -2
  22. data/lib/active_support/core_ext/class/attribute_accessors.rb +5 -169
  23. data/lib/active_support/core_ext/date/calculations.rb +10 -0
  24. data/lib/active_support/core_ext/date/conversions.rb +5 -6
  25. data/lib/active_support/core_ext/date/zones.rb +2 -33
  26. data/lib/active_support/core_ext/date_and_time/calculations.rb +30 -11
  27. data/lib/active_support/core_ext/date_and_time/zones.rb +41 -0
  28. data/lib/active_support/core_ext/date_time/calculations.rb +12 -25
  29. data/lib/active_support/core_ext/date_time/conversions.rb +2 -0
  30. data/lib/active_support/core_ext/date_time/zones.rb +3 -21
  31. data/lib/active_support/core_ext/hash.rb +0 -1
  32. data/lib/active_support/core_ext/hash/conversions.rb +6 -3
  33. data/lib/active_support/core_ext/hash/deep_merge.rb +11 -22
  34. data/lib/active_support/core_ext/hash/indifferent_access.rb +1 -0
  35. data/lib/active_support/core_ext/hash/keys.rb +27 -47
  36. data/lib/active_support/core_ext/kernel/reporting.rb +2 -6
  37. data/lib/active_support/core_ext/module.rb +1 -0
  38. data/lib/active_support/core_ext/module/attribute_accessors.rb +160 -14
  39. data/lib/active_support/core_ext/module/concerning.rb +135 -0
  40. data/lib/active_support/core_ext/module/delegation.rb +14 -4
  41. data/lib/active_support/core_ext/module/deprecation.rb +0 -2
  42. data/lib/active_support/core_ext/module/introspection.rb +0 -16
  43. data/lib/active_support/core_ext/module/method_transplanting.rb +11 -0
  44. data/lib/active_support/core_ext/numeric/time.rb +8 -0
  45. data/lib/active_support/core_ext/object.rb +1 -1
  46. data/lib/active_support/core_ext/object/blank.rb +1 -1
  47. data/lib/active_support/core_ext/object/deep_dup.rb +6 -6
  48. data/lib/active_support/core_ext/object/inclusion.rb +4 -15
  49. data/lib/active_support/core_ext/object/json.rb +197 -0
  50. data/lib/active_support/core_ext/object/to_json.rb +4 -26
  51. data/lib/active_support/core_ext/object/to_param.rb +58 -1
  52. data/lib/active_support/core_ext/object/to_query.rb +7 -56
  53. data/lib/active_support/core_ext/object/try.rb +1 -1
  54. data/lib/active_support/core_ext/range/each.rb +2 -1
  55. data/lib/active_support/core_ext/string/access.rb +31 -31
  56. data/lib/active_support/core_ext/string/conversions.rb +9 -8
  57. data/lib/active_support/core_ext/string/exclude.rb +3 -3
  58. data/lib/active_support/core_ext/string/filters.rb +14 -4
  59. data/lib/active_support/core_ext/string/inflections.rb +11 -9
  60. data/lib/active_support/core_ext/string/output_safety.rb +65 -24
  61. data/lib/active_support/core_ext/string/zones.rb +1 -0
  62. data/lib/active_support/core_ext/thread.rb +4 -4
  63. data/lib/active_support/core_ext/time/calculations.rb +10 -57
  64. data/lib/active_support/core_ext/time/conversions.rb +3 -1
  65. data/lib/active_support/core_ext/time/zones.rb +2 -21
  66. data/lib/active_support/dependencies.rb +29 -13
  67. data/lib/active_support/deprecation.rb +4 -4
  68. data/lib/active_support/deprecation/behaviors.rb +3 -3
  69. data/lib/active_support/duration.rb +5 -7
  70. data/lib/active_support/file_update_checker.rb +1 -1
  71. data/lib/active_support/hash_with_indifferent_access.rb +4 -9
  72. data/lib/active_support/i18n.rb +4 -4
  73. data/lib/active_support/i18n_railtie.rb +2 -6
  74. data/lib/active_support/inflections.rb +0 -1
  75. data/lib/active_support/inflector/inflections.rb +17 -17
  76. data/lib/active_support/inflector/methods.rb +34 -17
  77. data/lib/active_support/json/decoding.rb +14 -21
  78. data/lib/active_support/json/encoding.rb +113 -285
  79. data/lib/active_support/key_generator.rb +1 -1
  80. data/lib/active_support/lazy_load_hooks.rb +1 -1
  81. data/lib/active_support/log_subscriber/test_helper.rb +1 -1
  82. data/lib/active_support/logger.rb +1 -1
  83. data/lib/active_support/message_encryptor.rb +3 -3
  84. data/lib/active_support/message_verifier.rb +6 -1
  85. data/lib/active_support/multibyte/chars.rb +1 -2
  86. data/lib/active_support/multibyte/unicode.rb +27 -39
  87. data/lib/active_support/notifications.rb +3 -3
  88. data/lib/active_support/notifications/instrumenter.rb +2 -1
  89. data/lib/active_support/number_helper.rb +20 -311
  90. data/lib/active_support/number_helper/number_converter.rb +182 -0
  91. data/lib/active_support/number_helper/number_to_currency_converter.rb +46 -0
  92. data/lib/active_support/number_helper/number_to_delimited_converter.rb +21 -0
  93. data/lib/active_support/number_helper/number_to_human_converter.rb +66 -0
  94. data/lib/active_support/number_helper/number_to_human_size_converter.rb +58 -0
  95. data/lib/active_support/number_helper/number_to_percentage_converter.rb +12 -0
  96. data/lib/active_support/number_helper/number_to_phone_converter.rb +49 -0
  97. data/lib/active_support/number_helper/number_to_rounded_converter.rb +62 -0
  98. data/lib/active_support/option_merger.rb +1 -1
  99. data/lib/active_support/ordered_hash.rb +0 -8
  100. data/lib/active_support/ordered_options.rb +8 -0
  101. data/lib/active_support/per_thread_registry.rb +9 -8
  102. data/lib/active_support/subscriber.rb +26 -3
  103. data/lib/active_support/test_case.rb +9 -10
  104. data/lib/active_support/testing/assertions.rb +0 -30
  105. data/lib/active_support/testing/autorun.rb +2 -2
  106. data/lib/active_support/testing/declarative.rb +18 -8
  107. data/lib/active_support/testing/isolation.rb +13 -65
  108. data/lib/active_support/testing/setup_and_teardown.rb +17 -2
  109. data/lib/active_support/testing/tagged_logging.rb +1 -1
  110. data/lib/active_support/testing/time_helpers.rb +55 -0
  111. data/lib/active_support/time_with_zone.rb +4 -4
  112. data/lib/active_support/values/time_zone.rb +18 -15
  113. data/lib/active_support/version.rb +1 -1
  114. data/lib/active_support/xml_mini.rb +2 -4
  115. metadata +71 -61
  116. data/lib/active_support/basic_object.rb +0 -11
  117. data/lib/active_support/buffered_logger.rb +0 -21
  118. data/lib/active_support/core_ext/array/uniq_by.rb +0 -19
  119. data/lib/active_support/core_ext/hash/diff.rb +0 -14
  120. data/lib/active_support/core_ext/logger.rb +0 -67
  121. data/lib/active_support/core_ext/proc.rb +0 -17
  122. data/lib/active_support/core_ext/string/encoding.rb +0 -8
  123. data/lib/active_support/json/variable.rb +0 -18
  124. data/lib/active_support/testing/pending.rb +0 -14
@@ -146,12 +146,12 @@ module ActiveSupport
146
146
  # to +false+.
147
147
  #
148
148
  # # With ActiveSupport::JSON::Encoding.use_standard_json_time_format = true
149
- # Time.utc(2005,2,1,15,15,10).in_time_zone.to_json
150
- # # => "2005-02-01T15:15:10.000Z"
149
+ # Time.utc(2005,2,1,15,15,10).in_time_zone("Hawaii").to_json
150
+ # # => "2005-02-01T05:15:10.000-10:00"
151
151
  #
152
152
  # # With ActiveSupport::JSON::Encoding.use_standard_json_time_format = false
153
- # Time.utc(2005,2,1,15,15,10).in_time_zone.to_json
154
- # # => "2005/02/01 15:15:10 +0000"
153
+ # Time.utc(2005,2,1,15,15,10).in_time_zone("Hawaii").to_json
154
+ # # => "2005/02/01 05:15:10 -1000"
155
155
  def as_json(options = nil)
156
156
  if ActiveSupport::JSON::Encoding.use_standard_json_time_format
157
157
  xmlschema(3)
@@ -1,3 +1,4 @@
1
+ require 'thread_safe'
1
2
  require 'active_support/core_ext/object/blank'
2
3
  require 'active_support/core_ext/object/try'
3
4
 
@@ -184,6 +185,8 @@ module ActiveSupport
184
185
  UTC_OFFSET_WITH_COLON = '%s%02d:%02d'
185
186
  UTC_OFFSET_WITHOUT_COLON = UTC_OFFSET_WITH_COLON.sub(':', '')
186
187
 
188
+ @lazy_zones_map = ThreadSafe::Cache.new
189
+
187
190
  # Assumes self represents an offset from UTC in seconds (as returned from
188
191
  # Time#utc_offset) and turns this into an +HH:MM formatted string.
189
192
  #
@@ -232,7 +235,6 @@ module ActiveSupport
232
235
  # Compare this time zone to the parameter. The two are compared first on
233
236
  # their offsets, and then by name.
234
237
  def <=>(zone)
235
- return unless zone.respond_to? :utc_offset
236
238
  result = (utc_offset <=> zone.utc_offset)
237
239
  result = (name <=> zone.name) if result == 0
238
240
  result
@@ -280,7 +282,7 @@ module ActiveSupport
280
282
  #
281
283
  # Time.zone.now # => Fri, 31 Dec 1999 14:00:00 HST -10:00
282
284
  # Time.zone.parse('22:30:00') # => Fri, 31 Dec 1999 22:30:00 HST -10:00
283
- def parse(str, now=now())
285
+ def parse(str, now=now)
284
286
  parts = Date._parse(str, false)
285
287
  return if parts.empty?
286
288
 
@@ -315,6 +317,16 @@ module ActiveSupport
315
317
  tzinfo.now.to_date
316
318
  end
317
319
 
320
+ # Returns the next date in this time zone.
321
+ def tomorrow
322
+ today + 1
323
+ end
324
+
325
+ # Returns the previous date in this time zone.
326
+ def yesterday
327
+ today - 1
328
+ end
329
+
318
330
  # Adjust the given time to the simultaneous time in the time zone
319
331
  # represented by +self+. Returns a Time.utc() instance -- if you want an
320
332
  # ActiveSupport::TimeWithZone instance, use Time#in_time_zone() instead.
@@ -363,10 +375,8 @@ module ActiveSupport
363
375
 
364
376
  def zones_map
365
377
  @zones_map ||= begin
366
- new_zones_names = MAPPING.keys - lazy_zones_map.keys
367
- new_zones = Hash[new_zones_names.map { |place| [place, create(place)] }]
368
-
369
- lazy_zones_map.merge(new_zones)
378
+ MAPPING.each_key {|place| self[place]} # load all the zones
379
+ @lazy_zones_map
370
380
  end
371
381
  end
372
382
 
@@ -379,7 +389,7 @@ module ActiveSupport
379
389
  case arg
380
390
  when String
381
391
  begin
382
- lazy_zones_map[arg] ||= lookup(arg).tap { |tz| tz.utc_offset }
392
+ lazy_zones_map[arg] ||= create(arg).tap { |tz| tz.utc_offset }
383
393
  rescue TZInfo::InvalidTimezoneIdentifier
384
394
  nil
385
395
  end
@@ -408,16 +418,9 @@ module ActiveSupport
408
418
 
409
419
  private
410
420
 
411
- def lookup(name)
412
- (tzinfo = find_tzinfo(name)) && create(tzinfo.name.freeze)
413
- end
414
-
415
421
  def lazy_zones_map
416
422
  require_tzinfo
417
-
418
- @lazy_zones_map ||= Hash.new do |hash, place|
419
- hash[place] = create(place) if MAPPING.has_key?(place)
420
- end
423
+ @lazy_zones_map
421
424
  end
422
425
  end
423
426
 
@@ -1,7 +1,7 @@
1
1
  module ActiveSupport
2
2
  # Returns the version of the currently loaded ActiveSupport as a Gem::Version
3
3
  def self.version
4
- Gem::Version.new "4.0.13"
4
+ Gem::Version.new "4.1.0.beta1"
5
5
  end
6
6
 
7
7
  module VERSION #:nodoc:
@@ -1,9 +1,7 @@
1
1
  require 'time'
2
2
  require 'base64'
3
- require 'bigdecimal'
4
3
  require 'active_support/core_ext/module/delegation'
5
4
  require 'active_support/core_ext/string/inflections'
6
- require 'active_support/core_ext/date_time/calculations'
7
5
 
8
6
  module ActiveSupport
9
7
  # = XmlMini
@@ -58,13 +56,13 @@ module ActiveSupport
58
56
  # TODO use regexp instead of Date.parse
59
57
  unless defined?(PARSING)
60
58
  PARSING = {
61
- "symbol" => Proc.new { |symbol| symbol.to_s.to_sym },
59
+ "symbol" => Proc.new { |symbol| symbol.to_sym },
62
60
  "date" => Proc.new { |date| ::Date.parse(date) },
63
61
  "datetime" => Proc.new { |time| Time.xmlschema(time).utc rescue ::DateTime.parse(time).utc },
64
62
  "integer" => Proc.new { |integer| integer.to_i },
65
63
  "float" => Proc.new { |float| float.to_f },
66
64
  "decimal" => Proc.new { |number| BigDecimal(number) },
67
- "boolean" => Proc.new { |boolean| %w(1 true).include?(boolean.to_s.strip) },
65
+ "boolean" => Proc.new { |boolean| %w(1 true).include?(boolean.strip) },
68
66
  "string" => Proc.new { |string| string.to_s },
69
67
  "yaml" => Proc.new { |yaml| YAML::load(yaml) rescue yaml },
70
68
  "base64Binary" => Proc.new { |bin| ::Base64.decode64(bin) },
metadata CHANGED
@@ -1,89 +1,95 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: activesupport
3
3
  version: !ruby/object:Gem::Version
4
- version: 4.0.13
4
+ version: 4.1.0.beta1
5
5
  platform: ruby
6
6
  authors:
7
7
  - David Heinemeier Hansson
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-01-06 00:00:00.000000000 Z
11
+ date: 2013-12-18 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: i18n
15
15
  requirement: !ruby/object:Gem::Requirement
16
16
  requirements:
17
- - - "~>"
17
+ - - ~>
18
18
  - !ruby/object:Gem::Version
19
19
  version: '0.6'
20
- - - ">="
20
+ - - '>='
21
21
  - !ruby/object:Gem::Version
22
22
  version: 0.6.9
23
23
  type: :runtime
24
24
  prerelease: false
25
25
  version_requirements: !ruby/object:Gem::Requirement
26
26
  requirements:
27
- - - "~>"
27
+ - - ~>
28
28
  - !ruby/object:Gem::Version
29
29
  version: '0.6'
30
- - - ">="
30
+ - - '>='
31
31
  - !ruby/object:Gem::Version
32
32
  version: 0.6.9
33
33
  - !ruby/object:Gem::Dependency
34
- name: multi_json
34
+ name: json
35
35
  requirement: !ruby/object:Gem::Requirement
36
36
  requirements:
37
- - - "~>"
37
+ - - ~>
38
38
  - !ruby/object:Gem::Version
39
- version: '1.3'
39
+ version: '1.7'
40
+ - - '>='
41
+ - !ruby/object:Gem::Version
42
+ version: 1.7.7
40
43
  type: :runtime
41
44
  prerelease: false
42
45
  version_requirements: !ruby/object:Gem::Requirement
43
46
  requirements:
44
- - - "~>"
47
+ - - ~>
48
+ - !ruby/object:Gem::Version
49
+ version: '1.7'
50
+ - - '>='
45
51
  - !ruby/object:Gem::Version
46
- version: '1.3'
52
+ version: 1.7.7
47
53
  - !ruby/object:Gem::Dependency
48
54
  name: tzinfo
49
55
  requirement: !ruby/object:Gem::Requirement
50
56
  requirements:
51
- - - "~>"
57
+ - - ~>
52
58
  - !ruby/object:Gem::Version
53
- version: 0.3.37
59
+ version: '1.1'
54
60
  type: :runtime
55
61
  prerelease: false
56
62
  version_requirements: !ruby/object:Gem::Requirement
57
63
  requirements:
58
- - - "~>"
64
+ - - ~>
59
65
  - !ruby/object:Gem::Version
60
- version: 0.3.37
66
+ version: '1.1'
61
67
  - !ruby/object:Gem::Dependency
62
68
  name: minitest
63
69
  requirement: !ruby/object:Gem::Requirement
64
70
  requirements:
65
- - - "~>"
71
+ - - ~>
66
72
  - !ruby/object:Gem::Version
67
- version: '4.2'
73
+ version: '5.1'
68
74
  type: :runtime
69
75
  prerelease: false
70
76
  version_requirements: !ruby/object:Gem::Requirement
71
77
  requirements:
72
- - - "~>"
78
+ - - ~>
73
79
  - !ruby/object:Gem::Version
74
- version: '4.2'
80
+ version: '5.1'
75
81
  - !ruby/object:Gem::Dependency
76
82
  name: thread_safe
77
83
  requirement: !ruby/object:Gem::Requirement
78
84
  requirements:
79
- - - "~>"
85
+ - - ~>
80
86
  - !ruby/object:Gem::Version
81
87
  version: '0.1'
82
88
  type: :runtime
83
89
  prerelease: false
84
90
  version_requirements: !ruby/object:Gem::Requirement
85
91
  requirements:
86
- - - "~>"
92
+ - - ~>
87
93
  - !ruby/object:Gem::Version
88
94
  version: '0.1'
89
95
  description: A toolkit of support libraries and Ruby core extensions extracted from
@@ -97,92 +103,87 @@ files:
97
103
  - CHANGELOG.md
98
104
  - MIT-LICENSE
99
105
  - README.rdoc
100
- - lib/active_support.rb
101
106
  - lib/active_support/all.rb
102
107
  - lib/active_support/backtrace_cleaner.rb
103
- - lib/active_support/basic_object.rb
104
108
  - lib/active_support/benchmarkable.rb
105
- - lib/active_support/buffered_logger.rb
106
109
  - lib/active_support/builder.rb
107
- - lib/active_support/cache.rb
108
110
  - lib/active_support/cache/file_store.rb
109
111
  - lib/active_support/cache/mem_cache_store.rb
110
112
  - lib/active_support/cache/memory_store.rb
111
113
  - lib/active_support/cache/null_store.rb
112
114
  - lib/active_support/cache/strategy/local_cache.rb
115
+ - lib/active_support/cache.rb
113
116
  - lib/active_support/callbacks.rb
114
117
  - lib/active_support/concern.rb
115
118
  - lib/active_support/concurrency/latch.rb
116
119
  - lib/active_support/configurable.rb
117
- - lib/active_support/core_ext.rb
118
- - lib/active_support/core_ext/array.rb
119
120
  - lib/active_support/core_ext/array/access.rb
120
121
  - lib/active_support/core_ext/array/conversions.rb
121
122
  - lib/active_support/core_ext/array/extract_options.rb
122
123
  - lib/active_support/core_ext/array/grouping.rb
123
124
  - lib/active_support/core_ext/array/prepend_and_append.rb
124
- - lib/active_support/core_ext/array/uniq_by.rb
125
125
  - lib/active_support/core_ext/array/wrap.rb
126
+ - lib/active_support/core_ext/array.rb
126
127
  - lib/active_support/core_ext/benchmark.rb
127
- - lib/active_support/core_ext/big_decimal.rb
128
128
  - lib/active_support/core_ext/big_decimal/conversions.rb
129
- - lib/active_support/core_ext/class.rb
129
+ - lib/active_support/core_ext/big_decimal.rb
130
130
  - lib/active_support/core_ext/class/attribute.rb
131
131
  - lib/active_support/core_ext/class/attribute_accessors.rb
132
132
  - lib/active_support/core_ext/class/delegating_attributes.rb
133
133
  - lib/active_support/core_ext/class/subclasses.rb
134
- - lib/active_support/core_ext/date.rb
134
+ - lib/active_support/core_ext/class.rb
135
135
  - lib/active_support/core_ext/date/acts_like.rb
136
136
  - lib/active_support/core_ext/date/calculations.rb
137
137
  - lib/active_support/core_ext/date/conversions.rb
138
138
  - lib/active_support/core_ext/date/zones.rb
139
+ - lib/active_support/core_ext/date.rb
139
140
  - lib/active_support/core_ext/date_and_time/calculations.rb
140
- - lib/active_support/core_ext/date_time.rb
141
+ - lib/active_support/core_ext/date_and_time/zones.rb
141
142
  - lib/active_support/core_ext/date_time/acts_like.rb
142
143
  - lib/active_support/core_ext/date_time/calculations.rb
143
144
  - lib/active_support/core_ext/date_time/conversions.rb
144
145
  - lib/active_support/core_ext/date_time/zones.rb
146
+ - lib/active_support/core_ext/date_time.rb
145
147
  - lib/active_support/core_ext/enumerable.rb
146
- - lib/active_support/core_ext/file.rb
147
148
  - lib/active_support/core_ext/file/atomic.rb
148
- - lib/active_support/core_ext/hash.rb
149
+ - lib/active_support/core_ext/file.rb
149
150
  - lib/active_support/core_ext/hash/conversions.rb
150
151
  - lib/active_support/core_ext/hash/deep_merge.rb
151
- - lib/active_support/core_ext/hash/diff.rb
152
152
  - lib/active_support/core_ext/hash/except.rb
153
153
  - lib/active_support/core_ext/hash/indifferent_access.rb
154
154
  - lib/active_support/core_ext/hash/keys.rb
155
155
  - lib/active_support/core_ext/hash/reverse_merge.rb
156
156
  - lib/active_support/core_ext/hash/slice.rb
157
- - lib/active_support/core_ext/integer.rb
157
+ - lib/active_support/core_ext/hash.rb
158
158
  - lib/active_support/core_ext/integer/inflections.rb
159
159
  - lib/active_support/core_ext/integer/multiple.rb
160
160
  - lib/active_support/core_ext/integer/time.rb
161
- - lib/active_support/core_ext/kernel.rb
161
+ - lib/active_support/core_ext/integer.rb
162
162
  - lib/active_support/core_ext/kernel/agnostics.rb
163
163
  - lib/active_support/core_ext/kernel/debugger.rb
164
164
  - lib/active_support/core_ext/kernel/reporting.rb
165
165
  - lib/active_support/core_ext/kernel/singleton_class.rb
166
+ - lib/active_support/core_ext/kernel.rb
166
167
  - lib/active_support/core_ext/load_error.rb
167
- - lib/active_support/core_ext/logger.rb
168
168
  - lib/active_support/core_ext/marshal.rb
169
- - lib/active_support/core_ext/module.rb
170
169
  - lib/active_support/core_ext/module/aliasing.rb
171
170
  - lib/active_support/core_ext/module/anonymous.rb
172
171
  - lib/active_support/core_ext/module/attr_internal.rb
173
172
  - lib/active_support/core_ext/module/attribute_accessors.rb
173
+ - lib/active_support/core_ext/module/concerning.rb
174
174
  - lib/active_support/core_ext/module/delegation.rb
175
175
  - lib/active_support/core_ext/module/deprecation.rb
176
176
  - lib/active_support/core_ext/module/introspection.rb
177
+ - lib/active_support/core_ext/module/method_transplanting.rb
177
178
  - lib/active_support/core_ext/module/qualified_const.rb
178
179
  - lib/active_support/core_ext/module/reachable.rb
179
180
  - lib/active_support/core_ext/module/remove_method.rb
181
+ - lib/active_support/core_ext/module.rb
180
182
  - lib/active_support/core_ext/name_error.rb
181
- - lib/active_support/core_ext/numeric.rb
182
183
  - lib/active_support/core_ext/numeric/bytes.rb
183
184
  - lib/active_support/core_ext/numeric/conversions.rb
184
185
  - lib/active_support/core_ext/numeric/time.rb
185
- - lib/active_support/core_ext/object.rb
186
+ - lib/active_support/core_ext/numeric.rb
186
187
  - lib/active_support/core_ext/object/acts_like.rb
187
188
  - lib/active_support/core_ext/object/blank.rb
188
189
  - lib/active_support/core_ext/object/conversions.rb
@@ -190,23 +191,22 @@ files:
190
191
  - lib/active_support/core_ext/object/duplicable.rb
191
192
  - lib/active_support/core_ext/object/inclusion.rb
192
193
  - lib/active_support/core_ext/object/instance_variables.rb
194
+ - lib/active_support/core_ext/object/json.rb
193
195
  - lib/active_support/core_ext/object/to_json.rb
194
196
  - lib/active_support/core_ext/object/to_param.rb
195
197
  - lib/active_support/core_ext/object/to_query.rb
196
198
  - lib/active_support/core_ext/object/try.rb
197
199
  - lib/active_support/core_ext/object/with_options.rb
198
- - lib/active_support/core_ext/proc.rb
199
- - lib/active_support/core_ext/range.rb
200
+ - lib/active_support/core_ext/object.rb
200
201
  - lib/active_support/core_ext/range/conversions.rb
201
202
  - lib/active_support/core_ext/range/each.rb
202
203
  - lib/active_support/core_ext/range/include_range.rb
203
204
  - lib/active_support/core_ext/range/overlaps.rb
205
+ - lib/active_support/core_ext/range.rb
204
206
  - lib/active_support/core_ext/regexp.rb
205
- - lib/active_support/core_ext/string.rb
206
207
  - lib/active_support/core_ext/string/access.rb
207
208
  - lib/active_support/core_ext/string/behavior.rb
208
209
  - lib/active_support/core_ext/string/conversions.rb
209
- - lib/active_support/core_ext/string/encoding.rb
210
210
  - lib/active_support/core_ext/string/exclude.rb
211
211
  - lib/active_support/core_ext/string/filters.rb
212
212
  - lib/active_support/core_ext/string/indent.rb
@@ -217,23 +217,25 @@ files:
217
217
  - lib/active_support/core_ext/string/starts_ends_with.rb
218
218
  - lib/active_support/core_ext/string/strip.rb
219
219
  - lib/active_support/core_ext/string/zones.rb
220
+ - lib/active_support/core_ext/string.rb
220
221
  - lib/active_support/core_ext/struct.rb
221
222
  - lib/active_support/core_ext/thread.rb
222
- - lib/active_support/core_ext/time.rb
223
223
  - lib/active_support/core_ext/time/acts_like.rb
224
224
  - lib/active_support/core_ext/time/calculations.rb
225
225
  - lib/active_support/core_ext/time/conversions.rb
226
226
  - lib/active_support/core_ext/time/marshal.rb
227
227
  - lib/active_support/core_ext/time/zones.rb
228
+ - lib/active_support/core_ext/time.rb
228
229
  - lib/active_support/core_ext/uri.rb
229
- - lib/active_support/dependencies.rb
230
+ - lib/active_support/core_ext.rb
230
231
  - lib/active_support/dependencies/autoload.rb
231
- - lib/active_support/deprecation.rb
232
+ - lib/active_support/dependencies.rb
232
233
  - lib/active_support/deprecation/behaviors.rb
233
234
  - lib/active_support/deprecation/instance_delegator.rb
234
235
  - lib/active_support/deprecation/method_wrappers.rb
235
236
  - lib/active_support/deprecation/proxy_wrappers.rb
236
237
  - lib/active_support/deprecation/reporting.rb
238
+ - lib/active_support/deprecation.rb
237
239
  - lib/active_support/descendants_tracker.rb
238
240
  - lib/active_support/duration.rb
239
241
  - lib/active_support/file_update_checker.rb
@@ -243,29 +245,36 @@ files:
243
245
  - lib/active_support/i18n.rb
244
246
  - lib/active_support/i18n_railtie.rb
245
247
  - lib/active_support/inflections.rb
246
- - lib/active_support/inflector.rb
247
248
  - lib/active_support/inflector/inflections.rb
248
249
  - lib/active_support/inflector/methods.rb
249
250
  - lib/active_support/inflector/transliterate.rb
250
- - lib/active_support/json.rb
251
+ - lib/active_support/inflector.rb
251
252
  - lib/active_support/json/decoding.rb
252
253
  - lib/active_support/json/encoding.rb
253
- - lib/active_support/json/variable.rb
254
+ - lib/active_support/json.rb
254
255
  - lib/active_support/key_generator.rb
255
256
  - lib/active_support/lazy_load_hooks.rb
256
257
  - lib/active_support/locale/en.yml
257
- - lib/active_support/log_subscriber.rb
258
258
  - lib/active_support/log_subscriber/test_helper.rb
259
+ - lib/active_support/log_subscriber.rb
259
260
  - lib/active_support/logger.rb
260
261
  - lib/active_support/logger_silence.rb
261
262
  - lib/active_support/message_encryptor.rb
262
263
  - lib/active_support/message_verifier.rb
263
- - lib/active_support/multibyte.rb
264
264
  - lib/active_support/multibyte/chars.rb
265
265
  - lib/active_support/multibyte/unicode.rb
266
- - lib/active_support/notifications.rb
266
+ - lib/active_support/multibyte.rb
267
267
  - lib/active_support/notifications/fanout.rb
268
268
  - lib/active_support/notifications/instrumenter.rb
269
+ - lib/active_support/notifications.rb
270
+ - lib/active_support/number_helper/number_converter.rb
271
+ - lib/active_support/number_helper/number_to_currency_converter.rb
272
+ - lib/active_support/number_helper/number_to_delimited_converter.rb
273
+ - lib/active_support/number_helper/number_to_human_converter.rb
274
+ - lib/active_support/number_helper/number_to_human_size_converter.rb
275
+ - lib/active_support/number_helper/number_to_percentage_converter.rb
276
+ - lib/active_support/number_helper/number_to_phone_converter.rb
277
+ - lib/active_support/number_helper/number_to_rounded_converter.rb
269
278
  - lib/active_support/number_helper.rb
270
279
  - lib/active_support/option_merger.rb
271
280
  - lib/active_support/ordered_hash.rb
@@ -285,44 +294,45 @@ files:
285
294
  - lib/active_support/testing/declarative.rb
286
295
  - lib/active_support/testing/deprecation.rb
287
296
  - lib/active_support/testing/isolation.rb
288
- - lib/active_support/testing/pending.rb
289
297
  - lib/active_support/testing/setup_and_teardown.rb
290
298
  - lib/active_support/testing/tagged_logging.rb
299
+ - lib/active_support/testing/time_helpers.rb
291
300
  - lib/active_support/time.rb
292
301
  - lib/active_support/time_with_zone.rb
293
302
  - lib/active_support/values/time_zone.rb
294
303
  - lib/active_support/values/unicode_tables.dat
295
304
  - lib/active_support/version.rb
296
- - lib/active_support/xml_mini.rb
297
305
  - lib/active_support/xml_mini/jdom.rb
298
306
  - lib/active_support/xml_mini/libxml.rb
299
307
  - lib/active_support/xml_mini/libxmlsax.rb
300
308
  - lib/active_support/xml_mini/nokogiri.rb
301
309
  - lib/active_support/xml_mini/nokogirisax.rb
302
310
  - lib/active_support/xml_mini/rexml.rb
311
+ - lib/active_support/xml_mini.rb
312
+ - lib/active_support.rb
303
313
  homepage: http://www.rubyonrails.org
304
314
  licenses:
305
315
  - MIT
306
316
  metadata: {}
307
317
  post_install_message:
308
318
  rdoc_options:
309
- - "--encoding"
319
+ - --encoding
310
320
  - UTF-8
311
321
  require_paths:
312
322
  - lib
313
323
  required_ruby_version: !ruby/object:Gem::Requirement
314
324
  requirements:
315
- - - ">="
325
+ - - '>='
316
326
  - !ruby/object:Gem::Version
317
327
  version: 1.9.3
318
328
  required_rubygems_version: !ruby/object:Gem::Requirement
319
329
  requirements:
320
- - - ">="
330
+ - - '>'
321
331
  - !ruby/object:Gem::Version
322
- version: '0'
332
+ version: 1.3.1
323
333
  requirements: []
324
334
  rubyforge_project:
325
- rubygems_version: 2.4.5
335
+ rubygems_version: 2.1.11
326
336
  signing_key:
327
337
  specification_version: 4
328
338
  summary: A toolkit of support libraries and Ruby core extensions extracted from the