activesupport 3.2.1 → 3.2.2.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.

@@ -1,7 +1,9 @@
1
+ require 'active_support/deprecation'
2
+
1
3
  begin
2
4
  require 'base64'
3
5
  rescue LoadError
4
- # The Base64 module isn't available in ealier versions of Ruby 1.9.
6
+ # The Base64 module isn't available in earlier versions of Ruby 1.9.
5
7
  module Base64
6
8
  # Encodes a string to its base 64 representation. Each 60 characters of
7
9
  # output is separated by a newline character.
@@ -77,8 +77,7 @@ module ActiveSupport
77
77
  def expand_cache_key(key, namespace = nil)
78
78
  expanded_cache_key = namespace ? "#{namespace}/" : ""
79
79
 
80
- prefix = ENV["RAILS_CACHE_ID"] || ENV["RAILS_APP_VERSION"]
81
- if prefix
80
+ if prefix = ENV["RAILS_CACHE_ID"] || ENV["RAILS_APP_VERSION"]
82
81
  expanded_cache_key << "#{prefix}/"
83
82
  end
84
83
 
@@ -91,7 +90,7 @@ module ActiveSupport
91
90
  def retrieve_cache_key(key)
92
91
  case
93
92
  when key.respond_to?(:cache_key) then key.cache_key
94
- when key.is_a?(Array) then ['Array', *key.map { |element| retrieve_cache_key(element) }].to_param
93
+ when key.is_a?(Array) then key.map { |element| retrieve_cache_key(element) }.to_param
95
94
  else key.to_param
96
95
  end.to_s
97
96
  end
@@ -395,7 +395,7 @@ module ActiveSupport
395
395
  #
396
396
  def __run_callback(key, kind, object, &blk) #:nodoc:
397
397
  name = __callback_runner_name(key, kind)
398
- unless object.respond_to?(name)
398
+ unless object.respond_to?(name, true)
399
399
  str = object.send("_#{kind}_callbacks").compile(key, object)
400
400
  class_eval <<-RUBY_EVAL, __FILE__, __LINE__ + 1
401
401
  def #{name}() #{str} end
@@ -1,3 +1,5 @@
1
+ require 'active_support/deprecation'
2
+
1
3
  module ActiveSupport
2
4
  # A typical module looks like this:
3
5
  #
@@ -112,7 +114,7 @@ module ActiveSupport
112
114
  if const_defined?("InstanceMethods")
113
115
  base.send :include, const_get("InstanceMethods")
114
116
  ActiveSupport::Deprecation.warn "The InstanceMethods module inside ActiveSupport::Concern will be " \
115
- "no longer included automatically. Please define instance methods directly in #{base} instead.", caller
117
+ "no longer included automatically. Please define instance methods directly in #{self} instead.", caller
116
118
  end
117
119
  base.class_eval(&@_included_block) if instance_variable_defined?("@_included_block")
118
120
  end
@@ -67,7 +67,7 @@ class Time
67
67
  end
68
68
 
69
69
  # Returns a new Time where one or more of the elements have been changed according to the +options+ parameter. The time options
70
- # (hour, minute, sec, usec) reset cascadingly, so if only the hour is passed, then minute, sec, and usec is set to 0. If the hour and
70
+ # (hour, min, sec, usec) reset cascadingly, so if only the hour is passed, then minute, sec, and usec is set to 0. If the hour and
71
71
  # minute is passed, then sec and usec is set to 0.
72
72
  def change(options)
