rainforestqa 0.0.3 → 0.0.4

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: d92d73bc5f0a5ff672fdeb0688ac820b101e91b2
4
- data.tar.gz: 99c10140ddd804d5066f4c7ad05067596db2e425
3
+ metadata.gz: d894b6adef7971c8f67409254a5666897a395938
4
+ data.tar.gz: fe8ba9cff1b7f95fd98f5788eb78ba31643fae2a
5
5
  SHA512:
6
- metadata.gz: 3fc555995db5606e271903c9368eef544c5f7cc0351317c210b86dfa34c1779c22d56b87c7c2c7355dba4413e5bafcb12ed3d13bb11b7bd1d35de1f13d90be1c
7
- data.tar.gz: 0109004fdf67fe00672374ca9d3e001e95ba904b2a44612e21903ffadc2bd0b5cb22255089a00ecc9e964542e6e0e979f705a9e3ad1c65965d4838aa48d4af6f
6
+ metadata.gz: 417219db95408a026ec0b50f8183bef324a157851b88424f3deeeda2d2997d678032df3d147b24e247457ff079c7898f24545a090bd3f989b31831d5b14f5265
7
+ data.tar.gz: cb3782e7269b4aeb054f1e44f65c65066ce6a1090cff2ec4239f51d0563ceadbbb2fc525ff5f9da3285d246274881dfe40933a2e65099dccf319837b0650bca4
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- rainforestqa (0.0.3)
4
+ rainforestqa (0.0.4)
5
5
  faraday (~> 0.9.1)
6
6
  json (~> 1.8)
7
7
 
@@ -49,7 +49,8 @@ module RainforestQA
49
49
  connection.send(method.to_sym) do | req |
50
50
  req.url API_PREFIX + path
51
51
  req.headers['CLIENT_TOKEN'] = api_key
52
- req.params = params
52
+ req.headers['Content-Type'] = 'application/json'
53
+ req.body = params.to_json
53
54
  end
54
55
  rescue Faraday::Error::TimeoutError, Timeout::Error => error
55
56
  raise(RainforestQA::APITimeoutError.new(error))
@@ -1,3 +1,3 @@
1
1
  module RainforestQA
2
- VERSION = "0.0.3"
2
+ VERSION = "0.0.4"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rainforestqa
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.3
4
+ version: 0.0.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Timor Tsentsiper