apify 0.4.2 → 0.4.3

Sign up to get free protection for your applications and to get access to all the features.
data/README.md CHANGED
@@ -45,6 +45,8 @@ Connect the routes to your API in `config/routes.rb`:
45
45
 
46
46
  You have now exposed an API action under `http://host/api/ping`.
47
47
 
48
+ An example for this setup can also be found under the `examples/host` directory inside the repository.
49
+
48
50
 
49
51
  Protocol
50
52
  --------
@@ -208,6 +210,8 @@ Errors can be caught and inspected like this:
208
210
  puts "Response: #{e.response_body}"
209
211
  end
210
212
 
213
+ An example for an API can be found under the `examples/client` directory inside the repository.
214
+
211
215
 
212
216
  Dealing with dates and timestamps
213
217
  ---------------------------------
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.4.2
1
+ 0.4.3
data/apify.gemspec CHANGED
@@ -5,7 +5,7 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = %q{apify}
8
- s.version = "0.4.2"
8
+ s.version = "0.4.3"
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"]
@@ -7,7 +7,7 @@ module ApifyHelper
7
7
  download_tooltip = "#{action.method.to_s.upcase} #{download_url} to download"
8
8
  download_link = link_to('download', download_url, :method => action.method, :title => download_tooltip)
9
9
  json = JSON.pretty_generate(action.send(artifact, nature))
10
- embedded = "<pre id='#{show_id}' style='display: none'>#{json}</pre>"
10
+ embedded = "<pre id='#{show_id}' style='display: none'><code>#{json}</code></pre>"
11
11
  "#{artifact.to_s.humanize} (#{show_link}, #{download_link})#{embedded}".html_safe
12
12
  end
13
13
 
metadata CHANGED
@@ -5,8 +5,8 @@ version: !ruby/object:Gem::Version
5
5
  segments:
6
6
  - 0
7
7
  - 4
8
- - 2
9
- version: 0.4.2
8
+ - 3
9
+ version: 0.4.3
10
10
  platform: ruby
11
11
  authors:
12
12
  - Henning Koch