activesupport 4.1.1 → 4.1.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.

@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA1:
3
+ metadata.gz: 57d39d867ced437b9541c84d5aa895590b80a6c0
4
+ data.tar.gz: 8847859121d353c6179f684d001d828bb3d2fb3d
5
+ SHA512:
6
+ metadata.gz: 656d4e05e08801b16b075f7436eec5fb2f241d51174cba68e45fa90b3f1722e8a53fae244fe052edd1c87ea9c68477a697ff83a95d38145922770088dda00a13
7
+ data.tar.gz: 2b0b9144b44df235b109b76f926bf5c2045681a4e76f8a17264b639d3b415810b7fa99be985243db9623eb6ab16473a87d39148d0e14924b439e0dad2272076d
@@ -1,3 +1,88 @@
1
+ ## Rails 4.1.2 (May 27, 2014) ##
2
+
3
+ * `Hash#deep_transform_keys` and `Hash#deep_transform_keys!` now transform hashes
4
+ in nested arrays. This change also applies to `Hash#deep_stringify_keys`,
5
+ `Hash#deep_stringify_keys!`, `Hash#deep_symbolize_keys` and
6
+ `Hash#deep_symbolize_keys!`.
7
+
8
+ *OZAWA Sakuro*
9
+
10
+ * Fixed `ActiveSupport::Subscriber` so that no duplicate subscriber is created
11
+ when a subscriber method is redefined.
12
+
13
+ *Dennis Schön*
14
+
15
+ * Fixed an issue when using
16
+ `ActiveSupport::NumberHelper::NumberToDelimitedConverter` to
17
+ convert a value that is an `ActiveSupport::SafeBuffer` introduced
18
+ in 2da9d67.
19
+
20
+ For more info see #15064.
21
+
22
+ *Mark J. Titorenko*
23
+
24
+ * Fixed backward compatibility isues introduced in 326e652.
25
+
26
+ Empty Hash or Array should not present in serialization result.
27
+
28
+ {a: []}.to_query # => ""
29
+ {a: {}}.to_query # => ""
30
+
31
+ For more info see #14948.
32
+
33
+ *Bogdan Gusiev*
34
+ * Fixed `ActiveSupport::Duration#eql?` so that `1.second.eql?(1.second)` is
35
+ true.
36
+
37
+ This fixes the current situation of:
38
+
39
+ 1.second.eql?(1.second) #=> false
40
+
41
+ `eql?` also requires that the other object is an `ActiveSupport::Duration`.
42
+ This requirement makes `ActiveSupport::Duration`'s behavior consistent with
43
+ the behavior of Ruby's numeric types:
44
+
45
+ 1.eql?(1.0) #=> false
46
+ 1.0.eql?(1) #=> false
47
+
48
+ 1.second.eql?(1) #=> false (was true)
49
+ 1.eql?(1.second) #=> false
50
+
51
+ { 1 => "foo", 1.0 => "bar" }
52
+ #=> { 1 => "foo", 1.0 => "bar" }
53
+
54
+ { 1 => "foo", 1.second => "bar" }
55
+ # now => { 1 => "foo", 1.second => "bar" }
56
+ # was => { 1 => "bar" }
57
+
58
+ And though the behavior of these hasn't changed, for reference:
59
+
60
+ 1 == 1.0 #=> true
61
+ 1.0 == 1 #=> true
62
+
63
+ 1 == 1.second #=> true
64
+ 1.second == 1 #=> true
65
+
66
+ *Emily Dobervich*
67
+
68
+ * `ActiveSupport::SafeBuffer#prepend` acts like `String#prepend` and modifies
69
+ instance in-place, returning self. `ActiveSupport::SafeBuffer#prepend!` is
70
+ deprecated.
71
+
72
+ *Pavel Pravosud*
73
+
74
+ * `HashWithIndifferentAccess` better respects `#to_hash` on objects it's
75
+ given. In particular `#update`, `#merge`, `#replace` all accept objects
76
+ which respond to `#to_hash`, even if those objects are not Hashes directly.
77
+
78
+ Currently, if `HashWithIndifferentAccess.new` is given a non-Hash (even if
79
+ it responds to `#to_hash`) that object is treated as the default value,
80
+ rather than the initial keys and value. Changing that could break existing
81
+ code, so it will be updated in the next minor version.
82
+
83
+ *Peter Jaros*
84
+
85
+
1
86
  ## Rails 4.1.1 (May 6, 2014) ##
