killbill-zendesk 1.0.0 → 1.0.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (5) hide show
  1. data/NEWS +3 -0
  2. data/VERSION +1 -1
  3. data/lib/zendesk/user_updater.rb +6 -0
  4. data/pom.xml +1 -1
  5. metadata +2 -2
data/NEWS CHANGED
@@ -1,3 +1,6 @@
1
+ 1.0.1
2
+ Fixes #1
3
+
1
4
  1.0.0
2
5
  Update to killbill 1.6.0 (new entitlement APIs)
3
6
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.0.0
1
+ 1.0.1
@@ -11,6 +11,12 @@ module Killbill::Zendesk
11
11
 
12
12
  user = find_by_kb_account(kb_account)
13
13
  user = create_user(kb_account) if user.nil?
14
+ if user.nil?
15
+ @logger.warn "Failed to create user in Zendesk for account #{lookup_key}"
16
+ return
17
+ end
18
+
19
+
14
20
  save_kb_zd_mapping(kb_account, user)
15
21
 
16
22
  user.name = kb_account.name
data/pom.xml CHANGED
@@ -25,7 +25,7 @@
25
25
  <groupId>com.ning.killbill.ruby</groupId>
26
26
  <artifactId>zendesk-plugin</artifactId>
27
27
  <packaging>pom</packaging>
28
- <version>1.0.0</version>
28
+ <version>1.0.1</version>
29
29
  <name>zendesk-plugin</name>
30
30
  <url>http://github.com/killbill/killbill-zendesk-plugin</url>
31
31
  <description>Plugin to mirror Kill Bill data into Zendesk</description>
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: killbill-zendesk
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.0
4
+ version: 1.0.1
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2013-08-21 00:00:00.000000000 Z
12
+ date: 2013-10-12 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: killbill