activesupport 3.2.22.5 → 4.0.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 (214) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +325 -136
  3. data/MIT-LICENSE +1 -1
  4. data/README.rdoc +4 -2
  5. data/lib/active_support.rb +8 -21
  6. data/lib/active_support/backtrace_cleaner.rb +33 -25
  7. data/lib/active_support/basic_object.rb +7 -17
  8. data/lib/active_support/benchmarkable.rb +19 -15
  9. data/lib/active_support/buffered_logger.rb +9 -113
  10. data/lib/active_support/cache.rb +203 -171
  11. data/lib/active_support/cache/file_store.rb +12 -12
  12. data/lib/active_support/cache/mem_cache_store.rb +24 -30
  13. data/lib/active_support/cache/memory_store.rb +2 -0
  14. data/lib/active_support/callbacks.rb +195 -247
  15. data/lib/active_support/concern.rb +16 -23
  16. data/lib/active_support/concurrency/latch.rb +27 -0
  17. data/lib/active_support/configurable.rb +69 -12
  18. data/lib/active_support/core_ext.rb +1 -0
  19. data/lib/active_support/core_ext/array.rb +0 -1
  20. data/lib/active_support/core_ext/array/access.rb +17 -9
  21. data/lib/active_support/core_ext/array/conversions.rb +113 -55
  22. data/lib/active_support/core_ext/array/extract_options.rb +2 -2
  23. data/lib/active_support/core_ext/array/grouping.rb +21 -22
  24. data/lib/active_support/core_ext/array/uniq_by.rb +12 -9
  25. data/lib/active_support/core_ext/array/wrap.rb +11 -14
  26. data/lib/active_support/core_ext/big_decimal/conversions.rb +7 -24
  27. data/lib/active_support/core_ext/class/attribute.rb +12 -8
  28. data/lib/active_support/core_ext/class/attribute_accessors.rb +14 -12
  29. data/lib/active_support/core_ext/class/delegating_attributes.rb +15 -19
  30. data/lib/active_support/core_ext/class/subclasses.rb +11 -5
  31. data/lib/active_support/core_ext/date.rb +6 -0
  32. data/lib/active_support/core_ext/date/calculations.rb +34 -188
  33. data/lib/active_support/core_ext/date/conversions.rb +16 -38
  34. data/lib/active_support/core_ext/date/infinite_comparable.rb +5 -0
  35. data/lib/active_support/core_ext/date/zones.rb +25 -2
  36. data/lib/active_support/core_ext/date_and_time/calculations.rb +232 -0
  37. data/lib/active_support/core_ext/date_time.rb +5 -0
  38. data/lib/active_support/core_ext/date_time/acts_like.rb +0 -1
  39. data/lib/active_support/core_ext/date_time/calculations.rb +73 -65
  40. data/lib/active_support/core_ext/date_time/conversions.rb +21 -33
  41. data/lib/active_support/core_ext/date_time/infinite_comparable.rb +5 -0
  42. data/lib/active_support/core_ext/date_time/zones.rb +11 -8
  43. data/lib/active_support/core_ext/enumerable.rb +26 -73
  44. data/lib/active_support/core_ext/file.rb +0 -1
  45. data/lib/active_support/core_ext/file/atomic.rb +27 -11
  46. data/lib/active_support/core_ext/hash.rb +0 -1
  47. data/lib/active_support/core_ext/hash/conversions.rb +145 -79
  48. data/lib/active_support/core_ext/hash/deep_merge.rb +14 -8
  49. data/lib/active_support/core_ext/hash/diff.rb +5 -4
  50. data/lib/active_support/core_ext/hash/except.rb +1 -9
  51. data/lib/active_support/core_ext/hash/indifferent_access.rb +4 -5
  52. data/lib/active_support/core_ext/hash/keys.rb +108 -24
  53. data/lib/active_support/core_ext/hash/reverse_merge.rb +2 -3
  54. data/lib/active_support/core_ext/hash/slice.rb +12 -12
  55. data/lib/active_support/core_ext/infinite_comparable.rb +35 -0
  56. data/lib/active_support/core_ext/integer/inflections.rb +13 -1
  57. data/lib/active_support/core_ext/integer/time.rb +17 -12
  58. data/lib/active_support/core_ext/kernel/debugger.rb +2 -2
  59. data/lib/active_support/core_ext/kernel/reporting.rb +36 -22
  60. data/lib/active_support/core_ext/kernel/singleton_class.rb +0 -7
  61. data/lib/active_support/core_ext/load_error.rb +7 -5
  62. data/lib/active_support/core_ext/logger.rb +7 -23
  63. data/lib/active_support/core_ext/marshal.rb +19 -0
  64. data/lib/active_support/core_ext/module.rb +1 -3
  65. data/lib/active_support/core_ext/module/aliasing.rb +8 -9
  66. data/lib/active_support/core_ext/module/anonymous.rb +2 -7
  67. data/lib/active_support/core_ext/module/attr_internal.rb +0 -1
  68. data/lib/active_support/core_ext/module/attribute_accessors.rb +12 -10
  69. data/lib/active_support/core_ext/module/delegation.rb +57 -40
  70. data/lib/active_support/core_ext/module/deprecation.rb +19 -3
  71. data/lib/active_support/core_ext/module/introspection.rb +17 -27
  72. data/lib/active_support/core_ext/module/qualified_const.rb +8 -20
  73. data/lib/active_support/core_ext/module/remove_method.rb +1 -5
  74. data/lib/active_support/core_ext/numeric.rb +2 -0
  75. data/lib/active_support/core_ext/numeric/conversions.rb +135 -0
  76. data/lib/active_support/core_ext/numeric/infinite_comparable.rb +9 -0
  77. data/lib/active_support/core_ext/numeric/time.rb +6 -6
  78. data/lib/active_support/core_ext/object.rb +1 -0
  79. data/lib/active_support/core_ext/object/acts_like.rb +4 -4
  80. data/lib/active_support/core_ext/object/blank.rb +7 -23
  81. data/lib/active_support/core_ext/object/deep_dup.rb +46 -0
  82. data/lib/active_support/core_ext/object/duplicable.rb +1 -30
  83. data/lib/active_support/core_ext/object/inclusion.rb +6 -6
  84. data/lib/active_support/core_ext/object/instance_variables.rb +7 -12
  85. data/lib/active_support/core_ext/object/to_json.rb +8 -0
  86. data/lib/active_support/core_ext/object/to_param.rb +5 -2
  87. data/lib/active_support/core_ext/object/try.rb +46 -25
  88. data/lib/active_support/core_ext/object/with_options.rb +7 -8
  89. data/lib/active_support/core_ext/proc.rb +3 -0
  90. data/lib/active_support/core_ext/range.rb +0 -2
  91. data/lib/active_support/core_ext/range/conversions.rb +0 -2
  92. data/lib/active_support/core_ext/range/include_range.rb +1 -1
  93. data/lib/active_support/core_ext/range/overlaps.rb +1 -1
  94. data/lib/active_support/core_ext/string.rb +2 -2
  95. data/lib/active_support/core_ext/string/access.rb +95 -90
  96. data/lib/active_support/core_ext/string/conversions.rb +29 -38
  97. data/lib/active_support/core_ext/string/encoding.rb +6 -9
  98. data/lib/active_support/core_ext/string/filters.rb +24 -18
  99. data/lib/active_support/core_ext/string/indent.rb +43 -0
  100. data/lib/active_support/core_ext/string/inflections.rb +70 -60
  101. data/lib/active_support/core_ext/string/inquiry.rb +2 -2
  102. data/lib/active_support/core_ext/string/multibyte.rb +41 -64
  103. data/lib/active_support/core_ext/string/output_safety.rb +59 -51
  104. data/lib/active_support/core_ext/string/zones.rb +13 -0
  105. data/lib/active_support/core_ext/struct.rb +6 -0
  106. data/lib/active_support/core_ext/thread.rb +74 -0
  107. data/lib/active_support/core_ext/time.rb +6 -0
  108. data/lib/active_support/core_ext/time/calculations.rb +105 -193
  109. data/lib/active_support/core_ext/time/conversions.rb +27 -51
  110. data/lib/active_support/core_ext/time/infinite_comparable.rb +5 -0
  111. data/lib/active_support/core_ext/time/marshal.rb +0 -27
  112. data/lib/active_support/core_ext/time/zones.rb +27 -17
  113. data/lib/active_support/core_ext/uri.rb +13 -17
  114. data/lib/active_support/dependencies.rb +160 -141
  115. data/lib/active_support/dependencies/autoload.rb +47 -20
  116. data/lib/active_support/deprecation.rb +39 -14
  117. data/lib/active_support/deprecation/behaviors.rb +44 -30
  118. data/lib/active_support/deprecation/instance_delegator.rb +24 -0
  119. data/lib/active_support/deprecation/method_wrappers.rb +33 -18
  120. data/lib/active_support/deprecation/proxy_wrappers.rb +58 -13
  121. data/lib/active_support/deprecation/reporting.rb +40 -11
  122. data/lib/active_support/descendants_tracker.rb +34 -19
  123. data/lib/active_support/duration.rb +6 -8
  124. data/lib/active_support/file_update_checker.rb +63 -47
  125. data/lib/active_support/gzip.rb +11 -5
  126. data/lib/active_support/hash_with_indifferent_access.rb +112 -37
  127. data/lib/active_support/i18n.rb +4 -0
  128. data/lib/active_support/i18n_railtie.rb +5 -22
  129. data/lib/active_support/inflections.rb +14 -12
  130. data/lib/active_support/inflector/inflections.rb +108 -71
  131. data/lib/active_support/inflector/methods.rb +181 -160
  132. data/lib/active_support/inflector/transliterate.rb +16 -17
  133. data/lib/active_support/json/decoding.rb +18 -17
  134. data/lib/active_support/json/encoding.rb +93 -39
  135. data/lib/active_support/json/variable.rb +10 -1
  136. data/lib/active_support/key_generator.rb +75 -0
  137. data/lib/active_support/lazy_load_hooks.rb +21 -19
  138. data/lib/active_support/locale/en.yml +100 -3
  139. data/lib/active_support/log_subscriber.rb +56 -36
  140. data/lib/active_support/log_subscriber/test_helper.rb +18 -15
  141. data/lib/active_support/logger.rb +57 -0
  142. data/lib/active_support/logger_silence.rb +24 -0
  143. data/lib/active_support/message_encryptor.rb +32 -29
  144. data/lib/active_support/message_verifier.rb +8 -14
  145. data/lib/active_support/multibyte.rb +5 -28
  146. data/lib/active_support/multibyte/chars.rb +80 -333
  147. data/lib/active_support/multibyte/unicode.rb +74 -64
  148. data/lib/active_support/notifications.rb +57 -25
  149. data/lib/active_support/notifications/fanout.rb +105 -18
  150. data/lib/active_support/notifications/instrumenter.rb +32 -13
  151. data/lib/active_support/number_helper.rb +636 -0
  152. data/lib/active_support/ordered_hash.rb +8 -190
  153. data/lib/active_support/ordered_options.rb +21 -23
  154. data/lib/active_support/proxy_object.rb +13 -0
  155. data/lib/active_support/rails.rb +27 -0
  156. data/lib/active_support/railtie.rb +12 -32
  157. data/lib/active_support/rescuable.rb +9 -4
  158. data/lib/active_support/string_inquirer.rb +13 -8
  159. data/lib/active_support/tagged_logging.rb +51 -73
  160. data/lib/active_support/test_case.rb +46 -17
  161. data/lib/active_support/testing/assertions.rb +56 -26
  162. data/lib/active_support/testing/autorun.rb +5 -0
  163. data/lib/active_support/testing/constant_lookup.rb +52 -0
  164. data/lib/active_support/testing/declarative.rb +1 -1
  165. data/lib/active_support/testing/deprecation.rb +0 -19
  166. data/lib/active_support/testing/isolation.rb +25 -58
  167. data/lib/active_support/testing/pending.rb +5 -43
  168. data/lib/active_support/testing/setup_and_teardown.rb +6 -92
  169. data/lib/active_support/testing/tagged_logging.rb +25 -0
  170. data/lib/active_support/time.rb +6 -21
  171. data/lib/active_support/time_with_zone.rb +78 -43
  172. data/lib/active_support/values/time_zone.rb +77 -58
  173. data/lib/active_support/values/unicode_tables.dat +0 -0
  174. data/lib/active_support/version.rb +4 -4
  175. data/lib/active_support/xml_mini.rb +35 -17
  176. data/lib/active_support/xml_mini/jdom.rb +9 -17
  177. data/lib/active_support/xml_mini/libxml.rb +1 -2
  178. data/lib/active_support/xml_mini/libxmlsax.rb +1 -2
  179. data/lib/active_support/xml_mini/nokogiri.rb +1 -2
  180. data/lib/active_support/xml_mini/nokogirisax.rb +1 -2
  181. data/lib/active_support/xml_mini/rexml.rb +6 -8
  182. metadata +107 -77
  183. data/lib/active_support/base64.rb +0 -54
  184. data/lib/active_support/core_ext/array/random_access.rb +0 -30
  185. data/lib/active_support/core_ext/date/freeze.rb +0 -33
  186. data/lib/active_support/core_ext/exception.rb +0 -3
  187. data/lib/active_support/core_ext/file/path.rb +0 -5
  188. data/lib/active_support/core_ext/float.rb +0 -1
  189. data/lib/active_support/core_ext/float/rounding.rb +0 -19
  190. data/lib/active_support/core_ext/hash/deep_dup.rb +0 -18
  191. data/lib/active_support/core_ext/io.rb +0 -15
  192. data/lib/active_support/core_ext/module/method_names.rb +0 -14
  193. data/lib/active_support/core_ext/module/synchronization.rb +0 -45
  194. data/lib/active_support/core_ext/process.rb +0 -1
  195. data/lib/active_support/core_ext/process/daemon.rb +0 -23
  196. data/lib/active_support/core_ext/range/blockless_step.rb +0 -29
  197. data/lib/active_support/core_ext/range/cover.rb +0 -3
  198. data/lib/active_support/core_ext/rexml.rb +0 -46
  199. data/lib/active_support/core_ext/string/interpolation.rb +0 -2
  200. data/lib/active_support/core_ext/time/publicize_conversion_methods.rb +0 -10
  201. data/lib/active_support/memoizable.rb +0 -116
  202. data/lib/active_support/multibyte/exceptions.rb +0 -8
  203. data/lib/active_support/multibyte/utils.rb +0 -60
  204. data/lib/active_support/ruby/shim.rb +0 -22
  205. data/lib/active_support/security_utils.rb +0 -27
  206. data/lib/active_support/testing/mochaing.rb +0 -7
  207. data/lib/active_support/testing/performance.rb +0 -317
  208. data/lib/active_support/testing/performance/jruby.rb +0 -115
  209. data/lib/active_support/testing/performance/rubinius.rb +0 -113
  210. data/lib/active_support/testing/performance/ruby.rb +0 -152
  211. data/lib/active_support/testing/performance/ruby/mri.rb +0 -57
  212. data/lib/active_support/testing/performance/ruby/yarv.rb +0 -57
  213. data/lib/active_support/time/autoload.rb +0 -5
  214. data/lib/active_support/whiny_nil.rb +0 -24
