omniauth-procore 0.4.1 → 0.4.2

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
2
  SHA1:
3
- metadata.gz: 0ed52219ecf3b58a767b10eece1b924296ee2796
4
- data.tar.gz: 1d3b968e20ca5ed301d324d50515c73d75f6125c
3
+ metadata.gz: 201c87baae8045461695bea56223fd7050029f78
4
+ data.tar.gz: ee93fd6c20c67facc677c668047c0b05cbd15c9a
5
5
  SHA512:
6
- metadata.gz: 64b509b50fe98ff1ab9c3bfcb56527a74d39fa8a7687bf3c639ed9f41aa5bff7005ed1847c7a5658d20b118f54e740b7bc424c313e0dc2a105b68bbe4adfcbde
7
- data.tar.gz: fbabe07e43f24e72532502e65c8cd06dd6a39489f483e0773ec12de34e45ba0708f885e519c4c98fcc81d1ad2df7b018a2e0a42d9bfe095da35589b3a04de18c
6
+ metadata.gz: bddd1d1e1752ad9e667efe48bb1f7330988376c953d929f6004546400c30f6a7cf20f179e2348eb14699746ec5463f611d92b7d9a33a94cbf0189b5e7d29b127
7
+ data.tar.gz: f201408ba5ce0231623080923e3b111bd0791be8dca3925d870453fb342cc5209d853038fa0aa6e1f3ad8b1e12449604b40e2d88478be4c705f77475671dc460
@@ -1,5 +1,5 @@
1
1
  module OmniAuth
2
2
  module Procore
3
- VERSION = "0.4.1"
3
+ VERSION = "0.4.2"
4
4
  end
5
5
  end
@@ -16,6 +16,7 @@ module OmniAuth
16
16
  info do
17
17
  {
18
18
  email: raw_info['login'],
19
+ name: raw_info['name'],
19
20
  procore_id: raw_info['id']
20
21
  }
21
22
  end
@@ -23,6 +24,10 @@ module OmniAuth
23
24
  def raw_info
24
25
  @raw_info ||= access_token.get('/vapid/me').parsed
25
26
  end
27
+
28
+ def callback_url
29
+ full_host + script_name + callback_path
30
+ end
26
31
  end
27
32
  end
28
33
  end
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.4.1
4
+ version: 0.4.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Procore Engineering
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2017-01-31 00:00:00.000000000 Z
11
+ date: 2017-11-29 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: omniauth-oauth2
@@ -112,7 +112,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
112
112
  version: '0'
113
113
  requirements: []
114
114
  rubyforge_project:
115
- rubygems_version: 2.6.8
115
+ rubygems_version: 2.6.13
116
116
  signing_key:
117
117
  specification_version: 4
118
118
  summary: Official OmniAuth strategy for Procore.