killbill-client 0.5.1 → 0.5.2

Sign up to get free protection for your applications and to get access to all the features.
@@ -7,19 +7,12 @@ module KillBillClient
7
7
  KILLBILL_API_ENTITLEMENT_PREFIX = "#{KILLBILL_API_PREFIX}/subscriptions"
8
8
 
9
9
  class << self
10
- def find_by_id(subscription_id, options = {})
10
+ def find_by_id(subscription_id, options = {})
11
11
  get "#{KILLBILL_API_ENTITLEMENT_PREFIX}/#{subscription_id}",
12
12
  {},
13
13
  options
14
14
  end
15
-
16
- def find_by_bundle_id(bundle_id, options = {})
17
- get "#{Bundle::KILLBILL_API_BUNDLE_PREFIX}/#{bundle_id}/subscriptions",
18
- {},
19
- options
20
- end
21
15
  end
22
-
23
16
  #
24
17
  # Create a new entitlement
25
18
  #
@@ -44,7 +37,7 @@ module KillBillClient
44
37
  # @ call_completion : whether the call should wait for invoice/payment to be completed before calls return
45
38
  #
46
39
  def change_plan(input, user = nil, reason = nil, comment = nil,
47
- requested_date = nil, billing_policy = nil, call_completion = false,options = {})
40
+ requested_date = nil, billing_policy = nil, call_completion = false, options = {})
48
41
 
49
42
  params = {}
50
43
  params[:callCompletion] = call_completion
@@ -2,7 +2,7 @@ module KillBillClient
2
2
  module Version
3
3
  MAJOR = 0
4
4
  MINOR = 5
5
- PATCH = 1
5
+ PATCH = 2
6
6
  PRE = nil
7
7
 
8
8
  VERSION = [MAJOR, MINOR, PATCH, PRE].compact.join('.').freeze
metadata CHANGED
@@ -1,65 +1,72 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: killbill-client
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.5.1
4
+ version: 0.5.2
5
+ prerelease:
5
6
  platform: ruby
6
7
  authors:
7
8
  - Killbill core team
8
- autorequire:
9
+ autorequire:
9
10
  bindir: bin
10
11
  cert_chain: []
11
- date: 2013-10-24 00:00:00.000000000 Z
12
+ date: 2013-11-14 00:00:00.000000000 Z
12
13
  dependencies:
13
14
  - !ruby/object:Gem::Dependency
14
15
  name: json
15
- requirement: !ruby/object:Gem::Requirement
16
+ version_requirements: !ruby/object:Gem::Requirement
16
17
  requirements:
17
- - - ~>
18
+ - - "~>"
18
19
  - !ruby/object:Gem::Version
19
20
  version: 1.8.0
20
- type: :runtime
21
- prerelease: false
22
- version_requirements: !ruby/object:Gem::Requirement
21
+ none: false
22
+ requirement: !ruby/object:Gem::Requirement
23
23
  requirements:
24
- - - ~>
24
+ - - "~>"
25
25
  - !ruby/object:Gem::Version
26
26
  version: 1.8.0
27
+ none: false
28
+ prerelease: false
29
+ type: :runtime
27
30
  - !ruby/object:Gem::Dependency
28
31
  name: rake
29
- requirement: !ruby/object:Gem::Requirement
32
+ version_requirements: !ruby/object:Gem::Requirement
30
33
  requirements:
31
- - - '>='
34
+ - - ">="
32
35
  - !ruby/object:Gem::Version
33
36
  version: 10.0.0
34
- type: :development
35
- prerelease: false
36
- version_requirements: !ruby/object:Gem::Requirement
37
+ none: false
38
+ requirement: !ruby/object:Gem::Requirement
37
39
  requirements:
38
- - - '>='
40
+ - - ">="
39
41
  - !ruby/object:Gem::Version
40
42
  version: 10.0.0
43
+ none: false
44
+ prerelease: false
45
+ type: :development
41
46
  - !ruby/object:Gem::Dependency
42
47
  name: rspec
43
- requirement: !ruby/object:Gem::Requirement
48
+ version_requirements: !ruby/object:Gem::Requirement
44
49
  requirements:
45
- - - ~>
50
+ - - "~>"
46
51
  - !ruby/object:Gem::Version
47
52
  version: 2.12.0
48
- type: :development
49
- prerelease: false
50
- version_requirements: !ruby/object:Gem::Requirement
53
+ none: false
54
+ requirement: !ruby/object:Gem::Requirement
51
55
  requirements:
52
- - - ~>
56
+ - - "~>"
53
57
  - !ruby/object:Gem::Version
54
58
  version: 2.12.0
59
+ none: false
60
+ prerelease: false
61
+ type: :development
55
62
  description: An API client library for Kill Bill.
56
63
  email: killbilling-users@googlegroups.com
57
64
  executables: []
58
65
  extensions: []
59
66
  extra_rdoc_files: []
60
67
  files:
61
- - .gitignore
62
- - .travis.yml
68
+ - ".gitignore"
69
+ - ".travis.yml"
63
70
  - Gemfile
64
71
  - README.md
65
72
  - Rakefile
@@ -137,28 +144,33 @@ files:
137
144
  homepage: http://www.killbilling.org
138
145
  licenses:
139
146
  - Apache License (2.0)
140
- metadata: {}
141
- post_install_message:
147
+ post_install_message:
142
148
  rdoc_options:
143
- - --exclude
144
- - .
149
+ - "--exclude"
150
+ - "."
145
151
  require_paths:
146
152
  - lib
147
153
  required_ruby_version: !ruby/object:Gem::Requirement
148
154
  requirements:
149
- - - '>='
155
+ - - ">="
150
156
  - !ruby/object:Gem::Version
151
157
  version: 1.8.6
158
+ none: false
152
159
  required_rubygems_version: !ruby/object:Gem::Requirement
153
160
  requirements:
154
- - - '>='
161
+ - - ">="
155
162
  - !ruby/object:Gem::Version
156
- version: '0'
163
+ segments:
164
+ - 0
165
+ version: !binary |-
166
+ MA==
167
+ hash: 2
168
+ none: false
157
169
  requirements: []
158
- rubyforge_project:
159
- rubygems_version: 2.0.3
160
- signing_key:
161
- specification_version: 4
170
+ rubyforge_project:
171
+ rubygems_version: 1.8.24
172
+ signing_key:
173
+ specification_version: 3
162
174
  summary: Kill Bill client library.
163
175
  test_files:
164
176
  - spec/killbill_client/model_relation_spec.rb
checksums.yaml DELETED
@@ -1,7 +0,0 @@
1
- ---
2
- SHA1:
3
- metadata.gz: afc7f7b3206167692cc8e770b0d94c7dee22c3fc
4
- data.tar.gz: 36f151c0680ad5b724e07f24ec285b3ad6fe7d65
5
- SHA512:
6
- metadata.gz: ff6427c84fc9e582af9f2439793276478b883feb49c19fbaf4e273b7f3fd9de57342503f1cd0ef94eeab2fadb0a0d0d8cece83ed3643d94f9cfbc62024ccd766
7
- data.tar.gz: d64f2c1ff40af7acfe76963cba4ca024b021809bc2e200308c45302443afe58579fb02b54dae552aa297a74ff3d7d8c176cf7e1ec6ffdc80ac88915aac9eddc4