activesupport 3.1.3 → 3.1.4.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/lib/active_support/cache.rb
CHANGED
@@ -555,7 +555,7 @@ module ActiveSupport
|
|
555
555
|
@expires_in = options[:expires_in]
|
556
556
|
@expires_in = @expires_in.to_f if @expires_in
|
557
557
|
@created_at = Time.now.to_f
|
558
|
-
|
558
|
+
unless value.nil?
|
559
559
|
if should_compress?(value, options)
|
560
560
|
@value = Zlib::Deflate.deflate(Marshal.dump(value))
|
561
561
|
@compressed = true
|
@@ -574,7 +574,7 @@ module ActiveSupport
|
|
574
574
|
|
575
575
|
# Get the value stored in the cache.
|
576
576
|
def value
|
577
|
-
|
577
|
+
unless @value.nil?
|
578
578
|
val = compressed? ? Marshal.load(Zlib::Inflate.inflate(@value)) : @value
|
579
579
|
unless val.frozen?
|
580
580
|
val.freeze rescue nil
|
@@ -4,7 +4,7 @@ class DateTime
|
|
4
4
|
class << self
|
5
5
|
# DateTimes aren't aware of DST rules, so use a consistent non-DST offset when creating a DateTime with an offset in the local zone
|
6
6
|
def local_offset
|
7
|
-
::Time.local(
|
7
|
+
::Time.local(2012).utc_offset.to_r / 86400
|
8
8
|
end
|
9
9
|
|
10
10
|
# Returns <tt>Time.zone.now.to_datetime</tt> when <tt>Time.zone</tt> or <tt>config.time_zone</tt> are set, otherwise returns <tt>Time.now.to_datetime</tt>.
|
@@ -1,21 +1,6 @@
|
|
1
1
|
# Extensions to +nil+ which allow for more helpful error messages for people who
|
2
2
|
# are new to Rails.
|
3
3
|
#
|
4
|
-
# Ruby raises NoMethodError if you invoke a method on an object that does not
|
5
|
-
# respond to it:
|
6
|
-
#
|
7
|
-
# $ ruby -e nil.destroy
|
8
|
-
# -e:1: undefined method `destroy' for nil:NilClass (NoMethodError)
|
9
|
-
#
|
10
|
-
# With these extensions, if the method belongs to the public interface of the
|
11
|
-
# classes in NilClass::WHINERS the error message suggests which could be the
|
12
|
-
# actual intended class:
|
13
|
-
#
|
14
|
-
# $ rails runner nil.destroy
|
15
|
-
# ...
|
16
|
-
# You might have expected an instance of ActiveRecord::Base.
|
17
|
-
# ...
|
18
|
-
#
|
19
4
|
# NilClass#id exists in Ruby 1.8 (though it is deprecated). Since +id+ is a fundamental
|
20
5
|
# method of Active Record models NilClass#id is redefined as well to raise a RuntimeError
|
21
6
|
# and warn the user. She probably wanted a model database identifier and the 4
|
@@ -25,36 +10,13 @@
|
|
25
10
|
# By default it is on in development and test modes, and it is off in production
|
26
11
|
# mode.
|
27
12
|
class NilClass
|
28
|
-
METHOD_CLASS_MAP = Hash.new
|
29
|
-
|
30
13
|
def self.add_whiner(klass)
|
31
|
-
|
32
|
-
|
33
|
-
methods.each { |method| METHOD_CLASS_MAP[method.to_sym] = class_name }
|
14
|
+
ActiveSupport::Deprecation.warn "NilClass.add_whiner is deprecated and this functionality is " \
|
15
|
+
"removed from Rails versions as it affects Ruby 1.9 performance.", caller
|
34
16
|
end
|
35
17
|
|
36
|
-
add_whiner ::Array
|
37
|
-
|
38
18
|
# Raises a RuntimeError when you attempt to call +id+ on +nil+.
|
39
19
|
def id
|
40
20
|
raise RuntimeError, "Called id for nil, which would mistakenly be #{object_id} -- if you really wanted the id of nil, use object_id", caller
|
41
21
|
end
|
42
|
-
|
43
|
-
private
|
44
|
-
def method_missing(method, *args)
|
45
|
-
if klass = METHOD_CLASS_MAP[method]
|
46
|
-
raise_nil_warning_for klass, method, caller
|
47
|
-
else
|
48
|
-
super
|
49
|
-
end
|
50
|
-
end
|
51
|
-
|
52
|
-
# Raises a NoMethodError when you attempt to call a method on +nil+.
|
53
|
-
def raise_nil_warning_for(class_name = nil, selector = nil, with_caller = nil)
|
54
|
-
message = "You have a nil object when you didn't expect it!"
|
55
|
-
message << "\nYou might have expected an instance of #{class_name}." if class_name
|
56
|
-
message << "\nThe error occurred while evaluating nil.#{selector}" if selector
|
57
|
-
|
58
|
-
raise NoMethodError, message, with_caller || caller
|
59
|
-
end
|
60
22
|
end
|
metadata
CHANGED
@@ -1,13 +1,15 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: activesupport
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
hash:
|
5
|
-
prerelease:
|
4
|
+
hash: 15424071
|
5
|
+
prerelease: 6
|
6
6
|
segments:
|
7
7
|
- 3
|
8
8
|
- 1
|
9
|
-
-
|
10
|
-
|
9
|
+
- 4
|
10
|
+
- rc
|
11
|
+
- 1
|
12
|
+
version: 3.1.4.rc1
|
11
13
|
platform: ruby
|
12
14
|
authors:
|
13
15
|
- David Heinemeier Hansson
|
@@ -15,13 +17,12 @@ autorequire:
|
|
15
17
|
bindir: bin
|
16
18
|
cert_chain: []
|
17
19
|
|
18
|
-
date:
|
20
|
+
date: 2012-02-22 00:00:00 Z
|
19
21
|
dependencies:
|
20
22
|
- !ruby/object:Gem::Dependency
|
21
23
|
name: multi_json
|
22
|
-
type: :runtime
|
23
24
|
prerelease: false
|
24
|
-
|
25
|
+
requirement: &id001 !ruby/object:Gem::Requirement
|
25
26
|
none: false
|
26
27
|
requirements:
|
27
28
|
- - ~>
|
@@ -31,7 +32,8 @@ dependencies:
|
|
31
32
|
- 1
|
32
33
|
- 0
|
33
34
|
version: "1.0"
|
34
|
-
|
35
|
+
type: :runtime
|
36
|
+
version_requirements: *id001
|
35
37
|
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.
|
36
38
|
email: david@loudthinking.com
|
37
39
|
executables: []
|
@@ -44,223 +46,224 @@ files:
|
|
44
46
|
- CHANGELOG.md
|
45
47
|
- MIT-LICENSE
|
46
48
|
- README.rdoc
|
47
|
-
- lib/active_support/
|
48
|
-
- lib/active_support/
|
49
|
-
- lib/active_support/
|
50
|
-
- lib/active_support/
|
51
|
-
- lib/active_support/
|
52
|
-
- lib/active_support/
|
53
|
-
- lib/active_support/
|
54
|
-
- lib/active_support/
|
49
|
+
- lib/active_support/all.rb
|
50
|
+
- lib/active_support/backtrace_cleaner.rb
|
51
|
+
- lib/active_support/base64.rb
|
52
|
+
- lib/active_support/basic_object.rb
|
53
|
+
- lib/active_support/benchmarkable.rb
|
54
|
+
- lib/active_support/buffered_logger.rb
|
55
|
+
- lib/active_support/builder.rb
|
56
|
+
- lib/active_support/cache/compressed_mem_cache_store.rb
|
57
|
+
- lib/active_support/cache/file_store.rb
|
55
58
|
- lib/active_support/cache/mem_cache_store.rb
|
56
59
|
- lib/active_support/cache/memory_store.rb
|
57
|
-
- lib/active_support/cache/synchronized_memory_store.rb
|
58
|
-
- lib/active_support/cache/file_store.rb
|
59
60
|
- lib/active_support/cache/strategy/local_cache.rb
|
60
|
-
- lib/active_support/cache/
|
61
|
-
- lib/active_support/
|
62
|
-
- lib/active_support/
|
63
|
-
- lib/active_support/all.rb
|
61
|
+
- lib/active_support/cache/synchronized_memory_store.rb
|
62
|
+
- lib/active_support/cache.rb
|
63
|
+
- lib/active_support/callbacks.rb
|
64
64
|
- lib/active_support/concern.rb
|
65
|
-
- lib/active_support/xml_mini/nokogiri.rb
|
66
|
-
- lib/active_support/xml_mini/rexml.rb
|
67
|
-
- lib/active_support/xml_mini/libxml.rb
|
68
|
-
- lib/active_support/xml_mini/jdom.rb
|
69
|
-
- lib/active_support/xml_mini/libxmlsax.rb
|
70
|
-
- lib/active_support/xml_mini/nokogirisax.rb
|
71
|
-
- lib/active_support/string_inquirer.rb
|
72
|
-
- lib/active_support/option_merger.rb
|
73
|
-
- lib/active_support/memoizable.rb
|
74
|
-
- lib/active_support/descendants_tracker.rb
|
75
|
-
- lib/active_support/message_encryptor.rb
|
76
|
-
- lib/active_support/benchmarkable.rb
|
77
|
-
- lib/active_support/dependencies.rb
|
78
|
-
- lib/active_support/json/decoding.rb
|
79
|
-
- lib/active_support/json/encoding.rb
|
80
|
-
- lib/active_support/json/variable.rb
|
81
|
-
- lib/active_support/test_case.rb
|
82
|
-
- lib/active_support/inflections.rb
|
83
|
-
- lib/active_support/duration.rb
|
84
|
-
- lib/active_support/deprecation.rb
|
85
|
-
- lib/active_support/dependencies/autoload.rb
|
86
|
-
- lib/active_support/deprecation/reporting.rb
|
87
|
-
- lib/active_support/deprecation/proxy_wrappers.rb
|
88
|
-
- lib/active_support/deprecation/behaviors.rb
|
89
|
-
- lib/active_support/deprecation/method_wrappers.rb
|
90
|
-
- lib/active_support/base64.rb
|
91
|
-
- lib/active_support/ordered_hash.rb
|
92
|
-
- lib/active_support/json.rb
|
93
|
-
- lib/active_support/gzip.rb
|
94
|
-
- lib/active_support/notifications/fanout.rb
|
95
|
-
- lib/active_support/notifications/instrumenter.rb
|
96
|
-
- lib/active_support/inflector.rb
|
97
|
-
- lib/active_support/whiny_nil.rb
|
98
|
-
- lib/active_support/file_update_checker.rb
|
99
|
-
- lib/active_support/backtrace_cleaner.rb
|
100
|
-
- lib/active_support/time.rb
|
101
|
-
- lib/active_support/log_subscriber.rb
|
102
|
-
- lib/active_support/multibyte/chars.rb
|
103
|
-
- lib/active_support/multibyte/exceptions.rb
|
104
|
-
- lib/active_support/multibyte/unicode.rb
|
105
|
-
- lib/active_support/multibyte/utils.rb
|
106
|
-
- lib/active_support/rescuable.rb
|
107
|
-
- lib/active_support/version.rb
|
108
|
-
- lib/active_support/multibyte.rb
|
109
65
|
- lib/active_support/configurable.rb
|
110
|
-
- lib/active_support/xml_mini.rb
|
111
|
-
- lib/active_support/ordered_options.rb
|
112
|
-
- lib/active_support/railtie.rb
|
113
|
-
- lib/active_support/i18n_railtie.rb
|
114
|
-
- lib/active_support/log_subscriber/test_helper.rb
|
115
|
-
- lib/active_support/lazy_load_hooks.rb
|
116
|
-
- lib/active_support/buffered_logger.rb
|
117
|
-
- lib/active_support/core_ext/float/rounding.rb
|
118
|
-
- lib/active_support/core_ext/date/zones.rb
|
119
|
-
- lib/active_support/core_ext/date/freeze.rb
|
120
|
-
- lib/active_support/core_ext/date/acts_like.rb
|
121
|
-
- lib/active_support/core_ext/date/conversions.rb
|
122
|
-
- lib/active_support/core_ext/date/calculations.rb
|
123
|
-
- lib/active_support/core_ext/class.rb
|
124
|
-
- lib/active_support/core_ext/kernel/requires.rb
|
125
|
-
- lib/active_support/core_ext/kernel/reporting.rb
|
126
|
-
- lib/active_support/core_ext/kernel/agnostics.rb
|
127
|
-
- lib/active_support/core_ext/kernel/singleton_class.rb
|
128
|
-
- lib/active_support/core_ext/kernel/debugger.rb
|
129
|
-
- lib/active_support/core_ext/numeric.rb
|
130
|
-
- lib/active_support/core_ext/numeric/time.rb
|
131
|
-
- lib/active_support/core_ext/numeric/bytes.rb
|
132
|
-
- lib/active_support/core_ext/time/zones.rb
|
133
|
-
- lib/active_support/core_ext/time/acts_like.rb
|
134
|
-
- lib/active_support/core_ext/time/conversions.rb
|
135
|
-
- lib/active_support/core_ext/time/marshal.rb
|
136
|
-
- lib/active_support/core_ext/time/calculations.rb
|
137
|
-
- lib/active_support/core_ext/time/publicize_conversion_methods.rb
|
138
|
-
- lib/active_support/core_ext/module.rb
|
139
|
-
- lib/active_support/core_ext/load_error.rb
|
140
|
-
- lib/active_support/core_ext/rexml.rb
|
141
|
-
- lib/active_support/core_ext/big_decimal.rb
|
142
|
-
- lib/active_support/core_ext/file/path.rb
|
143
|
-
- lib/active_support/core_ext/file/atomic.rb
|
144
|
-
- lib/active_support/core_ext/array.rb
|
145
|
-
- lib/active_support/core_ext/array/random_access.rb
|
146
|
-
- lib/active_support/core_ext/array/uniq_by.rb
|
147
66
|
- lib/active_support/core_ext/array/access.rb
|
148
67
|
- lib/active_support/core_ext/array/conversions.rb
|
149
|
-
- lib/active_support/core_ext/array/wrap.rb
|
150
68
|
- lib/active_support/core_ext/array/extract_options.rb
|
151
69
|
- lib/active_support/core_ext/array/grouping.rb
|
152
|
-
- lib/active_support/core_ext/
|
70
|
+
- lib/active_support/core_ext/array/random_access.rb
|
71
|
+
- lib/active_support/core_ext/array/uniq_by.rb
|
72
|
+
- lib/active_support/core_ext/array/wrap.rb
|
73
|
+
- lib/active_support/core_ext/array.rb
|
74
|
+
- lib/active_support/core_ext/benchmark.rb
|
75
|
+
- lib/active_support/core_ext/big_decimal/conversions.rb
|
76
|
+
- lib/active_support/core_ext/big_decimal.rb
|
77
|
+
- lib/active_support/core_ext/class/attribute.rb
|
78
|
+
- lib/active_support/core_ext/class/attribute_accessors.rb
|
79
|
+
- lib/active_support/core_ext/class/delegating_attributes.rb
|
80
|
+
- lib/active_support/core_ext/class/inheritable_attributes.rb
|
81
|
+
- lib/active_support/core_ext/class/subclasses.rb
|
82
|
+
- lib/active_support/core_ext/class.rb
|
83
|
+
- lib/active_support/core_ext/date/acts_like.rb
|
84
|
+
- lib/active_support/core_ext/date/calculations.rb
|
85
|
+
- lib/active_support/core_ext/date/conversions.rb
|
86
|
+
- lib/active_support/core_ext/date/freeze.rb
|
87
|
+
- lib/active_support/core_ext/date/zones.rb
|
88
|
+
- lib/active_support/core_ext/date_time/acts_like.rb
|
89
|
+
- lib/active_support/core_ext/date_time/calculations.rb
|
90
|
+
- lib/active_support/core_ext/date_time/conversions.rb
|
91
|
+
- lib/active_support/core_ext/date_time/zones.rb
|
92
|
+
- lib/active_support/core_ext/enumerable.rb
|
93
|
+
- lib/active_support/core_ext/exception.rb
|
94
|
+
- lib/active_support/core_ext/file/atomic.rb
|
95
|
+
- lib/active_support/core_ext/file/path.rb
|
96
|
+
- lib/active_support/core_ext/file.rb
|
97
|
+
- lib/active_support/core_ext/float/rounding.rb
|
98
|
+
- lib/active_support/core_ext/float.rb
|
99
|
+
- lib/active_support/core_ext/hash/conversions.rb
|
100
|
+
- lib/active_support/core_ext/hash/deep_dup.rb
|
101
|
+
- lib/active_support/core_ext/hash/deep_merge.rb
|
102
|
+
- lib/active_support/core_ext/hash/diff.rb
|
103
|
+
- lib/active_support/core_ext/hash/except.rb
|
104
|
+
- lib/active_support/core_ext/hash/indifferent_access.rb
|
105
|
+
- lib/active_support/core_ext/hash/keys.rb
|
106
|
+
- lib/active_support/core_ext/hash/reverse_merge.rb
|
107
|
+
- lib/active_support/core_ext/hash/slice.rb
|
108
|
+
- lib/active_support/core_ext/hash.rb
|
153
109
|
- lib/active_support/core_ext/integer/inflections.rb
|
154
|
-
- lib/active_support/core_ext/integer/time.rb
|
155
110
|
- lib/active_support/core_ext/integer/multiple.rb
|
111
|
+
- lib/active_support/core_ext/integer/time.rb
|
112
|
+
- lib/active_support/core_ext/integer.rb
|
113
|
+
- lib/active_support/core_ext/kernel/agnostics.rb
|
114
|
+
- lib/active_support/core_ext/kernel/debugger.rb
|
115
|
+
- lib/active_support/core_ext/kernel/reporting.rb
|
116
|
+
- lib/active_support/core_ext/kernel/requires.rb
|
117
|
+
- lib/active_support/core_ext/kernel/singleton_class.rb
|
118
|
+
- lib/active_support/core_ext/kernel.rb
|
119
|
+
- lib/active_support/core_ext/load_error.rb
|
156
120
|
- lib/active_support/core_ext/logger.rb
|
157
|
-
- lib/active_support/core_ext/
|
158
|
-
- lib/active_support/core_ext/
|
159
|
-
- lib/active_support/core_ext/range.rb
|
160
|
-
- lib/active_support/core_ext/module/attribute_accessors.rb
|
121
|
+
- lib/active_support/core_ext/module/aliasing.rb
|
122
|
+
- lib/active_support/core_ext/module/anonymous.rb
|
161
123
|
- lib/active_support/core_ext/module/attr_accessor_with_default.rb
|
124
|
+
- lib/active_support/core_ext/module/attr_internal.rb
|
125
|
+
- lib/active_support/core_ext/module/attribute_accessors.rb
|
162
126
|
- lib/active_support/core_ext/module/delegation.rb
|
163
127
|
- lib/active_support/core_ext/module/deprecation.rb
|
128
|
+
- lib/active_support/core_ext/module/introspection.rb
|
164
129
|
- lib/active_support/core_ext/module/method_names.rb
|
165
|
-
- lib/active_support/core_ext/module/synchronization.rb
|
166
|
-
- lib/active_support/core_ext/module/remove_method.rb
|
167
|
-
- lib/active_support/core_ext/module/aliasing.rb
|
168
130
|
- lib/active_support/core_ext/module/reachable.rb
|
169
|
-
- lib/active_support/core_ext/module/
|
170
|
-
- lib/active_support/core_ext/module/
|
171
|
-
- lib/active_support/core_ext/module
|
172
|
-
- lib/active_support/core_ext/
|
131
|
+
- lib/active_support/core_ext/module/remove_method.rb
|
132
|
+
- lib/active_support/core_ext/module/synchronization.rb
|
133
|
+
- lib/active_support/core_ext/module.rb
|
134
|
+
- lib/active_support/core_ext/name_error.rb
|
135
|
+
- lib/active_support/core_ext/numeric/bytes.rb
|
136
|
+
- lib/active_support/core_ext/numeric/time.rb
|
137
|
+
- lib/active_support/core_ext/numeric.rb
|
138
|
+
- lib/active_support/core_ext/object/acts_like.rb
|
139
|
+
- lib/active_support/core_ext/object/blank.rb
|
140
|
+
- lib/active_support/core_ext/object/conversions.rb
|
141
|
+
- lib/active_support/core_ext/object/duplicable.rb
|
142
|
+
- lib/active_support/core_ext/object/inclusion.rb
|
143
|
+
- lib/active_support/core_ext/object/instance_variables.rb
|
144
|
+
- lib/active_support/core_ext/object/to_json.rb
|
145
|
+
- lib/active_support/core_ext/object/to_param.rb
|
146
|
+
- lib/active_support/core_ext/object/to_query.rb
|
147
|
+
- lib/active_support/core_ext/object/try.rb
|
148
|
+
- lib/active_support/core_ext/object/with_options.rb
|
149
|
+
- lib/active_support/core_ext/object.rb
|
150
|
+
- lib/active_support/core_ext/proc.rb
|
151
|
+
- lib/active_support/core_ext/process/daemon.rb
|
152
|
+
- lib/active_support/core_ext/process.rb
|
153
|
+
- lib/active_support/core_ext/range/blockless_step.rb
|
154
|
+
- lib/active_support/core_ext/range/conversions.rb
|
155
|
+
- lib/active_support/core_ext/range/cover.rb
|
156
|
+
- lib/active_support/core_ext/range/include_range.rb
|
157
|
+
- lib/active_support/core_ext/range/overlaps.rb
|
158
|
+
- lib/active_support/core_ext/range.rb
|
159
|
+
- lib/active_support/core_ext/regexp.rb
|
160
|
+
- lib/active_support/core_ext/rexml.rb
|
173
161
|
- lib/active_support/core_ext/string/access.rb
|
174
|
-
- lib/active_support/core_ext/string/
|
162
|
+
- lib/active_support/core_ext/string/behavior.rb
|
175
163
|
- lib/active_support/core_ext/string/conversions.rb
|
176
|
-
- lib/active_support/core_ext/string/multibyte.rb
|
177
|
-
- lib/active_support/core_ext/string/filters.rb
|
178
|
-
- lib/active_support/core_ext/string/output_safety.rb
|
179
164
|
- lib/active_support/core_ext/string/encoding.rb
|
165
|
+
- lib/active_support/core_ext/string/exclude.rb
|
166
|
+
- lib/active_support/core_ext/string/filters.rb
|
167
|
+
- lib/active_support/core_ext/string/inflections.rb
|
180
168
|
- lib/active_support/core_ext/string/inquiry.rb
|
169
|
+
- lib/active_support/core_ext/string/interpolation.rb
|
170
|
+
- lib/active_support/core_ext/string/multibyte.rb
|
171
|
+
- lib/active_support/core_ext/string/output_safety.rb
|
181
172
|
- lib/active_support/core_ext/string/starts_ends_with.rb
|
182
173
|
- lib/active_support/core_ext/string/strip.rb
|
183
|
-
- lib/active_support/core_ext/string/exclude.rb
|
184
|
-
- lib/active_support/core_ext/string/interpolation.rb
|
185
174
|
- lib/active_support/core_ext/string/xchar.rb
|
186
|
-
- lib/active_support/core_ext/process/daemon.rb
|
187
|
-
- lib/active_support/core_ext/range/include_range.rb
|
188
|
-
- lib/active_support/core_ext/range/blockless_step.rb
|
189
|
-
- lib/active_support/core_ext/range/conversions.rb
|
190
|
-
- lib/active_support/core_ext/range/cover.rb
|
191
|
-
- lib/active_support/core_ext/range/overlaps.rb
|
192
|
-
- lib/active_support/core_ext/big_decimal/conversions.rb
|
193
|
-
- lib/active_support/core_ext/date_time/zones.rb
|
194
|
-
- lib/active_support/core_ext/date_time/acts_like.rb
|
195
|
-
- lib/active_support/core_ext/date_time/conversions.rb
|
196
|
-
- lib/active_support/core_ext/date_time/calculations.rb
|
197
|
-
- lib/active_support/core_ext/kernel.rb
|
198
|
-
- lib/active_support/core_ext/regexp.rb
|
199
175
|
- lib/active_support/core_ext/string.rb
|
200
|
-
- lib/active_support/core_ext/
|
201
|
-
- lib/active_support/core_ext/
|
202
|
-
- lib/active_support/core_ext/
|
203
|
-
- lib/active_support/core_ext/
|
204
|
-
- lib/active_support/core_ext/
|
205
|
-
- lib/active_support/core_ext/
|
206
|
-
- lib/active_support/core_ext/
|
207
|
-
- lib/active_support/core_ext
|
208
|
-
- lib/active_support/
|
209
|
-
- lib/active_support/
|
210
|
-
- lib/active_support/
|
211
|
-
- lib/active_support/
|
212
|
-
- lib/active_support/
|
213
|
-
- lib/active_support/
|
214
|
-
- lib/active_support/
|
215
|
-
- lib/active_support/
|
216
|
-
- lib/active_support/
|
217
|
-
- lib/active_support/
|
218
|
-
- lib/active_support/core_ext/hash/except.rb
|
219
|
-
- lib/active_support/core_ext/hash/reverse_merge.rb
|
220
|
-
- lib/active_support/core_ext/hash/deep_dup.rb
|
221
|
-
- lib/active_support/core_ext/exception.rb
|
222
|
-
- lib/active_support/core_ext/object.rb
|
223
|
-
- lib/active_support/core_ext/object/try.rb
|
224
|
-
- lib/active_support/core_ext/object/to_param.rb
|
225
|
-
- lib/active_support/core_ext/object/blank.rb
|
226
|
-
- lib/active_support/core_ext/object/duplicable.rb
|
227
|
-
- lib/active_support/core_ext/object/acts_like.rb
|
228
|
-
- lib/active_support/core_ext/object/conversions.rb
|
229
|
-
- lib/active_support/core_ext/object/with_options.rb
|
230
|
-
- lib/active_support/core_ext/object/to_query.rb
|
231
|
-
- lib/active_support/core_ext/object/to_json.rb
|
232
|
-
- lib/active_support/core_ext/object/inclusion.rb
|
233
|
-
- lib/active_support/core_ext/object/instance_variables.rb
|
234
|
-
- lib/active_support/callbacks.rb
|
235
|
-
- lib/active_support/hash_with_indifferent_access.rb
|
176
|
+
- lib/active_support/core_ext/time/acts_like.rb
|
177
|
+
- lib/active_support/core_ext/time/calculations.rb
|
178
|
+
- lib/active_support/core_ext/time/conversions.rb
|
179
|
+
- lib/active_support/core_ext/time/marshal.rb
|
180
|
+
- lib/active_support/core_ext/time/publicize_conversion_methods.rb
|
181
|
+
- lib/active_support/core_ext/time/zones.rb
|
182
|
+
- lib/active_support/core_ext/uri.rb
|
183
|
+
- lib/active_support/core_ext.rb
|
184
|
+
- lib/active_support/dependencies/autoload.rb
|
185
|
+
- lib/active_support/dependencies.rb
|
186
|
+
- lib/active_support/deprecation/behaviors.rb
|
187
|
+
- lib/active_support/deprecation/method_wrappers.rb
|
188
|
+
- lib/active_support/deprecation/proxy_wrappers.rb
|
189
|
+
- lib/active_support/deprecation/reporting.rb
|
190
|
+
- lib/active_support/deprecation.rb
|
191
|
+
- lib/active_support/descendants_tracker.rb
|
192
|
+
- lib/active_support/duration.rb
|
193
|
+
- lib/active_support/file_update_checker.rb
|
236
194
|
- lib/active_support/file_watcher.rb
|
195
|
+
- lib/active_support/gzip.rb
|
196
|
+
- lib/active_support/hash_with_indifferent_access.rb
|
197
|
+
- lib/active_support/i18n.rb
|
198
|
+
- lib/active_support/i18n_railtie.rb
|
199
|
+
- lib/active_support/inflections.rb
|
200
|
+
- lib/active_support/inflector/inflections.rb
|
201
|
+
- lib/active_support/inflector/methods.rb
|
202
|
+
- lib/active_support/inflector/transliterate.rb
|
203
|
+
- lib/active_support/inflector.rb
|
204
|
+
- lib/active_support/json/decoding.rb
|
205
|
+
- lib/active_support/json/encoding.rb
|
206
|
+
- lib/active_support/json/variable.rb
|
207
|
+
- lib/active_support/json.rb
|
208
|
+
- lib/active_support/lazy_load_hooks.rb
|
209
|
+
- lib/active_support/locale/en.yml
|
210
|
+
- lib/active_support/log_subscriber/test_helper.rb
|
211
|
+
- lib/active_support/log_subscriber.rb
|
212
|
+
- lib/active_support/memoizable.rb
|
213
|
+
- lib/active_support/message_encryptor.rb
|
214
|
+
- lib/active_support/message_verifier.rb
|
215
|
+
- lib/active_support/multibyte/chars.rb
|
216
|
+
- lib/active_support/multibyte/exceptions.rb
|
217
|
+
- lib/active_support/multibyte/unicode.rb
|
218
|
+
- lib/active_support/multibyte/utils.rb
|
219
|
+
- lib/active_support/multibyte.rb
|
220
|
+
- lib/active_support/notifications/fanout.rb
|
221
|
+
- lib/active_support/notifications/instrumenter.rb
|
237
222
|
- lib/active_support/notifications.rb
|
238
|
-
- lib/active_support/
|
239
|
-
- lib/active_support/
|
223
|
+
- lib/active_support/option_merger.rb
|
224
|
+
- lib/active_support/ordered_hash.rb
|
225
|
+
- lib/active_support/ordered_options.rb
|
226
|
+
- lib/active_support/railtie.rb
|
227
|
+
- lib/active_support/rescuable.rb
|
228
|
+
- lib/active_support/ruby/shim.rb
|
229
|
+
- lib/active_support/secure_random.rb
|
230
|
+
- lib/active_support/string_inquirer.rb
|
231
|
+
- lib/active_support/test_case.rb
|
232
|
+
- lib/active_support/testing/assertions.rb
|
233
|
+
- lib/active_support/testing/declarative.rb
|
234
|
+
- lib/active_support/testing/deprecation.rb
|
235
|
+
- lib/active_support/testing/isolation.rb
|
236
|
+
- lib/active_support/testing/mochaing.rb
|
237
|
+
- lib/active_support/testing/pending.rb
|
240
238
|
- lib/active_support/testing/performance/jruby.rb
|
241
239
|
- lib/active_support/testing/performance/rubinius.rb
|
242
|
-
- lib/active_support/testing/performance/ruby.rb
|
243
240
|
- lib/active_support/testing/performance/ruby/mri.rb
|
244
241
|
- lib/active_support/testing/performance/ruby/yarv.rb
|
245
|
-
- lib/active_support/testing/
|
242
|
+
- lib/active_support/testing/performance/ruby.rb
|
246
243
|
- lib/active_support/testing/performance.rb
|
247
|
-
- lib/active_support/testing/
|
248
|
-
- lib/active_support/
|
249
|
-
- lib/active_support/
|
250
|
-
- lib/active_support/
|
251
|
-
- lib/active_support/
|
252
|
-
- lib/active_support/
|
253
|
-
- lib/active_support/
|
254
|
-
- lib/active_support/
|
255
|
-
- lib/active_support/
|
256
|
-
- lib/active_support/
|
244
|
+
- lib/active_support/testing/setup_and_teardown.rb
|
245
|
+
- lib/active_support/time/autoload.rb
|
246
|
+
- lib/active_support/time.rb
|
247
|
+
- lib/active_support/time_with_zone.rb
|
248
|
+
- lib/active_support/values/time_zone.rb
|
249
|
+
- lib/active_support/values/unicode_tables.dat
|
250
|
+
- lib/active_support/version.rb
|
251
|
+
- lib/active_support/whiny_nil.rb
|
252
|
+
- lib/active_support/xml_mini/jdom.rb
|
253
|
+
- lib/active_support/xml_mini/libxml.rb
|
254
|
+
- lib/active_support/xml_mini/libxmlsax.rb
|
255
|
+
- lib/active_support/xml_mini/nokogiri.rb
|
256
|
+
- lib/active_support/xml_mini/nokogirisax.rb
|
257
|
+
- lib/active_support/xml_mini/rexml.rb
|
258
|
+
- lib/active_support/xml_mini.rb
|
257
259
|
- lib/active_support.rb
|
258
260
|
homepage: http://www.rubyonrails.org
|
259
261
|
licenses: []
|
260
262
|
|
261
263
|
post_install_message:
|
262
|
-
rdoc_options:
|
263
|
-
|
264
|
+
rdoc_options:
|
265
|
+
- --encoding
|
266
|
+
- UTF-8
|
264
267
|
require_paths:
|
265
268
|
- lib
|
266
269
|
required_ruby_version: !ruby/object:Gem::Requirement
|
@@ -277,16 +280,18 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
277
280
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
278
281
|
none: false
|
279
282
|
requirements:
|
280
|
-
- - "
|
283
|
+
- - ">"
|
281
284
|
- !ruby/object:Gem::Version
|
282
|
-
hash:
|
285
|
+
hash: 25
|
283
286
|
segments:
|
284
|
-
-
|
285
|
-
|
287
|
+
- 1
|
288
|
+
- 3
|
289
|
+
- 1
|
290
|
+
version: 1.3.1
|
286
291
|
requirements: []
|
287
292
|
|
288
293
|
rubyforge_project:
|
289
|
-
rubygems_version: 1.8.
|
294
|
+
rubygems_version: 1.8.16
|
290
295
|
signing_key:
|
291
296
|
specification_version: 3
|
292
297
|
summary: A toolkit of support libraries and Ruby core extensions extracted from the Rails framework.
|