activeresource 3.2.0 → 3.2.1
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 +5 -0
- data/lib/active_resource/validations.rb +1 -1
- data/lib/active_resource/version.rb +1 -1
- metadata +77 -47
data/CHANGELOG.md
CHANGED
@@ -41,7 +41,7 @@ module ActiveResource
|
|
41
41
|
# Module to support validation and errors with Active Resource objects. The module overrides
|
42
42
|
# Base#save to rescue ActiveResource::ResourceInvalid exceptions and parse the errors returned
|
43
43
|
# in the web service response. The module also adds an +errors+ collection that mimics the interface
|
44
|
-
# of the errors provided by
|
44
|
+
# of the errors provided by ActiveModel::Errors.
|
45
45
|
#
|
46
46
|
# ==== Example
|
47
47
|
#
|
metadata
CHANGED
@@ -1,89 +1,119 @@
|
|
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: 13
|
5
5
|
prerelease:
|
6
|
+
segments:
|
7
|
+
- 3
|
8
|
+
- 2
|
9
|
+
- 1
|
10
|
+
version: 3.2.1
|
6
11
|
platform: ruby
|
7
|
-
authors:
|
12
|
+
authors:
|
8
13
|
- David Heinemeier Hansson
|
9
14
|
autorequire:
|
10
15
|
bindir: bin
|
11
16
|
cert_chain: []
|
12
|
-
|
13
|
-
|
14
|
-
|
17
|
+
|
18
|
+
date: 2012-01-26 00:00:00 -08:00
|
19
|
+
default_executable:
|
20
|
+
dependencies:
|
21
|
+
- !ruby/object:Gem::Dependency
|
15
22
|
name: activesupport
|
16
|
-
|
23
|
+
prerelease: false
|
24
|
+
requirement: &id001 !ruby/object:Gem::Requirement
|
17
25
|
none: false
|
18
|
-
requirements:
|
19
|
-
- - =
|
20
|
-
- !ruby/object:Gem::Version
|
21
|
-
|
26
|
+
requirements:
|
27
|
+
- - "="
|
28
|
+
- !ruby/object:Gem::Version
|
29
|
+
hash: 13
|
30
|
+
segments:
|
31
|
+
- 3
|
32
|
+
- 2
|
33
|
+
- 1
|
34
|
+
version: 3.2.1
|
22
35
|
type: :runtime
|
23
|
-
|
24
|
-
|
25
|
-
- !ruby/object:Gem::Dependency
|
36
|
+
version_requirements: *id001
|
37
|
+
- !ruby/object:Gem::Dependency
|
26
38
|
name: activemodel
|
27
|
-
|
39
|
+
prerelease: false
|
40
|
+
requirement: &id002 !ruby/object:Gem::Requirement
|
28
41
|
none: false
|
29
|
-
requirements:
|
30
|
-
- - =
|
31
|
-
- !ruby/object:Gem::Version
|
32
|
-
|
42
|
+
requirements:
|
43
|
+
- - "="
|
44
|
+
- !ruby/object:Gem::Version
|
45
|
+
hash: 13
|
46
|
+
segments:
|
47
|
+
- 3
|
48
|
+
- 2
|
49
|
+
- 1
|
50
|
+
version: 3.2.1
|
33
51
|
type: :runtime
|
34
|
-
|
35
|
-
|
36
|
-
description: REST on Rails. Wrap your RESTful web app with Ruby classes and work with
|
37
|
-
them like Active Record models.
|
52
|
+
version_requirements: *id002
|
53
|
+
description: REST on Rails. Wrap your RESTful web app with Ruby classes and work with them like Active Record models.
|
38
54
|
email: david@loudthinking.com
|
39
55
|
executables: []
|
56
|
+
|
40
57
|
extensions: []
|
41
|
-
|
58
|
+
|
59
|
+
extra_rdoc_files:
|
42
60
|
- README.rdoc
|
43
|
-
files:
|
61
|
+
files:
|
44
62
|
- CHANGELOG.md
|
45
63
|
- MIT-LICENSE
|
46
64
|
- README.rdoc
|
47
65
|
- examples/performance.rb
|
48
|
-
- lib/active_resource
|
49
|
-
- lib/active_resource/
|
66
|
+
- lib/active_resource.rb
|
67
|
+
- lib/active_resource/railtie.rb
|
50
68
|
- lib/active_resource/custom_methods.rb
|
51
69
|
- lib/active_resource/exceptions.rb
|
52
|
-
- lib/active_resource/formats/json_format.rb
|
53
|
-
- lib/active_resource/formats/xml_format.rb
|
54
70
|
- lib/active_resource/formats.rb
|
55
|
-
- lib/active_resource/http_mock.rb
|
56
|
-
- lib/active_resource/log_subscriber.rb
|
57
|
-
- lib/active_resource/observing.rb
|
58
|
-
- lib/active_resource/railtie.rb
|
59
71
|
- lib/active_resource/schema.rb
|
72
|
+
- lib/active_resource/formats/xml_format.rb
|
73
|
+
- lib/active_resource/formats/json_format.rb
|
74
|
+
- lib/active_resource/base.rb
|
75
|
+
- lib/active_resource/observing.rb
|
76
|
+
- lib/active_resource/http_mock.rb
|
60
77
|
- lib/active_resource/validations.rb
|
61
78
|
- lib/active_resource/version.rb
|
62
|
-
- lib/active_resource.rb
|
79
|
+
- lib/active_resource/connection.rb
|
80
|
+
- lib/active_resource/log_subscriber.rb
|
81
|
+
has_rdoc: true
|
63
82
|
homepage: http://www.rubyonrails.org
|
64
83
|
licenses: []
|
84
|
+
|
65
85
|
post_install_message:
|
66
|
-
rdoc_options:
|
86
|
+
rdoc_options:
|
67
87
|
- --main
|
68
88
|
- README.rdoc
|
69
|
-
require_paths:
|
89
|
+
require_paths:
|
70
90
|
- lib
|
71
|
-
required_ruby_version: !ruby/object:Gem::Requirement
|
91
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
72
92
|
none: false
|
73
|
-
requirements:
|
74
|
-
- -
|
75
|
-
- !ruby/object:Gem::Version
|
93
|
+
requirements:
|
94
|
+
- - ">="
|
95
|
+
- !ruby/object:Gem::Version
|
96
|
+
hash: 57
|
97
|
+
segments:
|
98
|
+
- 1
|
99
|
+
- 8
|
100
|
+
- 7
|
76
101
|
version: 1.8.7
|
77
|
-
required_rubygems_version: !ruby/object:Gem::Requirement
|
102
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
78
103
|
none: false
|
79
|
-
requirements:
|
80
|
-
- -
|
81
|
-
- !ruby/object:Gem::Version
|
82
|
-
|
104
|
+
requirements:
|
105
|
+
- - ">="
|
106
|
+
- !ruby/object:Gem::Version
|
107
|
+
hash: 3
|
108
|
+
segments:
|
109
|
+
- 0
|
110
|
+
version: "0"
|
83
111
|
requirements: []
|
112
|
+
|
84
113
|
rubyforge_project:
|
85
|
-
rubygems_version: 1.
|
114
|
+
rubygems_version: 1.6.2
|
86
115
|
signing_key:
|
87
116
|
specification_version: 3
|
88
117
|
summary: REST modeling framework (part of Rails).
|
89
118
|
test_files: []
|
119
|
+
|