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.
- checksums.yaml +4 -4
- data/CHANGELOG.md +325 -136
- data/MIT-LICENSE +1 -1
- data/README.rdoc +4 -2
- data/lib/active_support.rb +8 -21
- data/lib/active_support/backtrace_cleaner.rb +33 -25
- data/lib/active_support/basic_object.rb +7 -17
- data/lib/active_support/benchmarkable.rb +19 -15
- data/lib/active_support/buffered_logger.rb +9 -113
- data/lib/active_support/cache.rb +203 -171
- data/lib/active_support/cache/file_store.rb +12 -12
- data/lib/active_support/cache/mem_cache_store.rb +24 -30
- data/lib/active_support/cache/memory_store.rb +2 -0
- data/lib/active_support/callbacks.rb +195 -247
- data/lib/active_support/concern.rb +16 -23
- data/lib/active_support/concurrency/latch.rb +27 -0
- data/lib/active_support/configurable.rb +69 -12
- data/lib/active_support/core_ext.rb +1 -0
- data/lib/active_support/core_ext/array.rb +0 -1
- data/lib/active_support/core_ext/array/access.rb +17 -9
- data/lib/active_support/core_ext/array/conversions.rb +113 -55
- data/lib/active_support/core_ext/array/extract_options.rb +2 -2
- data/lib/active_support/core_ext/array/grouping.rb +21 -22
- data/lib/active_support/core_ext/array/uniq_by.rb +12 -9
- data/lib/active_support/core_ext/array/wrap.rb +11 -14
- data/lib/active_support/core_ext/big_decimal/conversions.rb +7 -24
- data/lib/active_support/core_ext/class/attribute.rb +12 -8
- data/lib/active_support/core_ext/class/attribute_accessors.rb +14 -12
- data/lib/active_support/core_ext/class/delegating_attributes.rb +15 -19
- data/lib/active_support/core_ext/class/subclasses.rb +11 -5
- data/lib/active_support/core_ext/date.rb +6 -0
- data/lib/active_support/core_ext/date/calculations.rb +34 -188
- data/lib/active_support/core_ext/date/conversions.rb +16 -38
- data/lib/active_support/core_ext/date/infinite_comparable.rb +5 -0
- data/lib/active_support/core_ext/date/zones.rb +25 -2
- data/lib/active_support/core_ext/date_and_time/calculations.rb +232 -0
- data/lib/active_support/core_ext/date_time.rb +5 -0
- data/lib/active_support/core_ext/date_time/acts_like.rb +0 -1
- data/lib/active_support/core_ext/date_time/calculations.rb +73 -65
- data/lib/active_support/core_ext/date_time/conversions.rb +21 -33
- data/lib/active_support/core_ext/date_time/infinite_comparable.rb +5 -0
- data/lib/active_support/core_ext/date_time/zones.rb +11 -8
- data/lib/active_support/core_ext/enumerable.rb +26 -73
- data/lib/active_support/core_ext/file.rb +0 -1
- data/lib/active_support/core_ext/file/atomic.rb +27 -11
- data/lib/active_support/core_ext/hash.rb +0 -1
- data/lib/active_support/core_ext/hash/conversions.rb +145 -79
- data/lib/active_support/core_ext/hash/deep_merge.rb +14 -8
- data/lib/active_support/core_ext/hash/diff.rb +5 -4
- data/lib/active_support/core_ext/hash/except.rb +1 -9
- data/lib/active_support/core_ext/hash/indifferent_access.rb +4 -5
- data/lib/active_support/core_ext/hash/keys.rb +108 -24
- data/lib/active_support/core_ext/hash/reverse_merge.rb +2 -3
- data/lib/active_support/core_ext/hash/slice.rb +12 -12
- data/lib/active_support/core_ext/infinite_comparable.rb +35 -0
- data/lib/active_support/core_ext/integer/inflections.rb +13 -1
- data/lib/active_support/core_ext/integer/time.rb +17 -12
- data/lib/active_support/core_ext/kernel/debugger.rb +2 -2
- data/lib/active_support/core_ext/kernel/reporting.rb +36 -22
- data/lib/active_support/core_ext/kernel/singleton_class.rb +0 -7
- data/lib/active_support/core_ext/load_error.rb +7 -5
- data/lib/active_support/core_ext/logger.rb +7 -23
- data/lib/active_support/core_ext/marshal.rb +19 -0
- data/lib/active_support/core_ext/module.rb +1 -3
- data/lib/active_support/core_ext/module/aliasing.rb +8 -9
- data/lib/active_support/core_ext/module/anonymous.rb +2 -7
- data/lib/active_support/core_ext/module/attr_internal.rb +0 -1
- data/lib/active_support/core_ext/module/attribute_accessors.rb +12 -10
- data/lib/active_support/core_ext/module/delegation.rb +57 -40
- data/lib/active_support/core_ext/module/deprecation.rb +19 -3
- data/lib/active_support/core_ext/module/introspection.rb +17 -27
- data/lib/active_support/core_ext/module/qualified_const.rb +8 -20
- data/lib/active_support/core_ext/module/remove_method.rb +1 -5
- data/lib/active_support/core_ext/numeric.rb +2 -0
- data/lib/active_support/core_ext/numeric/conversions.rb +135 -0
- data/lib/active_support/core_ext/numeric/infinite_comparable.rb +9 -0
- data/lib/active_support/core_ext/numeric/time.rb +6 -6
- data/lib/active_support/core_ext/object.rb +1 -0
- data/lib/active_support/core_ext/object/acts_like.rb +4 -4
- data/lib/active_support/core_ext/object/blank.rb +7 -23
- data/lib/active_support/core_ext/object/deep_dup.rb +46 -0
- data/lib/active_support/core_ext/object/duplicable.rb +1 -30
- data/lib/active_support/core_ext/object/inclusion.rb +6 -6
- data/lib/active_support/core_ext/object/instance_variables.rb +7 -12
- data/lib/active_support/core_ext/object/to_json.rb +8 -0
- data/lib/active_support/core_ext/object/to_param.rb +5 -2
- data/lib/active_support/core_ext/object/try.rb +46 -25
- data/lib/active_support/core_ext/object/with_options.rb +7 -8
- data/lib/active_support/core_ext/proc.rb +3 -0
- data/lib/active_support/core_ext/range.rb +0 -2
- data/lib/active_support/core_ext/range/conversions.rb +0 -2
- data/lib/active_support/core_ext/range/include_range.rb +1 -1
- data/lib/active_support/core_ext/range/overlaps.rb +1 -1
- data/lib/active_support/core_ext/string.rb +2 -2
- data/lib/active_support/core_ext/string/access.rb +95 -90
- data/lib/active_support/core_ext/string/conversions.rb +29 -38
- data/lib/active_support/core_ext/string/encoding.rb +6 -9
- data/lib/active_support/core_ext/string/filters.rb +24 -18
- data/lib/active_support/core_ext/string/indent.rb +43 -0
- data/lib/active_support/core_ext/string/inflections.rb +70 -60
- data/lib/active_support/core_ext/string/inquiry.rb +2 -2
- data/lib/active_support/core_ext/string/multibyte.rb +41 -64
- data/lib/active_support/core_ext/string/output_safety.rb +59 -51
- data/lib/active_support/core_ext/string/zones.rb +13 -0
- data/lib/active_support/core_ext/struct.rb +6 -0
- data/lib/active_support/core_ext/thread.rb +74 -0
- data/lib/active_support/core_ext/time.rb +6 -0
- data/lib/active_support/core_ext/time/calculations.rb +105 -193
- data/lib/active_support/core_ext/time/conversions.rb +27 -51
- data/lib/active_support/core_ext/time/infinite_comparable.rb +5 -0
- data/lib/active_support/core_ext/time/marshal.rb +0 -27
- data/lib/active_support/core_ext/time/zones.rb +27 -17
- data/lib/active_support/core_ext/uri.rb +13 -17
- data/lib/active_support/dependencies.rb +160 -141
- data/lib/active_support/dependencies/autoload.rb +47 -20
- data/lib/active_support/deprecation.rb +39 -14
- data/lib/active_support/deprecation/behaviors.rb +44 -30
- data/lib/active_support/deprecation/instance_delegator.rb +24 -0
- data/lib/active_support/deprecation/method_wrappers.rb +33 -18
- data/lib/active_support/deprecation/proxy_wrappers.rb +58 -13
- data/lib/active_support/deprecation/reporting.rb +40 -11
- data/lib/active_support/descendants_tracker.rb +34 -19
- data/lib/active_support/duration.rb +6 -8
- data/lib/active_support/file_update_checker.rb +63 -47
- data/lib/active_support/gzip.rb +11 -5
- data/lib/active_support/hash_with_indifferent_access.rb +112 -37
- data/lib/active_support/i18n.rb +4 -0
- data/lib/active_support/i18n_railtie.rb +5 -22
- data/lib/active_support/inflections.rb +14 -12
- data/lib/active_support/inflector/inflections.rb +108 -71
- data/lib/active_support/inflector/methods.rb +181 -160
- data/lib/active_support/inflector/transliterate.rb +16 -17
- data/lib/active_support/json/decoding.rb +18 -17
- data/lib/active_support/json/encoding.rb +93 -39
- data/lib/active_support/json/variable.rb +10 -1
- data/lib/active_support/key_generator.rb +75 -0
- data/lib/active_support/lazy_load_hooks.rb +21 -19
- data/lib/active_support/locale/en.yml +100 -3
- data/lib/active_support/log_subscriber.rb +56 -36
- data/lib/active_support/log_subscriber/test_helper.rb +18 -15
- data/lib/active_support/logger.rb +57 -0
- data/lib/active_support/logger_silence.rb +24 -0
- data/lib/active_support/message_encryptor.rb +32 -29
- data/lib/active_support/message_verifier.rb +8 -14
- data/lib/active_support/multibyte.rb +5 -28
- data/lib/active_support/multibyte/chars.rb +80 -333
- data/lib/active_support/multibyte/unicode.rb +74 -64
- data/lib/active_support/notifications.rb +57 -25
- data/lib/active_support/notifications/fanout.rb +105 -18
- data/lib/active_support/notifications/instrumenter.rb +32 -13
- data/lib/active_support/number_helper.rb +636 -0
- data/lib/active_support/ordered_hash.rb +8 -190
- data/lib/active_support/ordered_options.rb +21 -23
- data/lib/active_support/proxy_object.rb +13 -0
- data/lib/active_support/rails.rb +27 -0
- data/lib/active_support/railtie.rb +12 -32
- data/lib/active_support/rescuable.rb +9 -4
- data/lib/active_support/string_inquirer.rb +13 -8
- data/lib/active_support/tagged_logging.rb +51 -73
- data/lib/active_support/test_case.rb +46 -17
- data/lib/active_support/testing/assertions.rb +56 -26
- data/lib/active_support/testing/autorun.rb +5 -0
- data/lib/active_support/testing/constant_lookup.rb +52 -0
- data/lib/active_support/testing/declarative.rb +1 -1
- data/lib/active_support/testing/deprecation.rb +0 -19
- data/lib/active_support/testing/isolation.rb +25 -58
- data/lib/active_support/testing/pending.rb +5 -43
- data/lib/active_support/testing/setup_and_teardown.rb +6 -92
- data/lib/active_support/testing/tagged_logging.rb +25 -0
- data/lib/active_support/time.rb +6 -21
- data/lib/active_support/time_with_zone.rb +78 -43
- data/lib/active_support/values/time_zone.rb +77 -58
- data/lib/active_support/values/unicode_tables.dat +0 -0
- data/lib/active_support/version.rb +4 -4
- data/lib/active_support/xml_mini.rb +35 -17
- data/lib/active_support/xml_mini/jdom.rb +9 -17
- data/lib/active_support/xml_mini/libxml.rb +1 -2
- data/lib/active_support/xml_mini/libxmlsax.rb +1 -2
- data/lib/active_support/xml_mini/nokogiri.rb +1 -2
- data/lib/active_support/xml_mini/nokogirisax.rb +1 -2
- data/lib/active_support/xml_mini/rexml.rb +6 -8
- metadata +107 -77
- data/lib/active_support/base64.rb +0 -54
- data/lib/active_support/core_ext/array/random_access.rb +0 -30
- data/lib/active_support/core_ext/date/freeze.rb +0 -33
- data/lib/active_support/core_ext/exception.rb +0 -3
- data/lib/active_support/core_ext/file/path.rb +0 -5
- data/lib/active_support/core_ext/float.rb +0 -1
- data/lib/active_support/core_ext/float/rounding.rb +0 -19
- data/lib/active_support/core_ext/hash/deep_dup.rb +0 -18
- data/lib/active_support/core_ext/io.rb +0 -15
- data/lib/active_support/core_ext/module/method_names.rb +0 -14
- data/lib/active_support/core_ext/module/synchronization.rb +0 -45
- data/lib/active_support/core_ext/process.rb +0 -1
- data/lib/active_support/core_ext/process/daemon.rb +0 -23
- data/lib/active_support/core_ext/range/blockless_step.rb +0 -29
- data/lib/active_support/core_ext/range/cover.rb +0 -3
- data/lib/active_support/core_ext/rexml.rb +0 -46
- data/lib/active_support/core_ext/string/interpolation.rb +0 -2
- data/lib/active_support/core_ext/time/publicize_conversion_methods.rb +0 -10
- data/lib/active_support/memoizable.rb +0 -116
- data/lib/active_support/multibyte/exceptions.rb +0 -8
- data/lib/active_support/multibyte/utils.rb +0 -60
- data/lib/active_support/ruby/shim.rb +0 -22
- data/lib/active_support/security_utils.rb +0 -27
- data/lib/active_support/testing/mochaing.rb +0 -7
- data/lib/active_support/testing/performance.rb +0 -317
- data/lib/active_support/testing/performance/jruby.rb +0 -115
- data/lib/active_support/testing/performance/rubinius.rb +0 -113
- data/lib/active_support/testing/performance/ruby.rb +0 -152
- data/lib/active_support/testing/performance/ruby/mri.rb +0 -57
- data/lib/active_support/testing/performance/ruby/yarv.rb +0 -57
- data/lib/active_support/time/autoload.rb +0 -5
- 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
|
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
|
49
|
-
|
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
|
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
|
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:
|
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:
|
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:
|
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:
|
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: '
|
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.
|
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:
|
56
|
+
name: minitest
|
35
57
|
requirement: !ruby/object:Gem::Requirement
|
36
58
|
requirements:
|
37
|
-
- -
|
59
|
+
- - ~>
|
38
60
|
- !ruby/object:Gem::Version
|
39
|
-
version: '
|
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: '
|
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/
|
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/
|
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
|
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/
|
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/
|
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/
|
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
|
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/
|
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/
|
226
|
+
- lib/active_support/core_ext.rb
|
194
227
|
- lib/active_support/dependencies/autoload.rb
|
195
|
-
- lib/active_support/
|
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/
|
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/
|
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
|
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
|
-
-
|
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.
|
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:
|
319
|
+
version: 1.3.1
|
289
320
|
requirements: []
|
290
321
|
rubyforge_project:
|
291
|
-
rubygems_version: 2.
|
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:
|