activeresource 3.2.13 → 3.2.14.rc1
Sign up to get free protection for your applications and to get access to all the features.
Potentially problematic release.
This version of activeresource might be problematic. Click here for more details.
- data/CHANGELOG.md +7 -3
- data/lib/active_resource/base.rb +1 -1
- data/lib/active_resource/version.rb +2 -2
- metadata +83 -49
- checksums.yaml +0 -7
data/CHANGELOG.md
CHANGED
@@ -1,12 +1,16 @@
|
|
1
|
-
##
|
1
|
+
## Rails 3.2.14.rc1 (Jul 8, 2013) ##
|
2
2
|
|
3
|
-
*
|
3
|
+
* Fixes an issue that ActiveResource models ignores ActiveResource::Base.include_root_in_json.
|
4
|
+
Backported from the now separate repo rails/activeresouce.
|
5
|
+
|
6
|
+
*Xinjiang Lu*
|
4
7
|
|
5
8
|
|
6
|
-
## Rails 3.2.13 (
|
9
|
+
## Rails 3.2.13 (Mar 18, 2013) ##
|
7
10
|
|
8
11
|
* No changes.
|
9
12
|
|
13
|
+
|
10
14
|
## Rails 3.2.12 (Feb 11, 2013) ##
|
11
15
|
|
12
16
|
* No changes.
|
data/lib/active_resource/base.rb
CHANGED
@@ -1336,7 +1336,7 @@ module ActiveResource
|
|
1336
1336
|
end
|
1337
1337
|
|
1338
1338
|
def to_json(options={})
|
1339
|
-
super({ :root => self.class.element_name }.merge(options))
|
1339
|
+
super(include_root_in_json ? { :root => self.class.element_name }.merge(options) : options)
|
1340
1340
|
end
|
1341
1341
|
|
1342
1342
|
def to_xml(options={})
|
metadata
CHANGED
@@ -1,51 +1,70 @@
|
|
1
|
-
--- !ruby/object:Gem::Specification
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
2
|
name: activeresource
|
3
|
-
version: !ruby/object:Gem::Version
|
4
|
-
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
hash: -1462124728
|
5
|
+
prerelease: 7
|
6
|
+
segments:
|
7
|
+
- 3
|
8
|
+
- 2
|
9
|
+
- 14
|
10
|
+
- rc
|
11
|
+
- 1
|
12
|
+
version: 3.2.14.rc1
|
5
13
|
platform: ruby
|
6
|
-
authors:
|
14
|
+
authors:
|
7
15
|
- David Heinemeier Hansson
|
8
16
|
autorequire:
|
9
17
|
bindir: bin
|
10
18
|
cert_chain: []
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
|
19
|
+
|
20
|
+
date: 2013-07-12 00:00:00 -03:00
|
21
|
+
default_executable:
|
22
|
+
dependencies:
|
23
|
+
- !ruby/object:Gem::Dependency
|
24
|
+
requirement: &id001 !ruby/object:Gem::Requirement
|
25
|
+
none: false
|
26
|
+
requirements:
|
27
|
+
- - "="
|
28
|
+
- !ruby/object:Gem::Version
|
29
|
+
hash: -1462124728
|
30
|
+
segments:
|
31
|
+
- 3
|
32
|
+
- 2
|
33
|
+
- 14
|
34
|
+
- rc
|
35
|
+
- 1
|
36
|
+
version: 3.2.14.rc1
|
20
37
|
type: :runtime
|
38
|
+
name: activesupport
|
39
|
+
version_requirements: *id001
|
21
40
|
prerelease: false
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
|
27
|
-
- !ruby/object:Gem::
|
28
|
-
|
29
|
-
|
30
|
-
|
31
|
-
|
32
|
-
|
33
|
-
|
41
|
+
- !ruby/object:Gem::Dependency
|
42
|
+
requirement: &id002 !ruby/object:Gem::Requirement
|
43
|
+
none: false
|
44
|
+
requirements:
|
45
|
+
- - "="
|
46
|
+
- !ruby/object:Gem::Version
|
47
|
+
hash: -1462124728
|
48
|
+
segments:
|
49
|
+
- 3
|
50
|
+
- 2
|
51
|
+
- 14
|
52
|
+
- rc
|
53
|
+
- 1
|
54
|
+
version: 3.2.14.rc1
|
34
55
|
type: :runtime
|
56
|
+
name: activemodel
|
57
|
+
version_requirements: *id002
|
35
58
|
prerelease: false
|
36
|
-
|
37
|
-
requirements:
|
38
|
-
- - '='
|
39
|
-
- !ruby/object:Gem::Version
|
40
|
-
version: 3.2.13
|
41
|
-
description: REST on Rails. Wrap your RESTful web app with Ruby classes and work with
|
42
|
-
them like Active Record models.
|
59
|
+
description: REST on Rails. Wrap your RESTful web app with Ruby classes and work with them like Active Record models.
|
43
60
|
email: david@loudthinking.com
|
44
61
|
executables: []
|
62
|
+
|
45
63
|
extensions: []
|
46
|
-
|
64
|
+
|
65
|
+
extra_rdoc_files:
|
47
66
|
- README.rdoc
|
48
|
-
files:
|
67
|
+
files:
|
49
68
|
- CHANGELOG.md
|
50
69
|
- MIT-LICENSE
|
51
70
|
- README.rdoc
|
@@ -65,29 +84,44 @@ files:
|
|
65
84
|
- lib/active_resource/validations.rb
|
66
85
|
- lib/active_resource/version.rb
|
67
86
|
- lib/active_resource.rb
|
87
|
+
has_rdoc: true
|
68
88
|
homepage: http://www.rubyonrails.org
|
69
|
-
licenses:
|
70
|
-
|
89
|
+
licenses:
|
90
|
+
- MIT
|
71
91
|
post_install_message:
|
72
|
-
rdoc_options:
|
92
|
+
rdoc_options:
|
73
93
|
- --main
|
74
94
|
- README.rdoc
|
75
|
-
require_paths:
|
95
|
+
require_paths:
|
76
96
|
- lib
|
77
|
-
required_ruby_version: !ruby/object:Gem::Requirement
|
78
|
-
|
79
|
-
|
80
|
-
|
97
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
98
|
+
none: false
|
99
|
+
requirements:
|
100
|
+
- - ">="
|
101
|
+
- !ruby/object:Gem::Version
|
102
|
+
hash: 57
|
103
|
+
segments:
|
104
|
+
- 1
|
105
|
+
- 8
|
106
|
+
- 7
|
81
107
|
version: 1.8.7
|
82
|
-
required_rubygems_version: !ruby/object:Gem::Requirement
|
83
|
-
|
84
|
-
|
85
|
-
|
86
|
-
|
108
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
109
|
+
none: false
|
110
|
+
requirements:
|
111
|
+
- - ">"
|
112
|
+
- !ruby/object:Gem::Version
|
113
|
+
hash: 25
|
114
|
+
segments:
|
115
|
+
- 1
|
116
|
+
- 3
|
117
|
+
- 1
|
118
|
+
version: 1.3.1
|
87
119
|
requirements: []
|
120
|
+
|
88
121
|
rubyforge_project:
|
89
|
-
rubygems_version:
|
122
|
+
rubygems_version: 1.6.2
|
90
123
|
signing_key:
|
91
|
-
specification_version:
|
124
|
+
specification_version: 3
|
92
125
|
summary: REST modeling framework (part of Rails).
|
93
126
|
test_files: []
|
127
|
+
|
checksums.yaml
DELETED
@@ -1,7 +0,0 @@
|
|
1
|
-
---
|
2
|
-
SHA1:
|
3
|
-
metadata.gz: 97a4ae3e34c1b59ff58321504b32c8f551580a9c
|
4
|
-
data.tar.gz: 1970e11830395558ebc009ec094197fa730a37f4
|
5
|
-
SHA512:
|
6
|
-
metadata.gz: 0944d8b1232908889bdf998d4f6170f4655183cc93231105eab24dd83a7661cc4087b32a241ee2a000dd7293d3bc9df775ca52102ca8f0163e076b9fbe10ed60
|
7
|
-
data.tar.gz: 1b47257aba218041671f942b1d3132f43df5e81cd05a9314799640e8d05e701de7b1b78c8d0c23426cf508a1d586cabd60c50390cd19dfa9f0aad0cbee2562c5
|