ribbon-intercom 0.3.3 → 0.3.4

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: b60c5e11fb7b0324e34f573f6a8687871444aea4
4
- data.tar.gz: e975927ed6d46f6d661069e6580dc7eeb747122c
3
+ metadata.gz: 6735bd14a8d50fd75364a3b6c31aaffbd08e733d
4
+ data.tar.gz: 370a4652cbdcc027683b64278a57ca580b2aab88
5
5
  SHA512:
6
- metadata.gz: 2586c431137eb677a130b492325183fd0c423527c07a21f1811e329abc2fa06bcd0ee4526f131897e50712aa675a412de9182ddd90518518e183b82b406d8037
7
- data.tar.gz: a9032fc31b47ac6ffc2313c82ea5ef1adcbecc3e6a45da27a941c17489de9b7eef2df73f8f855317f3c45e117c16d512035a904334c5b47f2db7f7717137b18e
6
+ metadata.gz: e4e1891d25f6cb156a798abb60fb37e7839faaebcd361ad0e507e490caacc78d294248d7347719f31039c514baa5fd14032526d9c501228a6be6ae1a4ae304f0
7
+ data.tar.gz: 7e09d2709f559018785c38d9724ac7797c7f28ec0b58d022ff2585baaf1e55ae48cb555467c9a413bd2c9458a4f05538db1159c102bc269279947da1f206b591
@@ -142,7 +142,7 @@ module Ribbon::Intercom
142
142
  body = _package(subject.public_send(intercom_method, *args))
143
143
 
144
144
  headers = {}
145
- unless subject == self
145
+ unless self == subject # Order matters here! See: issue#52
146
146
  # Need to send subject back in case it was modified by the method.
147
147
  headers['X-Intercom-Subject'] = _encode_subject(subject)
148
148
 
@@ -1,5 +1,5 @@
1
1
  module Ribbon
2
2
  module Intercom
3
- VERSION = '0.3.3'
3
+ VERSION = '0.3.4'
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ribbon-intercom
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.3
4
+ version: 0.3.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Robert Honer
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2015-05-12 00:00:00.000000000 Z
12
+ date: 2015-05-19 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: rack