omniauth-procore 0.5.0 → 0.5.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 +8 -0
- data/README.md +12 -4
- data/lib/omniauth/procore/version.rb +1 -1
- data/lib/omniauth/strategies/procore.rb +2 -0
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 5bafde17dcc769743361888e2d427d0cf09b2cb9f80ca295e5289a8754cdcbe1
|
4
|
+
data.tar.gz: 486e5c2474fb7239e9c75b1999aeb0e020f5406c47e7b6f42c8dbc9c1bad90f3
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: ab4d5905739d11de818a948d9cd1ab5f300c9e86d81ea5286fe58c38c5f9d7ede34fcfa7b47d7f8dc7f89a5003084189652af9018bcd2495d8c3aed248149fcd
|
7
|
+
data.tar.gz: 924ef2d480edeb536a22332bf8d0f94e274509c44274419b82071ebcc64d1990c5a554a04a0146ff4ce07bd3ec4a98c4f68a04b73b25d082132ef994ffdf9300
|
data/CHANGELOG.md
CHANGED
@@ -1,3 +1,11 @@
|
|
1
|
+
## 0.5.1 (November 05, 2018)
|
2
|
+
|
3
|
+
* Fix: Add api_site parameter to client options
|
4
|
+
|
5
|
+
PR #7 - https://github.com/procore/omniauth-procore/pull/7
|
6
|
+
|
7
|
+
Patrick Koperwas
|
8
|
+
|
1
9
|
## 0.5.0 (October 17, 2018)
|
2
10
|
|
3
11
|
* Change default site to login.procore.com (from app.procore.com)
|
data/README.md
CHANGED
@@ -30,11 +30,19 @@ end
|
|
30
30
|
|
31
31
|
## Development
|
32
32
|
|
33
|
-
After checking out the repo, run `bin/setup` to install dependencies. Then, run
|
33
|
+
After checking out the repo, run `bin/setup` to install dependencies. Then, run
|
34
|
+
`rake spec` to run the tests. You can also run `bin/console` for an interactive
|
35
|
+
prompt that will allow you to experiment.
|
34
36
|
|
35
|
-
To install this gem onto your local machine, run `bundle exec rake install`. To
|
37
|
+
To install this gem onto your local machine, run `bundle exec rake install`. To
|
38
|
+
release a new version, update the version number in `version.rb`, and then run
|
39
|
+
`bundle exec rake release`, which will create a git tag for the version, push
|
40
|
+
git commits and tags, and push the `.gem` file to
|
41
|
+
[rubygems.org](https://rubygems.org).
|
36
42
|
|
37
43
|
## Contributing
|
38
44
|
|
39
|
-
Bug reports and pull requests are welcome on GitHub at
|
40
|
-
|
45
|
+
Bug reports and pull requests are welcome on GitHub at
|
46
|
+
https://github.com/procore/omniauth-procore. This project is intended to be a
|
47
|
+
safe, welcoming space for collaboration, and contributors are expected to adhere
|
48
|
+
to the [Contributor Covenant](http://contributor-covenant.org) code of conduct.
|
@@ -7,6 +7,7 @@ module OmniAuth
|
|
7
7
|
|
8
8
|
option :client_options,
|
9
9
|
site: 'https://login.procore.com',
|
10
|
+
api_site: 'https://api.procore.com',
|
10
11
|
authorize_path: '/oauth/authorize'
|
11
12
|
|
12
13
|
uid do
|
@@ -22,6 +23,7 @@ module OmniAuth
|
|
22
23
|
end
|
23
24
|
|
24
25
|
def raw_info
|
26
|
+
access_token.client.site = options[:client_options][:api_site]
|
25
27
|
@raw_info ||= access_token.get('/vapid/me').parsed
|
26
28
|
end
|
27
29
|
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: omniauth-procore
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.5.
|
4
|
+
version: 0.5.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Procore Engineering
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2018-
|
11
|
+
date: 2018-11-05 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: omniauth-oauth2
|