activesupport 3.2.7 → 3.2.8.rc1
Sign up to get free protection for your applications and to get access to all the features.
Potentially problematic release.
This version of activesupport might be problematic. Click here for more details.
- data/CHANGELOG.md +15 -7
- data/lib/active_support/json/variable.rb +1 -9
- data/lib/active_support/version.rb +2 -2
- metadata +6 -6
data/CHANGELOG.md
CHANGED
@@ -1,12 +1,20 @@
|
|
1
|
-
## Rails 3.2.
|
1
|
+
## Rails 3.2.8 ##
|
2
2
|
|
3
|
-
*
|
4
|
-
* adds a missing require [fixes #6896]
|
5
|
-
* make sure the inflection rules are loaded when cherry-picking active_support/core_ext/string/inflections.rb [fixes #6884]
|
6
|
-
* Merge pull request #6857 from rsutphin/as_core_ext_time_missing_require
|
7
|
-
* bump AS deprecation_horizon to 4.0
|
3
|
+
* Reverted the deprecation of ActiveSupport::JSON::Variable. *Rafael Mendonça França*
|
8
4
|
|
9
|
-
## Rails 3.2.
|
5
|
+
## Rails 3.2.7 (Jul 26, 2012) ##
|
6
|
+
|
7
|
+
* Hash#fetch(fetch) is not the same as doing hash[key]
|
8
|
+
|
9
|
+
* adds a missing require [fixes #6896]
|
10
|
+
|
11
|
+
* make sure the inflection rules are loaded when cherry-picking active_support/core_ext/string/inflections.rb [fixes #6884]
|
12
|
+
|
13
|
+
* Merge pull request #6857 from rsutphin/as_core_ext_time_missing_require
|
14
|
+
|
15
|
+
* bump AS deprecation_horizon to 4.0
|
16
|
+
|
17
|
+
## Rails 3.2.6 (Jun 12, 2012) ##
|
10
18
|
|
11
19
|
* No changes.
|
12
20
|
|
@@ -1,15 +1,7 @@
|
|
1
|
-
require 'active_support/deprecation'
|
2
|
-
|
3
1
|
module ActiveSupport
|
4
2
|
module JSON
|
5
|
-
#
|
3
|
+
# A string that returns itself as its JSON-encoded form.
|
6
4
|
class Variable < String
|
7
|
-
def initialize(*args)
|
8
|
-
ActiveSupport::Deprecation.warn 'ActiveSupport::JSON::Variable is deprecated and will be removed in Rails 4.0. ' \
|
9
|
-
'For your own custom JSON literals, define #as_json and #encode_json yourself.'
|
10
|
-
super
|
11
|
-
end
|
12
|
-
|
13
5
|
def as_json(options = nil) self end #:nodoc:
|
14
6
|
def encode_json(encoder) self end #:nodoc:
|
15
7
|
end
|
metadata
CHANGED
@@ -1,15 +1,15 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: activesupport
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 3.2.
|
5
|
-
prerelease:
|
4
|
+
version: 3.2.8.rc1
|
5
|
+
prerelease: 6
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
8
8
|
- David Heinemeier Hansson
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2012-
|
12
|
+
date: 2012-08-01 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: i18n
|
@@ -281,12 +281,12 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
281
281
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
282
282
|
none: false
|
283
283
|
requirements:
|
284
|
-
- - ! '
|
284
|
+
- - ! '>'
|
285
285
|
- !ruby/object:Gem::Version
|
286
|
-
version:
|
286
|
+
version: 1.3.1
|
287
287
|
requirements: []
|
288
288
|
rubyforge_project:
|
289
|
-
rubygems_version: 1.8.
|
289
|
+
rubygems_version: 1.8.24
|
290
290
|
signing_key:
|
291
291
|
specification_version: 3
|
292
292
|
summary: A toolkit of support libraries and Ruby core extensions extracted from the
|