@@ -2,7 +2,6 @@ require 'libxml'
2
2
  require 'active_support/core_ext/object/blank'
3
3
  require 'stringio'
4
4
 
5
- # = XmlMini LibXML implementation
6
5
  module ActiveSupport
7
6
  module XmlMini_LibXML #:nodoc:
8
7
  extend self
@@ -38,7 +37,7 @@ module LibXML #:nodoc:
38
37
  module Node #:nodoc:
39
38
  CONTENT_ROOT = '__content__'.freeze
40
39
 
41
- # Convert XML document to hash
40
+ # Convert XML document to hash.
42
41
  #
43
42
  # hash::
44
43
  # Hash to merge the converted element into.
@@ -2,9 +2,8 @@ require 'libxml'
2
2
  require 'active_support/core_ext/object/blank'
3
3
  require 'stringio'
4
4
 
5
- # = XmlMini LibXML implementation using a SAX-based parser
6
5
  module ActiveSupport
7
- module XmlMini_LibXMLSAX
6
+ module XmlMini_LibXMLSAX #:nodoc:
8
7
  extend self
9
8
 
10
9
  # Class that will build the hash while the XML document
@@ -7,7 +7,6 @@ end
7
7
  require 'active_support/core_ext/object/blank'
8
8
  require 'stringio'
