omniauth-intercom 0.1.5 → 0.1.6
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 +4 -4
- data/CHANGELOG.md +6 -1
- data/README.md +2 -1
- data/RELEASING.md +4 -1
- data/lib/omniauth/intercom/version.rb +1 -1
- data/lib/omniauth/strategies/intercom.rb +1 -0
- 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: 9cc4b63168458f6eb45062bf901864f5aa0f0533
|
|
4
|
+
data.tar.gz: 48bc1674a2e5a98ce8da36533e94d351701fe6cd
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 3edec553183d3b700385dfe784df7a137e65b51d28c71df4c30bb1abab861fd4ba4f2181f0447f1936aa83adee0a6389e266723a065e754f2560f96d38e22012
|
|
7
|
+
data.tar.gz: b0dcbec48603ea1e0b41423378793e5e6b7a79e0982cfec76d4f64b9494af0b4164aceaa60fd1b033ce9dceea02729801f99572f402dce1fec03d79b75a49bad
|
data/CHANGELOG.md
CHANGED
data/README.md
CHANGED
|
@@ -9,7 +9,7 @@ Supports the OAuth 2.0 server-side and client-side flows. Read the [Intercom OAu
|
|
|
9
9
|
Add to your `Gemfile`:
|
|
10
10
|
|
|
11
11
|
```ruby
|
|
12
|
-
gem 'omniauth-intercom', '~> 0.1.
|
|
12
|
+
gem 'omniauth-intercom', '~> 0.1.6'
|
|
13
13
|
```
|
|
14
14
|
|
|
15
15
|
Then `bundle install`.
|
|
@@ -53,6 +53,7 @@ Here's an example *Auth Hash* available in `request.env['omniauth.auth']`:
|
|
|
53
53
|
:email => 'kevin.antoine@intercom.io',
|
|
54
54
|
:type => 'admin',
|
|
55
55
|
:id => '342324',
|
|
56
|
+
:email_verified => true,
|
|
56
57
|
:app => {
|
|
57
58
|
:id_code => 'abc123', # Company app_id
|
|
58
59
|
:type => 'app',
|
data/RELEASING.md
CHANGED
|
@@ -11,6 +11,7 @@ git checkout master`
|
|
|
11
11
|
```shell
|
|
12
12
|
git pull origin master
|
|
13
13
|
```
|
|
14
|
+
+ Create a new branch
|
|
14
15
|
|
|
15
16
|
+ Update the version number in `omniauth-intercom/lib/intercom-ruby-app.rb`
|
|
16
17
|
|
|
@@ -18,7 +19,9 @@ git pull origin master
|
|
|
18
19
|
|
|
19
20
|
+ Add a CHANGELOG entry
|
|
20
21
|
|
|
21
|
-
+ Commit to
|
|
22
|
+
+ Commit to new branch with an explicit message : "Bump to vX.Y.Z"
|
|
23
|
+
|
|
24
|
+
+ Merge the new branch to master and switch to master locally
|
|
22
25
|
|
|
23
26
|
+ Tag the new release :
|
|
24
27
|
|
|
@@ -53,6 +53,7 @@ module OmniAuth
|
|
|
53
53
|
def accept_headers
|
|
54
54
|
access_token.client.connection.headers['Authorization'] = access_token.client.connection.basic_auth(access_token.token, '')
|
|
55
55
|
access_token.client.connection.headers['Accept'] = "application/vnd.intercom.3+json"
|
|
56
|
+
access_token.client.connection.headers['User-Agent'] = "omniauth-intercom/#{::OmniAuth::Intercom::VERSION}"
|
|
56
57
|
end
|
|
57
58
|
|
|
58
59
|
def prepopulate_signup_fields_form
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: omniauth-intercom
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.1.
|
|
4
|
+
version: 0.1.6
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Kevin Antoine
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: exe
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2017-01-
|
|
11
|
+
date: 2017-01-23 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: omniauth-oauth2
|