activesupport 3.1.0 → 5.0.0

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 (276) hide show
  1. checksums.yaml +7 -0
  2. data/CHANGELOG.md +798 -0
  3. data/MIT-LICENSE +20 -0
  4. data/README.rdoc +13 -7
  5. data/lib/active_support/array_inquirer.rb +44 -0
  6. data/lib/active_support/backtrace_cleaner.rb +38 -34
  7. data/lib/active_support/benchmarkable.rb +17 -28
  8. data/lib/active_support/cache/file_store.rb +85 -70
  9. data/lib/active_support/cache/mem_cache_store.rb +75 -66
  10. data/lib/active_support/cache/memory_store.rb +31 -23
  11. data/lib/active_support/cache/null_store.rb +41 -0
  12. data/lib/active_support/cache/strategy/local_cache.rb +73 -70
  13. data/lib/active_support/cache/strategy/local_cache_middleware.rb +44 -0
  14. data/lib/active_support/cache.rb +360 -294
  15. data/lib/active_support/callbacks.rb +563 -393
  16. data/lib/active_support/concern.rb +42 -34
  17. data/lib/active_support/concurrency/latch.rb +19 -0
  18. data/lib/active_support/concurrency/share_lock.rb +186 -0
  19. data/lib/active_support/configurable.rb +70 -12
  20. data/lib/active_support/core_ext/array/access.rb +53 -9
  21. data/lib/active_support/core_ext/array/conversions.rb +109 -62
  22. data/lib/active_support/core_ext/array/extract_options.rb +2 -2
  23. data/lib/active_support/core_ext/array/grouping.rb +39 -32
  24. data/lib/active_support/core_ext/array/inquiry.rb +17 -0
  25. data/lib/active_support/core_ext/array/prepend_and_append.rb +7 -0
  26. data/lib/active_support/core_ext/array/wrap.rb +16 -18
  27. data/lib/active_support/core_ext/array.rb +2 -2
  28. data/lib/active_support/core_ext/benchmark.rb +7 -0
  29. data/lib/active_support/core_ext/big_decimal/conversions.rb +8 -36
  30. data/lib/active_support/core_ext/class/attribute.rb +47 -34
  31. data/lib/active_support/core_ext/class/attribute_accessors.rb +4 -79
  32. data/lib/active_support/core_ext/class/subclasses.rb +12 -7
  33. data/lib/active_support/core_ext/class.rb +0 -3
  34. data/lib/active_support/core_ext/date/blank.rb +12 -0
  35. data/lib/active_support/core_ext/date/calculations.rb +57 -167
  36. data/lib/active_support/core_ext/date/conversions.rb +31 -42
  37. data/lib/active_support/core_ext/date/zones.rb +2 -10
  38. data/lib/active_support/core_ext/date.rb +5 -0
  39. data/lib/active_support/core_ext/date_and_time/calculations.rb +335 -0
  40. data/lib/active_support/core_ext/date_and_time/compatibility.rb +18 -0
  41. data/lib/active_support/core_ext/date_and_time/zones.rb +40 -0
  42. data/lib/active_support/core_ext/date_time/acts_like.rb +1 -0
  43. data/lib/active_support/core_ext/date_time/blank.rb +12 -0
  44. data/lib/active_support/core_ext/date_time/calculations.rb +132 -65
  45. data/lib/active_support/core_ext/date_time/compatibility.rb +5 -0
  46. data/lib/active_support/core_ext/date_time/conversions.rb +36 -34
  47. data/lib/active_support/core_ext/date_time.rb +5 -0
  48. data/lib/active_support/core_ext/digest/uuid.rb +51 -0
  49. data/lib/active_support/core_ext/enumerable.rb +81 -74
  50. data/lib/active_support/core_ext/file/atomic.rb +53 -26
  51. data/lib/active_support/core_ext/file.rb +0 -1
  52. data/lib/active_support/core_ext/hash/compact.rb +20 -0
  53. data/lib/active_support/core_ext/hash/conversions.rb +175 -70
  54. data/lib/active_support/core_ext/hash/deep_merge.rb +30 -8
  55. data/lib/active_support/core_ext/hash/except.rb +11 -12
  56. data/lib/active_support/core_ext/hash/indifferent_access.rb +7 -8
  57. data/lib/active_support/core_ext/hash/keys.rb +147 -24
  58. data/lib/active_support/core_ext/hash/reverse_merge.rb +2 -3
  59. data/lib/active_support/core_ext/hash/slice.rb +22 -14
  60. data/lib/active_support/core_ext/hash/transform_values.rb +29 -0
  61. data/lib/active_support/core_ext/hash.rb +2 -2
  62. data/lib/active_support/core_ext/integer/inflections.rb +13 -1
  63. data/lib/active_support/core_ext/integer/multiple.rb +4 -0
  64. data/lib/active_support/core_ext/integer/time.rb +12 -22
  65. data/lib/active_support/core_ext/kernel/agnostics.rb +2 -2
  66. data/lib/active_support/core_ext/kernel/concern.rb +12 -0
  67. data/lib/active_support/core_ext/kernel/debugger.rb +2 -15
  68. data/lib/active_support/core_ext/kernel/reporting.rb +12 -62
  69. data/lib/active_support/core_ext/kernel/singleton_class.rb +0 -7
  70. data/lib/active_support/core_ext/kernel.rb +2 -3
  71. data/lib/active_support/core_ext/load_error.rb +14 -7
  72. data/lib/active_support/core_ext/marshal.rb +22 -0
  73. data/lib/active_support/core_ext/module/aliasing.rb +16 -12
  74. data/lib/active_support/core_ext/module/anonymous.rb +12 -8
  75. data/lib/active_support/core_ext/module/attr_internal.rb +2 -5
  76. data/lib/active_support/core_ext/module/attribute_accessors.rb +165 -13
  77. data/lib/active_support/core_ext/module/attribute_accessors_per_thread.rb +141 -0
  78. data/lib/active_support/core_ext/module/concerning.rb +135 -0
  79. data/lib/active_support/core_ext/module/delegation.rb +141 -68
  80. data/lib/active_support/core_ext/module/deprecation.rb +17 -3
  81. data/lib/active_support/core_ext/module/introspection.rb +9 -31
  82. data/lib/active_support/core_ext/module/method_transplanting.rb +3 -0
  83. data/lib/active_support/core_ext/module/qualified_const.rb +70 -0
  84. data/lib/active_support/core_ext/module/reachable.rb +1 -3
  85. data/lib/active_support/core_ext/module/remove_method.rb +24 -5
  86. data/lib/active_support/core_ext/module.rb +3 -3
  87. data/lib/active_support/core_ext/name_error.rb +15 -2
  88. data/lib/active_support/core_ext/numeric/bytes.rb +20 -0
  89. data/lib/active_support/core_ext/numeric/conversions.rb +145 -0
  90. data/lib/active_support/core_ext/numeric/inquiry.rb +26 -0
  91. data/lib/active_support/core_ext/numeric/time.rb +31 -36
  92. data/lib/active_support/core_ext/numeric.rb +2 -0
  93. data/lib/active_support/core_ext/object/acts_like.rb +4 -4
  94. data/lib/active_support/core_ext/object/blank.rb +52 -18
  95. data/lib/active_support/core_ext/object/deep_dup.rb +53 -0
  96. data/lib/active_support/core_ext/object/duplicable.rb +12 -20
  97. data/lib/active_support/core_ext/object/inclusion.rb +13 -1
  98. data/lib/active_support/core_ext/object/instance_variables.rb +7 -12
  99. data/lib/active_support/core_ext/object/json.rb +205 -0
  100. data/lib/active_support/core_ext/object/to_param.rb +1 -55
  101. data/lib/active_support/core_ext/object/to_query.rb +66 -9
  102. data/lib/active_support/core_ext/object/try.rb +124 -33
  103. data/lib/active_support/core_ext/object/with_options.rb +37 -11
  104. data/lib/active_support/core_ext/object.rb +2 -1
  105. data/lib/active_support/core_ext/range/conversions.rb +17 -7
  106. data/lib/active_support/core_ext/range/each.rb +21 -0
  107. data/lib/active_support/core_ext/range/include_range.rb +20 -18
  108. data/lib/active_support/core_ext/range/overlaps.rb +1 -1
  109. data/lib/active_support/core_ext/range.rb +1 -2
  110. data/lib/active_support/core_ext/securerandom.rb +23 -0
  111. data/lib/active_support/core_ext/string/access.rb +95 -90
  112. data/lib/active_support/core_ext/string/behavior.rb +1 -1
  113. data/lib/active_support/core_ext/string/conversions.rb +41 -38
  114. data/lib/active_support/core_ext/string/exclude.rb +6 -1
  115. data/lib/active_support/core_ext/string/filters.rb +70 -17
  116. data/lib/active_support/core_ext/string/indent.rb +43 -0
  117. data/lib/active_support/core_ext/string/inflections.rb +139 -59
  118. data/lib/active_support/core_ext/string/inquiry.rb +2 -2
  119. data/lib/active_support/core_ext/string/multibyte.rb +46 -65
  120. data/lib/active_support/core_ext/string/output_safety.rb +153 -56
  121. data/lib/active_support/core_ext/string/strip.rb +3 -6
  122. data/lib/active_support/core_ext/string/zones.rb +14 -0
  123. data/lib/active_support/core_ext/string.rb +2 -3
  124. data/lib/active_support/core_ext/struct.rb +3 -0
  125. data/lib/active_support/core_ext/time/calculations.rb +173 -173
  126. data/lib/active_support/core_ext/time/compatibility.rb +5 -0
  127. data/lib/active_support/core_ext/time/conversions.rb +33 -29
  128. data/lib/active_support/core_ext/time/marshal.rb +2 -56
  129. data/lib/active_support/core_ext/time/zones.rb +57 -32
  130. data/lib/active_support/core_ext/time.rb +5 -0
  131. data/lib/active_support/core_ext/uri.rb +13 -19
  132. data/lib/active_support/core_ext.rb +3 -2
  133. data/lib/active_support/dependencies/autoload.rb +47 -20
  134. data/lib/active_support/dependencies/interlock.rb +51 -0
  135. data/lib/active_support/dependencies.rb +315 -265
  136. data/lib/active_support/deprecation/behaviors.rb +71 -30
  137. data/lib/active_support/deprecation/instance_delegator.rb +24 -0
  138. data/lib/active_support/deprecation/method_wrappers.rb +59 -18
  139. data/lib/active_support/deprecation/proxy_wrappers.rb +82 -14
  140. data/lib/active_support/deprecation/reporting.rb +61 -14
  141. data/lib/active_support/deprecation.rb +38 -13
  142. data/lib/active_support/descendants_tracker.rb +34 -19
  143. data/lib/active_support/duration/iso8601_parser.rb +122 -0
  144. data/lib/active_support/duration/iso8601_serializer.rb +51 -0
  145. data/lib/active_support/duration.rb +85 -14
  146. data/lib/active_support/evented_file_update_checker.rb +194 -0
  147. data/lib/active_support/execution_wrapper.rb +117 -0
  148. data/lib/active_support/executor.rb +6 -0
  149. data/lib/active_support/file_update_checker.rb +138 -17
  150. data/lib/active_support/gem_version.rb +15 -0
  151. data/lib/active_support/gzip.rb +11 -5
  152. data/lib/active_support/hash_with_indifferent_access.rb +199 -49
  153. data/lib/active_support/i18n.rb +6 -2
  154. data/lib/active_support/i18n_railtie.rb +40 -21
  155. data/lib/active_support/inflections.rb +22 -13
  156. data/lib/active_support/inflector/inflections.rb +175 -144
  157. data/lib/active_support/inflector/methods.rb +328 -91
  158. data/lib/active_support/inflector/transliterate.rb +51 -37
  159. data/lib/active_support/json/decoding.rb +31 -22
  160. data/lib/active_support/json/encoding.rb +88 -248
  161. data/lib/active_support/key_generator.rb +71 -0
  162. data/lib/active_support/lazy_load_hooks.rb +27 -25
  163. data/lib/active_support/locale/en.yml +102 -3
  164. data/lib/active_support/log_subscriber/test_helper.rb +24 -21
  165. data/lib/active_support/log_subscriber.rb +36 -49
  166. data/lib/active_support/logger.rb +106 -0
  167. data/lib/active_support/logger_silence.rb +28 -0
  168. data/lib/active_support/logger_thread_safe_level.rb +31 -0
  169. data/lib/active_support/message_encryptor.rb +72 -36
  170. data/lib/active_support/message_verifier.rb +96 -24
  171. data/lib/active_support/multibyte/chars.rb +88 -333
  172. data/lib/active_support/multibyte/unicode.rb +156 -136
  173. data/lib/active_support/multibyte.rb +5 -28
  174. data/lib/active_support/notifications/fanout.rb +115 -19
  175. data/lib/active_support/notifications/instrumenter.rb +52 -15
  176. data/lib/active_support/notifications.rb +168 -33
  177. data/lib/active_support/number_helper/number_converter.rb +182 -0
  178. data/lib/active_support/number_helper/number_to_currency_converter.rb +44 -0
  179. data/lib/active_support/number_helper/number_to_delimited_converter.rb +28 -0
  180. data/lib/active_support/number_helper/number_to_human_converter.rb +68 -0
  181. data/lib/active_support/number_helper/number_to_human_size_converter.rb +62 -0
  182. data/lib/active_support/number_helper/number_to_percentage_converter.rb +12 -0
  183. data/lib/active_support/number_helper/number_to_phone_converter.rb +58 -0
  184. data/lib/active_support/number_helper/number_to_rounded_converter.rb +92 -0
  185. data/lib/active_support/number_helper.rb +368 -0
  186. data/lib/active_support/option_merger.rb +1 -1
  187. data/lib/active_support/ordered_hash.rb +18 -183
  188. data/lib/active_support/ordered_options.rb +44 -24
  189. data/lib/active_support/per_thread_registry.rb +58 -0
  190. data/lib/active_support/proxy_object.rb +13 -0
  191. data/lib/active_support/rails.rb +27 -0
  192. data/lib/active_support/railtie.rb +25 -34
  193. data/lib/active_support/reloader.rb +129 -0
  194. data/lib/active_support/rescuable.rb +98 -48
  195. data/lib/active_support/security_utils.rb +27 -0
  196. data/lib/active_support/string_inquirer.rb +14 -9
  197. data/lib/active_support/subscriber.rb +120 -0
  198. data/lib/active_support/tagged_logging.rb +78 -0
  199. data/lib/active_support/test_case.rb +69 -17
  200. data/lib/active_support/testing/assertions.rb +43 -41
  201. data/lib/active_support/testing/autorun.rb +12 -0
  202. data/lib/active_support/testing/constant_lookup.rb +50 -0
  203. data/lib/active_support/testing/declarative.rb +7 -21
  204. data/lib/active_support/testing/deprecation.rb +14 -33
  205. data/lib/active_support/testing/file_fixtures.rb +34 -0
  206. data/lib/active_support/testing/isolation.rb +53 -95
  207. data/lib/active_support/testing/method_call_assertions.rb +41 -0
  208. data/lib/active_support/testing/setup_and_teardown.rb +21 -82
  209. data/lib/active_support/testing/stream.rb +42 -0
  210. data/lib/active_support/testing/tagged_logging.rb +25 -0
  211. data/lib/active_support/testing/time_helpers.rb +134 -0
  212. data/lib/active_support/time.rb +6 -23
  213. data/lib/active_support/time_with_zone.rb +239 -92
  214. data/lib/active_support/values/time_zone.rb +236 -160
  215. data/lib/active_support/values/unicode_tables.dat +0 -0
  216. data/lib/active_support/version.rb +5 -7
  217. data/lib/active_support/xml_mini/jdom.rb +19 -13
  218. data/lib/active_support/xml_mini/libxml.rb +3 -4
  219. data/lib/active_support/xml_mini/libxmlsax.rb +2 -3
  220. data/lib/active_support/xml_mini/nokogiri.rb +3 -4
  221. data/lib/active_support/xml_mini/nokogirisax.rb +2 -3
  222. data/lib/active_support/xml_mini/rexml.rb +8 -10
  223. data/lib/active_support/xml_mini.rb +66 -34
  224. data/lib/active_support.rb +40 -23
  225. metadata +185 -134
  226. data/CHANGELOG +0 -1534
  227. data/lib/active_support/base64.rb +0 -42
  228. data/lib/active_support/basic_object.rb +0 -21
  229. data/lib/active_support/buffered_logger.rb +0 -137
  230. data/lib/active_support/cache/compressed_mem_cache_store.rb +0 -13
  231. data/lib/active_support/cache/synchronized_memory_store.rb +0 -11
  232. data/lib/active_support/core_ext/array/random_access.rb +0 -30
  233. data/lib/active_support/core_ext/array/uniq_by.rb +0 -16
  234. data/lib/active_support/core_ext/class/delegating_attributes.rb +0 -44
  235. data/lib/active_support/core_ext/class/inheritable_attributes.rb +0 -178
  236. data/lib/active_support/core_ext/date/freeze.rb +0 -31
  237. data/lib/active_support/core_ext/date_time/zones.rb +0 -21
  238. data/lib/active_support/core_ext/exception.rb +0 -3
  239. data/lib/active_support/core_ext/file/path.rb +0 -5
  240. data/lib/active_support/core_ext/float/rounding.rb +0 -19
  241. data/lib/active_support/core_ext/float.rb +0 -1
  242. data/lib/active_support/core_ext/hash/deep_dup.rb +0 -11
  243. data/lib/active_support/core_ext/hash/diff.rb +0 -13
  244. data/lib/active_support/core_ext/kernel/requires.rb +0 -28
  245. data/lib/active_support/core_ext/logger.rb +0 -81
  246. data/lib/active_support/core_ext/module/attr_accessor_with_default.rb +0 -31
  247. data/lib/active_support/core_ext/module/method_names.rb +0 -14
  248. data/lib/active_support/core_ext/module/synchronization.rb +0 -43
  249. data/lib/active_support/core_ext/object/to_json.rb +0 -19
  250. data/lib/active_support/core_ext/proc.rb +0 -14
  251. data/lib/active_support/core_ext/process/daemon.rb +0 -23
  252. data/lib/active_support/core_ext/process.rb +0 -1
  253. data/lib/active_support/core_ext/range/blockless_step.rb +0 -29
  254. data/lib/active_support/core_ext/range/cover.rb +0 -3
  255. data/lib/active_support/core_ext/rexml.rb +0 -46
  256. data/lib/active_support/core_ext/string/encoding.rb +0 -11
  257. data/lib/active_support/core_ext/string/interpolation.rb +0 -2
  258. data/lib/active_support/core_ext/string/xchar.rb +0 -18
  259. data/lib/active_support/core_ext/time/publicize_conversion_methods.rb +0 -10
  260. data/lib/active_support/file_watcher.rb +0 -36
  261. data/lib/active_support/json/variable.rb +0 -9
  262. data/lib/active_support/memoizable.rb +0 -105
  263. data/lib/active_support/multibyte/exceptions.rb +0 -8
  264. data/lib/active_support/multibyte/utils.rb +0 -60
  265. data/lib/active_support/ruby/shim.rb +0 -22
  266. data/lib/active_support/secure_random.rb +0 -6
  267. data/lib/active_support/testing/mochaing.rb +0 -7
  268. data/lib/active_support/testing/pending.rb +0 -52
  269. data/lib/active_support/testing/performance/jruby.rb +0 -115
  270. data/lib/active_support/testing/performance/rubinius.rb +0 -113
  271. data/lib/active_support/testing/performance/ruby/mri.rb +0 -57
  272. data/lib/active_support/testing/performance/ruby/yarv.rb +0 -57
  273. data/lib/active_support/testing/performance/ruby.rb +0 -152
  274. data/lib/active_support/testing/performance.rb +0 -317
  275. data/lib/active_support/time/autoload.rb +0 -5
  276. data/lib/active_support/whiny_nil.rb +0 -60
