gpsoauth-rb 0.1.1 → 0.1.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/gpsoauth.rb +1 -1
- data/lib/gpsoauth/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: f7238f0d8f9f2d81d6f6aa7dfc71d4be0981d327
|
4
|
+
data.tar.gz: 1b5dde272769c88ba51061ee2e17250a3a2d29f6
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 016ccd8e173d24d1707ebd75644b9f243139f6570cd2285508a6a2e60b9aff83a5173b3309726d3a209d3004ebc63f70697a3e4c141a308def3ea1ebfe43935d
|
7
|
+
data.tar.gz: 52c77cc470cc5374f8203ea88b9392b8e8a1425715a483b0f7ad31dd97b97afb9f53ffece6a283462a9e86a12398ff969bac1107bf970fb7e1a0153ee25c4ef7
|
data/lib/gpsoauth.rb
CHANGED
@@ -16,7 +16,7 @@ module Gpsoauth
|
|
16
16
|
@@cookie = ""
|
17
17
|
|
18
18
|
def performAuthRequest(data, cookie = @@cookie)
|
19
|
-
response = HTTParty.post(AUTH_URL, body: data, headers: {'User-Agent'
|
19
|
+
response = HTTParty.post(AUTH_URL, body: data, headers: {'User-Agent' => USER_AGENT, 'Cookie' => cookie})
|
20
20
|
@@cookies = response.headers['Set-Cookie'] if response.headers['Set-Cookie']
|
21
21
|
return Google.parseAuthResponse(response.body)
|
22
22
|
end
|
data/lib/gpsoauth/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: gpsoauth-rb
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Sawyer Charles
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2016-07-
|
11
|
+
date: 2016-07-27 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|