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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 24ae34e7db7ad7c046f3374ae56dc16a1b61ab04
4
- data.tar.gz: a0d079f6bae9420e49e1ecc5657d22d2143762c5
3
+ metadata.gz: f3161f3a5b37bd27d2ed0050d8b122bac13c2a58
4
+ data.tar.gz: a6f4cf2b246fd2df8956fdef74688da31e563b3e
5
5
  SHA512:
6
- metadata.gz: 0fb6d13ec12b1d3305c6820704894e21ada6fffe563ffe3702d25fe948b676b57c36f9dd3dde67837839ecc49eaf86f7d5a38a67c211ec85ecb9a8643a06bcbd
7
- data.tar.gz: 0073c0d510753e7b250b951a232744cbbebcaa832462d1a0463a5b5072db64cc08240137456a0b954536ef10ce11c37d64de974ce2f86db1ecd654e12f5f938a
6
+ metadata.gz: 4a532bb68f987d547fb334e7143d23b702aaf9becaa9c92e9376789c50ddfa3a28e9eaf2888c5bb834bae24a28693e86cf60c2dc08b9a356f8207775e80736c5
7
+ data.tar.gz: e49407cbe114ff62a1477bc712549203470c74932c3fac521f82df03d8259c4ad57622c4bd1e86def0300c02c8bd284e2daf87f969d450b2314ee3a1082cba17
@@ -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
@@ -1,5 +1,5 @@
1
1
  module Kraken
2
2
  class API
3
- VERSION = '0.1.2'
3
+ VERSION = '0.1.3'
4
4
  end
5
5
  end
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.2
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-07 00:00:00.000000000 Z
11
+ date: 2016-01-08 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: json