metadata CHANGED
@@ -1,293 +1,344 @@
1
- --- !ruby/object:Gem::Specification
1
+ --- !ruby/object:Gem::Specification
2
2
  name: activesupport
3
- version: !ruby/object:Gem::Version
4
- hash: 3
5
- prerelease:
6
- segments:
7
- - 3
8
- - 1
9
- - 0
10
- version: 3.1.0
3
+ version: !ruby/object:Gem::Version
4
+ version: 5.0.0
11
5
  platform: ruby
12
- authors:
6
+ authors:
13
7
  - David Heinemeier Hansson
14
8
  autorequire:
15
9
  bindir: bin
16
10
  cert_chain: []
17
-
18
- date: 2011-08-31 00:00:00 Z
19
- dependencies:
20
- - !ruby/object:Gem::Dependency
21
- name: multi_json
11
+ date: 2016-06-30 00:00:00.000000000 Z
12
+ dependencies:
13
+ - !ruby/object:Gem::Dependency
14
+ name: i18n
15
+ requirement: !ruby/object:Gem::Requirement
16
+ requirements:
17
+ - - "~>"
18
+ - !ruby/object:Gem::Version
19
+ version: '0.7'
20
+ type: :runtime
21
+ prerelease: false
22
+ version_requirements: !ruby/object:Gem::Requirement
23
+ requirements:
24
+ - - "~>"
25
+ - !ruby/object:Gem::Version
26
+ version: '0.7'
27
+ - !ruby/object:Gem::Dependency
28
+ name: tzinfo
29
+ requirement: !ruby/object:Gem::Requirement
30
+ requirements:
31
+ - - "~>"
32
+ - !ruby/object:Gem::Version
33
+ version: '1.1'
34
+ type: :runtime
22
35
  prerelease: false
