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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 132f2adc6b43824c8f91c7f7d83dde1493bc656c
4
- data.tar.gz: 9aa2fa40896c11ba4c0c12c456cf0e89fc80f1a3
3
+ metadata.gz: 9cc4b63168458f6eb45062bf901864f5aa0f0533
4
+ data.tar.gz: 48bc1674a2e5a98ce8da36533e94d351701fe6cd
5
5
  SHA512:
6
- metadata.gz: d92ad4cfde8da1448aa301b9372c87d3b1b3ac0ac9db5adc418e44b415c5f89df6d5eac6d2741c8ca4dceeac8b0f1af8c4ef505b58a2ee3680895a714bff8571
7
- data.tar.gz: 197f11c4e19a312a55702a21939269108ee850b2020322c87ab47916df26ffd76003a6dde156b128d944af871936150218987c1f7342e057c139b6f6c594a36f
6
+ metadata.gz: 3edec553183d3b700385dfe784df7a137e65b51d28c71df4c30bb1abab861fd4ba4f2181f0447f1936aa83adee0a6389e266723a065e754f2560f96d38e22012
7
+ data.tar.gz: b0dcbec48603ea1e0b41423378793e5e6b7a79e0982cfec76d4f64b9494af0b4164aceaa60fd1b033ce9dceea02729801f99572f402dce1fec03d79b75a49bad
data/CHANGELOG.md CHANGED
@@ -35,4 +35,9 @@ Features:
35
35
  ## 0.1.5 (2017-01-16)
36
36
 
37
37
  Features:
38
- - add email_verified check
38
+ - add email_verified check
39
+
40
+ ## 0.1.6 (2017-01-20)
41
+
42
+ Features:
43
+ - add custom user agent
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.5'
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 master with an explicit message : "Bump to vX.Y.Z"
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
 
@@ -1,5 +1,5 @@
1
1
  module OmniAuth
2
2
  module Intercom
3
- VERSION = "0.1.5"
3
+ VERSION = "0.1.6"
4
4
  end
5
5
  end
@@ -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.5
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-16 00:00:00.000000000 Z
11
+ date: 2017-01-23 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: omniauth-oauth2