2
87
 
3
88
  * No changes.
@@ -1,5 +1,6 @@
1
1
  require 'active_support/core_ext/object/duplicable'
2
2
  require 'active_support/core_ext/string/inflections'
3
+ require 'active_support/per_thread_registry'
3
4
 
4
5
  module ActiveSupport
5
6
  module Cache
@@ -1,27 +1,38 @@
1
1
  class Hash
2
2
  # Returns a new hash with +self+ and +other_hash+ merged recursively.
3
3
  #
4
- # h1 = { x: { y: [4, 5, 6] }, z: [7, 8, 9] }
5
- # h2 = { x: { y: [7, 8, 9] }, z: 'xyz' }
4
+ # h1 = { a: true, b: { c: [1, 2, 3] } }
5
+ # h2 = { a: false, b: { x: [3, 4, 5] } }
6
6
  #
7
- # h1.deep_merge(h2) # => {x: {y: [7, 8, 9]}, z: "xyz"}
8
- # h2.deep_merge(h1) # => {x: {y: [4, 5, 6]}, z: [7, 8, 9]}
9
- # h1.deep_merge(h2) { |key, old, new| Array.wrap(old) + Array.wrap(new) }
10
- # # => {:x=>{:y=>[4, 5, 6, 7, 8, 9]}, :z=>[7, 8, 9, "xyz"]}
7
+ # h1.deep_merge(h2) #=> { a: false, b: { c: [1, 2, 3], x: [3, 4, 5] } }
8
+ #
9
+ # Like with Hash#merge in the standard library, a block can be provided
10
+ # to merge values:
11
+ #
12
+ # h1 = { a: 100, b: 200, c: { c1: 100 } }
13
+ # h2 = { b: 250, c: { c1: 200 } }
14
+ # h1.deep_merge(h2) { |key, this_val, other_val| this_val + other_val }
15
+ # # => { a: 100, b: 450, c: { c1: 300 } }
11
16
  def deep_merge(other_hash, &block)
12
17
  dup.deep_merge!(other_hash, &block)
13
18
  end
14
19
 
15
20
  # Same as +deep_merge+, but modifies +self+.
16
21
  def deep_merge!(other_hash, &block)
17
- other_hash.each_pair do |k,v|
18
- tv = self[k]
19
- if tv.is_a?(Hash) && v.is_a?(Hash)
20
- self[k] = tv.deep_merge(v, &block)
22
+ other_hash.each_pair do |current_key, other_value|
23
+ this_value = self[current_key]
24
+
25
+ self[current_key] = if this_value.is_a?(Hash) && other_value.is_a?(Hash)
26
+ this_value.deep_merge(other_value, &block)
21
27
  else
22
- self[k] = block && tv ? block.call(k, tv, v) : v
28
+ if block_given? && key?(current_key)
29
+ block.call(current_key, this_value, other_value)
30
+ else
31
+ other_value
32
+ end
23
33
  end
24
34
  end
35
+
25
36
  self
26
37
  end
27
38
  end
@@ -75,34 +75,26 @@ class Hash
75
75
 
76
76
  # Returns a new hash with all keys converted by the block operation.
77
77
  # This includes the keys from the root hash and from all
78
- # nested hashes.
78
+ # nested hashes and arrays.
79
79
  #
80
80
  # hash = { person: { name: 'Rob', age: '28' } }
81
81
  #
82
82
  # hash.deep_transform_keys{ |key| key.to_s.upcase }
83
83
  # # => {"PERSON"=>{"NAME"=>"Rob", "AGE"=>"28"}}
84
84
  def deep_transform_keys(&block)
85
- result = {}
86
- each do |key, value|
87
- result[yield(key)] = value.is_a?(Hash) ? value.deep_transform_keys(&block) : value
88
- end
89
- result
85
+ _deep_transform_keys_in_object(self, &block)
90
86
  end
91
87
 
92
88
  # Destructively convert all keys by using the block operation.
93
89
  # This includes the keys from the root hash and from all
94
- # nested hashes.
90
+ # nested hashes and arrays.
95
91
  def deep_transform_keys!(&block)
