apify 0.5.1 → 0.5.2
Sign up to get free protection for your applications and to get access to all the features.
- data/VERSION +1 -1
- data/apify.gemspec +15 -14
- data/rails/init.rb +1 -0
- metadata +15 -25
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.5.
|
1
|
+
0.5.2
|
data/apify.gemspec
CHANGED
@@ -5,11 +5,11 @@
|
|
5
5
|
|
6
6
|
Gem::Specification.new do |s|
|
7
7
|
s.name = %q{apify}
|
8
|
-
s.version = "0.5.
|
8
|
+
s.version = "0.5.2"
|
9
9
|
|
10
10
|
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
|
11
11
|
s.authors = ["Henning Koch"]
|
12
|
-
s.date = %q{
|
12
|
+
s.date = %q{2011-01-24}
|
13
13
|
s.description = %q{Compact definition of JSON APIs for Rails applications. }
|
14
14
|
s.email = %q{github@makandra.de}
|
15
15
|
s.extra_rdoc_files = [
|
@@ -83,6 +83,7 @@ Gem::Specification.new do |s|
|
|
83
83
|
"lib/apify/exchange.rb",
|
84
84
|
"lib/apify/patterns.rb",
|
85
85
|
"lib/apify/schema_helper.rb",
|
86
|
+
"rails/init.rb",
|
86
87
|
"spec/apify/action_spec.rb",
|
87
88
|
"spec/apify/client_spec.rb",
|
88
89
|
"spec/app_root/app/controllers/api_controller.rb",
|
@@ -108,44 +109,44 @@ Gem::Specification.new do |s|
|
|
108
109
|
s.homepage = %q{http://github.com/makandra/apify}
|
109
110
|
s.rdoc_options = ["--charset=UTF-8"]
|
110
111
|
s.require_paths = ["lib"]
|
111
|
-
s.rubygems_version = %q{1.3.
|
112
|
+
s.rubygems_version = %q{1.3.6}
|
112
113
|
s.summary = %q{Compact definition of JSON APIs for Rails applications.}
|
113
114
|
s.test_files = [
|
114
115
|
"spec/apify/action_spec.rb",
|
115
116
|
"spec/apify/client_spec.rb",
|
116
|
-
"spec/spec_helper.rb",
|
117
117
|
"spec/app_root/app/controllers/api_controller.rb",
|
118
118
|
"spec/app_root/app/controllers/application_controller.rb",
|
119
119
|
"spec/app_root/app/models/api.rb",
|
120
|
-
"spec/app_root/
|
120
|
+
"spec/app_root/config/boot.rb",
|
121
|
+
"spec/app_root/config/environment.rb",
|
121
122
|
"spec/app_root/config/environments/in_memory.rb",
|
122
123
|
"spec/app_root/config/environments/mysql.rb",
|
123
124
|
"spec/app_root/config/environments/postgresql.rb",
|
124
125
|
"spec/app_root/config/environments/sqlite.rb",
|
125
126
|
"spec/app_root/config/environments/sqlite3.rb",
|
126
|
-
"spec/app_root/config/boot.rb",
|
127
|
-
"spec/app_root/config/environment.rb",
|
128
127
|
"spec/app_root/config/routes.rb",
|
128
|
+
"spec/app_root/lib/console_with_fixtures.rb",
|
129
129
|
"spec/controllers/api_controller_spec.rb",
|
130
130
|
"spec/models/api_spec.rb",
|
131
|
+
"spec/spec_helper.rb",
|
131
132
|
"examples/client/client.rb",
|
132
|
-
"examples/host/app/controllers/application_controller.rb",
|
133
133
|
"examples/host/app/controllers/api_controller.rb",
|
134
|
-
"examples/host/app/
|
134
|
+
"examples/host/app/controllers/application_controller.rb",
|
135
135
|
"examples/host/app/helpers/api_helper.rb",
|
136
|
+
"examples/host/app/helpers/application_helper.rb",
|
136
137
|
"examples/host/app/models/api.rb",
|
137
|
-
"examples/host/config/
|
138
|
+
"examples/host/config/boot.rb",
|
139
|
+
"examples/host/config/environment.rb",
|
138
140
|
"examples/host/config/environments/development.rb",
|
141
|
+
"examples/host/config/environments/production.rb",
|
139
142
|
"examples/host/config/environments/test.rb",
|
140
143
|
"examples/host/config/initializers/backtrace_silencers.rb",
|
144
|
+
"examples/host/config/initializers/cookie_verification_secret.rb",
|
141
145
|
"examples/host/config/initializers/inflections.rb",
|
142
146
|
"examples/host/config/initializers/mime_types.rb",
|
143
147
|
"examples/host/config/initializers/new_rails_defaults.rb",
|
144
148
|
"examples/host/config/initializers/session_store.rb",
|
145
|
-
"examples/host/config/initializers/cookie_verification_secret.rb",
|
146
149
|
"examples/host/config/routes.rb",
|
147
|
-
"examples/host/config/environment.rb",
|
148
|
-
"examples/host/config/boot.rb",
|
149
150
|
"examples/host/db/seeds.rb"
|
150
151
|
]
|
151
152
|
|
@@ -153,7 +154,7 @@ Gem::Specification.new do |s|
|
|
153
154
|
current_version = Gem::Specification::CURRENT_SPECIFICATION_VERSION
|
154
155
|
s.specification_version = 3
|
155
156
|
|
156
|
-
if Gem::Version.new(Gem::
|
157
|
+
if Gem::Version.new(Gem::RubyGemsVersion) >= Gem::Version.new('1.2.0') then
|
157
158
|
s.add_runtime_dependency(%q<json>, [">= 0"])
|
158
159
|
s.add_runtime_dependency(%q<jsonschema>, [">= 0"])
|
159
160
|
s.add_runtime_dependency(%q<rest-client>, [">= 1.6.1"])
|
data/rails/init.rb
ADDED
@@ -0,0 +1 @@
|
|
1
|
+
require File.join(File.dirname(__FILE__), '..', 'app', 'helpers', 'apify_helper')
|
metadata
CHANGED
@@ -1,13 +1,12 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: apify
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
hash: 9
|
5
4
|
prerelease: false
|
6
5
|
segments:
|
7
6
|
- 0
|
8
7
|
- 5
|
9
|
-
-
|
10
|
-
version: 0.5.
|
8
|
+
- 2
|
9
|
+
version: 0.5.2
|
11
10
|
platform: ruby
|
12
11
|
authors:
|
13
12
|
- Henning Koch
|
@@ -15,18 +14,16 @@ autorequire:
|
|
15
14
|
bindir: bin
|
16
15
|
cert_chain: []
|
17
16
|
|
18
|
-
date:
|
17
|
+
date: 2011-01-24 00:00:00 +01:00
|
19
18
|
default_executable:
|
20
19
|
dependencies:
|
21
20
|
- !ruby/object:Gem::Dependency
|
22
21
|
name: json
|
23
22
|
prerelease: false
|
24
23
|
requirement: &id001 !ruby/object:Gem::Requirement
|
25
|
-
none: false
|
26
24
|
requirements:
|
27
25
|
- - ">="
|
28
26
|
- !ruby/object:Gem::Version
|
29
|
-
hash: 3
|
30
27
|
segments:
|
31
28
|
- 0
|
32
29
|
version: "0"
|
@@ -36,11 +33,9 @@ dependencies:
|
|
36
33
|
name: jsonschema
|
37
34
|
prerelease: false
|
38
35
|
requirement: &id002 !ruby/object:Gem::Requirement
|
39
|
-
none: false
|
40
36
|
requirements:
|
41
37
|
- - ">="
|
42
38
|
- !ruby/object:Gem::Version
|
43
|
-
hash: 3
|
44
39
|
segments:
|
45
40
|
- 0
|
46
41
|
version: "0"
|
@@ -50,11 +45,9 @@ dependencies:
|
|
50
45
|
name: rest-client
|
51
46
|
prerelease: false
|
52
47
|
requirement: &id003 !ruby/object:Gem::Requirement
|
53
|
-
none: false
|
54
48
|
requirements:
|
55
49
|
- - ">="
|
56
50
|
- !ruby/object:Gem::Version
|
57
|
-
hash: 13
|
58
51
|
segments:
|
59
52
|
- 1
|
60
53
|
- 6
|
@@ -138,6 +131,7 @@ files:
|
|
138
131
|
- lib/apify/exchange.rb
|
139
132
|
- lib/apify/patterns.rb
|
140
133
|
- lib/apify/schema_helper.rb
|
134
|
+
- rails/init.rb
|
141
135
|
- spec/apify/action_spec.rb
|
142
136
|
- spec/apify/client_spec.rb
|
143
137
|
- spec/app_root/app/controllers/api_controller.rb
|
@@ -169,64 +163,60 @@ rdoc_options:
|
|
169
163
|
require_paths:
|
170
164
|
- lib
|
171
165
|
required_ruby_version: !ruby/object:Gem::Requirement
|
172
|
-
none: false
|
173
166
|
requirements:
|
174
167
|
- - ">="
|
175
168
|
- !ruby/object:Gem::Version
|
176
|
-
hash: 3
|
177
169
|
segments:
|
178
170
|
- 0
|
179
171
|
version: "0"
|
180
172
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
181
|
-
none: false
|
182
173
|
requirements:
|
183
174
|
- - ">="
|
184
175
|
- !ruby/object:Gem::Version
|
185
|
-
hash: 3
|
186
176
|
segments:
|
187
177
|
- 0
|
188
178
|
version: "0"
|
189
179
|
requirements: []
|
190
180
|
|
191
181
|
rubyforge_project:
|
192
|
-
rubygems_version: 1.3.
|
182
|
+
rubygems_version: 1.3.6
|
193
183
|
signing_key:
|
194
184
|
specification_version: 3
|
195
185
|
summary: Compact definition of JSON APIs for Rails applications.
|
196
186
|
test_files:
|
197
187
|
- spec/apify/action_spec.rb
|
198
188
|
- spec/apify/client_spec.rb
|
199
|
-
- spec/spec_helper.rb
|
200
189
|
- spec/app_root/app/controllers/api_controller.rb
|
201
190
|
- spec/app_root/app/controllers/application_controller.rb
|
202
191
|
- spec/app_root/app/models/api.rb
|
203
|
-
- spec/app_root/
|
192
|
+
- spec/app_root/config/boot.rb
|
193
|
+
- spec/app_root/config/environment.rb
|
204
194
|
- spec/app_root/config/environments/in_memory.rb
|
205
195
|
- spec/app_root/config/environments/mysql.rb
|
206
196
|
- spec/app_root/config/environments/postgresql.rb
|
207
197
|
- spec/app_root/config/environments/sqlite.rb
|
208
198
|
- spec/app_root/config/environments/sqlite3.rb
|
209
|
-
- spec/app_root/config/boot.rb
|
210
|
-
- spec/app_root/config/environment.rb
|
211
199
|
- spec/app_root/config/routes.rb
|
200
|
+
- spec/app_root/lib/console_with_fixtures.rb
|
212
201
|
- spec/controllers/api_controller_spec.rb
|
213
202
|
- spec/models/api_spec.rb
|
203
|
+
- spec/spec_helper.rb
|
214
204
|
- examples/client/client.rb
|
215
|
-
- examples/host/app/controllers/application_controller.rb
|
216
205
|
- examples/host/app/controllers/api_controller.rb
|
217
|
-
- examples/host/app/
|
206
|
+
- examples/host/app/controllers/application_controller.rb
|
218
207
|
- examples/host/app/helpers/api_helper.rb
|
208
|
+
- examples/host/app/helpers/application_helper.rb
|
219
209
|
- examples/host/app/models/api.rb
|
220
|
-
- examples/host/config/
|
210
|
+
- examples/host/config/boot.rb
|
211
|
+
- examples/host/config/environment.rb
|
221
212
|
- examples/host/config/environments/development.rb
|
213
|
+
- examples/host/config/environments/production.rb
|
222
214
|
- examples/host/config/environments/test.rb
|
223
215
|
- examples/host/config/initializers/backtrace_silencers.rb
|
216
|
+
- examples/host/config/initializers/cookie_verification_secret.rb
|
224
217
|
- examples/host/config/initializers/inflections.rb
|
225
218
|
- examples/host/config/initializers/mime_types.rb
|
226
219
|
- examples/host/config/initializers/new_rails_defaults.rb
|
227
220
|
- examples/host/config/initializers/session_store.rb
|
228
|
-
- examples/host/config/initializers/cookie_verification_secret.rb
|
229
221
|
- examples/host/config/routes.rb
|
230
|
-
- examples/host/config/environment.rb
|
231
|
-
- examples/host/config/boot.rb
|
232
222
|
- examples/host/db/seeds.rb
|