23
- requirement: &id001 !ruby/object:Gem::Requirement
24
- none: false
25
- requirements:
26
- - - ~>
27
- - !ruby/object:Gem::Version
28
- hash: 15
29
- segments:
30
- - 1
31
- - 0
32
- version: "1.0"
36
+ version_requirements: !ruby/object:Gem::Requirement
37
+ requirements:
38
+ - - "~>"
39
+ - !ruby/object:Gem::Version
40
+ version: '1.1'
41
+ - !ruby/object:Gem::Dependency
42
+ name: minitest
43
+ requirement: !ruby/object:Gem::Requirement
44
+ requirements:
45
+ - - "~>"
46
+ - !ruby/object:Gem::Version
47
+ version: '5.1'
33
48
  type: :runtime
34
- version_requirements: *id001
35
- description: A toolkit of support libraries and Ruby core extensions extracted from the Rails framework. Rich support for multibyte strings, internationalization, time zones, and testing.
49
+ prerelease: false
50
+ version_requirements: !ruby/object:Gem::Requirement
51
+ requirements:
52
+ - - "~>"
53
+ - !ruby/object:Gem::Version
54
+ version: '5.1'
55
+ - !ruby/object:Gem::Dependency
56
+ name: concurrent-ruby
57
+ requirement: !ruby/object:Gem::Requirement
58
+ requirements:
59
+ - - "~>"
60
+ - !ruby/object:Gem::Version
61
+ version: '1.0'
62
+ - - ">="
63
+ - !ruby/object:Gem::Version
64
+ version: 1.0.2
65
+ type: :runtime
66
+ prerelease: false
67
+ version_requirements: !ruby/object:Gem::Requirement
68
+ requirements:
69
+ - - "~>"
70
+ - !ruby/object:Gem::Version
71
+ version: '1.0'
72
+ - - ">="
73
+ - !ruby/object:Gem::Version
74
+ version: 1.0.2
75
+ description: A toolkit of support libraries and Ruby core extensions extracted from
76
+ the Rails framework. Rich support for multibyte strings, internationalization, time
77
+ zones, and testing.
36
78
  email: david@loudthinking.com