73
73
  ::Time.send(
@@ -273,9 +273,9 @@ class Time
273
273
  beginning_of_day..end_of_day
274
274
  end
275
275
 
276
- # Returns a Range representing the whole week of the current time.
277
- def all_week
278
- beginning_of_week..end_of_week
276
+ # Returns a Range representing the whole week of the current time. Week starts on start_day (default is :monday, i.e. end of Sunday).
277
+ def all_week(start_day = :monday)
278
+ beginning_of_week(start_day)..end_of_week(start_day)
279
279
  end
280
280
 
281
281
  # Returns a Range representing the whole month of the current time.
@@ -1,4 +1,5 @@
1
1
  require 'active_support/base64'
2
+ require 'active_support/deprecation'
2
3
  require 'active_support/core_ext/object/blank'
3
4
 
4
5
  module ActiveSupport
@@ -33,13 +33,14 @@ module ActiveSupport
33
33
  deprecate :silence
34
34
 
35
35
  def add(severity, message = nil, progname = nil, &block)
36
- @logger.add(severity, "#{tags_text}#{message}", progname, &block)
36
+ message = (block_given? ? block.call : progname) if message.nil?
37
+ @logger.add(severity, "#{tags_text}#{message}", progname)
37
38
  end
38
39
 
39
40
  %w( fatal error warn info debug unknown ).each do |severity|
40
41
  eval <<-EOM, nil, __FILE__, __LINE__ + 1
41
42
  def #{severity}(progname = nil, &block)
42
- add(Logger::#{severity.upcase}, progname, &block)
43
+ add(Logger::#{severity.upcase}, nil, progname, &block)
43
44
  end
44
45
  EOM
45
46
  end
@@ -2,8 +2,8 @@ module ActiveSupport
2
2
  module VERSION #:nodoc:
3
3
  MAJOR = 3
4
4
  MINOR = 2
5
- TINY = 1
6
- PRE = nil
5
+ TINY = 2
6
+ PRE = "rc1"
7
7
 
8
8
  STRING = [MAJOR, MINOR, TINY, PRE].compact.join('.')
9
9
  end
@@ -1,3 +1,5 @@
1
+ require 'active_support/deprecation'
2
+
1
3
  # Extensions to +nil+ which allow for more helpful error messages for people who
2
4
  # are new to Rails.
3
5
  #
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: 13
5
- prerelease:
4
+ hash: 15424071
5
+ prerelease: 6
6
6
  segments:
7
7
  - 3
8
8
  - 2
9
+ - 2
10
+ - rc
9
11
  - 1
10
- version: 3.2.1
12
+ version: 3.2.2.rc1
11
13
  platform: ruby
12
14
  authors:
13
15
  - David Heinemeier Hansson
@@ -15,8 +17,7 @@ autorequire:
15
17
  bindir: bin
16
18
  cert_chain: []
17
19
 
18
- date: 2012-01-26 00:00:00 -08:00
19
- default_executable:
20
+ date: 2012-02-22 00:00:00 Z
20
21
  dependencies:
21
22
  - !ruby/object:Gem::Dependency
22
23
  name: i18n
@@ -60,217 +61,216 @@ files:
60
61
  - CHANGELOG.md
61
62
  - MIT-LICENSE
62
63
  - 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
83
64
  - lib/active_support/all.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
65
+ - lib/active_support/backtrace_cleaner.rb
66
+ - lib/active_support/base64.rb
67
+ - lib/active_support/basic_object.rb
68
+ - lib/active_support/benchmarkable.rb
69
+ - lib/active_support/buffered_logger.rb
70
+ - lib/active_support/builder.rb
71
+ - lib/active_support/cache/file_store.rb
72
+ - lib/active_support/cache/mem_cache_store.rb
73
+ - lib/active_support/cache/memory_store.rb
74
+ - lib/active_support/cache/null_store.rb
75
+ - lib/active_support/cache/strategy/local_cache.rb
76
+ - lib/active_support/cache.rb
77
+ - lib/active_support/callbacks.rb
78
+ - lib/active_support/concern.rb
79
+ - lib/active_support/configurable.rb
80
+ - lib/active_support/core_ext/array/access.rb
81
+ - lib/active_support/core_ext/array/conversions.rb
82
+ - lib/active_support/core_ext/array/extract_options.rb
83
+ - lib/active_support/core_ext/array/grouping.rb
84
+ - lib/active_support/core_ext/array/prepend_and_append.rb
85
+ - lib/active_support/core_ext/array/random_access.rb
86
+ - lib/active_support/core_ext/array/uniq_by.rb
87
+ - lib/active_support/core_ext/array/wrap.rb
88
+ - lib/active_support/core_ext/array.rb
89
+ - lib/active_support/core_ext/benchmark.rb
90
+ - lib/active_support/core_ext/big_decimal/conversions.rb
91
+ - lib/active_support/core_ext/big_decimal.rb
92
+ - lib/active_support/core_ext/class/attribute.rb
93
+ - lib/active_support/core_ext/class/attribute_accessors.rb
94
+ - lib/active_support/core_ext/class/delegating_attributes.rb
95
+ - lib/active_support/core_ext/class/subclasses.rb
96
+ - lib/active_support/core_ext/class.rb
99
97
  - lib/active_support/core_ext/date/acts_like.rb
100
98
  - lib/active_support/core_ext/date/calculations.rb
99
+ - lib/active_support/core_ext/date/conversions.rb
101
100
  - lib/active_support/core_ext/date/freeze.rb
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
101
+ - lib/active_support/core_ext/date/zones.rb
111
102
  - lib/active_support/core_ext/date_time/acts_like.rb
112
103
  - lib/active_support/core_ext/date_time/calculations.rb
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
104
+ - lib/active_support/core_ext/date_time/conversions.rb
105
+ - lib/active_support/core_ext/date_time/zones.rb
106
+ - lib/active_support/core_ext/enumerable.rb
149
107
  - lib/active_support/core_ext/exception.rb
150
- - lib/active_support/core_ext/float/rounding.rb
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
108
+ - lib/active_support/core_ext/file/atomic.rb
109
+ - lib/active_support/core_ext/file/path.rb
156
110
  - 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
168
- - lib/active_support/core_ext/hash/deep_dup.rb
169
- - lib/active_support/core_ext/hash/slice.rb
170
- - lib/active_support/core_ext/hash/diff.rb
111
+ - lib/active_support/core_ext/float/rounding.rb
112
+ - lib/active_support/core_ext/float.rb
171
113
  - lib/active_support/core_ext/hash/conversions.rb
114
+ - lib/active_support/core_ext/hash/deep_dup.rb
172
115
  - lib/active_support/core_ext/hash/deep_merge.rb
116
+ - lib/active_support/core_ext/hash/diff.rb
117
+ - lib/active_support/core_ext/hash/except.rb
173
118
  - lib/active_support/core_ext/hash/indifferent_access.rb
174
119
  - lib/active_support/core_ext/hash/keys.rb
175
120
  - lib/active_support/core_ext/hash/reverse_merge.rb
176
- - lib/active_support/core_ext/io.rb
121
+ - lib/active_support/core_ext/hash/slice.rb
122
+ - lib/active_support/core_ext/hash.rb
123
+ - lib/active_support/core_ext/integer/inflections.rb
124
+ - lib/active_support/core_ext/integer/multiple.rb
125
+ - lib/active_support/core_ext/integer/time.rb
177
126
  - 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
188
- - lib/active_support/core_ext/module/deprecation.rb
127
+ - lib/active_support/core_ext/io.rb
128
+ - lib/active_support/core_ext/kernel/agnostics.rb
129
+ - lib/active_support/core_ext/kernel/debugger.rb
130
+ - lib/active_support/core_ext/kernel/reporting.rb
131
+ - lib/active_support/core_ext/kernel/singleton_class.rb
132
+ - lib/active_support/core_ext/kernel.rb
133
+ - lib/active_support/core_ext/load_error.rb
134
+ - lib/active_support/core_ext/logger.rb
135
+ - lib/active_support/core_ext/module/aliasing.rb
136
+ - lib/active_support/core_ext/module/anonymous.rb
137
+ - lib/active_support/core_ext/module/attr_internal.rb
138
+ - lib/active_support/core_ext/module/attribute_accessors.rb
189
139
  - lib/active_support/core_ext/module/delegation.rb
190
- - lib/active_support/core_ext/module/synchronization.rb
140
+ - lib/active_support/core_ext/module/deprecation.rb
191
141
  - lib/active_support/core_ext/module/introspection.rb
192
- - lib/active_support/core_ext/module/attribute_accessors.rb
193
- - lib/active_support/core_ext/module/reachable.rb
194
- - lib/active_support/core_ext/module/aliasing.rb
142
+ - lib/active_support/core_ext/module/method_names.rb
195
143
  - lib/active_support/core_ext/module/qualified_const.rb
196
- - lib/active_support/core_ext/module/attr_internal.rb
144
+ - lib/active_support/core_ext/module/reachable.rb
197
145
  - lib/active_support/core_ext/module/remove_method.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
202
- - lib/active_support/deprecation/method_wrappers.rb
203
- - lib/active_support/deprecation/reporting.rb
146
+ - lib/active_support/core_ext/module/synchronization.rb
147
+ - lib/active_support/core_ext/module.rb
148
+ - lib/active_support/core_ext/name_error.rb
149
+ - lib/active_support/core_ext/numeric/bytes.rb
150
+ - lib/active_support/core_ext/numeric/time.rb
151
+ - lib/active_support/core_ext/numeric.rb
152
+ - lib/active_support/core_ext/object/acts_like.rb
153
+ - lib/active_support/core_ext/object/blank.rb
154
+ - lib/active_support/core_ext/object/conversions.rb
155
+ - lib/active_support/core_ext/object/duplicable.rb
156
+ - lib/active_support/core_ext/object/inclusion.rb
157
+ - lib/active_support/core_ext/object/instance_variables.rb
158
+ - lib/active_support/core_ext/object/to_json.rb
159
+ - lib/active_support/core_ext/object/to_param.rb
160
+ - lib/active_support/core_ext/object/to_query.rb
161
+ - lib/active_support/core_ext/object/try.rb
162
+ - lib/active_support/core_ext/object/with_options.rb
163
+ - lib/active_support/core_ext/object.rb
164
+ - lib/active_support/core_ext/proc.rb
165
+ - lib/active_support/core_ext/process/daemon.rb
166
+ - lib/active_support/core_ext/process.rb
167
+ - lib/active_support/core_ext/range/blockless_step.rb
168
+ - lib/active_support/core_ext/range/conversions.rb
169
+ - lib/active_support/core_ext/range/cover.rb
170
+ - lib/active_support/core_ext/range/include_range.rb
171
+ - lib/active_support/core_ext/range/overlaps.rb
172
+ - lib/active_support/core_ext/range.rb
173
+ - lib/active_support/core_ext/regexp.rb
174
+ - lib/active_support/core_ext/rexml.rb
175
+ - lib/active_support/core_ext/string/access.rb
176
+ - lib/active_support/core_ext/string/behavior.rb
177
+ - lib/active_support/core_ext/string/conversions.rb
178
+ - lib/active_support/core_ext/string/encoding.rb
179
+ - lib/active_support/core_ext/string/exclude.rb
180
+ - lib/active_support/core_ext/string/filters.rb
181
+ - lib/active_support/core_ext/string/inflections.rb
182
+ - lib/active_support/core_ext/string/inquiry.rb
183
+ - lib/active_support/core_ext/string/interpolation.rb
184
+ - lib/active_support/core_ext/string/multibyte.rb
185
+ - lib/active_support/core_ext/string/output_safety.rb
186
+ - lib/active_support/core_ext/string/starts_ends_with.rb
187
+ - lib/active_support/core_ext/string/strip.rb
188
+ - lib/active_support/core_ext/string/xchar.rb
189
+ - lib/active_support/core_ext/string.rb
190
+ - lib/active_support/core_ext/time/acts_like.rb
191
+ - lib/active_support/core_ext/time/calculations.rb
192
+ - lib/active_support/core_ext/time/conversions.rb
193
+ - lib/active_support/core_ext/time/marshal.rb
194
+ - lib/active_support/core_ext/time/publicize_conversion_methods.rb
195
+ - lib/active_support/core_ext/time/zones.rb
196
+ - lib/active_support/core_ext/uri.rb
197
+ - lib/active_support/core_ext.rb
198
+ - lib/active_support/dependencies/autoload.rb
199
+ - lib/active_support/dependencies.rb
204
200
  - lib/active_support/deprecation/behaviors.rb
201
+ - lib/active_support/deprecation/method_wrappers.rb
205
202
  - lib/active_support/deprecation/proxy_wrappers.rb
206
- - lib/active_support/time/autoload.rb
207
- - lib/active_support/core_ext.rb
203
+ - lib/active_support/deprecation/reporting.rb
204
+ - lib/active_support/deprecation.rb
205
+ - lib/active_support/descendants_tracker.rb
208
206
  - lib/active_support/duration.rb
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
207
+ - lib/active_support/file_update_checker.rb
208
+ - lib/active_support/file_watcher.rb
209
+ - lib/active_support/gzip.rb
210
+ - lib/active_support/hash_with_indifferent_access.rb
211
+ - lib/active_support/i18n.rb
212
+ - lib/active_support/i18n_railtie.rb
213
+ - lib/active_support/inflections.rb
227
214
  - lib/active_support/inflector/inflections.rb
228
215
  - lib/active_support/inflector/methods.rb
229
216
  - lib/active_support/inflector/transliterate.rb
230
- - lib/active_support/inflections.rb
231
- - lib/active_support/gzip.rb
217
+ - lib/active_support/inflector.rb
232
218
  - lib/active_support/json/decoding.rb
233
219
  - lib/active_support/json/encoding.rb
234
220
  - lib/active_support/json/variable.rb
235
- - lib/active_support/file_watcher.rb
221
+ - lib/active_support/json.rb
236
222
  - lib/active_support/lazy_load_hooks.rb
223
+ - lib/active_support/locale/en.yml
224
+ - lib/active_support/log_subscriber/test_helper.rb
225
+ - lib/active_support/log_subscriber.rb
226
+ - lib/active_support/memoizable.rb
227
+ - lib/active_support/message_encryptor.rb
237
228
  - lib/active_support/message_verifier.rb
229
+ - lib/active_support/multibyte/chars.rb
230
+ - lib/active_support/multibyte/exceptions.rb
231
+ - lib/active_support/multibyte/unicode.rb
232
+ - lib/active_support/multibyte/utils.rb
233
+ - lib/active_support/multibyte.rb
238
234
  - lib/active_support/notifications/fanout.rb
239
235
  - lib/active_support/notifications/instrumenter.rb
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
244
- - lib/active_support/ordered_options.rb
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
253
- - lib/active_support/version.rb
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
236
  - lib/active_support/notifications.rb
262
- - lib/active_support/log_subscriber.rb
263
- - lib/active_support/builder.rb
237
+ - lib/active_support/option_merger.rb
264
238
  - lib/active_support/ordered_hash.rb
265
- - lib/active_support/message_encryptor.rb
266
- - lib/active_support/xml_mini/nokogirisax.rb
239
+ - lib/active_support/ordered_options.rb
240
+ - lib/active_support/railtie.rb
241
+ - lib/active_support/rescuable.rb
242
+ - lib/active_support/ruby/shim.rb
243
+ - lib/active_support/string_inquirer.rb
244
+ - lib/active_support/tagged_logging.rb
245
+ - lib/active_support/test_case.rb
246
+ - lib/active_support/testing/assertions.rb
247
+ - lib/active_support/testing/declarative.rb
248
+ - lib/active_support/testing/deprecation.rb
249
+ - lib/active_support/testing/isolation.rb
250
+ - lib/active_support/testing/mochaing.rb
251
+ - lib/active_support/testing/pending.rb
252
+ - lib/active_support/testing/performance/jruby.rb
253
+ - lib/active_support/testing/performance/rubinius.rb
254
+ - lib/active_support/testing/performance/ruby/mri.rb
255
+ - lib/active_support/testing/performance/ruby/yarv.rb
256
+ - lib/active_support/testing/performance/ruby.rb
257
+ - lib/active_support/testing/performance.rb
258
+ - lib/active_support/testing/setup_and_teardown.rb
259
+ - lib/active_support/time/autoload.rb
260
+ - lib/active_support/time.rb
261
+ - lib/active_support/time_with_zone.rb
262
+ - lib/active_support/values/time_zone.rb
263
+ - lib/active_support/values/unicode_tables.dat
264
+ - lib/active_support/version.rb
265
+ - lib/active_support/whiny_nil.rb
267
266
  - lib/active_support/xml_mini/jdom.rb
268
- - lib/active_support/xml_mini/libxmlsax.rb
269
- - lib/active_support/xml_mini/rexml.rb
270
267
  - lib/active_support/xml_mini/libxml.rb
268
+ - lib/active_support/xml_mini/libxmlsax.rb
271
269
  - lib/active_support/xml_mini/nokogiri.rb
272
- - lib/active_support/time.rb
273
- has_rdoc: true
270
+ - lib/active_support/xml_mini/nokogirisax.rb
271
+ - lib/active_support/xml_mini/rexml.rb
272
+ - lib/active_support/xml_mini.rb
273
+ - lib/active_support.rb
274
274
  homepage: http://www.rubyonrails.org
275
275
  licenses: []
276
276
 
@@ -294,16 +294,18 @@ required_ruby_version: !ruby/object:Gem::Requirement
294
294
  required_rubygems_version: !ruby/object:Gem::Requirement
295
295
  none: false
296
296
  requirements:
297
- - - ">="
297
+ - - ">"
298
298
  - !ruby/object:Gem::Version
299
- hash: 3
299
+ hash: 25
300
300
  segments:
301
- - 0
302
- version: "0"
301
+ - 1
302
+ - 3
303
+ - 1
304
+ version: 1.3.1
303
305
  requirements: []
304
306
 
305
307
  rubyforge_project:
306
- rubygems_version: 1.6.2
308
+ rubygems_version: 1.8.16
307
309
  signing_key:
308
310
  specification_version: 3
309
311
  summary: A toolkit of support libraries and Ruby core extensions extracted from the Rails framework.