killbill-client 0.5.3 → 0.5.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.
metadata
CHANGED
@@ -1,72 +1,72 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: killbill-client
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
|
5
|
-
|
4
|
+
prerelease:
|
5
|
+
version: 0.5.4
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
8
8
|
- Killbill core team
|
9
|
-
autorequire:
|
9
|
+
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2013-
|
12
|
+
date: 2013-12-06 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: json
|
16
|
-
|
17
|
-
none: false
|
16
|
+
version_requirements: !ruby/object:Gem::Requirement
|
18
17
|
requirements:
|
19
|
-
- - ~>
|
18
|
+
- - "~>"
|
20
19
|
- !ruby/object:Gem::Version
|
21
20
|
version: 1.8.0
|
22
|
-
type: :runtime
|
23
|
-
prerelease: false
|
24
|
-
version_requirements: !ruby/object:Gem::Requirement
|
25
21
|
none: false
|
22
|
+
requirement: !ruby/object:Gem::Requirement
|
26
23
|
requirements:
|
27
|
-
- - ~>
|
24
|
+
- - "~>"
|
28
25
|
- !ruby/object:Gem::Version
|
29
26
|
version: 1.8.0
|
27
|
+
none: false
|
28
|
+
prerelease: false
|
29
|
+
type: :runtime
|
30
30
|
- !ruby/object:Gem::Dependency
|
31
31
|
name: rake
|
32
|
-
|
33
|
-
none: false
|
32
|
+
version_requirements: !ruby/object:Gem::Requirement
|
34
33
|
requirements:
|
35
|
-
- -
|
34
|
+
- - ">="
|
36
35
|
- !ruby/object:Gem::Version
|
37
36
|
version: 10.0.0
|
38
|
-
type: :development
|
39
|
-
prerelease: false
|
40
|
-
version_requirements: !ruby/object:Gem::Requirement
|
41
37
|
none: false
|
38
|
+
requirement: !ruby/object:Gem::Requirement
|
42
39
|
requirements:
|
43
|
-
- -
|
40
|
+
- - ">="
|
44
41
|
- !ruby/object:Gem::Version
|
45
42
|
version: 10.0.0
|
43
|
+
none: false
|
44
|
+
prerelease: false
|
45
|
+
type: :development
|
46
46
|
- !ruby/object:Gem::Dependency
|
47
47
|
name: rspec
|
48
|
-
|
49
|
-
none: false
|
48
|
+
version_requirements: !ruby/object:Gem::Requirement
|
50
49
|
requirements:
|
51
|
-
- - ~>
|
50
|
+
- - "~>"
|
52
51
|
- !ruby/object:Gem::Version
|
53
52
|
version: 2.12.0
|
54
|
-
type: :development
|
55
|
-
prerelease: false
|
56
|
-
version_requirements: !ruby/object:Gem::Requirement
|
57
53
|
none: false
|
54
|
+
requirement: !ruby/object:Gem::Requirement
|
58
55
|
requirements:
|
59
|
-
- - ~>
|
56
|
+
- - "~>"
|
60
57
|
- !ruby/object:Gem::Version
|
61
58
|
version: 2.12.0
|
59
|
+
none: false
|
60
|
+
prerelease: false
|
61
|
+
type: :development
|
62
62
|
description: An API client library for Kill Bill.
|
63
63
|
email: killbilling-users@googlegroups.com
|
64
64
|
executables: []
|
65
65
|
extensions: []
|
66
66
|
extra_rdoc_files: []
|
67
67
|
files:
|
68
|
-
- .gitignore
|
69
|
-
- .travis.yml
|
68
|
+
- ".gitignore"
|
69
|
+
- ".travis.yml"
|
70
70
|
- Gemfile
|
71
71
|
- README.md
|
72
72
|
- Rakefile
|
@@ -83,7 +83,6 @@ files:
|
|
83
83
|
- lib/killbill_client/models/chargeback.rb
|
84
84
|
- lib/killbill_client/models/credit.rb
|
85
85
|
- lib/killbill_client/models/event_subscription.rb
|
86
|
-
- lib/killbill_client/models/foo.rb
|
87
86
|
- lib/killbill_client/models/gen/account_attributes.rb
|
88
87
|
- lib/killbill_client/models/gen/account_email_attributes.rb
|
89
88
|
- lib/killbill_client/models/gen/account_timeline_attributes.rb
|
@@ -145,31 +144,32 @@ files:
|
|
145
144
|
homepage: http://www.killbilling.org
|
146
145
|
licenses:
|
147
146
|
- Apache License (2.0)
|
148
|
-
post_install_message:
|
147
|
+
post_install_message:
|
149
148
|
rdoc_options:
|
150
|
-
- --exclude
|
151
|
-
- .
|
149
|
+
- "--exclude"
|
150
|
+
- "."
|
152
151
|
require_paths:
|
153
152
|
- lib
|
154
153
|
required_ruby_version: !ruby/object:Gem::Requirement
|
155
|
-
none: false
|
156
154
|
requirements:
|
157
|
-
- -
|
155
|
+
- - ">="
|
158
156
|
- !ruby/object:Gem::Version
|
159
157
|
version: 1.8.6
|
160
|
-
required_rubygems_version: !ruby/object:Gem::Requirement
|
161
158
|
none: false
|
159
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
162
160
|
requirements:
|
163
|
-
- -
|
161
|
+
- - ">="
|
164
162
|
- !ruby/object:Gem::Version
|
165
|
-
version: '0'
|
166
163
|
segments:
|
167
164
|
- 0
|
168
|
-
hash:
|
165
|
+
hash: 2
|
166
|
+
version: !binary |-
|
167
|
+
MA==
|
168
|
+
none: false
|
169
169
|
requirements: []
|
170
|
-
rubyforge_project:
|
171
|
-
rubygems_version: 1.8.
|
172
|
-
signing_key:
|
170
|
+
rubyforge_project:
|
171
|
+
rubygems_version: 1.8.24
|
172
|
+
signing_key:
|
173
173
|
specification_version: 3
|
174
174
|
summary: Kill Bill client library.
|
175
175
|
test_files:
|
@@ -1,76 +0,0 @@
|
|
1
|
-
###################################################################################
|
2
|
-
# #
|
3
|
-
# Copyright 2010-2013 Ning, Inc. #
|
4
|
-
# #
|
5
|
-
# Ning licenses this file to you under the Apache License, version 2.0 #
|
6
|
-
# (the "License"); you may not use this file except in compliance with the #
|
7
|
-
# License. You may obtain a copy of the License at: #
|
8
|
-
# #
|
9
|
-
# http://www.apache.org/licenses/LICENSE-2.0 #
|
10
|
-
# #
|
11
|
-
# Unless required by applicable law or agreed to in writing, software #
|
12
|
-
# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT #
|
13
|
-
# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the #
|
14
|
-
# License for the specific language governing permissions and limitations #
|
15
|
-
# under the License. #
|
16
|
-
# #
|
17
|
-
###################################################################################
|
18
|
-
|
19
|
-
|
20
|
-
#
|
21
|
-
# DO NOT EDIT!!!
|
22
|
-
# File automatically generated by killbill-java-parser (git@github.com:killbill/killbill-java-parser.git)
|
23
|
-
#
|
24
|
-
|
25
|
-
|
26
|
-
module Killbill
|
27
|
-
module Plugin
|
28
|
-
module Model
|
29
|
-
|
30
|
-
java_package 'java.util'
|
31
|
-
|
32
|
-
include java.util.Iterator
|
33
|
-
class EnumeratorIterator
|
34
|
-
|
35
|
-
def initialize(delegate)
|
36
|
-
@buffer = []
|
37
|
-
# We expect an Enumerable or Enumerator
|
38
|
-
@delegate = delegate.is_a?(Enumerable) ? delegate.to_enum : delegate
|
39
|
-
_next
|
40
|
-
end
|
41
|
-
|
42
|
-
def has_next
|
43
|
-
!@next.nil?
|
44
|
-
end
|
45
|
-
|
46
|
-
def next
|
47
|
-
prev = @next
|
48
|
-
_next
|
49
|
-
prev
|
50
|
-
end
|
51
|
-
|
52
|
-
def remove
|
53
|
-
raise NotImplementedError.new
|
54
|
-
end
|
55
|
-
|
56
|
-
private
|
57
|
-
|
58
|
-
def _next
|
59
|
-
@next = @buffer.shift
|
60
|
-
return unless @next.nil?
|
61
|
-
|
62
|
-
@next = @delegate.next rescue nil
|
63
|
-
return if @next.nil?
|
64
|
-
|
65
|
-
if @next.is_a? Enumerable
|
66
|
-
@buffer += @next.to_a
|
67
|
-
else
|
68
|
-
@buffer << @next
|
69
|
-
end
|
70
|
-
_next
|
71
|
-
end
|
72
|
-
|
73
|
-
end
|
74
|
-
end
|
75
|
-
end
|
76
|
-
end
|