npolar-api-client-ruby 0.3.0 → 0.3.1
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.
- checksums.yaml +8 -8
- data/lib/npolar/api/client/npolar_api_command.rb +6 -6
- data/npolar-api-client-ruby.gemspec +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,15 +1,15 @@
|
|
1
1
|
---
|
2
2
|
!binary "U0hBMQ==":
|
3
3
|
metadata.gz: !binary |-
|
4
|
-
|
4
|
+
ZDFmMzRmNjI0YmE2NzlhNmRlN2YzZTlmYzk3ZWQ2M2ZiODhjMWVlNg==
|
5
5
|
data.tar.gz: !binary |-
|
6
|
-
|
6
|
+
MGI1MDUyOWFhNTk3MjlkODcyNzY3ZmFlOTMyOWYwNzYwZjAwMDE4Yw==
|
7
7
|
SHA512:
|
8
8
|
metadata.gz: !binary |-
|
9
|
-
|
10
|
-
|
11
|
-
|
9
|
+
MmE4MzYxNzZiOWQ3YWZjNTdlY2JjMmFlMmIxNjI3OTBkYzRkMTZjY2VjZWJk
|
10
|
+
Nzg1ZjcxNmNkMTE2ODJhMGY0MDFiY2NlOTAxNjBiMGFkNjQ3YmRkYWU5YmQ5
|
11
|
+
OGYxNTEwYTMxMzM1NjAxNWQ3Njk1Nzk0YTVhMTQwNjY1ZjU0YjU=
|
12
12
|
data.tar.gz: !binary |-
|
13
|
-
|
14
|
-
|
15
|
-
|
13
|
+
NjY3ZDA2ZTkyOTUwYzRkZTc2NmM5YjZkM2UxNzNkMTJhZGI1YzVjZTc1MTli
|
14
|
+
MWM2NDQ3M2E2NTkxYzM1ZmY1MTcyYWMyMWY0ZTBkNGFjMmM1MTYzOWQxMWU3
|
15
|
+
N2ViOGNiMDg4MDY3YjFhOGFmMjQ1YTYxODYwNWEyMzIwNWIyZGQ=
|
@@ -193,24 +193,24 @@ Options:\n"
|
|
193
193
|
|
194
194
|
case method
|
195
195
|
when "DELETE"
|
196
|
-
response = delete
|
196
|
+
response = delete
|
197
197
|
when "GET"
|
198
|
-
response = get
|
198
|
+
response = get
|
199
199
|
when "HEAD"
|
200
|
-
response = head
|
200
|
+
response = head
|
201
201
|
when "PATCH"
|
202
|
-
response = patch
|
202
|
+
response = patch
|
203
203
|
when "POST"
|
204
204
|
if data.is_a? Dir
|
205
205
|
raise "Not implemented"
|
206
206
|
else
|
207
|
-
response = post(data
|
207
|
+
response = post(data)
|
208
208
|
end
|
209
209
|
|
210
210
|
|
211
211
|
|
212
212
|
when "PUT"
|
213
|
-
response = put(data
|
213
|
+
response = put(data)
|
214
214
|
else
|
215
215
|
raise ArgumentError, "Unsupported HTTP method: #{param[:method]}"
|
216
216
|
end
|
@@ -7,7 +7,7 @@ $:.unshift lib unless $:.include?(lib)
|
|
7
7
|
|
8
8
|
Gem::Specification.new do |s|
|
9
9
|
s.name = "npolar-api-client-ruby"
|
10
|
-
s.version = "0.3.
|
10
|
+
s.version = "0.3.1" # Not DRY, trouble with include Npolar::Api::Client::VERSION
|
11
11
|
s.platform = Gem::Platform::RUBY
|
12
12
|
s.authors = ["Conrad Helgeland"]
|
13
13
|
s.email = ["data*npolar.no"]
|