37
79
  executables: []
38
-
39
80
  extensions: []
40
-
41
81
  extra_rdoc_files: []
42
-
43
- files:
44
- - CHANGELOG
82
+ files:
83
+ - CHANGELOG.md
84
+ - MIT-LICENSE
45
85
  - README.rdoc
86
+ - lib/active_support.rb
46
87
  - lib/active_support/all.rb
88
+ - lib/active_support/array_inquirer.rb
47
89
  - lib/active_support/backtrace_cleaner.rb
48
- - lib/active_support/base64.rb
49
- - lib/active_support/basic_object.rb
50
90
  - lib/active_support/benchmarkable.rb
51
- - lib/active_support/buffered_logger.rb
52
91
  - lib/active_support/builder.rb
53
- - lib/active_support/cache/compressed_mem_cache_store.rb
92
+ - lib/active_support/cache.rb
54
93
  - lib/active_support/cache/file_store.rb
55
94
  - lib/active_support/cache/mem_cache_store.rb
56
95
  - lib/active_support/cache/memory_store.rb
96
+ - lib/active_support/cache/null_store.rb
57
97
  - lib/active_support/cache/strategy/local_cache.rb
58
- - lib/active_support/cache/synchronized_memory_store.rb
59
- - lib/active_support/cache.rb
98
+ - lib/active_support/cache/strategy/local_cache_middleware.rb
60
99
  - lib/active_support/callbacks.rb