96
- keys.each do |key|
97
- value = delete(key)
98
- self[yield(key)] = value.is_a?(Hash) ? value.deep_transform_keys!(&block) : value
99
- end
100
- self
92
+ _deep_transform_keys_in_object!(self, &block)
101
93
  end
102
94
 
103
95
  # Returns a new hash with all keys converted to strings.
104
96
  # This includes the keys from the root hash and from all
105
- # nested hashes.
97
+ # nested hashes and arrays.
106
98
  #
107
99
  # hash = { person: { name: 'Rob', age: '28' } }
108
100
  #
@@ -114,14 +106,14 @@ class Hash
114
106
 
115
107
  # Destructively convert all keys to strings.
116
108
  # This includes the keys from the root hash and from all
117
- # nested hashes.
109
+ # nested hashes and arrays.
118
110
  def deep_stringify_keys!
119
111
  deep_transform_keys!{ |key| key.to_s }
120
112
  end
121
113
 
122
114
  # Returns a new hash with all keys converted to symbols, as long as
123
115
  # they respond to +to_sym+. This includes the keys from the root hash
124
- # and from all nested hashes.
116
+ # and from all nested hashes and arrays.
125
117
  #
126
118
  # hash = { 'person' => { 'name' => 'Rob', 'age' => '28' } }
127
119
  #
@@ -133,8 +125,38 @@ class Hash
133
125
 
134
126
  # Destructively convert all keys to symbols, as long as they respond
135
127
  # to +to_sym+. This includes the keys from the root hash and from all
136
- # nested hashes.
128
+ # nested hashes and arrays.
137
129
  def deep_symbolize_keys!
138
130
  deep_transform_keys!{ |key| key.to_sym rescue key }
139
131
  end
132
+
133
+ private
134
+ # support methods for deep transforming nested hashes and arrays
135
+ def _deep_transform_keys_in_object(object, &block)
136
+ case object
137
+ when Hash
138
+ object.each_with_object({}) do |(key, value), result|
139
+ result[yield(key)] = _deep_transform_keys_in_object(value, &block)
140
+ end
141
+ when Array
142
+ object.map {|e| _deep_transform_keys_in_object(e, &block) }
143
+ else
144
+ object
145
+ end
146
+ end
147
+
148
+ def _deep_transform_keys_in_object!(object, &block)
149
+ case object
150
+ when Hash
151
+ object.keys.each do |key|
152
+ value = object.delete(key)
153
+ object[yield(key)] = _deep_transform_keys_in_object!(value, &block)
154
+ end
155
+ object
156
+ when Array
157
+ object.map! {|e| _deep_transform_keys_in_object!(e, &block)}
158
+ else
159
+ object
160
+ end
161
+ end
140
162
  end
@@ -51,12 +51,10 @@ class Hash
51
51
  #
52
52
  # This method is also aliased as +to_query+.
53
53
  def to_param(namespace = nil)
54
- if empty?
55
- namespace ? nil.to_query(namespace) : ''
56
- else
57
- collect do |key, value|
54
+ collect do |key, value|
55
+ unless (value.is_a?(Hash) || value.is_a?(Array)) && value.empty?
58
56
  value.to_query(namespace ? "#{namespace}[#{key}]" : key)
59
- end.sort! * '&'
60
- end
57
+ end
58
+ end.compact.sort! * '&'
61
59
  end
62
60
  end
@@ -49,6 +49,10 @@ module ActiveSupport
49
49
  end
50
50
  end
51
51
 
52
+ def eql?(other)
53
+ other.is_a?(Duration) && self == other
54
+ end
55
+
52
56
  def self.===(other) #:nodoc:
53
57
  other.is_a?(Duration)
54
58
  rescue ::NoMethodError
@@ -7,8 +7,8 @@ module ActiveSupport
7
7
  module VERSION
8
8
  MAJOR = 4
9
9
  MINOR = 1
10
- TINY = 1
11
- PRE = nil
10
+ TINY = 2
11
+ PRE = "rc1"
12
12
 
13
13
  STRING = [MAJOR, MINOR, TINY, PRE].compact.join(".")
14
14
  end
@@ -72,6 +72,7 @@ module ActiveSupport
72
72
  end