9
9
 
10
- # = XmlMini Nokogiri implementation
11
10
  module ActiveSupport
12
11
  module XmlMini_Nokogiri #:nodoc:
13
12
  extend self
@@ -41,7 +40,7 @@ module ActiveSupport
41
40
  module Node #:nodoc:
42
41
  CONTENT_ROOT = '__content__'.freeze
43
42
 
44
- # Convert XML document to hash
43
+ # Convert XML document to hash.
45
44
  #
46
45
  # hash::
47
46
  # Hash to merge the converted element into.
@@ -7,9 +7,8 @@ end
7
7
  require 'active_support/core_ext/object/blank'
8
8
  require 'stringio'
9
9
 
10
- # = XmlMini Nokogiri implementation using a SAX-based parser
11
10
  module ActiveSupport
12
- module XmlMini_NokogiriSAX
11
+ module XmlMini_NokogiriSAX #:nodoc:
13
12
  extend self
14
13
 
15
14
  # Class that will build the hash while the XML document
@@ -2,14 +2,13 @@ require 'active_support/core_ext/kernel/reporting'
2
2
  require 'active_support/core_ext/object/blank'
3
3
  require 'stringio'
4
4
 
5
- # = XmlMini ReXML implementation
6
5
  module ActiveSupport
7
6
  module XmlMini_REXML #:nodoc:
