killbill-zendesk 1.1.0 → 1.2.0

Sign up to get free protection for your applications and to get access to all the features.
data/Jarfile CHANGED
@@ -1,5 +1,6 @@
1
- jar 'com.ning.billing:killbill-api', '0.7.1'
2
- jar 'com.ning.billing.plugin:killbill-plugin-api-notification', '0.5.0'
3
- jar 'com.ning.billing.plugin:killbill-plugin-api-payment', '0.5.0'
4
- jar 'com.ning.billing:killbill-util:tests', '0.6.17'
1
+ jar 'com.ning.billing:killbill-api', '0.7.4'
2
+ jar 'com.ning.billing.plugin:killbill-plugin-api-notification', '0.6.1'
3
+ jar 'com.ning.billing.plugin:killbill-plugin-api-payment', '0.6.1'
4
+ jar 'com.ning.billing.plugin:killbill-plugin-api-currency', '0.6.1'
5
+ jar 'com.ning.billing:killbill-util:tests', '0.7.1'
5
6
  jar 'javax.servlet:javax.servlet-api', '3.0.1'
data/NEWS CHANGED
@@ -1,3 +1,6 @@
1
+ 1.2.0
2
+ Update to killbill 1.8.3
3
+
1
4
  1.1.0
2
5
  Update to killbill 1.7.1
3
6
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.1.0
1
+ 1.2.0
data/db/ddl.sql CHANGED
@@ -7,4 +7,4 @@ CREATE TABLE `zendesk_users` (
7
7
  PRIMARY KEY (`id`),
8
8
  UNIQUE KEY `index_zendesk_users_on_kb_account_id` (`kb_account_id`),
9
9
  UNIQUE KEY `index_zendesk_users_on_zd_user_id` (`zd_user_id`)
10
- ) ENGINE=InnoDB DEFAULT CHARSET=utf8;
10
+ ) ENGINE=InnoDB CHARACTER SET utf8 COLLATE utf8_bin;
@@ -22,7 +22,7 @@ Gem::Specification.new do |s|
22
22
 
23
23
  s.rdoc_options << '--exclude' << '.'
24
24
 
25
- s.add_dependency 'killbill', '~> 1.7.1'
25
+ s.add_dependency 'killbill', '~> 1.8.3'
26
26
  s.add_dependency 'sinatra', '~> 1.3.4'
27
27
  s.add_dependency 'zendesk_api', '~> 0.3.10'
28
28
  s.add_dependency 'activerecord', '~> 3.2.1'
@@ -13,6 +13,8 @@ module Killbill::Zendesk
13
13
  return
14
14
  end
15
15
 
16
+ logger.log_level = Logger::DEBUG if (@config[:logger] || {})[:debug]
17
+
16
18
  client = ZendeskAPI::Client.new do |config|
17
19
  config.url = "https://#{@config[:zendesk][:subdomain]}.zendesk.com/api/v2"
18
20
 
@@ -33,6 +35,7 @@ module Killbill::Zendesk
33
35
  end
34
36
 
35
37
  ActiveRecord::Base.establish_connection(@config[:database])
38
+ ActiveRecord::Base.logger = logger
36
39
 
37
40
  @updater = UserUpdater.new(client, kb_apis, logger)
38
41
  end
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.1.0</version>
28
+ <version>1.2.0</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,29 +1,29 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: killbill-zendesk
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.1.0
5
4
  prerelease:
5
+ version: 1.2.0
6
6
  platform: ruby
7
7
  authors:
8
8
  - Kill Bill core team
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2013-10-25 00:00:00.000000000 Z
12
+ date: 2013-10-29 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: killbill
16
16
  version_requirements: !ruby/object:Gem::Requirement
17
17
  requirements:
18
- - - ~>
18
+ - - "~>"
19
19
  - !ruby/object:Gem::Version
20
- version: 1.7.1
20
+ version: 1.8.3
21
21
  none: false
22
22
  requirement: !ruby/object:Gem::Requirement
23
23
  requirements:
24
- - - ~>
24
+ - - "~>"
25
25
  - !ruby/object:Gem::Version
26
- version: 1.7.1
26
+ version: 1.8.3
27
27
  none: false
28
28
  prerelease: false
29
29
  type: :runtime
@@ -31,13 +31,13 @@ dependencies:
31
31
  name: sinatra
32
32
  version_requirements: !ruby/object:Gem::Requirement
33
33
  requirements:
34
- - - ~>
34
+ - - "~>"
35
35
  - !ruby/object:Gem::Version
36
36
  version: 1.3.4
37
37
  none: false
38
38
  requirement: !ruby/object:Gem::Requirement
39
39
  requirements:
40
- - - ~>
40
+ - - "~>"
41
41
  - !ruby/object:Gem::Version
42
42
  version: 1.3.4
43
43
  none: false
@@ -47,13 +47,13 @@ dependencies:
47
47
  name: zendesk_api
48
48
  version_requirements: !ruby/object:Gem::Requirement
49
49
  requirements:
50
- - - ~>
50
+ - - "~>"
51
51
  - !ruby/object:Gem::Version
52
52
  version: 0.3.10