73
73
 
74
74
  def self.new_from_hash_copying_default(hash)
75
+ hash = hash.to_hash
75
76
  new(hash).tap do |new_hash|
76
77
  new_hash.default = hash.default
77
78
  end
@@ -125,7 +126,7 @@ module ActiveSupport
125
126
  if other_hash.is_a? HashWithIndifferentAccess
126
127
  super(other_hash)
127
128
  else
128
- other_hash.each_pair do |key, value|
129
+ other_hash.to_hash.each_pair do |key, value|
129
130
  if block_given? && key?(key)
130
131
  value = yield(convert_key(key), self[key], value)
131
132
  end
@@ -154,7 +154,7 @@ module ActiveSupport
154
154
  #
155
155
  # Singular names are not handled correctly:
156
156
  #
157
- # 'business'.classify # => "Busines"
157
+ # 'calculus'.classify # => "Calculu"
158
158
  def classify(table_name)
159
159
  # strip out any leading schema name
160
160
  camelize(singularize(table_name.to_s.sub(/.*\./, '')))
@@ -13,7 +13,9 @@ module ActiveSupport
13
13
 
14
14
  def parts
15
15
  left, right = number.to_s.split('.')
16
- left.gsub!(DELIMITED_REGEX) { "#{$1}#{options[:delimiter]}" }
16
+ left.gsub!(DELIMITED_REGEX) do |digit_to_delimit|
17
+ "#{digit_to_delimit}#{options[:delimiter]}"
18
+ end
17
19
  [left, right].compact
18
20
  end
19
21
  end
@@ -12,7 +12,7 @@ module ActiveSupport
12
12
 
13
13
  private
14
14
  def method_missing(method, *arguments, &block)
15
- if arguments.last.is_a?(Proc)
15
+ if arguments.first.is_a?(Proc)
16
16
  proc = arguments.pop
17
17
  arguments << lambda { |*args| @options.deep_merge(proc.call(*args)) }
18
18
  else
@@ -64,12 +64,21 @@ module ActiveSupport
64
64
  def add_event_subscriber(event)
65
65
  return if %w{ start finish }.include?(event.to_s)
66
66
 
67
- notifier.subscribe("#{event}.#{namespace}", subscriber)
67
+ pattern = "#{event}.#{namespace}"
68
+
69
+ # don't add multiple subscribers (eg. if methods are redefined)
70
+ return if subscriber.patterns.include?(pattern)
71
+
72
+ subscriber.patterns << pattern
73
+ notifier.subscribe(pattern, subscriber)
68
74
  end
69
75
  end
70
76
 
77
+ attr_reader :patterns # :nodoc:
78
+
71
79
  def initialize
72
80
  @queue_key = [self.class.name, object_id].join "-"
81
+ @patterns = []
73
82
  super
74
83
  end
75
84
 
@@ -282,7 +282,7 @@ module ActiveSupport
282
282
  #
283
283
  # Time.zone.now # => Fri, 31 Dec 1999 14:00:00 HST -10:00
284
284
  # Time.zone.parse('22:30:00') # => Fri, 31 Dec 1999 22:30:00 HST -10:00
285
- def parse(str, now=now)
285
+ def parse(str, now=now())
286
286
  parts = Date._parse(str, false)
287
287
  return if parts.empty?
288
288
 
metadata CHANGED
@@ -1,106 +1,95 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: activesupport
3
3
  version: !ruby/object:Gem::Version
4
- version: 4.1.1
5
- prerelease:
4
+ version: 4.1.2.rc1
6
5
  platform: ruby
7
6
  authors:
8
7
  - David Heinemeier Hansson
9
8
  autorequire:
10
9
  bindir: bin
11
10
  cert_chain: []
12
- date: 2014-05-06 00:00:00.000000000 Z
11
+ date: 2014-05-27 00:00:00.000000000 Z
13
12
  dependencies:
14
13
  - !ruby/object:Gem::Dependency
15
14
  name: i18n
16
15
  requirement: !ruby/object:Gem::Requirement
17
- none: false
18
16
  requirements:
19
- - - ~>
17
+ - - "~>"
20
18
  - !ruby/object:Gem::Version
21
19
  version: '0.6'