8
7
  extend self
9
8
 
10
9
  CONTENT_KEY = '__content__'.freeze
11
10
 
12
- # Parse an XML Document string or IO into a simple hash
11
+ # Parse an XML Document string or IO into a simple hash.
13
12
  #
14
13
  # Same as XmlSimple::xml_in but doesn't shoot itself in the foot,
15
14
  # and uses the defaults from Active Support.
@@ -30,7 +29,7 @@ module ActiveSupport
30
29
  doc = REXML::Document.new(data)
31
30
 
32
31
  if doc.root
33
- merge_element!({}, doc.root, XmlMini.depth)
32
+ merge_element!({}, doc.root)
34
33
  else
35
34
  raise REXML::ParseException,
36
35
  "The document #{doc.to_s.inspect} does not have a valid root"
@@ -45,20 +44,19 @@ module ActiveSupport
45
44
  # Hash to merge the converted element into.
46
45
  # element::
47
46
  # XML element to merge into hash
48
- def merge_element!(hash, element, depth)
49
- raise REXML::ParseException, "The document is too deep" if depth == 0
50
- merge!(hash, element.name, collapse(element, depth))
47
+ def merge_element!(hash, element)
48
+ merge!(hash, element.name, collapse(element))
51
49
  end
52
50
 
53
51
  # Actually converts an XML document element into a data structure.
54
52
  #
55
53
  # element::
56
54
  # The document element to be collapsed.
57
- def collapse(element, depth)
55
+ def collapse(element)
58
56
  hash = get_attributes(element)
59
57
 
60
58
  if element.has_elements?
61
- element.each_element {|child| merge_element!(hash, child, depth - 1) }
59
+ element.each_element {|child| merge_element!(hash, child) }
62
60
  merge_texts!(hash, element) unless empty_content?(element)
63
61
  hash
64
62
  else