53
53
  none: false
54
54
  requirement: !ruby/object:Gem::Requirement
55
55
  requirements:
56
- - - ~>
56
+ - - "~>"
57
57
  - !ruby/object:Gem::Version
58
58
  version: 0.3.10
59
59
  none: false
@@ -63,13 +63,13 @@ dependencies:
63
63
  name: activerecord
64
64
  version_requirements: !ruby/object:Gem::Requirement
65
65
  requirements:
66
- - - ~>
66
+ - - "~>"
67
67
  - !ruby/object:Gem::Version
68
68
  version: 3.2.1
69
69
  none: false
70
70
  requirement: !ruby/object:Gem::Requirement
71
71
  requirements:
72
- - - ~>
72
+ - - "~>"
73
73
  - !ruby/object:Gem::Version
74
74
  version: 3.2.1
75
75
  none: false
@@ -79,13 +79,13 @@ dependencies:
79
79
  name: activerecord-jdbcmysql-adapter
80
80
  version_requirements: !ruby/object:Gem::Requirement
81
81
  requirements:
82
- - - ~>
82
+ - - "~>"
83
83
  - !ruby/object:Gem::Version
84
84
  version: 1.2.9
85
85
  none: false
86
86
  requirement: !ruby/object:Gem::Requirement
87
87
  requirements:
88
- - - ~>
88
+ - - "~>"
89
89
  - !ruby/object:Gem::Version
90
90
  version: 1.2.9
91
91
  none: false
@@ -95,13 +95,13 @@ dependencies:
95
95
  name: jbundler
96
96
  version_requirements: !ruby/object:Gem::Requirement
97
97
  requirements:
98
- - - ~>
98
+ - - "~>"
99
99
  - !ruby/object:Gem::Version
100
100
  version: 0.4.1
101
101
  none: false
102
102
  requirement: !ruby/object:Gem::Requirement
103
103
  requirements:
104
- - - ~>
104
+ - - "~>"
105
105
  - !ruby/object:Gem::Version
106
106
  version: 0.4.1
107
107
  none: false
@@ -111,13 +111,13 @@ dependencies:
111
111
  name: rake
112
112
  version_requirements: !ruby/object:Gem::Requirement
113
113
  requirements:
114
- - - '>='
114
+ - - ">="
115
115
  - !ruby/object:Gem::Version
116
116
  version: 10.0.0
117
117
  none: false
118
118
  requirement: !ruby/object:Gem::Requirement
119
119
  requirements:
120
- - - '>='
120
+ - - ">="
121
121
  - !ruby/object:Gem::Version
122
122
  version: 10.0.0
123
123
  none: false
@@ -127,13 +127,13 @@ dependencies:
127
127
  name: rspec
128
128
  version_requirements: !ruby/object:Gem::Requirement
129
129
  requirements:
130
- - - ~>
130
+ - - "~>"
131
131
  - !ruby/object:Gem::Version
132
132
  version: 2.12.0
133
133
  none: false
134
134
  requirement: !ruby/object:Gem::Requirement
135
135
  requirements:
136
- - - ~>
136
+ - - "~>"
137
137
  - !ruby/object:Gem::Version
138
138
  version: 2.12.0
139
139
  none: false
@@ -143,13 +143,13 @@ dependencies:
143
143
  name: activerecord-jdbcsqlite3-adapter
144
144
  version_requirements: !ruby/object:Gem::Requirement
145
145
  requirements:
146
- - - ~>
146
+ - - "~>"
147
147
  - !ruby/object:Gem::Version
148
148
  version: 1.2.6
149
149
  none: false
150
150
  requirement: !ruby/object:Gem::Requirement
151
151
  requirements:
152
- - - ~>
152
+ - - "~>"
153
153
  - !ruby/object:Gem::Version
154
154
  version: 1.2.6
155
155
  none: false
@@ -161,8 +161,8 @@ executables: []
161
161
  extensions: []
162
162
  extra_rdoc_files: []
163
163
  files:
164
- - .gitignore
165
- - .travis.yml
164
+ - ".gitignore"
165
+ - ".travis.yml"
166
166
  - Gemfile
167
167
  - Jarfile
168
168
  - NEWS
@@ -189,24 +189,25 @@ licenses:
189
189
  - Apache License (2.0)
190
190
  post_install_message:
191
191
  rdoc_options:
192
- - --exclude
193
- - .
192
+ - "--exclude"
193
+ - "."
194
194
  require_paths:
195
195
  - lib
196
196
  required_ruby_version: !ruby/object:Gem::Requirement
197
197
  requirements:
198
- - - '>='
198
+ - - ">="
199
199
  - !ruby/object:Gem::Version
200
200
  version: 1.9.3
201
201
  none: false
202
202
  required_rubygems_version: !ruby/object:Gem::Requirement
203
203
  requirements:
204
- - - '>='
204
+ - - ">="
205
205
  - !ruby/object:Gem::Version
206
206
  segments:
207
207
  - 0
208
- version: '0'
209
208
  hash: 2
209
+ version: !binary |-
210
+ MA==
210
211
  none: false
211
212
  requirements: []
212
213
  rubyforge_project: