apify 0.4.4 → 0.4.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/VERSION +1 -1
- data/apify.gemspec +4 -4
- data/app/helpers/apify_helper.rb +2 -2
- metadata +15 -4
data/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
0.4.
|
|
1
|
+
0.4.5
|
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.4.
|
|
8
|
+
s.version = "0.4.5"
|
|
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{2010-
|
|
12
|
+
s.date = %q{2010-10-18}
|
|
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 = [
|
|
@@ -105,7 +105,7 @@ Gem::Specification.new do |s|
|
|
|
105
105
|
s.homepage = %q{http://github.com/makandra/apify}
|
|
106
106
|
s.rdoc_options = ["--charset=UTF-8"]
|
|
107
107
|
s.require_paths = ["lib"]
|
|
108
|
-
s.rubygems_version = %q{1.3.
|
|
108
|
+
s.rubygems_version = %q{1.3.7}
|
|
109
109
|
s.summary = %q{Compact definition of JSON APIs for Rails applications.}
|
|
110
110
|
s.test_files = [
|
|
111
111
|
"spec/apify/action_spec.rb",
|
|
@@ -150,7 +150,7 @@ Gem::Specification.new do |s|
|
|
|
150
150
|
current_version = Gem::Specification::CURRENT_SPECIFICATION_VERSION
|
|
151
151
|
s.specification_version = 3
|
|
152
152
|
|
|
153
|
-
if Gem::Version.new(Gem::
|
|
153
|
+
if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then
|
|
154
154
|
s.add_runtime_dependency(%q<json>, [">= 0"])
|
|
155
155
|
s.add_runtime_dependency(%q<jsonschema>, [">= 0"])
|
|
156
156
|
s.add_runtime_dependency(%q<rest-client>, [">= 0"])
|
data/app/helpers/apify_helper.rb
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
module ApifyHelper
|
|
2
2
|
|
|
3
3
|
def api_docs_artifact(action, artifact, nature)
|
|
4
|
-
show_id = "#{nature}_#{artifact}_for_#{action.
|
|
4
|
+
show_id = "#{nature}_#{artifact}_for_#{action.uid}"
|
|
5
5
|
show_link = link_to_function('show', "document.getElementById('#{show_id}').style.display = 'block';")
|
|
6
6
|
download_url = url_for(:action => action.name, artifact.to_sym => nature.to_s)
|
|
7
7
|
download_tooltip = "#{action.method.to_s.upcase} #{download_url} to download"
|
|
@@ -11,4 +11,4 @@ module ApifyHelper
|
|
|
11
11
|
"#{artifact.to_s.humanize} (#{show_link}, #{download_link})#{embedded}".html_safe
|
|
12
12
|
end
|
|
13
13
|
|
|
14
|
-
end
|
|
14
|
+
end
|
metadata
CHANGED
|
@@ -1,12 +1,13 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: apify
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
+
hash: 5
|
|
4
5
|
prerelease: false
|
|
5
6
|
segments:
|
|
6
7
|
- 0
|
|
7
8
|
- 4
|
|
8
|
-
-
|
|
9
|
-
version: 0.4.
|
|
9
|
+
- 5
|
|
10
|
+
version: 0.4.5
|
|
10
11
|
platform: ruby
|
|
11
12
|
authors:
|
|
12
13
|
- Henning Koch
|
|
@@ -14,16 +15,18 @@ autorequire:
|
|
|
14
15
|
bindir: bin
|
|
15
16
|
cert_chain: []
|
|
16
17
|
|
|
17
|
-
date: 2010-
|
|
18
|
+
date: 2010-10-18 00:00:00 +02:00
|
|
18
19
|
default_executable:
|
|
19
20
|
dependencies:
|
|
20
21
|
- !ruby/object:Gem::Dependency
|
|
21
22
|
name: json
|
|
22
23
|
prerelease: false
|
|
23
24
|
requirement: &id001 !ruby/object:Gem::Requirement
|
|
25
|
+
none: false
|
|
24
26
|
requirements:
|
|
25
27
|
- - ">="
|
|
26
28
|
- !ruby/object:Gem::Version
|
|
29
|
+
hash: 3
|
|
27
30
|
segments:
|
|
28
31
|
- 0
|
|
29
32
|
version: "0"
|
|
@@ -33,9 +36,11 @@ dependencies:
|
|
|
33
36
|
name: jsonschema
|
|
34
37
|
prerelease: false
|
|
35
38
|
requirement: &id002 !ruby/object:Gem::Requirement
|
|
39
|
+
none: false
|
|
36
40
|
requirements:
|
|
37
41
|
- - ">="
|
|
38
42
|
- !ruby/object:Gem::Version
|
|
43
|
+
hash: 3
|
|
39
44
|
segments:
|
|
40
45
|
- 0
|
|
41
46
|
version: "0"
|
|
@@ -45,9 +50,11 @@ dependencies:
|
|
|
45
50
|
name: rest-client
|
|
46
51
|
prerelease: false
|
|
47
52
|
requirement: &id003 !ruby/object:Gem::Requirement
|
|
53
|
+
none: false
|
|
48
54
|
requirements:
|
|
49
55
|
- - ">="
|
|
50
56
|
- !ruby/object:Gem::Version
|
|
57
|
+
hash: 3
|
|
51
58
|
segments:
|
|
52
59
|
- 0
|
|
53
60
|
version: "0"
|
|
@@ -157,23 +164,27 @@ rdoc_options:
|
|
|
157
164
|
require_paths:
|
|
158
165
|
- lib
|
|
159
166
|
required_ruby_version: !ruby/object:Gem::Requirement
|
|
167
|
+
none: false
|
|
160
168
|
requirements:
|
|
161
169
|
- - ">="
|
|
162
170
|
- !ruby/object:Gem::Version
|
|
171
|
+
hash: 3
|
|
163
172
|
segments:
|
|
164
173
|
- 0
|
|
165
174
|
version: "0"
|
|
166
175
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
|
176
|
+
none: false
|
|
167
177
|
requirements:
|
|
168
178
|
- - ">="
|
|
169
179
|
- !ruby/object:Gem::Version
|
|
180
|
+
hash: 3
|
|
170
181
|
segments:
|
|
171
182
|
- 0
|
|
172
183
|
version: "0"
|
|
173
184
|
requirements: []
|
|
174
185
|
|
|
175
186
|
rubyforge_project:
|
|
176
|
-
rubygems_version: 1.3.
|
|
187
|
+
rubygems_version: 1.3.7
|
|
177
188
|
signing_key:
|
|
178
189
|
specification_version: 3
|
|
179
190
|
summary: Compact definition of JSON APIs for Rails applications.
|