metadata CHANGED
@@ -1,49 +1,85 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: activesupport
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.2.22.5
4
+ version: 4.0.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: 2016-09-14 00:00:00.000000000 Z
11
+ date: 2013-02-26 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
- version: '0.6'
20
- - - ">="
19
+ version: 0.6.2
20
+ type: :runtime
21
+ prerelease: false
22
+ version_requirements: !ruby/object:Gem::Requirement
23
+ requirements:
24
+ - - ~>
25
+ - !ruby/object:Gem::Version
26
+ version: 0.6.2
27
+ - !ruby/object:Gem::Dependency
28
+ name: multi_json
29
+ requirement: !ruby/object:Gem::Requirement
30
+ requirements:
31
+ - - ~>
21
32
  - !ruby/object:Gem::Version
22
- version: 0.6.4
33
+ version: '1.3'
23
34
  type: :runtime
24
35
  prerelease: false
25
36
  version_requirements: !ruby/object:Gem::Requirement
26
37
  requirements:
27
- - - "~>"
38
+ - - ~>
28
39
  - !ruby/object:Gem::Version
29
- version: '0.6'
30
- - - ">="
40
+ version: '1.3'
41
+ - !ruby/object:Gem::Dependency
42
+ name: tzinfo
43
+ requirement: !ruby/object:Gem::Requirement
44
+ requirements:
45
+ - - ~>
31
46
  - !ruby/object:Gem::Version
32
- version: 0.6.4
47
+ version: 0.3.33
48
+ type: :runtime
49
+ prerelease: false
50
+ version_requirements: !ruby/object:Gem::Requirement
51
+ requirements:
52
+ - - ~>
53
+ - !ruby/object:Gem::Version
54
+ version: 0.3.33
33
55
  - !ruby/object:Gem::Dependency
34
- name: multi_json
56
+ name: minitest
35
57
  requirement: !ruby/object:Gem::Requirement
36
58
  requirements:
37
- - - "~>"
59
+ - - ~>
38
60
  - !ruby/object:Gem::Version
39
- version: '1.0'
61
+ version: '4.2'
40
62
  type: :runtime
41
63
  prerelease: false
42
64
  version_requirements: !ruby/object:Gem::Requirement
43
65
  requirements:
44
- - - "~>"
66
+ - - ~>
45
67
  - !ruby/object:Gem::Version
46
- version: '1.0'
68
+ version: '4.2'
69
+ - !ruby/object:Gem::Dependency
70
+ name: thread_safe
71
+ requirement: !ruby/object:Gem::Requirement
72
+ requirements:
73
+ - - ~>
74
+ - !ruby/object:Gem::Version
75
+ version: '0.1'
76
+ type: :runtime
77
+ prerelease: false
78
+ version_requirements: !ruby/object:Gem::Requirement
79
+ requirements:
80
+ - - ~>
81
+ - !ruby/object:Gem::Version
82
+ version: '0.1'
47
83
  description: A toolkit of support libraries and Ruby core extensions extracted from
48
84
  the Rails framework. Rich support for multibyte strings, internationalization, time
49
85
  zones, and testing.
@@ -55,60 +91,55 @@ files:
55
91
  - CHANGELOG.md
56
92
  - MIT-LICENSE
57
93
  - README.rdoc
58
- - lib/active_support.rb
59
94
  - lib/active_support/all.rb
60
95
  - lib/active_support/backtrace_cleaner.rb
61
- - lib/active_support/base64.rb
62
96
  - lib/active_support/basic_object.rb
63
97
  - lib/active_support/benchmarkable.rb
64
98
  - lib/active_support/buffered_logger.rb
65
99
  - lib/active_support/builder.rb
66
- - lib/active_support/cache.rb
67
100
  - lib/active_support/cache/file_store.rb
68
101
  - lib/active_support/cache/mem_cache_store.rb
69
102
  - lib/active_support/cache/memory_store.rb
70
103
  - lib/active_support/cache/null_store.rb
71
104
  - lib/active_support/cache/strategy/local_cache.rb
105
+ - lib/active_support/cache.rb
72
106
  - lib/active_support/callbacks.rb
73
107
  - lib/active_support/concern.rb
108
+ - lib/active_support/concurrency/latch.rb
74
109
  - lib/active_support/configurable.rb
75
- - lib/active_support/core_ext.rb
76
- - lib/active_support/core_ext/array.rb
77
110
  - lib/active_support/core_ext/array/access.rb
78
111
  - lib/active_support/core_ext/array/conversions.rb
79
112
  - lib/active_support/core_ext/array/extract_options.rb
80
113
  - lib/active_support/core_ext/array/grouping.rb
81
114
  - lib/active_support/core_ext/array/prepend_and_append.rb
82
- - lib/active_support/core_ext/array/random_access.rb
83
115
  - lib/active_support/core_ext/array/uniq_by.rb
84
116
  - lib/active_support/core_ext/array/wrap.rb
117
+ - lib/active_support/core_ext/array.rb
85
118
  - lib/active_support/core_ext/benchmark.rb
86
- - lib/active_support/core_ext/big_decimal.rb
87
119
  - lib/active_support/core_ext/big_decimal/conversions.rb