22
- - - ! '>='
20
+ - - ">="
23
21
  - !ruby/object:Gem::Version
24
22
  version: 0.6.9
25
23
  type: :runtime
26
24
  prerelease: false
27
25
  version_requirements: !ruby/object:Gem::Requirement
28
- none: false
29
26
  requirements:
30
- - - ~>
27
+ - - "~>"
31
28
  - !ruby/object:Gem::Version
32
29
  version: '0.6'
33
- - - ! '>='
30
+ - - ">="
34
31
  - !ruby/object:Gem::Version
35
32
  version: 0.6.9
36
33
  - !ruby/object:Gem::Dependency
37
34
  name: json
38
35
  requirement: !ruby/object:Gem::Requirement
39
- none: false
40
36
  requirements:
41
- - - ~>
37
+ - - "~>"
42
38
  - !ruby/object:Gem::Version
43
39
  version: '1.7'
44
- - - ! '>='
40
+ - - ">="
45
41
  - !ruby/object:Gem::Version
46
42
  version: 1.7.7
47
43
  type: :runtime
48
44
  prerelease: false
49
45
  version_requirements: !ruby/object:Gem::Requirement
50
- none: false
51
46
  requirements:
52
- - - ~>
47
+ - - "~>"
53
48
  - !ruby/object:Gem::Version
54
49
  version: '1.7'
55
- - - ! '>='
50
+ - - ">="
56
51
  - !ruby/object:Gem::Version
57
52
  version: 1.7.7
58
53
  - !ruby/object:Gem::Dependency
59
54
  name: tzinfo
60
55
  requirement: !ruby/object:Gem::Requirement
61
- none: false
62
56
  requirements:
63
- - - ~>
57
+ - - "~>"
64
58
  - !ruby/object:Gem::Version
65
59
  version: '1.1'
66
60
  type: :runtime
67
61
  prerelease: false
68
62
  version_requirements: !ruby/object:Gem::Requirement
69
- none: false
70
63
  requirements:
71
- - - ~>
64
+ - - "~>"
72
65
  - !ruby/object:Gem::Version
73
66
  version: '1.1'
74
67
  - !ruby/object:Gem::Dependency
75
68
  name: minitest
76
69
  requirement: !ruby/object:Gem::Requirement
77
- none: false
78
70
  requirements:
79
- - - ~>
71
+ - - "~>"
80
72
  - !ruby/object:Gem::Version
81
73
  version: '5.1'
82
74
  type: :runtime
83
75
  prerelease: false
84
76
  version_requirements: !ruby/object:Gem::Requirement
85
- none: false
86
77
  requirements:
87
- - - ~>
78
+ - - "~>"
88
79
  - !ruby/object:Gem::Version
89
80
  version: '5.1'
90
81
  - !ruby/object:Gem::Dependency
91
82
  name: thread_safe
92
83
  requirement: !ruby/object:Gem::Requirement
93
- none: false
94
84
  requirements:
95
- - - ~>
85
+ - - "~>"
96
86
  - !ruby/object:Gem::Version
97
87
  version: '0.1'
98
88
  type: :runtime
99
89
  prerelease: false
100
90
  version_requirements: !ruby/object:Gem::Requirement
101
- none: false
102
91
  requirements:
103
- - - ~>
92
+ - - "~>"
104
93
  - !ruby/object:Gem::Version
105
94
  version: '0.1'
106
95
  description: A toolkit of support libraries and Ruby core extensions extracted from
@@ -114,52 +103,55 @@ files:
114
103
  - CHANGELOG.md
115
104
  - MIT-LICENSE
116
105
  - README.rdoc
106
+ - lib/active_support.rb
117
107
  - lib/active_support/all.rb
118
108
  - lib/active_support/backtrace_cleaner.rb
119
109
  - lib/active_support/benchmarkable.rb
120
110
  - lib/active_support/builder.rb
111
+ - lib/active_support/cache.rb
121
112
  - lib/active_support/cache/file_store.rb
122
113
  - lib/active_support/cache/mem_cache_store.rb
123
114
  - lib/active_support/cache/memory_store.rb
124
115
  - lib/active_support/cache/null_store.rb
125
116
  - lib/active_support/cache/strategy/local_cache.rb
126
117
  - lib/active_support/cache/strategy/local_cache_middleware.rb
