activesupport 3.2.0 → 3.2.1
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 +12 -0
- data/lib/active_support/base64.rb +1 -1
- data/lib/active_support/buffered_logger.rb +1 -1
- data/lib/active_support/callbacks.rb +1 -1
- data/lib/active_support/core_ext/date_time/calculations.rb +1 -1
- data/lib/active_support/core_ext/string/inflections.rb +2 -2
- data/lib/active_support/inflector/methods.rb +11 -8
- data/lib/active_support/tagged_logging.rb +1 -1
- data/lib/active_support/version.rb +1 -1
- metadata +239 -212
data/CHANGELOG.md
CHANGED
@@ -1,3 +1,15 @@
|
|
1
|
+
## Rails 3.2.1 (January 26, 2012) ##
|
2
|
+
|
3
|
+
* Documentation fixes and improvements.
|
4
|
+
|
5
|
+
* Update time zone offset information. *Ravil Bayramgalin*
|
6
|
+
|
7
|
+
* The deprecated `ActiveSupport::Base64.decode64` calls `::Base64.decode64`
|
8
|
+
now. *Jonathan Viney*
|
9
|
+
|
10
|
+
* Fixes uninitialized constant `ActiveSupport::TaggedLogging::ERROR`. *kennyj*
|
11
|
+
|
12
|
+
|
1
13
|
## Rails 3.2.0 (January 20, 2012) ##
|
2
14
|
|
3
15
|
* ActiveSupport::Base64 is deprecated in favor of ::Base64. *Sergey Nartimov*
|
@@ -40,7 +40,7 @@ module ActiveSupport
|
|
40
40
|
def self.decode64(value)
|
41
41
|
ActiveSupport::Deprecation.warn "ActiveSupport::Base64.decode64 " \
|
42
42
|
"is deprecated. Use Base64.decode64 instead", caller
|
43
|
-
::Base64.
|
43
|
+
::Base64.decode64(value)
|
44
44
|
end
|
45
45
|
|
46
46
|
def self.encode64s(value)
|
@@ -396,7 +396,7 @@ module ActiveSupport
|
|
396
396
|
def __run_callback(key, kind, object, &blk) #:nodoc:
|
397
397
|
name = __callback_runner_name(key, kind)
|
398
398
|
unless object.respond_to?(name)
|
399
|
-
str = send("_#{kind}_callbacks").compile(key, object)
|
399
|
+
str = object.send("_#{kind}_callbacks").compile(key, object)
|
400
400
|
class_eval <<-RUBY_EVAL, __FILE__, __LINE__ + 1
|
401
401
|
def #{name}() #{str} end
|
402
402
|
protected :#{name}
|
@@ -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>.
|
@@ -100,8 +100,8 @@ class String
|
|
100
100
|
#
|
101
101
|
# +underscore+ will also change '::' to '/' to convert namespaces to paths.
|
102
102
|
#
|
103
|
-
# "
|
104
|
-
# "
|
103
|
+
# "ActiveModel".underscore # => "active_model"
|
104
|
+
# "ActiveModel::Errors".underscore # => "active_model/errors"
|
105
105
|
def underscore
|
106
106
|
ActiveSupport::Inflector.underscore(self)
|
107
107
|
end
|
@@ -42,10 +42,10 @@ module ActiveSupport
|
|
42
42
|
# +camelize+ will also convert '/' to '::' which is useful for converting paths to namespaces.
|
43
43
|
#
|
44
44
|
# Examples:
|
45
|
-
# "
|
46
|
-
# "
|
47
|
-
# "
|
48
|
-
# "
|
45
|
+
# "active_model".camelize # => "ActiveModel"
|
46
|
+
# "active_model".camelize(:lower) # => "activeModel"
|
47
|
+
# "active_model/errors".camelize # => "ActiveModel::Errors"
|
48
|
+
# "active_model/errors".camelize(:lower) # => "activeModel::Errors"
|
49
49
|
#
|
50
50
|
# As a rule of thumb you can think of +camelize+ as the inverse of +underscore+,
|
51
51
|
# though there are cases where that does not hold:
|
@@ -66,8 +66,8 @@ module ActiveSupport
|
|
66
66
|
# Changes '::' to '/' to convert namespaces to paths.
|
67
67
|
#
|
68
68
|
# Examples:
|
69
|
-
# "
|
70
|
-
# "
|
69
|
+
# "ActiveModel".underscore # => "active_model"
|
70
|
+
# "ActiveModel::Errors".underscore # => "active_model/errors"
|
71
71
|
#
|
72
72
|
# As a rule of thumb you can think of +underscore+ as the inverse of +camelize+,
|
73
73
|
# though there are cases where that does not hold:
|
@@ -94,7 +94,10 @@ module ActiveSupport
|
|
94
94
|
result = lower_case_and_underscored_word.to_s.dup
|
95
95
|
inflections.humans.each { |(rule, replacement)| break if result.gsub!(rule, replacement) }
|
96
96
|
result.gsub!(/_id$/, "")
|
97
|
-
result.gsub(/
|
97
|
+
result.gsub!(/_/, ' ')
|
98
|
+
result.gsub(/([a-z\d]*)/i) { |match|
|
99
|
+
"#{inflections.acronyms[match] || match.downcase}"
|
100
|
+
}.gsub(/^\w/) { $&.upcase }
|
98
101
|
end
|
99
102
|
|
100
103
|
# Capitalizes all the words and replaces some characters in the string to create
|
@@ -255,7 +258,7 @@ module ActiveSupport
|
|
255
258
|
begin
|
256
259
|
constantize(camel_cased_word)
|
257
260
|
rescue NameError => e
|
258
|
-
raise unless e.message =~ /uninitialized constant #{const_regexp(camel_cased_word)}$/ ||
|
261
|
+
raise unless e.message =~ /(uninitialized constant|wrong constant name) #{const_regexp(camel_cased_word)}$/ ||
|
259
262
|
e.name.to_s == camel_cased_word.to_s
|
260
263
|
rescue ArgumentError => e
|
261
264
|
raise unless e.message =~ /not missing constant #{const_regexp(camel_cased_word)}\!$/
|
metadata
CHANGED
@@ -1,284 +1,311 @@
|
|
1
|
-
--- !ruby/object:Gem::Specification
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
2
|
name: activesupport
|
3
|
-
version: !ruby/object:Gem::Version
|
4
|
-
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
hash: 13
|
5
5
|
prerelease:
|
6
|
+
segments:
|
7
|
+
- 3
|
8
|
+
- 2
|
9
|
+
- 1
|
10
|
+
version: 3.2.1
|
6
11
|
platform: ruby
|
7
|
-
authors:
|
12
|
+
authors:
|
8
13
|
- David Heinemeier Hansson
|
9
14
|
autorequire:
|
10
15
|
bindir: bin
|
11
16
|
cert_chain: []
|
12
|
-
|
13
|
-
|
14
|
-
|
17
|
+
|
18
|
+
date: 2012-01-26 00:00:00 -08:00
|
19
|
+
default_executable:
|
20
|
+
dependencies:
|
21
|
+
- !ruby/object:Gem::Dependency
|
15
22
|
name: i18n
|
16
|
-
|
23
|
+
prerelease: false
|
24
|
+
requirement: &id001 !ruby/object:Gem::Requirement
|
17
25
|
none: false
|
18
|
-
requirements:
|
26
|
+
requirements:
|
19
27
|
- - ~>
|
20
|
-
- !ruby/object:Gem::Version
|
21
|
-
|
28
|
+
- !ruby/object:Gem::Version
|
29
|
+
hash: 7
|
30
|
+
segments:
|
31
|
+
- 0
|
32
|
+
- 6
|
33
|
+
version: "0.6"
|
22
34
|
type: :runtime
|
23
|
-
|
24
|
-
|
25
|
-
- !ruby/object:Gem::Dependency
|
35
|
+
version_requirements: *id001
|
36
|
+
- !ruby/object:Gem::Dependency
|
26
37
|
name: multi_json
|
27
|
-
|
38
|
+
prerelease: false
|
39
|
+
requirement: &id002 !ruby/object:Gem::Requirement
|
28
40
|
none: false
|
29
|
-
requirements:
|
41
|
+
requirements:
|
30
42
|
- - ~>
|
31
|
-
- !ruby/object:Gem::Version
|
32
|
-
|
43
|
+
- !ruby/object:Gem::Version
|
44
|
+
hash: 15
|
45
|
+
segments:
|
46
|
+
- 1
|
47
|
+
- 0
|
48
|
+
version: "1.0"
|
33
49
|
type: :runtime
|
34
|
-
|
35
|
-
|
36
|
-
description: A toolkit of support libraries and Ruby core extensions extracted from
|
37
|
-
the Rails framework. Rich support for multibyte strings, internationalization, time
|
38
|
-
zones, and testing.
|
50
|
+
version_requirements: *id002
|
51
|
+
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.
|
39
52
|
email: david@loudthinking.com
|
40
53
|
executables: []
|
54
|
+
|
41
55
|
extensions: []
|
56
|
+
|
42
57
|
extra_rdoc_files: []
|
43
|
-
|
58
|
+
|
59
|
+
files:
|
44
60
|
- CHANGELOG.md
|
45
61
|
- MIT-LICENSE
|
46
62
|
- README.rdoc
|
63
|
+
- lib/active_support.rb
|
64
|
+
- lib/active_support/ruby/shim.rb
|
65
|
+
- lib/active_support/locale/en.yml
|
66
|
+
- lib/active_support/dependencies/autoload.rb
|
67
|
+
- lib/active_support/railtie.rb
|
68
|
+
- lib/active_support/file_update_checker.rb
|
69
|
+
- lib/active_support/values/time_zone.rb
|
70
|
+
- lib/active_support/values/unicode_tables.dat
|
71
|
+
- lib/active_support/multibyte.rb
|
72
|
+
- lib/active_support/memoizable.rb
|
73
|
+
- lib/active_support/deprecation.rb
|
74
|
+
- lib/active_support/multibyte/exceptions.rb
|
75
|
+
- lib/active_support/multibyte/chars.rb
|
76
|
+
- lib/active_support/multibyte/unicode.rb
|
77
|
+
- lib/active_support/multibyte/utils.rb
|
78
|
+
- lib/active_support/option_merger.rb
|
79
|
+
- lib/active_support/time_with_zone.rb
|
80
|
+
- lib/active_support/hash_with_indifferent_access.rb
|
81
|
+
- lib/active_support/test_case.rb
|
82
|
+
- lib/active_support/tagged_logging.rb
|
47
83
|
- lib/active_support/all.rb
|
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/
|
55
|
-
- lib/active_support/
|
56
|
-
- lib/active_support/
|
57
|
-
- lib/active_support/
|
58
|
-
- lib/active_support/
|
59
|
-
- lib/active_support/
|
60
|
-
- lib/active_support/
|
61
|
-
- lib/active_support/
|
62
|
-
- lib/active_support/
|
63
|
-
- lib/active_support/core_ext/array/access.rb
|
64
|
-
- lib/active_support/core_ext/array/conversions.rb
|
65
|
-
- lib/active_support/core_ext/array/extract_options.rb
|
66
|
-
- lib/active_support/core_ext/array/grouping.rb
|
67
|
-
- lib/active_support/core_ext/array/prepend_and_append.rb
|
68
|
-
- lib/active_support/core_ext/array/random_access.rb
|
69
|
-
- lib/active_support/core_ext/array/uniq_by.rb
|
70
|
-
- lib/active_support/core_ext/array/wrap.rb
|
71
|
-
- lib/active_support/core_ext/array.rb
|
72
|
-
- lib/active_support/core_ext/benchmark.rb
|
73
|
-
- lib/active_support/core_ext/big_decimal/conversions.rb
|
74
|
-
- lib/active_support/core_ext/big_decimal.rb
|
75
|
-
- lib/active_support/core_ext/class/attribute.rb
|
76
|
-
- lib/active_support/core_ext/class/attribute_accessors.rb
|
77
|
-
- lib/active_support/core_ext/class/delegating_attributes.rb
|
78
|
-
- lib/active_support/core_ext/class/subclasses.rb
|
79
|
-
- lib/active_support/core_ext/class.rb
|
84
|
+
- lib/active_support/core_ext/object/try.rb
|
85
|
+
- lib/active_support/core_ext/object/to_param.rb
|
86
|
+
- lib/active_support/core_ext/object/blank.rb
|
87
|
+
- lib/active_support/core_ext/object/conversions.rb
|
88
|
+
- lib/active_support/core_ext/object/inclusion.rb
|
89
|
+
- lib/active_support/core_ext/object/with_options.rb
|
90
|
+
- lib/active_support/core_ext/object/acts_like.rb
|
91
|
+
- lib/active_support/core_ext/object/to_json.rb
|
92
|
+
- lib/active_support/core_ext/object/to_query.rb
|
93
|
+
- lib/active_support/core_ext/object/duplicable.rb
|
94
|
+
- lib/active_support/core_ext/object/instance_variables.rb
|
95
|
+
- lib/active_support/core_ext/file/atomic.rb
|
96
|
+
- lib/active_support/core_ext/file/path.rb
|
97
|
+
- lib/active_support/core_ext/date/zones.rb
|
98
|
+
- lib/active_support/core_ext/date/conversions.rb
|
80
99
|
- lib/active_support/core_ext/date/acts_like.rb
|
81
100
|
- lib/active_support/core_ext/date/calculations.rb
|
82
|
-
- lib/active_support/core_ext/date/conversions.rb
|
83
101
|
- lib/active_support/core_ext/date/freeze.rb
|
84
|
-
- lib/active_support/core_ext/
|
102
|
+
- lib/active_support/core_ext/process/daemon.rb
|
103
|
+
- lib/active_support/core_ext/load_error.rb
|
104
|
+
- lib/active_support/core_ext/range/blockless_step.rb
|
105
|
+
- lib/active_support/core_ext/range/overlaps.rb
|
106
|
+
- lib/active_support/core_ext/range/cover.rb
|
107
|
+
- lib/active_support/core_ext/range/conversions.rb
|
108
|
+
- lib/active_support/core_ext/range/include_range.rb
|
109
|
+
- lib/active_support/core_ext/date_time/zones.rb
|
110
|
+
- lib/active_support/core_ext/date_time/conversions.rb
|
85
111
|
- lib/active_support/core_ext/date_time/acts_like.rb
|
86
112
|
- lib/active_support/core_ext/date_time/calculations.rb
|
87
|
-
- lib/active_support/core_ext/
|
88
|
-
- lib/active_support/core_ext/
|
89
|
-
- lib/active_support/core_ext/
|
113
|
+
- lib/active_support/core_ext/name_error.rb
|
114
|
+
- lib/active_support/core_ext/object.rb
|
115
|
+
- lib/active_support/core_ext/logger.rb
|
116
|
+
- lib/active_support/core_ext/time/publicize_conversion_methods.rb
|
117
|
+
- lib/active_support/core_ext/time/zones.rb
|
118
|
+
- lib/active_support/core_ext/time/conversions.rb
|
119
|
+
- lib/active_support/core_ext/time/acts_like.rb
|
120
|
+
- lib/active_support/core_ext/time/calculations.rb
|
121
|
+
- lib/active_support/core_ext/time/marshal.rb
|
122
|
+
- lib/active_support/core_ext/big_decimal.rb
|
123
|
+
- lib/active_support/core_ext/string/multibyte.rb
|
124
|
+
- lib/active_support/core_ext/string/starts_ends_with.rb
|
125
|
+
- lib/active_support/core_ext/string/output_safety.rb
|
126
|
+
- lib/active_support/core_ext/string/encoding.rb
|
127
|
+
- lib/active_support/core_ext/string/strip.rb
|
128
|
+
- lib/active_support/core_ext/string/inflections.rb
|
129
|
+
- lib/active_support/core_ext/string/conversions.rb
|
130
|
+
- lib/active_support/core_ext/string/interpolation.rb
|
131
|
+
- lib/active_support/core_ext/string/access.rb
|
132
|
+
- lib/active_support/core_ext/string/inquiry.rb
|
133
|
+
- lib/active_support/core_ext/string/exclude.rb
|
134
|
+
- lib/active_support/core_ext/string/xchar.rb
|
135
|
+
- lib/active_support/core_ext/string/filters.rb
|
136
|
+
- lib/active_support/core_ext/string/behavior.rb
|
137
|
+
- lib/active_support/core_ext/integer/inflections.rb
|
138
|
+
- lib/active_support/core_ext/integer/multiple.rb
|
139
|
+
- lib/active_support/core_ext/integer/time.rb
|
140
|
+
- lib/active_support/core_ext/range.rb
|
141
|
+
- lib/active_support/core_ext/float.rb
|
142
|
+
- lib/active_support/core_ext/array.rb
|
143
|
+
- lib/active_support/core_ext/module.rb
|
144
|
+
- lib/active_support/core_ext/string.rb
|
145
|
+
- lib/active_support/core_ext/kernel/reporting.rb
|
146
|
+
- lib/active_support/core_ext/kernel/agnostics.rb
|
147
|
+
- lib/active_support/core_ext/kernel/singleton_class.rb
|
148
|
+
- lib/active_support/core_ext/kernel/debugger.rb
|
90
149
|
- 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
|
-
- lib/active_support/core_ext/file.rb
|
94
150
|
- lib/active_support/core_ext/float/rounding.rb
|
95
|
-
- lib/active_support/core_ext/
|
96
|
-
- lib/active_support/core_ext/
|
151
|
+
- lib/active_support/core_ext/big_decimal/conversions.rb
|
152
|
+
- lib/active_support/core_ext/numeric/bytes.rb
|
153
|
+
- lib/active_support/core_ext/numeric/time.rb
|
154
|
+
- lib/active_support/core_ext/benchmark.rb
|
155
|
+
- lib/active_support/core_ext/process.rb
|
156
|
+
- lib/active_support/core_ext/file.rb
|
157
|
+
- lib/active_support/core_ext/class.rb
|
158
|
+
- lib/active_support/core_ext/enumerable.rb
|
159
|
+
- lib/active_support/core_ext/regexp.rb
|
160
|
+
- lib/active_support/core_ext/class/attribute_accessors.rb
|
161
|
+
- lib/active_support/core_ext/class/delegating_attributes.rb
|
162
|
+
- lib/active_support/core_ext/class/subclasses.rb
|
163
|
+
- lib/active_support/core_ext/class/attribute.rb
|
164
|
+
- lib/active_support/core_ext/hash.rb
|
165
|
+
- lib/active_support/core_ext/numeric.rb
|
166
|
+
- lib/active_support/core_ext/proc.rb
|
167
|
+
- lib/active_support/core_ext/hash/except.rb
|
97
168
|
- lib/active_support/core_ext/hash/deep_dup.rb
|
98
|
-
- lib/active_support/core_ext/hash/
|
169
|
+
- lib/active_support/core_ext/hash/slice.rb
|
99
170
|
- lib/active_support/core_ext/hash/diff.rb
|
100
|
-
- lib/active_support/core_ext/hash/
|
171
|
+
- lib/active_support/core_ext/hash/conversions.rb
|
172
|
+
- lib/active_support/core_ext/hash/deep_merge.rb
|
101
173
|
- lib/active_support/core_ext/hash/indifferent_access.rb
|
102
174
|
- lib/active_support/core_ext/hash/keys.rb
|
103
175
|
- lib/active_support/core_ext/hash/reverse_merge.rb
|
104
|
-
- lib/active_support/core_ext/hash/slice.rb
|
105
|
-
- lib/active_support/core_ext/hash.rb
|
106
|
-
- lib/active_support/core_ext/integer/inflections.rb
|
107
|
-
- lib/active_support/core_ext/integer/multiple.rb
|
108
|
-
- lib/active_support/core_ext/integer/time.rb
|
109
|
-
- lib/active_support/core_ext/integer.rb
|
110
176
|
- lib/active_support/core_ext/io.rb
|
111
|
-
- lib/active_support/core_ext/
|
112
|
-
- lib/active_support/core_ext/
|
113
|
-
- lib/active_support/core_ext/
|
114
|
-
- lib/active_support/core_ext/
|
115
|
-
- lib/active_support/core_ext/
|
116
|
-
- lib/active_support/core_ext/
|
117
|
-
- lib/active_support/core_ext/
|
118
|
-
- lib/active_support/core_ext/
|
119
|
-
- lib/active_support/core_ext/
|
120
|
-
- lib/active_support/core_ext/
|
121
|
-
- lib/active_support/core_ext/
|
122
|
-
- lib/active_support/core_ext/module/delegation.rb
|
177
|
+
- lib/active_support/core_ext/integer.rb
|
178
|
+
- lib/active_support/core_ext/rexml.rb
|
179
|
+
- lib/active_support/core_ext/array/random_access.rb
|
180
|
+
- lib/active_support/core_ext/array/extract_options.rb
|
181
|
+
- lib/active_support/core_ext/array/conversions.rb
|
182
|
+
- lib/active_support/core_ext/array/wrap.rb
|
183
|
+
- lib/active_support/core_ext/array/uniq_by.rb
|
184
|
+
- lib/active_support/core_ext/array/grouping.rb
|
185
|
+
- lib/active_support/core_ext/array/access.rb
|
186
|
+
- lib/active_support/core_ext/array/prepend_and_append.rb
|
187
|
+
- lib/active_support/core_ext/uri.rb
|
123
188
|
- lib/active_support/core_ext/module/deprecation.rb
|
189
|
+
- lib/active_support/core_ext/module/delegation.rb
|
190
|
+
- lib/active_support/core_ext/module/synchronization.rb
|
124
191
|
- lib/active_support/core_ext/module/introspection.rb
|
125
|
-
- lib/active_support/core_ext/module/
|
126
|
-
- lib/active_support/core_ext/module/qualified_const.rb
|
192
|
+
- lib/active_support/core_ext/module/attribute_accessors.rb
|
127
193
|
- lib/active_support/core_ext/module/reachable.rb
|
194
|
+
- lib/active_support/core_ext/module/aliasing.rb
|
195
|
+
- lib/active_support/core_ext/module/qualified_const.rb
|
196
|
+
- lib/active_support/core_ext/module/attr_internal.rb
|
128
197
|
- lib/active_support/core_ext/module/remove_method.rb
|
129
|
-
- lib/active_support/core_ext/module/
|
130
|
-
- lib/active_support/core_ext/module.rb
|
131
|
-
- lib/active_support/core_ext/
|
132
|
-
- lib/active_support/
|
133
|
-
- lib/active_support/core_ext/numeric/time.rb
|
134
|
-
- lib/active_support/core_ext/numeric.rb
|
135
|
-
- lib/active_support/core_ext/object/acts_like.rb
|
136
|
-
- lib/active_support/core_ext/object/blank.rb
|
137
|
-
- lib/active_support/core_ext/object/conversions.rb
|
138
|
-
- lib/active_support/core_ext/object/duplicable.rb
|
139
|
-
- lib/active_support/core_ext/object/inclusion.rb
|
140
|
-
- lib/active_support/core_ext/object/instance_variables.rb
|
141
|
-
- lib/active_support/core_ext/object/to_json.rb
|
142
|
-
- lib/active_support/core_ext/object/to_param.rb
|
143
|
-
- lib/active_support/core_ext/object/to_query.rb
|
144
|
-
- lib/active_support/core_ext/object/try.rb
|
145
|
-
- 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
|
151
|
-
- lib/active_support/core_ext/range/conversions.rb
|
152
|
-
- lib/active_support/core_ext/range/cover.rb
|
153
|
-
- lib/active_support/core_ext/range/include_range.rb
|
154
|
-
- lib/active_support/core_ext/range/overlaps.rb
|
155
|
-
- lib/active_support/core_ext/range.rb
|
156
|
-
- lib/active_support/core_ext/regexp.rb
|
157
|
-
- lib/active_support/core_ext/rexml.rb
|
158
|
-
- lib/active_support/core_ext/string/access.rb
|
159
|
-
- lib/active_support/core_ext/string/behavior.rb
|
160
|
-
- lib/active_support/core_ext/string/conversions.rb
|
161
|
-
- lib/active_support/core_ext/string/encoding.rb
|
162
|
-
- lib/active_support/core_ext/string/exclude.rb
|
163
|
-
- lib/active_support/core_ext/string/filters.rb
|
164
|
-
- lib/active_support/core_ext/string/inflections.rb
|
165
|
-
- lib/active_support/core_ext/string/inquiry.rb
|
166
|
-
- lib/active_support/core_ext/string/interpolation.rb
|
167
|
-
- lib/active_support/core_ext/string/multibyte.rb
|
168
|
-
- lib/active_support/core_ext/string/output_safety.rb
|
169
|
-
- lib/active_support/core_ext/string/starts_ends_with.rb
|
170
|
-
- 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
|
173
|
-
- lib/active_support/core_ext/time/acts_like.rb
|
174
|
-
- lib/active_support/core_ext/time/calculations.rb
|
175
|
-
- lib/active_support/core_ext/time/conversions.rb
|
176
|
-
- lib/active_support/core_ext/time/marshal.rb
|
177
|
-
- lib/active_support/core_ext/time/publicize_conversion_methods.rb
|
178
|
-
- lib/active_support/core_ext/time/zones.rb
|
179
|
-
- lib/active_support/core_ext/uri.rb
|
180
|
-
- lib/active_support/core_ext.rb
|
181
|
-
- lib/active_support/dependencies/autoload.rb
|
182
|
-
- lib/active_support/dependencies.rb
|
183
|
-
- lib/active_support/deprecation/behaviors.rb
|
198
|
+
- lib/active_support/core_ext/module/anonymous.rb
|
199
|
+
- lib/active_support/core_ext/module/method_names.rb
|
200
|
+
- lib/active_support/core_ext/kernel.rb
|
201
|
+
- lib/active_support/xml_mini.rb
|
184
202
|
- lib/active_support/deprecation/method_wrappers.rb
|
185
|
-
- lib/active_support/deprecation/proxy_wrappers.rb
|
186
203
|
- lib/active_support/deprecation/reporting.rb
|
187
|
-
- lib/active_support/deprecation.rb
|
188
|
-
- lib/active_support/
|
204
|
+
- lib/active_support/deprecation/behaviors.rb
|
205
|
+
- lib/active_support/deprecation/proxy_wrappers.rb
|
206
|
+
- lib/active_support/time/autoload.rb
|
207
|
+
- lib/active_support/core_ext.rb
|
189
208
|
- lib/active_support/duration.rb
|
190
|
-
- lib/active_support/
|
191
|
-
- lib/active_support/
|
192
|
-
- lib/active_support/
|
193
|
-
- lib/active_support/
|
194
|
-
- lib/active_support/
|
195
|
-
- lib/active_support/
|
196
|
-
- lib/active_support/
|
209
|
+
- lib/active_support/testing/performance/ruby/mri.rb
|
210
|
+
- lib/active_support/testing/performance/ruby/yarv.rb
|
211
|
+
- lib/active_support/testing/performance/rubinius.rb
|
212
|
+
- lib/active_support/testing/performance/ruby.rb
|
213
|
+
- lib/active_support/testing/performance/jruby.rb
|
214
|
+
- lib/active_support/testing/deprecation.rb
|
215
|
+
- lib/active_support/testing/mochaing.rb
|
216
|
+
- lib/active_support/testing/assertions.rb
|
217
|
+
- lib/active_support/testing/isolation.rb
|
218
|
+
- lib/active_support/testing/pending.rb
|
219
|
+
- lib/active_support/testing/declarative.rb
|
220
|
+
- lib/active_support/testing/setup_and_teardown.rb
|
221
|
+
- lib/active_support/testing/performance.rb
|
222
|
+
- lib/active_support/dependencies.rb
|
223
|
+
- lib/active_support/rescuable.rb
|
224
|
+
- lib/active_support/backtrace_cleaner.rb
|
225
|
+
- lib/active_support/basic_object.rb
|
226
|
+
- lib/active_support/concern.rb
|
197
227
|
- lib/active_support/inflector/inflections.rb
|
198
228
|
- lib/active_support/inflector/methods.rb
|
199
229
|
- lib/active_support/inflector/transliterate.rb
|
200
|
-
- lib/active_support/
|
230
|
+
- lib/active_support/inflections.rb
|
231
|
+
- lib/active_support/gzip.rb
|
201
232
|
- lib/active_support/json/decoding.rb
|
202
233
|
- lib/active_support/json/encoding.rb
|
203
234
|
- lib/active_support/json/variable.rb
|
204
|
-
- lib/active_support/
|
235
|
+
- lib/active_support/file_watcher.rb
|
205
236
|
- lib/active_support/lazy_load_hooks.rb
|
206
|
-
- lib/active_support/locale/en.yml
|
207
|
-
- lib/active_support/log_subscriber/test_helper.rb
|
208
|
-
- lib/active_support/log_subscriber.rb
|
209
|
-
- lib/active_support/memoizable.rb
|
210
|
-
- lib/active_support/message_encryptor.rb
|
211
237
|
- lib/active_support/message_verifier.rb
|
212
|
-
- lib/active_support/multibyte/chars.rb
|
213
|
-
- lib/active_support/multibyte/exceptions.rb
|
214
|
-
- lib/active_support/multibyte/unicode.rb
|
215
|
-
- lib/active_support/multibyte/utils.rb
|
216
|
-
- lib/active_support/multibyte.rb
|
217
238
|
- lib/active_support/notifications/fanout.rb
|
218
239
|
- lib/active_support/notifications/instrumenter.rb
|
219
|
-
- lib/active_support/
|
220
|
-
- lib/active_support/
|
221
|
-
- lib/active_support/
|
240
|
+
- lib/active_support/whiny_nil.rb
|
241
|
+
- lib/active_support/base64.rb
|
242
|
+
- lib/active_support/benchmarkable.rb
|
243
|
+
- lib/active_support/inflector.rb
|
222
244
|
- lib/active_support/ordered_options.rb
|
223
|
-
- lib/active_support/
|
224
|
-
- lib/active_support/
|
225
|
-
- lib/active_support/
|
226
|
-
- lib/active_support/
|
227
|
-
- lib/active_support/
|
228
|
-
- lib/active_support/
|
229
|
-
- lib/active_support/
|
230
|
-
- lib/active_support/
|
231
|
-
- lib/active_support/testing/deprecation.rb
|
232
|
-
- 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
|
241
|
-
- lib/active_support/testing/setup_and_teardown.rb
|
242
|
-
- lib/active_support/time/autoload.rb
|
243
|
-
- lib/active_support/time.rb
|
244
|
-
- lib/active_support/time_with_zone.rb
|
245
|
-
- lib/active_support/values/time_zone.rb
|
246
|
-
- lib/active_support/values/unicode_tables.dat
|
245
|
+
- lib/active_support/log_subscriber/test_helper.rb
|
246
|
+
- lib/active_support/descendants_tracker.rb
|
247
|
+
- lib/active_support/cache/null_store.rb
|
248
|
+
- lib/active_support/cache/strategy/local_cache.rb
|
249
|
+
- lib/active_support/cache/mem_cache_store.rb
|
250
|
+
- lib/active_support/cache/memory_store.rb
|
251
|
+
- lib/active_support/cache/file_store.rb
|
252
|
+
- lib/active_support/callbacks.rb
|
247
253
|
- lib/active_support/version.rb
|
248
|
-
- lib/active_support/
|
254
|
+
- lib/active_support/i18n_railtie.rb
|
255
|
+
- lib/active_support/buffered_logger.rb
|
256
|
+
- lib/active_support/string_inquirer.rb
|
257
|
+
- lib/active_support/cache.rb
|
258
|
+
- lib/active_support/configurable.rb
|
259
|
+
- lib/active_support/json.rb
|
260
|
+
- lib/active_support/i18n.rb
|
261
|
+
- lib/active_support/notifications.rb
|
262
|
+
- lib/active_support/log_subscriber.rb
|
263
|
+
- lib/active_support/builder.rb
|
264
|
+
- lib/active_support/ordered_hash.rb
|
265
|
+
- lib/active_support/message_encryptor.rb
|
266
|
+
- lib/active_support/xml_mini/nokogirisax.rb
|
249
267
|
- lib/active_support/xml_mini/jdom.rb
|
250
|
-
- lib/active_support/xml_mini/libxml.rb
|
251
268
|
- lib/active_support/xml_mini/libxmlsax.rb
|
252
|
-
- lib/active_support/xml_mini/nokogiri.rb
|
253
|
-
- lib/active_support/xml_mini/nokogirisax.rb
|
254
269
|
- lib/active_support/xml_mini/rexml.rb
|
255
|
-
- lib/active_support/xml_mini.rb
|
256
|
-
- lib/active_support.rb
|
270
|
+
- lib/active_support/xml_mini/libxml.rb
|
271
|
+
- lib/active_support/xml_mini/nokogiri.rb
|
272
|
+
- lib/active_support/time.rb
|
273
|
+
has_rdoc: true
|
257
274
|
homepage: http://www.rubyonrails.org
|
258
275
|
licenses: []
|
276
|
+
|
259
277
|
post_install_message:
|
260
|
-
rdoc_options:
|
278
|
+
rdoc_options:
|
261
279
|
- --encoding
|
262
280
|
- UTF-8
|
263
|
-
require_paths:
|
281
|
+
require_paths:
|
264
282
|
- lib
|
265
|
-
required_ruby_version: !ruby/object:Gem::Requirement
|
283
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
266
284
|
none: false
|
267
|
-
requirements:
|
268
|
-
- -
|
269
|
-
- !ruby/object:Gem::Version
|
285
|
+
requirements:
|
286
|
+
- - ">="
|
287
|
+
- !ruby/object:Gem::Version
|
288
|
+
hash: 57
|
289
|
+
segments:
|
290
|
+
- 1
|
291
|
+
- 8
|
292
|
+
- 7
|
270
293
|
version: 1.8.7
|
271
|
-
required_rubygems_version: !ruby/object:Gem::Requirement
|
294
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
272
295
|
none: false
|
273
|
-
requirements:
|
274
|
-
- -
|
275
|
-
- !ruby/object:Gem::Version
|
276
|
-
|
296
|
+
requirements:
|
297
|
+
- - ">="
|
298
|
+
- !ruby/object:Gem::Version
|
299
|
+
hash: 3
|
300
|
+
segments:
|
301
|
+
- 0
|
302
|
+
version: "0"
|
277
303
|
requirements: []
|
304
|
+
|
278
305
|
rubyforge_project:
|
279
|
-
rubygems_version: 1.
|
306
|
+
rubygems_version: 1.6.2
|
280
307
|
signing_key:
|
281
308
|
specification_version: 3
|
282
|
-
summary: A toolkit of support libraries and Ruby core extensions extracted from the
|
283
|
-
Rails framework.
|
309
|
+
summary: A toolkit of support libraries and Ruby core extensions extracted from the Rails framework.
|
284
310
|
test_files: []
|
311
|
+
|