88
- - lib/active_support/core_ext/class.rb
120
+ - lib/active_support/core_ext/big_decimal.rb
89
121
  - lib/active_support/core_ext/class/attribute.rb
90
122
  - lib/active_support/core_ext/class/attribute_accessors.rb
91
123
  - lib/active_support/core_ext/class/delegating_attributes.rb
92
124
  - lib/active_support/core_ext/class/subclasses.rb
125
+ - lib/active_support/core_ext/class.rb
93
126
  - lib/active_support/core_ext/date/acts_like.rb
94
127
  - lib/active_support/core_ext/date/calculations.rb
95
128
  - lib/active_support/core_ext/date/conversions.rb
96
- - lib/active_support/core_ext/date/freeze.rb
129
+ - lib/active_support/core_ext/date/infinite_comparable.rb
97
130
  - lib/active_support/core_ext/date/zones.rb
131
+ - lib/active_support/core_ext/date.rb
132
+ - lib/active_support/core_ext/date_and_time/calculations.rb
98
133
  - lib/active_support/core_ext/date_time/acts_like.rb
99
134
  - lib/active_support/core_ext/date_time/calculations.rb
100
135
  - lib/active_support/core_ext/date_time/conversions.rb
136
+ - lib/active_support/core_ext/date_time/infinite_comparable.rb
101
137
  - lib/active_support/core_ext/date_time/zones.rb
138
+ - lib/active_support/core_ext/date_time.rb
102
139
  - lib/active_support/core_ext/enumerable.rb
103
- - lib/active_support/core_ext/exception.rb
104
- - lib/active_support/core_ext/file.rb
105
140
  - lib/active_support/core_ext/file/atomic.rb
106
- - lib/active_support/core_ext/file/path.rb
107
- - lib/active_support/core_ext/float.rb
108
- - lib/active_support/core_ext/float/rounding.rb
109
- - lib/active_support/core_ext/hash.rb
141
+ - lib/active_support/core_ext/file.rb
110
142
  - lib/active_support/core_ext/hash/conversions.rb
111
- - lib/active_support/core_ext/hash/deep_dup.rb
112
143
  - lib/active_support/core_ext/hash/deep_merge.rb
113
144
  - lib/active_support/core_ext/hash/diff.rb
114
145
  - lib/active_support/core_ext/hash/except.rb
@@ -116,19 +147,20 @@ files:
116
147
  - lib/active_support/core_ext/hash/keys.rb
117
148
  - lib/active_support/core_ext/hash/reverse_merge.rb
118
149
  - lib/active_support/core_ext/hash/slice.rb
119
- - lib/active_support/core_ext/integer.rb
150
+ - lib/active_support/core_ext/hash.rb
151
+ - lib/active_support/core_ext/infinite_comparable.rb
120
152
  - lib/active_support/core_ext/integer/inflections.rb
121
153
  - lib/active_support/core_ext/integer/multiple.rb
122
154
  - lib/active_support/core_ext/integer/time.rb
123
- - lib/active_support/core_ext/io.rb
124
- - lib/active_support/core_ext/kernel.rb
155
+ - lib/active_support/core_ext/integer.rb
125
156
  - lib/active_support/core_ext/kernel/agnostics.rb
126
157
  - lib/active_support/core_ext/kernel/debugger.rb
127
158
  - lib/active_support/core_ext/kernel/reporting.rb
128
159
  - lib/active_support/core_ext/kernel/singleton_class.rb
160
+ - lib/active_support/core_ext/kernel.rb
129
161
  - lib/active_support/core_ext/load_error.rb
130
162
  - lib/active_support/core_ext/logger.rb
131
- - lib/active_support/core_ext/module.rb
163
+ - lib/active_support/core_ext/marshal.rb
132
164
  - lib/active_support/core_ext/module/aliasing.rb
133
165
  - lib/active_support/core_ext/module/anonymous.rb
134
166
  - lib/active_support/core_ext/module/attr_internal.rb
@@ -136,19 +168,20 @@ files:
136
168
  - lib/active_support/core_ext/module/delegation.rb
137
169
  - lib/active_support/core_ext/module/deprecation.rb
138
170
  - lib/active_support/core_ext/module/introspection.rb
139
- - lib/active_support/core_ext/module/method_names.rb
140
171
  - lib/active_support/core_ext/module/qualified_const.rb
141
172
  - lib/active_support/core_ext/module/reachable.rb
142
173
  - lib/active_support/core_ext/module/remove_method.rb
143
- - lib/active_support/core_ext/module/synchronization.rb
174
+ - lib/active_support/core_ext/module.rb
144
175
  - lib/active_support/core_ext/name_error.rb
145
- - lib/active_support/core_ext/numeric.rb
146
176
  - lib/active_support/core_ext/numeric/bytes.rb
177
+ - lib/active_support/core_ext/numeric/conversions.rb
178
+ - lib/active_support/core_ext/numeric/infinite_comparable.rb
147
179
  - lib/active_support/core_ext/numeric/time.rb
148
- - lib/active_support/core_ext/object.rb
180
+ - lib/active_support/core_ext/numeric.rb
149
181
  - lib/active_support/core_ext/object/acts_like.rb
150
182
  - lib/active_support/core_ext/object/blank.rb
151
183
  - lib/active_support/core_ext/object/conversions.rb
184
+ - lib/active_support/core_ext/object/deep_dup.rb
152
185
  - lib/active_support/core_ext/object/duplicable.rb
153
186
  - lib/active_support/core_ext/object/inclusion.rb
154
187
  - lib/active_support/core_ext/object/instance_variables.rb
@@ -157,46 +190,48 @@ files:
157
190
  - lib/active_support/core_ext/object/to_query.rb
158
191
  - lib/active_support/core_ext/object/try.rb
159
192
  - lib/active_support/core_ext/object/with_options.rb
193
+ - lib/active_support/core_ext/object.rb
160
194
  - lib/active_support/core_ext/proc.rb
161
- - lib/active_support/core_ext/process.rb
162
- - lib/active_support/core_ext/process/daemon.rb
163
- - lib/active_support/core_ext/range.rb
164
- - lib/active_support/core_ext/range/blockless_step.rb
165
195
  - lib/active_support/core_ext/range/conversions.rb
166
- - lib/active_support/core_ext/range/cover.rb
167
196
  - lib/active_support/core_ext/range/include_range.rb
168
197
  - lib/active_support/core_ext/range/overlaps.rb
198
+ - lib/active_support/core_ext/range.rb
169
199
  - lib/active_support/core_ext/regexp.rb
170
- - lib/active_support/core_ext/rexml.rb
171
- - lib/active_support/core_ext/string.rb
172
200
  - lib/active_support/core_ext/string/access.rb
173
201
  - lib/active_support/core_ext/string/behavior.rb
174
202
  - lib/active_support/core_ext/string/conversions.rb
175
203
  - lib/active_support/core_ext/string/encoding.rb
176
204
  - lib/active_support/core_ext/string/exclude.rb
177
205
  - lib/active_support/core_ext/string/filters.rb
206
+ - lib/active_support/core_ext/string/indent.rb
178
207
  - lib/active_support/core_ext/string/inflections.rb
179
208
  - lib/active_support/core_ext/string/inquiry.rb
180
- - lib/active_support/core_ext/string/interpolation.rb
181
209
  - lib/active_support/core_ext/string/multibyte.rb
182
210
  - lib/active_support/core_ext/string/output_safety.rb
183
211
  - lib/active_support/core_ext/string/starts_ends_with.rb
184
212
  - lib/active_support/core_ext/string/strip.rb
185
213
  - lib/active_support/core_ext/string/xchar.rb
214
+ - lib/active_support/core_ext/string/zones.rb
215
+ - lib/active_support/core_ext/string.rb
216
+ - lib/active_support/core_ext/struct.rb
217
+ - lib/active_support/core_ext/thread.rb
186
218
  - lib/active_support/core_ext/time/acts_like.rb
187
219
  - lib/active_support/core_ext/time/calculations.rb
188
220
  - lib/active_support/core_ext/time/conversions.rb
221
+ - lib/active_support/core_ext/time/infinite_comparable.rb
189
222
  - lib/active_support/core_ext/time/marshal.rb
190
- - lib/active_support/core_ext/time/publicize_conversion_methods.rb
191
223
  - lib/active_support/core_ext/time/zones.rb
224
+ - lib/active_support/core_ext/time.rb
192
225
  - lib/active_support/core_ext/uri.rb
193
- - lib/active_support/dependencies.rb
226
+ - lib/active_support/core_ext.rb
194
227
  - lib/active_support/dependencies/autoload.rb
195
- - lib/active_support/deprecation.rb
228
+ - lib/active_support/dependencies.rb
196
229
  - lib/active_support/deprecation/behaviors.rb
230
+ - lib/active_support/deprecation/instance_delegator.rb
197
231
  - lib/active_support/deprecation/method_wrappers.rb
198
232
  - lib/active_support/deprecation/proxy_wrappers.rb
199
233
  - lib/active_support/deprecation/reporting.rb
234
+ - lib/active_support/deprecation.rb
200
235
  - lib/active_support/descendants_tracker.rb
201
236
  - lib/active_support/duration.rb
202
237
  - lib/active_support/file_update_checker.rb
@@ -206,92 +241,87 @@ files:
206
241
  - lib/active_support/i18n.rb
207
242
  - lib/active_support/i18n_railtie.rb
208
243
  - lib/active_support/inflections.rb
209
- - lib/active_support/inflector.rb
210
244
  - lib/active_support/inflector/inflections.rb
211
245
  - lib/active_support/inflector/methods.rb
212
246
  - lib/active_support/inflector/transliterate.rb
213
- - lib/active_support/json.rb
247
+ - lib/active_support/inflector.rb
214
248
  - lib/active_support/json/decoding.rb
215
249
  - lib/active_support/json/encoding.rb
