fotolia_rails 0.0.4 → 0.0.5

Sign up to get free protection for your applications and to get access to all the features.
@@ -9,7 +9,7 @@ module FotoliaRails
9
9
  end
10
10
 
11
11
  def search_object(id)
12
- url = URI.parse("http://api.fotolia.com/Rest/1/media/getMediaData?id=#{id}")
12
+ uri = URI.parse("http://api.fotolia.com/Rest/1/media/getMediaData?id=#{id}")
13
13
  http = Net::HTTP.new(uri.host, uri.port)
14
14
  request = Net::HTTP::Get.new(uri.request_uri)
15
15
  request.basic_auth("#{@api_key}", "")
@@ -1,3 +1,3 @@
1
1
  module FotoliaRails
2
- VERSION = "0.0.4"
2
+ VERSION = "0.0.5"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: fotolia_rails
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.4
4
+ version: 0.0.5
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors: