adn 0.3.2 → 0.3.3
Sign up to get free protection for your applications and to get access to all the features.
- data/Gemfile.lock +1 -1
- data/lib/adn/api.rb +1 -1
- data/lib/adn/version.rb +1 -1
- metadata +2 -2
data/Gemfile.lock
CHANGED
data/lib/adn/api.rb
CHANGED
@@ -19,7 +19,7 @@ module ADN
|
|
19
19
|
end
|
20
20
|
|
21
21
|
def get(url, params = nil)
|
22
|
-
url = params.nil? ? url : [url,
|
22
|
+
url = params.nil? ? url : [url, URI.encode_www_form(params)].join("?")
|
23
23
|
request = Net::HTTP::Get.new(url)
|
24
24
|
perform(request)
|
25
25
|
end
|
data/lib/adn/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: adn
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.3.
|
4
|
+
version: 0.3.3
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -75,7 +75,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
75
75
|
version: '0'
|
76
76
|
segments:
|
77
77
|
- 0
|
78
|
-
hash:
|
78
|
+
hash: 817879158107129194
|
79
79
|
requirements: []
|
80
80
|
rubyforge_project:
|
81
81
|
rubygems_version: 1.8.24
|