216
250
  - lib/active_support/json/variable.rb
251
+ - lib/active_support/json.rb
252
+ - lib/active_support/key_generator.rb
217
253
  - lib/active_support/lazy_load_hooks.rb
218
254
  - lib/active_support/locale/en.yml
219
- - lib/active_support/log_subscriber.rb
220
255
  - lib/active_support/log_subscriber/test_helper.rb
221
- - lib/active_support/memoizable.rb
256
+ - lib/active_support/log_subscriber.rb
257
+ - lib/active_support/logger.rb
258
+ - lib/active_support/logger_silence.rb
222
259
  - lib/active_support/message_encryptor.rb
223
260
  - lib/active_support/message_verifier.rb
224
- - lib/active_support/multibyte.rb
225
261
  - lib/active_support/multibyte/chars.rb
226
- - lib/active_support/multibyte/exceptions.rb
227
262
  - lib/active_support/multibyte/unicode.rb
228
- - lib/active_support/multibyte/utils.rb
229
- - lib/active_support/notifications.rb
263
+ - lib/active_support/multibyte.rb
230
264
  - lib/active_support/notifications/fanout.rb
231
265
  - lib/active_support/notifications/instrumenter.rb
266
+ - lib/active_support/notifications.rb
267
+ - lib/active_support/number_helper.rb
232
268
  - lib/active_support/option_merger.rb
233
269
  - lib/active_support/ordered_hash.rb
234
270
  - lib/active_support/ordered_options.rb
271
+ - lib/active_support/proxy_object.rb
272
+ - lib/active_support/rails.rb
235
273
  - lib/active_support/railtie.rb
236
274
  - lib/active_support/rescuable.rb
237
- - lib/active_support/ruby/shim.rb
238
- - lib/active_support/security_utils.rb
239
275
  - lib/active_support/string_inquirer.rb
240
276
  - lib/active_support/tagged_logging.rb
241
277
  - lib/active_support/test_case.rb
242
278
  - lib/active_support/testing/assertions.rb
279
+ - lib/active_support/testing/autorun.rb
280
+ - lib/active_support/testing/constant_lookup.rb
243
281
  - lib/active_support/testing/declarative.rb
244
282
  - lib/active_support/testing/deprecation.rb
245
283
  - lib/active_support/testing/isolation.rb
246
- - lib/active_support/testing/mochaing.rb
247
284
  - lib/active_support/testing/pending.rb
248
- - lib/active_support/testing/performance.rb
249
- - lib/active_support/testing/performance/jruby.rb
250
- - lib/active_support/testing/performance/rubinius.rb
251
- - lib/active_support/testing/performance/ruby.rb
252
- - lib/active_support/testing/performance/ruby/mri.rb
253
- - lib/active_support/testing/performance/ruby/yarv.rb
254
285
  - lib/active_support/testing/setup_and_teardown.rb
286
+ - lib/active_support/testing/tagged_logging.rb
255
287
  - lib/active_support/time.rb
256
- - lib/active_support/time/autoload.rb
257
288
  - lib/active_support/time_with_zone.rb
258
289
  - lib/active_support/values/time_zone.rb
259
290
  - lib/active_support/values/unicode_tables.dat
260
291
  - lib/active_support/version.rb
261
- - lib/active_support/whiny_nil.rb
262
- - lib/active_support/xml_mini.rb
263
292
  - lib/active_support/xml_mini/jdom.rb
264
293
  - lib/active_support/xml_mini/libxml.rb
265
294
  - lib/active_support/xml_mini/libxmlsax.rb
266
295
  - lib/active_support/xml_mini/nokogiri.rb
267
296
  - lib/active_support/xml_mini/nokogirisax.rb
268
297
  - lib/active_support/xml_mini/rexml.rb
298
+ - lib/active_support/xml_mini.rb
299
+ - lib/active_support.rb
269
300
  homepage: http://www.rubyonrails.org
270
301
  licenses:
271
302
  - MIT
272
303
  metadata: {}
273
304
  post_install_message:
274
305
  rdoc_options:
275
- - "--encoding"
306
+ - --encoding
276
307
  - UTF-8
277
308
  require_paths:
278
309
  - lib
279
310
  required_ruby_version: !ruby/object:Gem::Requirement
280
311
  requirements:
281
- - - ">="
312
+ - - '>='
282
313
  - !ruby/object:Gem::Version
283
- version: 1.8.7
314
+ version: 1.9.3
284
315
  required_rubygems_version: !ruby/object:Gem::Requirement
285
316
  requirements:
286
- - - ">="
317
+ - - '>'
287
318
  - !ruby/object:Gem::Version
288
- version: '0'
319
+ version: 1.3.1
289
320
  requirements: []
290
321
  rubyforge_project:
291
- rubygems_version: 2.6.6
322
+ rubygems_version: 2.0.0
292
323
  signing_key:
293
324
  specification_version: 4
294
325
  summary: A toolkit of support libraries and Ruby core extensions extracted from the
295
326
  Rails framework.
296
327
  test_files: []
297
- has_rdoc: