reach5 0.1.0 → 0.1.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +12 -1
- data/README.md +1 -1
- data/lib/reach5/api.rb +6 -2
- data/lib/reach5/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: 10e729327827200d703cdcc75ed670ce74dd0dd8
|
4
|
+
data.tar.gz: 3d09f6c6b0c64484af7a533aa1aebb23abf7d3de
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a7cf873d23ecb6af1ec7d173bbcc199fad1864c638191e63a71a47fd94e24c241785fefafb09cc3bd448791effd9e86c3c21182cd25add4c4a74eb25f8364d90
|
7
|
+
data.tar.gz: bba8da874f6091e32e3051d94d4cfa0b9d34c0c53d23f54531d6f1655c6d01de0018d60cd06ff849a7398a74c08260006da9329f387b40f3135c60d68bce939d
|
data/CHANGELOG.md
CHANGED
@@ -1,4 +1,15 @@
|
|
1
|
+
Changelog
|
2
|
+
=========
|
3
|
+
|
4
|
+
This project follows semantic versionning.
|
5
|
+
|
6
|
+
v0.1.1 - 2017-01-31
|
7
|
+
-------------------
|
8
|
+
|
9
|
+
Fixes:
|
10
|
+
- User-agent is given through headers instead of params
|
11
|
+
|
1
12
|
v0.1.0 - 2017-01-30
|
2
|
-
|
13
|
+
-------------------
|
3
14
|
|
4
15
|
First release.
|
data/README.md
CHANGED
data/lib/reach5/api.rb
CHANGED
@@ -36,13 +36,17 @@ module Reach5
|
|
36
36
|
provider_token:,
|
37
37
|
provider_secret: nil,
|
38
38
|
user_agent: nil)
|
39
|
+
|
39
40
|
params = {
|
40
41
|
provider: provider,
|
41
42
|
provider_token: provider_token,
|
42
43
|
provider_secret: provider_secret,
|
43
|
-
user_agent: user_agent,
|
44
44
|
}
|
45
|
-
|
45
|
+
|
46
|
+
request = HTTP
|
47
|
+
request = request.headers("User-Agent": user_agent) if user_agent
|
48
|
+
request = request.post("#{host}/api/v1/login", params: params)
|
49
|
+
request.parse
|
46
50
|
end
|
47
51
|
|
48
52
|
# List profiles
|
data/lib/reach5/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: reach5
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Sunny Ripert
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2017-01-
|
11
|
+
date: 2017-01-31 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: http
|