127
- - lib/active_support/cache.rb
128
118
  - lib/active_support/callbacks.rb
129
119
  - lib/active_support/concern.rb
130
120
  - lib/active_support/concurrency/latch.rb
131
121
  - lib/active_support/configurable.rb
122
+ - lib/active_support/core_ext.rb
123
+ - lib/active_support/core_ext/array.rb
132
124
  - lib/active_support/core_ext/array/access.rb
133
125
  - lib/active_support/core_ext/array/conversions.rb
134
126
  - lib/active_support/core_ext/array/extract_options.rb
135
127
  - lib/active_support/core_ext/array/grouping.rb
136
128
  - lib/active_support/core_ext/array/prepend_and_append.rb
137
129
  - lib/active_support/core_ext/array/wrap.rb
138
- - lib/active_support/core_ext/array.rb
139
130
  - lib/active_support/core_ext/benchmark.rb
131
+ - lib/active_support/core_ext/big_decimal.rb
140
132
  - lib/active_support/core_ext/big_decimal/conversions.rb
141
133
  - lib/active_support/core_ext/big_decimal/yaml_conversions.rb
142
- - lib/active_support/core_ext/big_decimal.rb
134
+ - lib/active_support/core_ext/class.rb
143
135
  - lib/active_support/core_ext/class/attribute.rb
144
136
  - lib/active_support/core_ext/class/attribute_accessors.rb
145
137
  - lib/active_support/core_ext/class/delegating_attributes.rb
146
138
  - lib/active_support/core_ext/class/subclasses.rb
147
- - lib/active_support/core_ext/class.rb
139
+ - lib/active_support/core_ext/date.rb
148
140
  - lib/active_support/core_ext/date/acts_like.rb
149
141
  - lib/active_support/core_ext/date/calculations.rb
150
142
  - lib/active_support/core_ext/date/conversions.rb
151
143
  - lib/active_support/core_ext/date/zones.rb
152
- - lib/active_support/core_ext/date.rb
153
144
  - lib/active_support/core_ext/date_and_time/calculations.rb
154
145
  - lib/active_support/core_ext/date_and_time/zones.rb
146
+ - lib/active_support/core_ext/date_time.rb
155
147
  - lib/active_support/core_ext/date_time/acts_like.rb
156
148
  - lib/active_support/core_ext/date_time/calculations.rb
157
149
  - lib/active_support/core_ext/date_time/conversions.rb
158
150
  - lib/active_support/core_ext/date_time/zones.rb
159
- - lib/active_support/core_ext/date_time.rb
160
151
  - lib/active_support/core_ext/enumerable.rb
161
- - lib/active_support/core_ext/file/atomic.rb
162
152
  - lib/active_support/core_ext/file.rb
153
+ - lib/active_support/core_ext/file/atomic.rb
154
+ - lib/active_support/core_ext/hash.rb
163
155
  - lib/active_support/core_ext/hash/compact.rb
164
156
  - lib/active_support/core_ext/hash/conversions.rb
165
157
  - lib/active_support/core_ext/hash/deep_merge.rb
@@ -168,18 +160,18 @@ files:
168
160
  - lib/active_support/core_ext/hash/keys.rb
169
161
  - lib/active_support/core_ext/hash/reverse_merge.rb
170
162
  - lib/active_support/core_ext/hash/slice.rb
171
- - lib/active_support/core_ext/hash.rb
163
+ - lib/active_support/core_ext/integer.rb
172
164
  - lib/active_support/core_ext/integer/inflections.rb
173
165
  - lib/active_support/core_ext/integer/multiple.rb
174
166
  - lib/active_support/core_ext/integer/time.rb
175
- - lib/active_support/core_ext/integer.rb
167
+ - lib/active_support/core_ext/kernel.rb
176
168
  - lib/active_support/core_ext/kernel/agnostics.rb
177
169
  - lib/active_support/core_ext/kernel/debugger.rb
178
170
  - lib/active_support/core_ext/kernel/reporting.rb
179
171
  - lib/active_support/core_ext/kernel/singleton_class.rb
180
- - lib/active_support/core_ext/kernel.rb
181
172
  - lib/active_support/core_ext/load_error.rb
182
173
  - lib/active_support/core_ext/marshal.rb
