omniauth-memair 0.0.4 → 0.0.5

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
- SHA256:
3
- metadata.gz: fb516031a1918f9542c4bd4cedc3cb1c7748de29551bffff61f186ea5941adfc
4
- data.tar.gz: c32a637d02887664df358e9b6900a0f0d7dbfc84a00c6f1eb06f765eba3fc424
2
+ SHA1:
3
+ metadata.gz: 27ea97d273af8fd702262f80a4a463f882a3a04d
4
+ data.tar.gz: 92ace3d1170976e8cfe90f88c73e66e8bb984991
5
5
  SHA512:
6
- metadata.gz: a83913ac383737a7d0356222456186c15db46148e30757c030335eba09db1b6995605fa5c1a4953d179543479db53a8940f12d75e2c96088a7d3af0fbb15025b
7
- data.tar.gz: f3c848548448619385ed2fa7f23ee6320451f1beda53510c808be0184bdf0c404679803169a7f5b0f41db7a282b132a0a97bdf29ce702c67ddc8fbcc631c95d0
6
+ metadata.gz: bd9e5414c7c18555ae7b24bd39c2514d76d46662d810535a1d79851ab77c104383b59d9079a51d67fd9b175b1f325fd919a5236f8e308cec8c0636310f693e46
7
+ data.tar.gz: cd38db20e45487eab076379ea2d18cb6ed80246d66179c7c040252e76848dcd2f00e530963c0473a8832cee1605440889cd0ce1f1b87fd9ff6b055b7f6ae31cd
@@ -1,5 +1,5 @@
1
1
  module OmniAuth
2
2
  module Memair
3
- VERSION = "0.0.4"
3
+ VERSION = "0.0.5"
4
4
  end
5
5
  end
@@ -41,7 +41,7 @@ module OmniAuth
41
41
  end
42
42
 
43
43
  def raw_info
44
- @raw_info ||= HTTParty.post("https://memair.com/graphql", body: { access_token: access_token.token, query: 'query get_user_details{UserDetails{id email time_zone}}' }, timeout: 180)
44
+ @raw_info ||= HTTParty.post("https://memair.com/graphql", body: { access_token: access_token.token, query: 'query get_user_details{UserDetails{id email time_zone}}' }.to_json, headers: { 'Content-Type': 'application/json' }, timeout: 180)
45
45
  rescue ::Errno::ETIMEDOUT
46
46
  raise ::Timeout::Error
47
47
  rescue ::OAuth::Error => e
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: omniauth-memair
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.4
4
+ version: 0.0.5
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-12-13 00:00:00.000000000 Z
11
+ date: 2019-10-07 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: omniauth
@@ -109,7 +109,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
109
109
  version: '0'
110
110
  requirements: []
111
111
  rubyforge_project:
112
- rubygems_version: 2.7.6
112
+ rubygems_version: 2.5.2.3
113
113
  signing_key:
114
114
  specification_version: 4
115
115
  summary: Official OmniAuth strategy for Memair.