61
100
  - lib/active_support/concern.rb
101
+ - lib/active_support/concurrency/latch.rb
102
+ - lib/active_support/concurrency/share_lock.rb
62
103
  - lib/active_support/configurable.rb
104
+ - lib/active_support/core_ext.rb
105
+ - lib/active_support/core_ext/array.rb
63
106
  - lib/active_support/core_ext/array/access.rb
64
107
  - lib/active_support/core_ext/array/conversions.rb
65
108
  - lib/active_support/core_ext/array/extract_options.rb
66
109
  - lib/active_support/core_ext/array/grouping.rb
67
- - lib/active_support/core_ext/array/random_access.rb
68
- - lib/active_support/core_ext/array/uniq_by.rb
110
+ - lib/active_support/core_ext/array/inquiry.rb
111
+ - lib/active_support/core_ext/array/prepend_and_append.rb
69
112
  - lib/active_support/core_ext/array/wrap.rb
70
- - lib/active_support/core_ext/array.rb
71
113
  - lib/active_support/core_ext/benchmark.rb
72
- - lib/active_support/core_ext/big_decimal/conversions.rb
73
114
  - lib/active_support/core_ext/big_decimal.rb
115
+ - lib/active_support/core_ext/big_decimal/conversions.rb
116
+ - lib/active_support/core_ext/class.rb
74
117
  - lib/active_support/core_ext/class/attribute.rb
75
118
  - lib/active_support/core_ext/class/attribute_accessors.rb
76
- - lib/active_support/core_ext/class/delegating_attributes.rb
77
- - lib/active_support/core_ext/class/inheritable_attributes.rb
78
119
  - lib/active_support/core_ext/class/subclasses.rb
79
- - lib/active_support/core_ext/class.rb
120
+ - lib/active_support/core_ext/date.rb
80
121
  - lib/active_support/core_ext/date/acts_like.rb
122
+ - lib/active_support/core_ext/date/blank.rb
81
123
  - lib/active_support/core_ext/date/calculations.rb
82
124
  - lib/active_support/core_ext/date/conversions.rb
83
- - lib/active_support/core_ext/date/freeze.rb
84
125
  - lib/active_support/core_ext/date/zones.rb
126
+ - lib/active_support/core_ext/date_and_time/calculations.rb
127
+ - lib/active_support/core_ext/date_and_time/compatibility.rb
128
+ - lib/active_support/core_ext/date_and_time/zones.rb
129
+ - lib/active_support/core_ext/date_time.rb
85
130
  - lib/active_support/core_ext/date_time/acts_like.rb
