memair 0.0.27 → 0.0.28

Sign up to get free protection for your applications and to get access to all the features.
Files changed (4) hide show
  1. checksums.yaml +4 -4
  2. data/lib/memair.rb +1 -1
  3. data/memair.gemspec +2 -2
  4. metadata +2 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 822b8cd0ea985bc6a35f37dc767916c903d3e85b9d2c3c695fd6aad4b5197cb1
4
- data.tar.gz: 8b5f2839b629629b5c0b5edad5bd024a577150aad92b91d233b7fc18d9651d25
3
+ metadata.gz: 1da5715c797ea051650160e7519d8eb759b3b84880de279a99df409cad02a3b4
4
+ data.tar.gz: b82de872cecb52acb11d1324152a4b4ab75c32d2ac15b493743192cad598793e
5
5
  SHA512:
6
- metadata.gz: 2d71c8cb6cf1b2e4140022a3ccb163d4c8d4330bd8bd1c209b3fea2e9ddc6af26612b17c4744e5d523ca269bbc8fde8b23ed815d64ddc5a9f43d44342c523beb
7
- data.tar.gz: dbd63f03b6a197116e2c9b105cce5f36043c1b3dc6af964626efeabc6f6be66fb1ccf5a39228a68062c3718da7bae916e1494b7b8ebe57a2a17e9fbf14210da3
6
+ metadata.gz: 52d8664ebd2ad593f51a69918c40ed7b79228aefecabb9398847f50eef0c6bbff53e3fa9dd25a2ec0a6248a20184430bca2d96d48b79addcbfba024358ad894e
7
+ data.tar.gz: 4b03126c7af8a81e06d9afea25d819be9dbe7b5d4561820c95f756216db2766acff43e53075539c7fe038cf17331315e1def2f1cc40731a2f3f3fd56e6a2da43
@@ -11,7 +11,7 @@ class Memair
11
11
  attempts = 0
12
12
  begin
13
13
  sleep(attempts * 2)
14
- response = HTTParty.post("https://memair.com/graphql", body: { access_token: @access_token, query: query }, timeout: 180)
14
+ response = HTTParty.post("https://memair.com/graphql", body: query, headers: {access_token: @access_token}, timeout: 180)
15
15
  rescue
16
16
  retry if (attempts += 1) < 8
17
17
  raise StandardError, "Can not connect to Memair"
@@ -1,7 +1,7 @@
1
1
  Gem::Specification.new do |s|
2
2
  s.name = 'memair'
3
- s.version = '0.0.27'
4
- s.date = '2018-09-25'
3
+ s.version = '0.0.28'
4
+ s.date = '2018-12-11'
5
5
  s.summary = 'An SDK for Memair'
6
6
  s.description = 'An SDK for Memair allowing easy querying of the GraphQL API'
7
7
  s.authors = ['Greg Clarke']
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: memair
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.27
4
+ version: 0.0.28
5
5
  platform: ruby
6
6
  authors:
7
7
  - Greg Clarke
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2018-09-25 00:00:00.000000000 Z
11
+ date: 2018-12-11 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: httparty