activesupport 3.1.12 → 3.2.0.rc1
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.
- data/CHANGELOG.md +1539 -30
- data/README.rdoc +2 -2
- data/lib/active_support.rb +1 -1
- data/lib/active_support/benchmarkable.rb +13 -18
- data/lib/active_support/buffered_logger.rb +43 -55
- data/lib/active_support/cache.rb +109 -115
- data/lib/active_support/cache/file_store.rb +6 -17
- data/lib/active_support/cache/mem_cache_store.rb +10 -2
- data/lib/active_support/cache/null_store.rb +44 -0
- data/lib/active_support/cache/strategy/local_cache.rb +2 -2
- data/lib/active_support/callbacks.rb +38 -35
- data/lib/active_support/concern.rb +5 -10
- data/lib/active_support/core_ext/array.rb +1 -0
- data/lib/active_support/core_ext/array/access.rb +1 -1
- data/lib/active_support/core_ext/array/prepend_and_append.rb +7 -0
- data/lib/active_support/core_ext/array/wrap.rb +1 -1
- data/lib/active_support/core_ext/class.rb +0 -1
- data/lib/active_support/core_ext/class/attribute_accessors.rb +3 -2
- data/lib/active_support/core_ext/date/calculations.rb +37 -14
- data/lib/active_support/core_ext/date/freeze.rb +6 -4
- data/lib/active_support/core_ext/date_time/calculations.rb +1 -1
- data/lib/active_support/core_ext/enumerable.rb +25 -8
- data/lib/active_support/core_ext/file/atomic.rb +1 -2
- data/lib/active_support/core_ext/hash/conversions.rb +7 -25
- data/lib/active_support/core_ext/hash/indifferent_access.rb +1 -1
- data/lib/active_support/core_ext/io.rb +15 -0
- data/lib/active_support/core_ext/kernel.rb +0 -1
- data/lib/active_support/core_ext/kernel/agnostics.rb +2 -2
- data/lib/active_support/core_ext/kernel/debugger.rb +1 -7
- data/lib/active_support/core_ext/module.rb +2 -2
- data/lib/active_support/core_ext/module/attribute_accessors.rb +6 -2
- data/lib/active_support/core_ext/module/delegation.rb +32 -21
- data/lib/active_support/core_ext/module/qualified_const.rb +64 -0
- data/lib/active_support/core_ext/module/reachable.rb +1 -3
- data/lib/active_support/core_ext/module/synchronization.rb +2 -0
- data/lib/active_support/core_ext/object/blank.rb +14 -2
- data/lib/active_support/core_ext/object/inclusion.rb +17 -7
- data/lib/active_support/core_ext/object/to_json.rb +2 -2
- data/lib/active_support/core_ext/range/conversions.rb +1 -1
- data/lib/active_support/core_ext/string/conversions.rb +2 -2
- data/lib/active_support/core_ext/string/inflections.rb +44 -6
- data/lib/active_support/core_ext/string/multibyte.rb +1 -1
- data/lib/active_support/core_ext/string/output_safety.rb +22 -25
- data/lib/active_support/core_ext/time/calculations.rb +66 -12
- data/lib/active_support/dependencies.rb +51 -52
- data/lib/active_support/file_update_checker.rb +100 -15
- data/lib/active_support/hash_with_indifferent_access.rb +5 -1
- data/lib/active_support/i18n.rb +1 -1
- data/lib/active_support/i18n_railtie.rb +9 -4
- data/lib/active_support/inflections.rb +3 -3
- data/lib/active_support/inflector/inflections.rb +53 -92
- data/lib/active_support/inflector/methods.rb +173 -9
- data/lib/active_support/json/decoding.rb +3 -17
- data/lib/active_support/json/encoding.rb +11 -14
- data/lib/active_support/memoizable.rb +12 -1
- data/lib/active_support/message_encryptor.rb +52 -20
- data/lib/active_support/message_verifier.rb +15 -4
- data/lib/active_support/notifications.rb +87 -14
- data/lib/active_support/notifications/instrumenter.rb +1 -2
- data/lib/active_support/ordered_hash.rb +7 -3
- data/lib/active_support/tagged_logging.rb +63 -0
- data/lib/active_support/testing/assertions.rb +1 -1
- data/lib/active_support/testing/mochaing.rb +2 -2
- data/lib/active_support/testing/performance/ruby.rb +1 -1
- data/lib/active_support/testing/setup_and_teardown.rb +4 -12
- data/lib/active_support/time_with_zone.rb +6 -3
- data/lib/active_support/values/time_zone.rb +3 -7
- data/lib/active_support/version.rb +3 -3
- data/lib/active_support/xml_mini.rb +3 -3
- data/lib/active_support/xml_mini/jdom.rb +4 -10
- metadata +28 -21
- checksums.yaml +0 -7
- data/lib/active_support/cache/compressed_mem_cache_store.rb +0 -13
- data/lib/active_support/cache/synchronized_memory_store.rb +0 -11
- data/lib/active_support/core_ext/class/inheritable_attributes.rb +0 -178
- data/lib/active_support/core_ext/kernel/requires.rb +0 -28
- data/lib/active_support/core_ext/module/attr_accessor_with_default.rb +0 -31
- data/lib/active_support/secure_random.rb +0 -6
@@ -6,7 +6,7 @@ end
|
|
6
6
|
require 'yaml'
|
7
7
|
|
8
8
|
YAML.add_builtin_type("omap") do |type, val|
|
9
|
-
ActiveSupport::OrderedHash[val.map
|
9
|
+
ActiveSupport::OrderedHash[val.map{ |v| v.to_a.first }]
|
10
10
|
end
|
11
11
|
|
12
12
|
module ActiveSupport
|
@@ -20,7 +20,7 @@ module ActiveSupport
|
|
20
20
|
# oh.keys # => [:a, :b], this order is guaranteed
|
21
21
|
#
|
22
22
|
# <tt>ActiveSupport::OrderedHash</tt> is namespaced to prevent conflicts with other implementations.
|
23
|
-
class OrderedHash < ::Hash
|
23
|
+
class OrderedHash < ::Hash
|
24
24
|
def to_yaml_type
|
25
25
|
"!tag:yaml.org,2002:omap"
|
26
26
|
end
|
@@ -163,7 +163,11 @@ module ActiveSupport
|
|
163
163
|
self
|
164
164
|
end
|
165
165
|
|
166
|
-
|
166
|
+
def each_pair
|
167
|
+
return to_enum(:each_pair) unless block_given?
|
168
|
+
@keys.each {|key| yield key, self[key]}
|
169
|
+
self
|
170
|
+
end
|
167
171
|
|
168
172
|
alias_method :select, :find_all
|
169
173
|
|
@@ -0,0 +1,63 @@
|
|
1
|
+
require 'active_support/core_ext/object/blank'
|
2
|
+
require 'logger'
|
3
|
+
|
4
|
+
module ActiveSupport
|
5
|
+
# Wraps any standard Logger class to provide tagging capabilities. Examples:
|
6
|
+
#
|
7
|
+
# Logger = ActiveSupport::TaggedLogging.new(Logger.new(STDOUT))
|
8
|
+
# Logger.tagged("BCX") { Logger.info "Stuff" } # Logs "[BCX] Stuff"
|
9
|
+
# Logger.tagged("BCX", "Jason") { Logger.info "Stuff" } # Logs "[BCX] [Jason] Stuff"
|
10
|
+
# Logger.tagged("BCX") { Logger.tagged("Jason") { Logger.info "Stuff" } } # Logs "[BCX] [Jason] Stuff"
|
11
|
+
#
|
12
|
+
# This is used by the default Rails.logger as configured by Railties to make it easy to stamp log lines
|
13
|
+
# with subdomains, request ids, and anything else to aid debugging of multi-user production applications.
|
14
|
+
class TaggedLogging
|
15
|
+
def initialize(logger)
|
16
|
+
@logger = logger
|
17
|
+
@tags = Hash.new { |h,k| h[k] = [] }
|
18
|
+
end
|
19
|
+
|
20
|
+
def tagged(*new_tags)
|
21
|
+
tags = current_tags
|
22
|
+
new_tags = Array.wrap(new_tags).flatten.reject(&:blank?)
|
23
|
+
tags.concat new_tags
|
24
|
+
yield
|
25
|
+
ensure
|
26
|
+
new_tags.size.times { tags.pop }
|
27
|
+
end
|
28
|
+
|
29
|
+
def add(severity, message = nil, progname = nil, &block)
|
30
|
+
@logger.add(severity, "#{tags_text}#{message}", progname, &block)
|
31
|
+
end
|
32
|
+
|
33
|
+
%w( fatal error warn info debug unknown ).each do |severity|
|
34
|
+
eval <<-EOM, nil, __FILE__, __LINE__ + 1
|
35
|
+
def #{severity}(progname = nil, &block)
|
36
|
+
add(Logger::#{severity.upcase}, progname, &block)
|
37
|
+
end
|
38
|
+
EOM
|
39
|
+
end
|
40
|
+
|
41
|
+
def flush
|
42
|
+
@tags.delete(Thread.current)
|
43
|
+
@logger.flush if @logger.respond_to?(:flush)
|
44
|
+
end
|
45
|
+
|
46
|
+
def method_missing(method, *args)
|
47
|
+
@logger.send(method, *args)
|
48
|
+
end
|
49
|
+
|
50
|
+
protected
|
51
|
+
|
52
|
+
def tags_text
|
53
|
+
tags = current_tags
|
54
|
+
if tags.any?
|
55
|
+
tags.collect { |tag| "[#{tag}]" }.join(" ") + " "
|
56
|
+
end
|
57
|
+
end
|
58
|
+
|
59
|
+
def current_tags
|
60
|
+
@tags[Thread.current]
|
61
|
+
end
|
62
|
+
end
|
63
|
+
end
|
@@ -70,7 +70,7 @@ module ActiveSupport
|
|
70
70
|
#
|
71
71
|
# A error message can be specified.
|
72
72
|
#
|
73
|
-
# assert_no_difference 'Article.count', "An Article should not be
|
73
|
+
# assert_no_difference 'Article.count', "An Article should not be created" do
|
74
74
|
# post :create, :article => invalid_attributes
|
75
75
|
# end
|
76
76
|
def assert_no_difference(expression, message = nil, &block)
|
@@ -1,7 +1,7 @@
|
|
1
1
|
begin
|
2
|
-
silence_warnings { require 'mocha
|
2
|
+
silence_warnings { require 'mocha' }
|
3
3
|
rescue LoadError
|
4
4
|
# Fake Mocha::ExpectationError so we can rescue it in #run. Bleh.
|
5
5
|
Object.const_set :Mocha, Module.new
|
6
6
|
Mocha.const_set :ExpectationError, Class.new(StandardError)
|
7
|
-
end
|
7
|
+
end
|
@@ -36,7 +36,7 @@ module ActiveSupport
|
|
36
36
|
RubyProf.pause
|
37
37
|
full_profile_options[:runs].to_i.times { run_test(@metric, :profile) }
|
38
38
|
@data = RubyProf.stop
|
39
|
-
@total = @data.threads.sum(0) { |
|
39
|
+
@total = @data.threads.values.sum(0) { |method_infos| method_infos.max.total_time }
|
40
40
|
end
|
41
41
|
|
42
42
|
def record
|
@@ -28,22 +28,17 @@ module ActiveSupport
|
|
28
28
|
end
|
29
29
|
|
30
30
|
module ForMiniTest
|
31
|
-
PASSTHROUGH_EXCEPTIONS = MiniTest::Unit::TestCase::PASSTHROUGH_EXCEPTIONS rescue [NoMemoryError, SignalException, Interrupt, SystemExit]
|
32
31
|
def run(runner)
|
33
32
|
result = '.'
|
34
33
|
begin
|
35
34
|
run_callbacks :setup do
|
36
35
|
result = super
|
37
36
|
end
|
38
|
-
rescue *PASSTHROUGH_EXCEPTIONS => e
|
39
|
-
raise e
|
40
37
|
rescue Exception => e
|
41
38
|
result = runner.puke(self.class, method_name, e)
|
42
39
|
ensure
|
43
40
|
begin
|
44
41
|
run_callbacks :teardown
|
45
|
-
rescue *PASSTHROUGH_EXCEPTIONS => e
|
46
|
-
raise e
|
47
42
|
rescue Exception => e
|
48
43
|
result = runner.puke(self.class, method_name, e)
|
49
44
|
end
|
@@ -61,7 +56,7 @@ module ActiveSupport
|
|
61
56
|
def run(result)
|
62
57
|
return if @method_name.to_s == "default_test"
|
63
58
|
|
64
|
-
mocha_counter = retrieve_mocha_counter(
|
59
|
+
mocha_counter = retrieve_mocha_counter(result)
|
65
60
|
yield(Test::Unit::TestCase::STARTED, name)
|
66
61
|
@_result = result
|
67
62
|
|
@@ -83,8 +78,6 @@ module ActiveSupport
|
|
83
78
|
begin
|
84
79
|
teardown
|
85
80
|
run_callbacks :teardown
|
86
|
-
rescue Mocha::ExpectationError => e
|
87
|
-
add_failure(e.message, e.backtrace)
|
88
81
|
rescue Test::Unit::AssertionFailedError => e
|
89
82
|
add_failure(e.message, e.backtrace)
|
90
83
|
rescue Exception => e
|
@@ -102,18 +95,17 @@ module ActiveSupport
|
|
102
95
|
|
103
96
|
protected
|
104
97
|
|
105
|
-
def retrieve_mocha_counter(
|
98
|
+
def retrieve_mocha_counter(result) #:nodoc:
|
106
99
|
if respond_to?(:mocha_verify) # using mocha
|
107
100
|
if defined?(Mocha::TestCaseAdapter::AssertionCounter)
|
108
101
|
Mocha::TestCaseAdapter::AssertionCounter.new(result)
|
109
|
-
elsif defined?(Mocha::Integration::TestUnit::AssertionCounter)
|
110
|
-
Mocha::Integration::TestUnit::AssertionCounter.new(result)
|
111
102
|
else
|
112
|
-
Mocha::Integration::AssertionCounter.new(
|
103
|
+
Mocha::Integration::TestUnit::AssertionCounter.new(result)
|
113
104
|
end
|
114
105
|
end
|
115
106
|
end
|
116
107
|
end
|
108
|
+
|
117
109
|
end
|
118
110
|
end
|
119
111
|
end
|
@@ -109,7 +109,7 @@ module ActiveSupport
|
|
109
109
|
|
110
110
|
def xmlschema(fraction_digits = 0)
|
111
111
|
fraction = if fraction_digits > 0
|
112
|
-
".%
|
112
|
+
(".%06i" % time.usec)[0, fraction_digits + 1]
|
113
113
|
end
|
114
114
|
|
115
115
|
"#{time.strftime("%Y-%m-%dT%H:%M:%S")}#{fraction}#{formatted_offset(true, 'Z')}"
|
@@ -203,7 +203,11 @@ module ActiveSupport
|
|
203
203
|
end
|
204
204
|
|
205
205
|
def eql?(other)
|
206
|
-
utc
|
206
|
+
utc.eql?(other)
|
207
|
+
end
|
208
|
+
|
209
|
+
def hash
|
210
|
+
utc.hash
|
207
211
|
end
|
208
212
|
|
209
213
|
def +(other)
|
@@ -277,7 +281,6 @@ module ActiveSupport
|
|
277
281
|
def to_i
|
278
282
|
utc.to_i
|
279
283
|
end
|
280
|
-
alias_method :hash, :to_i
|
281
284
|
alias_method :tv_sec, :to_i
|
282
285
|
|
283
286
|
# A TimeWithZone acts like a Time, so just return +self+.
|
@@ -28,7 +28,7 @@ module ActiveSupport
|
|
28
28
|
MAPPING = {
|
29
29
|
"International Date Line West" => "Pacific/Midway",
|
30
30
|
"Midway Island" => "Pacific/Midway",
|
31
|
-
"
|
31
|
+
"Samoa" => "Pacific/Pago_Pago",
|
32
32
|
"Hawaii" => "Pacific/Honolulu",
|
33
33
|
"Alaska" => "America/Juneau",
|
34
34
|
"Pacific Time (US & Canada)" => "America/Los_Angeles",
|
@@ -167,9 +167,7 @@ module ActiveSupport
|
|
167
167
|
"Marshall Is." => "Pacific/Majuro",
|
168
168
|
"Auckland" => "Pacific/Auckland",
|
169
169
|
"Wellington" => "Pacific/Auckland",
|
170
|
-
"Nuku'alofa" => "Pacific/Tongatapu"
|
171
|
-
"Tokelau Is." => "Pacific/Fakaofo",
|
172
|
-
"Samoa" => "Pacific/Apia"
|
170
|
+
"Nuku'alofa" => "Pacific/Tongatapu"
|
173
171
|
}.each { |name, zone| name.freeze; zone.freeze }
|
174
172
|
MAPPING.freeze
|
175
173
|
|
@@ -313,10 +311,8 @@ module ActiveSupport
|
|
313
311
|
tzinfo.period_for_local(time, dst)
|
314
312
|
end
|
315
313
|
|
316
|
-
# TODO: Preload instead of lazy load for thread safety
|
317
314
|
def self.find_tzinfo(name)
|
318
|
-
|
319
|
-
::TZInfo::TimezoneProxy.new(MAPPING[name] || name)
|
315
|
+
TZInfo::TimezoneProxy.new(MAPPING[name] || name)
|
320
316
|
end
|
321
317
|
|
322
318
|
class << self
|
@@ -1,3 +1,4 @@
|
|
1
|
+
require 'time'
|
1
2
|
require 'active_support/core_ext/module/delegation'
|
2
3
|
require 'active_support/core_ext/string/inflections'
|
3
4
|
|
@@ -51,13 +52,12 @@ module ActiveSupport
|
|
51
52
|
"yaml" => Proc.new { |yaml| yaml.to_yaml }
|
52
53
|
} unless defined?(FORMATTING)
|
53
54
|
|
54
|
-
# TODO
|
55
|
-
# use regexp instead of Date.parse
|
55
|
+
# TODO use regexp instead of Date.parse
|
56
56
|
unless defined?(PARSING)
|
57
57
|
PARSING = {
|
58
58
|
"symbol" => Proc.new { |symbol| symbol.to_sym },
|
59
59
|
"date" => Proc.new { |date| ::Date.parse(date) },
|
60
|
-
"datetime" => Proc.new { |time|
|
60
|
+
"datetime" => Proc.new { |time| Time.xmlschema(time).utc rescue ::DateTime.parse(time).utc },
|
61
61
|
"integer" => Proc.new { |integer| integer.to_i },
|
62
62
|
"float" => Proc.new { |float| float.to_f },
|
63
63
|
"decimal" => Proc.new { |number| BigDecimal(number) },
|
@@ -38,12 +38,6 @@ module ActiveSupport
|
|
38
38
|
{}
|
39
39
|
else
|
40
40
|
@dbf = DocumentBuilderFactory.new_instance
|
41
|
-
# secure processing of java xml
|
42
|
-
# http://www.ibm.com/developerworks/xml/library/x-tipcfsx/index.html
|
43
|
-
@dbf.setFeature("http://apache.org/xml/features/nonvalidating/load-external-dtd", false)
|
44
|
-
@dbf.setFeature("http://xml.org/sax/features/external-general-entities", false)
|
45
|
-
@dbf.setFeature("http://xml.org/sax/features/external-parameter-entities", false)
|
46
|
-
@dbf.setFeature(javax.xml.XMLConstants::FEATURE_SECURE_PROCESSING, true)
|
47
41
|
xml_string_reader = StringReader.new(data)
|
48
42
|
xml_input_source = InputSource.new(xml_string_reader)
|
49
43
|
doc = @dbf.new_document_builder.parse(xml_input_source)
|
@@ -64,7 +58,7 @@ module ActiveSupport
|
|
64
58
|
merge!(hash, element.tag_name, collapse(element))
|
65
59
|
end
|
66
60
|
|
67
|
-
def delete_empty(hash)
|
61
|
+
def delete_empty(hash)
|
68
62
|
hash.delete(CONTENT_KEY) if hash[CONTENT_KEY] == ''
|
69
63
|
end
|
70
64
|
|
@@ -140,9 +134,9 @@ module ActiveSupport
|
|
140
134
|
attribute_hash = {}
|
141
135
|
attributes = element.attributes
|
142
136
|
for i in 0...attributes.length
|
143
|
-
|
144
|
-
|
145
|
-
|
137
|
+
attribute_hash[CONTENT_KEY] ||= ''
|
138
|
+
attribute_hash[attributes.item(i).name] = attributes.item(i).value
|
139
|
+
end
|
146
140
|
attribute_hash
|
147
141
|
end
|
148
142
|
|
metadata
CHANGED
@@ -1,29 +1,38 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: activesupport
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 3.
|
4
|
+
version: 3.2.0.rc1
|
5
|
+
prerelease: 6
|
5
6
|
platform: ruby
|
6
7
|
authors:
|
7
8
|
- David Heinemeier Hansson
|
8
9
|
autorequire:
|
9
10
|
bindir: bin
|
10
11
|
cert_chain: []
|
11
|
-
date:
|
12
|
+
date: 2011-12-20 00:00:00.000000000 Z
|
12
13
|
dependencies:
|
13
14
|
- !ruby/object:Gem::Dependency
|
14
|
-
name:
|
15
|
-
requirement: !ruby/object:Gem::Requirement
|
15
|
+
name: i18n
|
16
|
+
requirement: &2156027620 !ruby/object:Gem::Requirement
|
17
|
+
none: false
|
16
18
|
requirements:
|
17
19
|
- - ~>
|
18
20
|
- !ruby/object:Gem::Version
|
19
|
-
version: '
|
21
|
+
version: '0.6'
|
20
22
|
type: :runtime
|
21
23
|
prerelease: false
|
22
|
-
version_requirements:
|
24
|
+
version_requirements: *2156027620
|
25
|
+
- !ruby/object:Gem::Dependency
|
26
|
+
name: multi_json
|
27
|
+
requirement: &2156024920 !ruby/object:Gem::Requirement
|
28
|
+
none: false
|
23
29
|
requirements:
|
24
30
|
- - ~>
|
25
31
|
- !ruby/object:Gem::Version
|
26
32
|
version: '1.0'
|
33
|
+
type: :runtime
|
34
|
+
prerelease: false
|
35
|
+
version_requirements: *2156024920
|
27
36
|
description: A toolkit of support libraries and Ruby core extensions extracted from
|
28
37
|
the Rails framework. Rich support for multibyte strings, internationalization, time
|
29
38
|
zones, and testing.
|
@@ -42,12 +51,11 @@ files:
|
|
42
51
|
- lib/active_support/benchmarkable.rb
|
43
52
|
- lib/active_support/buffered_logger.rb
|
44
53
|
- lib/active_support/builder.rb
|
45
|
-
- lib/active_support/cache/compressed_mem_cache_store.rb
|
46
54
|
- lib/active_support/cache/file_store.rb
|
47
55
|
- lib/active_support/cache/mem_cache_store.rb
|
48
56
|
- lib/active_support/cache/memory_store.rb
|
57
|
+
- lib/active_support/cache/null_store.rb
|
49
58
|
- lib/active_support/cache/strategy/local_cache.rb
|
50
|
-
- lib/active_support/cache/synchronized_memory_store.rb
|
51
59
|
- lib/active_support/cache.rb
|
52
60
|
- lib/active_support/callbacks.rb
|
53
61
|
- lib/active_support/concern.rb
|
@@ -56,6 +64,7 @@ files:
|
|
56
64
|
- lib/active_support/core_ext/array/conversions.rb
|
57
65
|
- lib/active_support/core_ext/array/extract_options.rb
|
58
66
|
- lib/active_support/core_ext/array/grouping.rb
|
67
|
+
- lib/active_support/core_ext/array/prepend_and_append.rb
|
59
68
|
- lib/active_support/core_ext/array/random_access.rb
|
60
69
|
- lib/active_support/core_ext/array/uniq_by.rb
|
61
70
|
- lib/active_support/core_ext/array/wrap.rb
|
@@ -66,7 +75,6 @@ files:
|
|
66
75
|
- lib/active_support/core_ext/class/attribute.rb
|
67
76
|
- lib/active_support/core_ext/class/attribute_accessors.rb
|
68
77
|
- lib/active_support/core_ext/class/delegating_attributes.rb
|
69
|
-
- lib/active_support/core_ext/class/inheritable_attributes.rb
|
70
78
|
- lib/active_support/core_ext/class/subclasses.rb
|
71
79
|
- lib/active_support/core_ext/class.rb
|
72
80
|
- lib/active_support/core_ext/date/acts_like.rb
|
@@ -99,23 +107,23 @@ files:
|
|
99
107
|
- lib/active_support/core_ext/integer/multiple.rb
|
100
108
|
- lib/active_support/core_ext/integer/time.rb
|
101
109
|
- lib/active_support/core_ext/integer.rb
|
110
|
+
- lib/active_support/core_ext/io.rb
|
102
111
|
- lib/active_support/core_ext/kernel/agnostics.rb
|
103
112
|
- lib/active_support/core_ext/kernel/debugger.rb
|
104
113
|
- lib/active_support/core_ext/kernel/reporting.rb
|
105
|
-
- lib/active_support/core_ext/kernel/requires.rb
|
106
114
|
- lib/active_support/core_ext/kernel/singleton_class.rb
|
107
115
|
- lib/active_support/core_ext/kernel.rb
|
108
116
|
- lib/active_support/core_ext/load_error.rb
|
109
117
|
- lib/active_support/core_ext/logger.rb
|
110
118
|
- lib/active_support/core_ext/module/aliasing.rb
|
111
119
|
- lib/active_support/core_ext/module/anonymous.rb
|
112
|
-
- lib/active_support/core_ext/module/attr_accessor_with_default.rb
|
113
120
|
- lib/active_support/core_ext/module/attr_internal.rb
|
114
121
|
- lib/active_support/core_ext/module/attribute_accessors.rb
|
115
122
|
- lib/active_support/core_ext/module/delegation.rb
|
116
123
|
- lib/active_support/core_ext/module/deprecation.rb
|
117
124
|
- lib/active_support/core_ext/module/introspection.rb
|
118
125
|
- lib/active_support/core_ext/module/method_names.rb
|
126
|
+
- lib/active_support/core_ext/module/qualified_const.rb
|
119
127
|
- lib/active_support/core_ext/module/reachable.rb
|
120
128
|
- lib/active_support/core_ext/module/remove_method.rb
|
121
129
|
- lib/active_support/core_ext/module/synchronization.rb
|
@@ -215,8 +223,8 @@ files:
|
|
215
223
|
- lib/active_support/railtie.rb
|
216
224
|
- lib/active_support/rescuable.rb
|
217
225
|
- lib/active_support/ruby/shim.rb
|
218
|
-
- lib/active_support/secure_random.rb
|
219
226
|
- lib/active_support/string_inquirer.rb
|
227
|
+
- lib/active_support/tagged_logging.rb
|
220
228
|
- lib/active_support/test_case.rb
|
221
229
|
- lib/active_support/testing/assertions.rb
|
222
230
|
- lib/active_support/testing/declarative.rb
|
@@ -248,28 +256,27 @@ files:
|
|
248
256
|
- lib/active_support.rb
|
249
257
|
homepage: http://www.rubyonrails.org
|
250
258
|
licenses: []
|
251
|
-
metadata: {}
|
252
259
|
post_install_message:
|
253
|
-
rdoc_options:
|
254
|
-
- --encoding
|
255
|
-
- UTF-8
|
260
|
+
rdoc_options: []
|
256
261
|
require_paths:
|
257
262
|
- lib
|
258
263
|
required_ruby_version: !ruby/object:Gem::Requirement
|
264
|
+
none: false
|
259
265
|
requirements:
|
260
|
-
- - '>='
|
266
|
+
- - ! '>='
|
261
267
|
- !ruby/object:Gem::Version
|
262
268
|
version: 1.8.7
|
263
269
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
270
|
+
none: false
|
264
271
|
requirements:
|
265
|
-
- - '
|
272
|
+
- - ! '>'
|
266
273
|
- !ruby/object:Gem::Version
|
267
|
-
version:
|
274
|
+
version: 1.3.1
|
268
275
|
requirements: []
|
269
276
|
rubyforge_project:
|
270
|
-
rubygems_version:
|
277
|
+
rubygems_version: 1.8.7
|
271
278
|
signing_key:
|
272
|
-
specification_version:
|
279
|
+
specification_version: 3
|
273
280
|
summary: A toolkit of support libraries and Ruby core extensions extracted from the
|
274
281
|
Rails framework.
|
275
282
|
test_files: []
|