131
+ - lib/active_support/core_ext/date_time/blank.rb
86
132
  - lib/active_support/core_ext/date_time/calculations.rb
133
+ - lib/active_support/core_ext/date_time/compatibility.rb
87
134
  - lib/active_support/core_ext/date_time/conversions.rb
88
- - lib/active_support/core_ext/date_time/zones.rb
135
+ - lib/active_support/core_ext/digest/uuid.rb
89
136
  - lib/active_support/core_ext/enumerable.rb
90
- - lib/active_support/core_ext/exception.rb
91
- - lib/active_support/core_ext/file/atomic.rb
92
- - lib/active_support/core_ext/file/path.rb
93
137
  - lib/active_support/core_ext/file.rb
94
- - lib/active_support/core_ext/float/rounding.rb
95
- - lib/active_support/core_ext/float.rb
138
+ - lib/active_support/core_ext/file/atomic.rb
139
+ - lib/active_support/core_ext/hash.rb
140
+ - lib/active_support/core_ext/hash/compact.rb
96
141
  - lib/active_support/core_ext/hash/conversions.rb
97
- - lib/active_support/core_ext/hash/deep_dup.rb
98
142
  - lib/active_support/core_ext/hash/deep_merge.rb
99
- - lib/active_support/core_ext/hash/diff.rb
100
143
  - lib/active_support/core_ext/hash/except.rb
101
144
  - lib/active_support/core_ext/hash/indifferent_access.rb
102
145
  - lib/active_support/core_ext/hash/keys.rb
103
146
  - lib/active_support/core_ext/hash/reverse_merge.rb
104
147
  - lib/active_support/core_ext/hash/slice.rb
105
- - lib/active_support/core_ext/hash.rb
148
+ - lib/active_support/core_ext/hash/transform_values.rb
149
+ - lib/active_support/core_ext/integer.rb
106
150
  - lib/active_support/core_ext/integer/inflections.rb
107
151
  - lib/active_support/core_ext/integer/multiple.rb
108
152
  - lib/active_support/core_ext/integer/time.rb
109
- - lib/active_support/core_ext/integer.rb
153
+ - lib/active_support/core_ext/kernel.rb
110
154
  - lib/active_support/core_ext/kernel/agnostics.rb
155
+ - lib/active_support/core_ext/kernel/concern.rb
111
156
  - lib/active_support/core_ext/kernel/debugger.rb
112
157
  - lib/active_support/core_ext/kernel/reporting.rb
113
- - lib/active_support/core_ext/kernel/requires.rb
114
158
  - lib/active_support/core_ext/kernel/singleton_class.rb
115
- - lib/active_support/core_ext/kernel.rb
116
159
  - lib/active_support/core_ext/load_error.rb
117
- - lib/active_support/core_ext/logger.rb
160
+ - lib/active_support/core_ext/marshal.rb
161
+ - lib/active_support/core_ext/module.rb
118
162
  - lib/active_support/core_ext/module/aliasing.rb
119
163
  - lib/active_support/core_ext/module/anonymous.rb
120
- - lib/active_support/core_ext/module/attr_accessor_with_default.rb
121
164
  - lib/active_support/core_ext/module/attr_internal.rb
122
165
  - lib/active_support/core_ext/module/attribute_accessors.rb
166
+ - lib/active_support/core_ext/module/attribute_accessors_per_thread.rb
167
+ - lib/active_support/core_ext/module/concerning.rb
123
168
  - lib/active_support/core_ext/module/delegation.rb
124
169
  - lib/active_support/core_ext/module/deprecation.rb
125
170
  - lib/active_support/core_ext/module/introspection.rb
126
- - lib/active_support/core_ext/module/method_names.rb
171
+ - lib/active_support/core_ext/module/method_transplanting.rb
172
+ - lib/active_support/core_ext/module/qualified_const.rb
127
173
  - lib/active_support/core_ext/module/reachable.rb
128
174
  - lib/active_support/core_ext/module/remove_method.rb
129
- - lib/active_support/core_ext/module/synchronization.rb
130
- - lib/active_support/core_ext/module.rb
131
175
  - lib/active_support/core_ext/name_error.rb
176
+ - lib/active_support/core_ext/numeric.rb
132
177
  - lib/active_support/core_ext/numeric/bytes.rb
178
+ - lib/active_support/core_ext/numeric/conversions.rb
179
+ - lib/active_support/core_ext/numeric/inquiry.rb
133
180
  - lib/active_support/core_ext/numeric/time.rb
134
- - lib/active_support/core_ext/numeric.rb
181
+ - lib/active_support/core_ext/object.rb
135
182
  - lib/active_support/core_ext/object/acts_like.rb
136
183
  - lib/active_support/core_ext/object/blank.rb
137
184
  - lib/active_support/core_ext/object/conversions.rb
185
+ - lib/active_support/core_ext/object/deep_dup.rb
138
186
  - lib/active_support/core_ext/object/duplicable.rb
139
187
  - lib/active_support/core_ext/object/inclusion.rb
140
188
  - lib/active_support/core_ext/object/instance_variables.rb
141
- - lib/active_support/core_ext/object/to_json.rb
189
+ - lib/active_support/core_ext/object/json.rb
142
190
  - lib/active_support/core_ext/object/to_param.rb
143
191
  - lib/active_support/core_ext/object/to_query.rb
144
192
  - lib/active_support/core_ext/object/try.rb
145
193
  - lib/active_support/core_ext/object/with_options.rb
146
- - lib/active_support/core_ext/object.rb
147
- - lib/active_support/core_ext/proc.rb
148
- - lib/active_support/core_ext/process/daemon.rb
149
- - lib/active_support/core_ext/process.rb
150
- - lib/active_support/core_ext/range/blockless_step.rb
194
+ - lib/active_support/core_ext/range.rb
151
195
  - lib/active_support/core_ext/range/conversions.rb
152
- - lib/active_support/core_ext/range/cover.rb
196
+ - lib/active_support/core_ext/range/each.rb
153
197
  - lib/active_support/core_ext/range/include_range.rb
154
198
  - lib/active_support/core_ext/range/overlaps.rb
155
- - lib/active_support/core_ext/range.rb
156
199
  - lib/active_support/core_ext/regexp.rb
157
- - lib/active_support/core_ext/rexml.rb
200
+ - lib/active_support/core_ext/securerandom.rb
201
+ - lib/active_support/core_ext/string.rb
158
202
  - lib/active_support/core_ext/string/access.rb
159
203
  - lib/active_support/core_ext/string/behavior.rb
160
204
  - lib/active_support/core_ext/string/conversions.rb
161
- - lib/active_support/core_ext/string/encoding.rb
162
205
  - lib/active_support/core_ext/string/exclude.rb
163
206
  - lib/active_support/core_ext/string/filters.rb
207
+ - lib/active_support/core_ext/string/indent.rb
164
208
  - lib/active_support/core_ext/string/inflections.rb
165
209
  - lib/active_support/core_ext/string/inquiry.rb
166
- - lib/active_support/core_ext/string/interpolation.rb
167
210
  - lib/active_support/core_ext/string/multibyte.rb
168
211
  - lib/active_support/core_ext/string/output_safety.rb
169
212
  - lib/active_support/core_ext/string/starts_ends_with.rb
170
213
  - lib/active_support/core_ext/string/strip.rb
171
- - lib/active_support/core_ext/string/xchar.rb
172
- - lib/active_support/core_ext/string.rb
214
+ - lib/active_support/core_ext/string/zones.rb
215
+ - lib/active_support/core_ext/struct.rb
216
+ - lib/active_support/core_ext/time.rb
173
217
  - lib/active_support/core_ext/time/acts_like.rb
174
218
  - lib/active_support/core_ext/time/calculations.rb
219
+ - lib/active_support/core_ext/time/compatibility.rb
175
220
  - lib/active_support/core_ext/time/conversions.rb
176
221
  - lib/active_support/core_ext/time/marshal.rb
177
- - lib/active_support/core_ext/time/publicize_conversion_methods.rb
178
222
  - lib/active_support/core_ext/time/zones.rb
179
223
  - lib/active_support/core_ext/uri.rb
180
- - lib/active_support/core_ext.rb
181
- - lib/active_support/dependencies/autoload.rb
182
224
  - lib/active_support/dependencies.rb
225
+ - lib/active_support/dependencies/autoload.rb
226
+ - lib/active_support/dependencies/interlock.rb
227
+ - lib/active_support/deprecation.rb
183
228
  - lib/active_support/deprecation/behaviors.rb
229
+ - lib/active_support/deprecation/instance_delegator.rb
184
230
  - lib/active_support/deprecation/method_wrappers.rb
185
231
  - lib/active_support/deprecation/proxy_wrappers.rb
186
232
  - lib/active_support/deprecation/reporting.rb
187
- - lib/active_support/deprecation.rb
188
233
  - lib/active_support/descendants_tracker.rb
189
234
  - lib/active_support/duration.rb
235
+ - lib/active_support/duration/iso8601_parser.rb
236
+ - lib/active_support/duration/iso8601_serializer.rb
237
+ - lib/active_support/evented_file_update_checker.rb
238
+ - lib/active_support/execution_wrapper.rb
239
+ - lib/active_support/executor.rb
190
240
  - lib/active_support/file_update_checker.rb
191
- - lib/active_support/file_watcher.rb
241
+ - lib/active_support/gem_version.rb
192
242
  - lib/active_support/gzip.rb
193
243
  - lib/active_support/hash_with_indifferent_access.rb
194
244
  - lib/active_support/i18n.rb
195
245
  - lib/active_support/i18n_railtie.rb
196
246
  - lib/active_support/inflections.rb
247
+ - lib/active_support/inflector.rb
197
248
  - lib/active_support/inflector/inflections.rb
198
249
  - lib/active_support/inflector/methods.rb
199
250
  - lib/active_support/inflector/transliterate.rb
200
- - lib/active_support/inflector.rb
251
+ - lib/active_support/json.rb
201
252
  - lib/active_support/json/decoding.rb
202
253
  - lib/active_support/json/encoding.rb
203
- - lib/active_support/json/variable.rb
204
- - lib/active_support/json.rb
254
+ - lib/active_support/key_generator.rb
205
255
  - lib/active_support/lazy_load_hooks.rb
206
256
  - lib/active_support/locale/en.yml
207
- - lib/active_support/log_subscriber/test_helper.rb
208
257
  - lib/active_support/log_subscriber.rb
209
- - lib/active_support/memoizable.rb
258
+ - lib/active_support/log_subscriber/test_helper.rb
259
+ - lib/active_support/logger.rb
260
+ - lib/active_support/logger_silence.rb
261
+ - lib/active_support/logger_thread_safe_level.rb
210
262
  - lib/active_support/message_encryptor.rb
211
263
  - lib/active_support/message_verifier.rb
264
+ - lib/active_support/multibyte.rb
212
265
  - lib/active_support/multibyte/chars.rb
213
- - lib/active_support/multibyte/exceptions.rb
214
266
  - lib/active_support/multibyte/unicode.rb
