activeresource-five 5.0.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/README.rdoc +249 -0
- data/lib/active_resource.rb +44 -0
- data/lib/active_resource/associations.rb +175 -0
- data/lib/active_resource/associations/builder/association.rb +32 -0
- data/lib/active_resource/associations/builder/belongs_to.rb +14 -0
- data/lib/active_resource/associations/builder/has_many.rb +12 -0
- data/lib/active_resource/associations/builder/has_one.rb +12 -0
- data/lib/active_resource/base.rb +1626 -0
- data/lib/active_resource/callbacks.rb +20 -0
- data/lib/active_resource/collection.rb +92 -0
- data/lib/active_resource/connection.rb +299 -0
- data/lib/active_resource/custom_methods.rb +127 -0
- data/lib/active_resource/exceptions.rb +82 -0
- data/lib/active_resource/formats.rb +22 -0
- data/lib/active_resource/formats/json_format.rb +25 -0
- data/lib/active_resource/formats/xml_format.rb +25 -0
- data/lib/active_resource/http_mock.rb +375 -0
- data/lib/active_resource/log_subscriber.rb +15 -0
- data/lib/active_resource/observing.rb +0 -0
- data/lib/active_resource/railtie.rb +15 -0
- data/lib/active_resource/reflection.rb +77 -0
- data/lib/active_resource/schema.rb +57 -0
- data/lib/active_resource/singleton.rb +114 -0
- data/lib/active_resource/threadsafe_attributes.rb +65 -0
- data/lib/active_resource/validations.rb +174 -0
- data/lib/active_resource/version.rb +10 -0
- data/lib/activeresource.rb +1 -0
- metadata +156 -0
@@ -0,0 +1 @@
|
|
1
|
+
require 'active_resource'
|
metadata
ADDED
@@ -0,0 +1,156 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: activeresource-five
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 5.0.0
|
5
|
+
platform: ruby
|
6
|
+
authors:
|
7
|
+
- David Heinemeier Hansson
|
8
|
+
autorequire:
|
9
|
+
bindir: bin
|
10
|
+
cert_chain: []
|
11
|
+
date: 2017-04-29 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: '4.2'
|
20
|
+
- - "<"
|
21
|
+
- !ruby/object:Gem::Version
|
22
|
+
version: '6'
|
23
|
+
type: :runtime
|
24
|
+
prerelease: false
|
25
|
+
version_requirements: !ruby/object:Gem::Requirement
|
26
|
+
requirements:
|
27
|
+
- - ">"
|
28
|
+
- !ruby/object:Gem::Version
|
29
|
+
version: '4.2'
|
30
|
+
- - "<"
|
31
|
+
- !ruby/object:Gem::Version
|
32
|
+
version: '6'
|
33
|
+
- !ruby/object:Gem::Dependency
|
34
|
+
name: activemodel
|
35
|
+
requirement: !ruby/object:Gem::Requirement
|
36
|
+
requirements:
|
37
|
+
- - ">"
|
38
|
+
- !ruby/object:Gem::Version
|
39
|
+
version: '4.2'
|
40
|
+
- - "<"
|
41
|
+
- !ruby/object:Gem::Version
|
42
|
+
version: '6'
|
43
|
+
type: :runtime
|
44
|
+
prerelease: false
|
45
|
+
version_requirements: !ruby/object:Gem::Requirement
|
46
|
+
requirements:
|
47
|
+
- - ">"
|
48
|
+
- !ruby/object:Gem::Version
|
49
|
+
version: '4.2'
|
50
|
+
- - "<"
|
51
|
+
- !ruby/object:Gem::Version
|
52
|
+
version: '6'
|
53
|
+
- !ruby/object:Gem::Dependency
|
54
|
+
name: activemodel-serializers-xml
|
55
|
+
requirement: !ruby/object:Gem::Requirement
|
56
|
+
requirements:
|
57
|
+
- - "~>"
|
58
|
+
- !ruby/object:Gem::Version
|
59
|
+
version: '1.0'
|
60
|
+
type: :runtime
|
61
|
+
prerelease: false
|
62
|
+
version_requirements: !ruby/object:Gem::Requirement
|
63
|
+
requirements:
|
64
|
+
- - "~>"
|
65
|
+
- !ruby/object:Gem::Version
|
66
|
+
version: '1.0'
|
67
|
+
- !ruby/object:Gem::Dependency
|
68
|
+
name: rake
|
69
|
+
requirement: !ruby/object:Gem::Requirement
|
70
|
+
requirements:
|
71
|
+
- - ">="
|
72
|
+
- !ruby/object:Gem::Version
|
73
|
+
version: '0'
|
74
|
+
type: :development
|
75
|
+
prerelease: false
|
76
|
+
version_requirements: !ruby/object:Gem::Requirement
|
77
|
+
requirements:
|
78
|
+
- - ">="
|
79
|
+
- !ruby/object:Gem::Version
|
80
|
+
version: '0'
|
81
|
+
- !ruby/object:Gem::Dependency
|
82
|
+
name: mocha
|
83
|
+
requirement: !ruby/object:Gem::Requirement
|
84
|
+
requirements:
|
85
|
+
- - ">="
|
86
|
+
- !ruby/object:Gem::Version
|
87
|
+
version: 0.13.0
|
88
|
+
type: :development
|
89
|
+
prerelease: false
|
90
|
+
version_requirements: !ruby/object:Gem::Requirement
|
91
|
+
requirements:
|
92
|
+
- - ">="
|
93
|
+
- !ruby/object:Gem::Version
|
94
|
+
version: 0.13.0
|
95
|
+
description: REST on Rails. Wrap your RESTful web app with Ruby classes and work with
|
96
|
+
them like Active Record models.
|
97
|
+
email: david@loudthinking.com
|
98
|
+
executables: []
|
99
|
+
extensions: []
|
100
|
+
extra_rdoc_files:
|
101
|
+
- README.rdoc
|
102
|
+
files:
|
103
|
+
- README.rdoc
|
104
|
+
- lib/active_resource.rb
|
105
|
+
- lib/active_resource/associations.rb
|
106
|
+
- lib/active_resource/associations/builder/association.rb
|
107
|
+
- lib/active_resource/associations/builder/belongs_to.rb
|
108
|
+
- lib/active_resource/associations/builder/has_many.rb
|
109
|
+
- lib/active_resource/associations/builder/has_one.rb
|
110
|
+
- lib/active_resource/base.rb
|
111
|
+
- lib/active_resource/callbacks.rb
|
112
|
+
- lib/active_resource/collection.rb
|
113
|
+
- lib/active_resource/connection.rb
|
114
|
+
- lib/active_resource/custom_methods.rb
|
115
|
+
- lib/active_resource/exceptions.rb
|
116
|
+
- lib/active_resource/formats.rb
|
117
|
+
- lib/active_resource/formats/json_format.rb
|
118
|
+
- lib/active_resource/formats/xml_format.rb
|
119
|
+
- lib/active_resource/http_mock.rb
|
120
|
+
- lib/active_resource/log_subscriber.rb
|
121
|
+
- lib/active_resource/observing.rb
|
122
|
+
- lib/active_resource/railtie.rb
|
123
|
+
- lib/active_resource/reflection.rb
|
124
|
+
- lib/active_resource/schema.rb
|
125
|
+
- lib/active_resource/singleton.rb
|
126
|
+
- lib/active_resource/threadsafe_attributes.rb
|
127
|
+
- lib/active_resource/validations.rb
|
128
|
+
- lib/active_resource/version.rb
|
129
|
+
- lib/activeresource.rb
|
130
|
+
homepage: http://www.rubyonrails.org
|
131
|
+
licenses:
|
132
|
+
- MIT
|
133
|
+
metadata: {}
|
134
|
+
post_install_message:
|
135
|
+
rdoc_options:
|
136
|
+
- "--main"
|
137
|
+
- README.rdoc
|
138
|
+
require_paths:
|
139
|
+
- lib
|
140
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
141
|
+
requirements:
|
142
|
+
- - ">="
|
143
|
+
- !ruby/object:Gem::Version
|
144
|
+
version: 2.2.2
|
145
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
146
|
+
requirements:
|
147
|
+
- - ">="
|
148
|
+
- !ruby/object:Gem::Version
|
149
|
+
version: '0'
|
150
|
+
requirements: []
|
151
|
+
rubyforge_project:
|
152
|
+
rubygems_version: 2.4.8
|
153
|
+
signing_key:
|
154
|
+
specification_version: 4
|
155
|
+
summary: REST modeling framework (part of Rails).
|
156
|
+
test_files: []
|