intercom 3.7.6 → 3.7.7

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 2c4c8b57a5c41c85975fdf6fcef17df57ed569f9
4
- data.tar.gz: 1322a94169648b92d3b7118e1260335d98416f75
3
+ metadata.gz: fb52e11279caa2be1661a7fdfbc7abc1829d2d73
4
+ data.tar.gz: '092c4c0c51aac933d960596327577905c93590aa'
5
5
  SHA512:
6
- metadata.gz: f0a3a916a70c2fc634d00179003d9e187aa3a9b093d47a44e25388b6db7adab10ecf36b3713ce9d03768e017dfb92ed9a1f1e43161f838d624a1cf021732dffa
7
- data.tar.gz: dc48ee16054b0a14c8c4bc6ebfe5590e70543f790298ffd824fecdece3acd0b68bed7b806c94cafd56032755eb749d0be0f8adc4fb1f23acdbfc4ef272d5fe1c
6
+ metadata.gz: 071616a6160830c039e7980e0a35689ff4be1035bb4dbc9bdb492bfc8ce4d6862e0f8357c50cb1fc3951428387931689023878f7099555346694f8bdd4c024d9
7
+ data.tar.gz: 878a9f3fc2780fb76079ef2af88ef86262ff673cef19b21e4507ee508f82dd3f589cc83c69ff8426f0cfe66d7c679346b429f8936812b31588e3d136723a6922
@@ -2,7 +2,7 @@ version: 2
2
2
  jobs:
3
3
  build:
4
4
  docker:
5
- - image: circleci/ruby:2.3.7
5
+ - image: circleci/ruby:2.4.6
6
6
 
7
7
  working_directory: ~/intercom-ruby
8
8
 
data/README.md CHANGED
@@ -22,13 +22,13 @@ This version of the gem is compatible with `Ruby 2.1` and above.
22
22
 
23
23
  Using bundler:
24
24
 
25
- gem 'intercom', '~> 3.7.5'
25
+ gem 'intercom', '~> 3.7.6'
26
26
 
27
27
  ## Basic Usage
28
28
 
29
29
  ### Configure your client
30
30
 
31
- > If you already have a personal access token you can find it [here](https://app.intercom.io/a/apps/_/developer_hub/). If you want to create or learn more about personal access tokens then you can find more info [here](https://developers.intercom.io/docs/personal-access-tokens).
31
+ > If you already have a personal access token you can find it [here](https://app.intercom.io/a/apps/_/developer-hub/). If you want to create or learn more about personal access tokens then you can find more info [here](https://developers.intercom.io/docs/personal-access-tokens).
32
32
 
33
33
  ```ruby
34
34
  # With an OAuth or Personal Access token:
@@ -360,6 +360,13 @@ intercom.events.create(
360
360
  }
361
361
  )
362
362
 
363
+ # Alternatively, use "user_id" in case your app allows multiple accounts having the same email
364
+ intercom.events.create(
365
+ event_name: "invited-friend",
366
+ created_at: Time.now.to_i,
367
+ user_id: user.uuid,
368
+ )
369
+
363
370
  # Retrieve event list for user with id:'123abc'
364
371
  intercom.events.find_all("type" => "user", "intercom_user_id" => "123abc")
365
372
 
@@ -1,3 +1,6 @@
1
+ 3.7.6
2
+ Added error handling for invalid_document error state
3
+
1
4
  3.7.5
2
5
  Added error handling for scroll_exists error state
3
6
 
@@ -12,7 +12,6 @@ Gem::Specification.new do |spec|
12
12
  spec.summary = %q{Ruby bindings for the Intercom API}
13
13
  spec.description = %Q{Intercom (https://www.intercom.io) is a customer relationship management and messaging tool for web app owners. This library wraps the api provided by Intercom. See http://docs.intercom.io/api for more details. }
14
14
  spec.license = "MIT"
15
- spec.rubyforge_project = "intercom"
16
15
 
17
16
  spec.files = `git ls-files`.split("\n")
18
17
  spec.test_files = `git ls-files -- {test,spec,features}/*`.split("\n")
@@ -1,3 +1,3 @@
1
1
  module Intercom #:nodoc:
2
- VERSION = "3.7.6"
2
+ VERSION = "3.7.7"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: intercom
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.7.6
4
+ version: 3.7.7
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ben McRedmond
@@ -15,7 +15,7 @@ authors:
15
15
  autorequire:
16
16
  bindir: bin
17
17
  cert_chain: []
18
- date: 2019-03-26 00:00:00.000000000 Z
18
+ date: 2019-07-15 00:00:00.000000000 Z
19
19
  dependencies:
20
20
  - !ruby/object:Gem::Dependency
21
21
  name: minitest
@@ -229,7 +229,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
229
229
  - !ruby/object:Gem::Version
230
230
  version: '0'
231
231
  requirements: []
232
- rubyforge_project: intercom
232
+ rubyforge_project:
233
233
  rubygems_version: 2.6.14
234
234
  signing_key:
235
235
  specification_version: 4