215
- - lib/active_support/multibyte/utils.rb
216
- - lib/active_support/multibyte.rb
267
+ - lib/active_support/notifications.rb
217
268
  - lib/active_support/notifications/fanout.rb
218
269
  - lib/active_support/notifications/instrumenter.rb
219
- - lib/active_support/notifications.rb
270
+ - lib/active_support/number_helper.rb
271
+ - lib/active_support/number_helper/number_converter.rb
272
+ - lib/active_support/number_helper/number_to_currency_converter.rb
273
+ - lib/active_support/number_helper/number_to_delimited_converter.rb
274
+ - lib/active_support/number_helper/number_to_human_converter.rb
275
+ - lib/active_support/number_helper/number_to_human_size_converter.rb
276
+ - lib/active_support/number_helper/number_to_percentage_converter.rb
277
+ - lib/active_support/number_helper/number_to_phone_converter.rb
278
+ - lib/active_support/number_helper/number_to_rounded_converter.rb
220
279
  - lib/active_support/option_merger.rb
221
280
  - lib/active_support/ordered_hash.rb
222
281
  - lib/active_support/ordered_options.rb
282
+ - lib/active_support/per_thread_registry.rb
283
+ - lib/active_support/proxy_object.rb
284
+ - lib/active_support/rails.rb
223
285
  - lib/active_support/railtie.rb
286
+ - lib/active_support/reloader.rb
224
287
  - lib/active_support/rescuable.rb
225
- - lib/active_support/ruby/shim.rb
226
- - lib/active_support/secure_random.rb
288
+ - lib/active_support/security_utils.rb
227
289
  - lib/active_support/string_inquirer.rb
290
+ - lib/active_support/subscriber.rb
291
+ - lib/active_support/tagged_logging.rb
228
292
  - lib/active_support/test_case.rb
229
293
  - lib/active_support/testing/assertions.rb
294
+ - lib/active_support/testing/autorun.rb
295
+ - lib/active_support/testing/constant_lookup.rb
230
296
  - lib/active_support/testing/declarative.rb
231
297
  - lib/active_support/testing/deprecation.rb
298
+ - lib/active_support/testing/file_fixtures.rb
232
299
  - lib/active_support/testing/isolation.rb
233
- - lib/active_support/testing/mochaing.rb
234
- - lib/active_support/testing/pending.rb
235
- - lib/active_support/testing/performance/jruby.rb
236
- - lib/active_support/testing/performance/rubinius.rb
237
- - lib/active_support/testing/performance/ruby/mri.rb
238
- - lib/active_support/testing/performance/ruby/yarv.rb
239
- - lib/active_support/testing/performance/ruby.rb
240
- - lib/active_support/testing/performance.rb
300
+ - lib/active_support/testing/method_call_assertions.rb
241
301
  - lib/active_support/testing/setup_and_teardown.rb
242
- - lib/active_support/time/autoload.rb
302
+ - lib/active_support/testing/stream.rb
303
+ - lib/active_support/testing/tagged_logging.rb
304
+ - lib/active_support/testing/time_helpers.rb
243
305
  - lib/active_support/time.rb
244
306
  - lib/active_support/time_with_zone.rb
245
307
  - lib/active_support/values/time_zone.rb
246
308
  - lib/active_support/values/unicode_tables.dat
247
309
  - lib/active_support/version.rb
248
- - lib/active_support/whiny_nil.rb
310
+ - lib/active_support/xml_mini.rb
249
311
  - lib/active_support/xml_mini/jdom.rb
250
312
  - lib/active_support/xml_mini/libxml.rb
251
313
  - lib/active_support/xml_mini/libxmlsax.rb
252
314
  - lib/active_support/xml_mini/nokogiri.rb
253
315
  - lib/active_support/xml_mini/nokogirisax.rb
254
316
  - lib/active_support/xml_mini/rexml.rb
255
- - lib/active_support/xml_mini.rb
256
- - lib/active_support.rb
257
- homepage: http://www.rubyonrails.org
258
- licenses: []
259
-
317
+ homepage: http://rubyonrails.org
318
+ licenses:
319
+ - MIT
320
+ metadata: {}
260
321
  post_install_message:
261
- rdoc_options: []
262
-
263
- require_paths:
322
+ rdoc_options:
323
+ - "--encoding"
324
+ - UTF-8
325
+ require_paths:
264
326
  - lib
265
- required_ruby_version: !ruby/object:Gem::Requirement
266
- none: false
267
- requirements:
327
+ required_ruby_version: !ruby/object:Gem::Requirement
328
+ requirements:
268
329
  - - ">="
269
- - !ruby/object:Gem::Version
270
- hash: 57
271
- segments:
272
- - 1
273
- - 8
274
- - 7
275
- version: 1.8.7
276
- required_rubygems_version: !ruby/object:Gem::Requirement
277
- none: false
278
- requirements:
330
+ - !ruby/object:Gem::Version
331
+ version: 2.2.2
332
+ required_rubygems_version: !ruby/object:Gem::Requirement
333
+ requirements:
279
334
  - - ">="
280
- - !ruby/object:Gem::Version
281
- hash: 3
282
- segments:
283
- - 0
284
- version: "0"
335
+ - !ruby/object:Gem::Version
336
+ version: '0'
285
337
  requirements: []
286
-
287
338
  rubyforge_project:
288
- rubygems_version: 1.8.8
339
+ rubygems_version: 2.6.4
289
340
  signing_key:
290
- specification_version: 3
291
- summary: A toolkit of support libraries and Ruby core extensions extracted from the Rails framework.
341
+ specification_version: 4
342
+ summary: A toolkit of support libraries and Ruby core extensions extracted from the
343
+ Rails framework.
292
344
  test_files: []
293
-