174
+ - lib/active_support/core_ext/module.rb
183
175
  - lib/active_support/core_ext/module/aliasing.rb
184
176
  - lib/active_support/core_ext/module/anonymous.rb
185
177
  - lib/active_support/core_ext/module/attr_internal.rb
@@ -192,12 +184,12 @@ files:
192
184
  - lib/active_support/core_ext/module/qualified_const.rb
193
185
  - lib/active_support/core_ext/module/reachable.rb
194
186
  - lib/active_support/core_ext/module/remove_method.rb
195
- - lib/active_support/core_ext/module.rb
196
187
  - lib/active_support/core_ext/name_error.rb
188
+ - lib/active_support/core_ext/numeric.rb
197
189
  - lib/active_support/core_ext/numeric/bytes.rb
198
190
  - lib/active_support/core_ext/numeric/conversions.rb
199
191
  - lib/active_support/core_ext/numeric/time.rb
200
- - lib/active_support/core_ext/numeric.rb
192
+ - lib/active_support/core_ext/object.rb
201
193
  - lib/active_support/core_ext/object/acts_like.rb
202
194
  - lib/active_support/core_ext/object/blank.rb
203
195
  - lib/active_support/core_ext/object/conversions.rb
@@ -211,13 +203,13 @@ files:
211
203
  - lib/active_support/core_ext/object/to_query.rb
212
204
  - lib/active_support/core_ext/object/try.rb
213
205
  - lib/active_support/core_ext/object/with_options.rb
214
- - lib/active_support/core_ext/object.rb
206
+ - lib/active_support/core_ext/range.rb
215
207
  - lib/active_support/core_ext/range/conversions.rb
216
208
  - lib/active_support/core_ext/range/each.rb
217
209
  - lib/active_support/core_ext/range/include_range.rb
218
210
  - lib/active_support/core_ext/range/overlaps.rb
219
- - lib/active_support/core_ext/range.rb
220
211
  - lib/active_support/core_ext/regexp.rb
212
+ - lib/active_support/core_ext/string.rb
221
213
  - lib/active_support/core_ext/string/access.rb
222
214
  - lib/active_support/core_ext/string/behavior.rb
223
215
  - lib/active_support/core_ext/string/conversions.rb
@@ -231,25 +223,23 @@ files:
231
223
  - lib/active_support/core_ext/string/starts_ends_with.rb
232
224
  - lib/active_support/core_ext/string/strip.rb
233
225
  - lib/active_support/core_ext/string/zones.rb
234
- - lib/active_support/core_ext/string.rb
235
226
  - lib/active_support/core_ext/struct.rb
236
227
  - lib/active_support/core_ext/thread.rb
228
+ - lib/active_support/core_ext/time.rb
237
229
  - lib/active_support/core_ext/time/acts_like.rb
238
230
  - lib/active_support/core_ext/time/calculations.rb
239
231
  - lib/active_support/core_ext/time/conversions.rb
240
232
  - lib/active_support/core_ext/time/marshal.rb
241
233
  - lib/active_support/core_ext/time/zones.rb
242
- - lib/active_support/core_ext/time.rb
243
234
  - lib/active_support/core_ext/uri.rb
244
- - lib/active_support/core_ext.rb
245
- - lib/active_support/dependencies/autoload.rb
246
235
  - lib/active_support/dependencies.rb
236
+ - lib/active_support/dependencies/autoload.rb
237
+ - lib/active_support/deprecation.rb
247
238
  - lib/active_support/deprecation/behaviors.rb
248
239
  - lib/active_support/deprecation/instance_delegator.rb
249
240
  - lib/active_support/deprecation/method_wrappers.rb
250
241
  - lib/active_support/deprecation/proxy_wrappers.rb
251
242
  - lib/active_support/deprecation/reporting.rb
252
- - lib/active_support/deprecation.rb
253
243
  - lib/active_support/descendants_tracker.rb
254
244
  - lib/active_support/duration.rb
255
245
  - lib/active_support/file_update_checker.rb
@@ -260,28 +250,29 @@ files:
260
250
  - lib/active_support/i18n.rb
261
251
  - lib/active_support/i18n_railtie.rb
262
252
  - lib/active_support/inflections.rb
