intercom 3.5.8 → 3.5.9

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: 4aa22d119110687f4cd14e26a4c116b4a4fe11c8
4
- data.tar.gz: 7245527c6570404ce74af1faf5a8f54cd37fc042
3
+ metadata.gz: d07ca20fc9a3f8b9d12df73d9b76b9e23daa41a8
4
+ data.tar.gz: 3fef787910743a32b6beb66038b3c6811196f352
5
5
  SHA512:
6
- metadata.gz: b5db50d94e9e04420c02fb8cd7b96226b1308506ca196888256d732fe05e815caf9178e6daed40d3c12ba28589583ab0acb095289c84be00a7b7922711cfb33e
7
- data.tar.gz: 42d5567d7b9e2a7e9df56861d4e62e116f58a91e688e5e1c1c5ddd82f8b40f36a1cd0e8b2c4b1f74649c64117b6869d72cc03728bade435755e90fad98c5d7dc
6
+ metadata.gz: 376bd8560327390061df14dd86b19dd4896edf07327a86d8f265e5af64ee44f7701778ca001333d4eac53a1c2447d9dc43fb762811e70987f0e0588d9a8741e7
7
+ data.tar.gz: 5894bc20064d92e0295afe2bf5bca9badaa13eb9fb2b4bb8719706bf198d88c383f1b5da3f273ca5fd98c82e53751610b1b39cbab1dd4194b247e55155c4b917
data/README.md CHANGED
@@ -22,7 +22,7 @@ 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.5.8"
25
+ gem 'intercom', "~> 3.5.9"
26
26
 
27
27
  ## Basic Usage
28
28
 
data/changes.txt CHANGED
@@ -1,3 +1,9 @@
1
+ 3.5.9
2
+ - Fix event create method
3
+
4
+ 3.5.8
5
+ - Add admins.me method
6
+
1
7
  3.5.7
2
8
  - Add method to find all events for a user (@reidab)
3
9
 
@@ -3,5 +3,6 @@ require 'intercom/traits/api_resource'
3
3
  module Intercom
4
4
  class Event
5
5
  include Traits::ApiResource
6
+ def update_verb; 'post' ; end
6
7
  end
7
8
  end
@@ -1,3 +1,3 @@
1
1
  module Intercom #:nodoc:
2
- VERSION = "3.5.8"
2
+ VERSION = "3.5.9"
3
3
  end
@@ -24,8 +24,8 @@ describe "Intercom::Event" do
24
24
  end
25
25
 
26
26
  it "creates an event without metadata" do
27
- client.expects(:post).with('/events', {'event_name' => 'sale of item', 'email' => 'joe@example.com'})
28
- client.events.create(:event_name => "sale of item", :email => 'joe@example.com')
27
+ client.expects(:post).with('/events', {'event_name' => 'sale of item', 'id' => 123})
28
+ client.events.create(:event_name => "sale of item", :id => 123)
29
29
  end
30
30
 
31
31
  describe 'bulk operations' do
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.5.8
4
+ version: 3.5.9
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ben McRedmond