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 CHANGED
@@ -1,12 +1,16 @@
1
- ## unreleased ##
1
+ ## Rails 3.2.14.rc1 (Jul 8, 2013) ##
2
2
 
3
- * No changes.
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 (Feb 17, 2013) ##
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.
@@ -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={})
@@ -2,8 +2,8 @@ module ActiveResource
2
2
  module VERSION #:nodoc:
3
3
  MAJOR = 3
4
4
  MINOR = 2
5
- TINY = 13
6
- PRE = nil
5
+ TINY = 14
6
+ PRE = "rc1"
7
7
 
8
8
  STRING = [MAJOR, MINOR, TINY, PRE].compact.join('.')
9
9
  end
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
- version: 3.2.13
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
- date: 2013-03-18 00:00:00.000000000 Z
12
- dependencies:
13
- - !ruby/object:Gem::Dependency
14
- name: activesupport
15
- requirement: !ruby/object:Gem::Requirement
16
- requirements:
17
- - - '='
18
- - !ruby/object:Gem::Version
19
- version: 3.2.13
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
- version_requirements: !ruby/object:Gem::Requirement
23
- requirements:
24
- - - '='
25
- - !ruby/object:Gem::Version
26
- version: 3.2.13
27
- - !ruby/object:Gem::Dependency
28
- name: activemodel
29
- requirement: !ruby/object:Gem::Requirement
30
- requirements:
31
- - - '='
32
- - !ruby/object:Gem::Version
33
- version: 3.2.13
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
- version_requirements: !ruby/object:Gem::Requirement
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
- extra_rdoc_files:
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
- metadata: {}
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
- requirements:
79
- - - '>='
80
- - !ruby/object:Gem::Version
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
- requirements:
84
- - - '>='
85
- - !ruby/object:Gem::Version
86
- version: '0'
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: 2.0.2
122
+ rubygems_version: 1.6.2
90
123
  signing_key:
91
- specification_version: 4
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