kraken-io 0.1.2 → 0.1.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/kraken-io.rb +5 -1
- data/lib/kraken-io/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: f3161f3a5b37bd27d2ed0050d8b122bac13c2a58
|
4
|
+
data.tar.gz: a6f4cf2b246fd2df8956fdef74688da31e563b3e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 4a532bb68f987d547fb334e7143d23b702aaf9becaa9c92e9376789c50ddfa3a28e9eaf2888c5bb834bae24a28693e86cf60c2dc08b9a356f8207775e80736c5
|
7
|
+
data.tar.gz: e49407cbe114ff62a1477bc712549203470c74932c3fac521f82df03d8259c4ad57622c4bd1e86def0300c02c8bd284e2daf87f969d450b2314ee3a1082cba17
|
data/lib/kraken-io.rb
CHANGED
@@ -34,8 +34,12 @@ module Kraken
|
|
34
34
|
def url(url, params = {})
|
35
35
|
params = normalized_params(params).merge!(auth_hash)
|
36
36
|
params[:url] = url
|
37
|
+
|
37
38
|
call_kraken do
|
38
|
-
res = self.class.post('/url', body: params.to_json
|
39
|
+
res = self.class.post('/url', body: params.to_json, headers: {
|
40
|
+
'Content-Type' => 'application/json'
|
41
|
+
})
|
42
|
+
|
39
43
|
res = Kraken::Response.new(res)
|
40
44
|
yield res if block_given? or return res
|
41
45
|
end
|
data/lib/kraken-io/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: kraken-io
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Przemek Matylla
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2016-01-
|
11
|
+
date: 2016-01-08 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: json
|