gauthify 1.2.7 → 1.2.71

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.
Files changed (3) hide show
  1. checksums.yaml +4 -4
  2. data/lib/gauthify.rb +2 -2
  3. metadata +1 -1
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: ec7c02906f52b2669c16522753e56f05c56660a3
4
- data.tar.gz: 1c9491fed1ad9a5b23ad61cc6876e31ea39ae28c
3
+ metadata.gz: 186493ce73d1b478cc8c22d6cdc3fce2094e2570
4
+ data.tar.gz: 18f27284c7574c1464518c1f3944741f61c741d0
5
5
  SHA512:
6
- metadata.gz: 2575cc08d186c401fac149642d4efdfc3655ee57fe34d9edced1b4682a3d46a5f6c9c3ec3eec053eb01f607de781e13121d98490d83a579b82c5ead81a141025
7
- data.tar.gz: 0b885b48658d02d266bbb671b07d9eb0dfa279d8b0c1d9bd8aff6a9a60cc7062195e428ff36b64c597a10531a20e2dc3aadacbfca3dfdb2642faf88810df0f74
6
+ metadata.gz: 2b91681a277432740635d7c528528cbc24c2ec653795d2b5b5ba69776595b569055d3c3213a0a51ca48548b159af317f8cd76990d625139c877bde2e82fbba38
7
+ data.tar.gz: 643ac6129ac629f8f5f813a9fc8de66127d8c81d41914374b1ace0e2ac8ad38f7e30b29c35debb2a337142c83368a07a242c995fb3a63c9e4a01127a72fc710f
data/lib/gauthify.rb CHANGED
@@ -60,7 +60,7 @@ class GAuthify
60
60
  'https://api.gauthify.com/v1/',
61
61
  'https://backup.gauthify.com/v1/'
62
62
  ]
63
- @headers = {:authorization => api_key, :user_agent => 'GAuthify-Ruby/v1.27'}
63
+ @headers = {:authorization => api_key, :user_agent => 'GAuthify-Ruby/v1.271'}
64
64
 
65
65
  end
66
66
 
@@ -69,7 +69,7 @@ class GAuthify
69
69
  for each in @access_points
70
70
  begin
71
71
  req_url = each + url_addon
72
- req = RestClient::Request.execute(:method => type, :url => req_url, :timeout => 1.5, :headers => @headers, :payload => params)
72
+ req = RestClient::Request.execute(:method => type, :url => req_url, :timeout => 5, :headers => @headers, :payload => params)
73
73
  status_code = req.code
74
74
  begin
75
75
  json_resp = JSON.parse(req.to_str)
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: gauthify
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.2.7
4
+ version: 1.2.71
5
5
  platform: ruby
6
6
  authors:
7
7
  - GAuthify