253
+ - lib/active_support/inflector.rb
263
254
  - lib/active_support/inflector/inflections.rb
264
255
  - lib/active_support/inflector/methods.rb
265
256
  - lib/active_support/inflector/transliterate.rb
266
- - lib/active_support/inflector.rb
257
+ - lib/active_support/json.rb
267
258
  - lib/active_support/json/decoding.rb
268
259
  - lib/active_support/json/encoding.rb
269
- - lib/active_support/json.rb
270
260
  - lib/active_support/key_generator.rb
271
261
  - lib/active_support/lazy_load_hooks.rb
272
262
  - lib/active_support/locale/en.yml
273
- - lib/active_support/log_subscriber/test_helper.rb
274
263
  - lib/active_support/log_subscriber.rb
264
+ - lib/active_support/log_subscriber/test_helper.rb
275
265
  - lib/active_support/logger.rb
276
266
  - lib/active_support/logger_silence.rb
277
267
  - lib/active_support/message_encryptor.rb
278
268
  - lib/active_support/message_verifier.rb
269
+ - lib/active_support/multibyte.rb
279
270
  - lib/active_support/multibyte/chars.rb
280
271
  - lib/active_support/multibyte/unicode.rb
281
- - lib/active_support/multibyte.rb
272
+ - lib/active_support/notifications.rb
282
273
  - lib/active_support/notifications/fanout.rb
283
274
  - lib/active_support/notifications/instrumenter.rb
284
- - lib/active_support/notifications.rb
275
+ - lib/active_support/number_helper.rb
285
276
  - lib/active_support/number_helper/number_converter.rb
286
277
  - lib/active_support/number_helper/number_to_currency_converter.rb
287
278
  - lib/active_support/number_helper/number_to_delimited_converter.rb
@@ -290,7 +281,6 @@ files:
290
281
  - lib/active_support/number_helper/number_to_percentage_converter.rb
291
282
  - lib/active_support/number_helper/number_to_phone_converter.rb
292
283
  - lib/active_support/number_helper/number_to_rounded_converter.rb
293
- - lib/active_support/number_helper.rb
294
284
  - lib/active_support/option_merger.rb
295
285
  - lib/active_support/ordered_hash.rb
296
286
  - lib/active_support/ordered_options.rb
@@ -317,40 +307,38 @@ files:
317
307
  - lib/active_support/values/time_zone.rb
318
308
  - lib/active_support/values/unicode_tables.dat
319
309
  - lib/active_support/version.rb
310
+ - lib/active_support/xml_mini.rb
320
311
  - lib/active_support/xml_mini/jdom.rb
321
312
  - lib/active_support/xml_mini/libxml.rb
322
313
  - lib/active_support/xml_mini/libxmlsax.rb
323
314
  - lib/active_support/xml_mini/nokogiri.rb
324
315
  - lib/active_support/xml_mini/nokogirisax.rb
325
316
  - lib/active_support/xml_mini/rexml.rb
326
- - lib/active_support/xml_mini.rb
327
- - lib/active_support.rb
328
317
  homepage: http://www.rubyonrails.org
329
318
  licenses:
330
319
  - MIT
320
+ metadata: {}
331
321
  post_install_message:
332
322
  rdoc_options:
333
- - --encoding
323
+ - "--encoding"
334
324
  - UTF-8
335
325
  require_paths:
336
326
  - lib
337
327
  required_ruby_version: !ruby/object:Gem::Requirement
338
- none: false
339
328
  requirements:
340
- - - ! '>='
329
+ - - ">="
341
330
  - !ruby/object:Gem::Version
342
331
  version: 1.9.3
343
332
  required_rubygems_version: !ruby/object:Gem::Requirement
344
- none: false
345
333
  requirements:
346
- - - ! '>='
334
+ - - ">"
347
335
  - !ruby/object:Gem::Version
348
- version: '0'
336
+ version: 1.3.1
349
337
  requirements: []
350
338
  rubyforge_project:
351
- rubygems_version: 1.8.23.2
339
+ rubygems_version: 2.2.2
352
340
  signing_key:
353
- specification_version: 3
341
+ specification_version: 4
354
342
  summary: A toolkit of support libraries and Ruby core extensions extracted from the
355
343
  Rails framework.
356
344
  test_files: []