killbill-currency-plugin-test 3.0.0 → 3.0.1
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 +4 -4
- metadata +29 -42
- data/.gitignore +0 -33
- data/.travis.yml +0 -41
- data/Gemfile +0 -4
- data/Gemfile.lock +0 -78
- data/Jarfile +0 -12
- data/Jarfile.lock +0 -64
- data/README.md +0 -14
- data/Rakefile +0 -17
- data/VERSION +0 -1
- data/killbill-currency-plugin-test.gemspec +0 -30
- data/killbill.properties +0 -3
- data/pom.xml +0 -38
- data/release.sh +0 -61
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 8a2e47c85f27aa147f699f230999b175e5c1af9c
|
|
4
|
+
data.tar.gz: b42655f1b3bfde2ccbd9908ce9e6052ccd85c97c
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: cc0e1eea7f16fc46a315d4696925c734dd265172fd2b7ca34a396a7b6d44d97c6e51745b2fd400809d517388a18ec47041b86a0ffc0d216fab67def5bd34d863
|
|
7
|
+
data.tar.gz: 4583cf7433cdb968d2740cd464a09da43a86b5b383beb3fa996025b24e83df284256650c0efc018ce2ecd5b9dbb689be0e3ea448dad7bf418abe3a3ec4bed3b3
|
metadata
CHANGED
|
@@ -1,115 +1,102 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: killbill-currency-plugin-test
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 3.0.
|
|
4
|
+
version: 3.0.1
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Kill Bill core team
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date:
|
|
11
|
+
date: 2017-05-04 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
|
-
name: killbill
|
|
15
|
-
version_requirements: !ruby/object:Gem::Requirement
|
|
16
|
-
requirements:
|
|
17
|
-
- - ~>
|
|
18
|
-
- !ruby/object:Gem::Version
|
|
19
|
-
version: '8.0'
|
|
20
14
|
requirement: !ruby/object:Gem::Requirement
|
|
21
15
|
requirements:
|
|
22
|
-
- - ~>
|
|
16
|
+
- - "~>"
|
|
23
17
|
- !ruby/object:Gem::Version
|
|
24
18
|
version: '8.0'
|
|
19
|
+
name: killbill
|
|
25
20
|
prerelease: false
|
|
26
21
|
type: :runtime
|
|
27
|
-
- !ruby/object:Gem::Dependency
|
|
28
|
-
name: jbundler
|
|
29
22
|
version_requirements: !ruby/object:Gem::Requirement
|
|
30
23
|
requirements:
|
|
31
|
-
- - ~>
|
|
24
|
+
- - "~>"
|
|
32
25
|
- !ruby/object:Gem::Version
|
|
33
|
-
version: 0
|
|
26
|
+
version: '8.0'
|
|
27
|
+
- !ruby/object:Gem::Dependency
|
|
34
28
|
requirement: !ruby/object:Gem::Requirement
|
|
35
29
|
requirements:
|
|
36
|
-
- - ~>
|
|
30
|
+
- - "~>"
|
|
37
31
|
- !ruby/object:Gem::Version
|
|
38
32
|
version: 0.9.2
|
|
33
|
+
name: jbundler
|
|
39
34
|
prerelease: false
|
|
40
35
|
type: :development
|
|
41
|
-
- !ruby/object:Gem::Dependency
|
|
42
|
-
name: rake
|
|
43
36
|
version_requirements: !ruby/object:Gem::Requirement
|
|
44
37
|
requirements:
|
|
45
|
-
- -
|
|
38
|
+
- - "~>"
|
|
46
39
|
- !ruby/object:Gem::Version
|
|
47
|
-
version:
|
|
40
|
+
version: 0.9.2
|
|
41
|
+
- !ruby/object:Gem::Dependency
|
|
48
42
|
requirement: !ruby/object:Gem::Requirement
|
|
49
43
|
requirements:
|
|
50
|
-
- -
|
|
44
|
+
- - ">="
|
|
51
45
|
- !ruby/object:Gem::Version
|
|
52
46
|
version: 10.0.0
|
|
47
|
+
name: rake
|
|
53
48
|
prerelease: false
|
|
54
49
|
type: :development
|
|
55
|
-
- !ruby/object:Gem::Dependency
|
|
56
|
-
name: rspec
|
|
57
50
|
version_requirements: !ruby/object:Gem::Requirement
|
|
58
51
|
requirements:
|
|
59
|
-
- -
|
|
52
|
+
- - ">="
|
|
60
53
|
- !ruby/object:Gem::Version
|
|
61
|
-
version:
|
|
54
|
+
version: 10.0.0
|
|
55
|
+
- !ruby/object:Gem::Dependency
|
|
62
56
|
requirement: !ruby/object:Gem::Requirement
|
|
63
57
|
requirements:
|
|
64
|
-
- - ~>
|
|
58
|
+
- - "~>"
|
|
65
59
|
- !ruby/object:Gem::Version
|
|
66
60
|
version: 2.12.0
|
|
61
|
+
name: rspec
|
|
67
62
|
prerelease: false
|
|
68
63
|
type: :development
|
|
64
|
+
version_requirements: !ruby/object:Gem::Requirement
|
|
65
|
+
requirements:
|
|
66
|
+
- - "~>"
|
|
67
|
+
- !ruby/object:Gem::Version
|
|
68
|
+
version: 2.12.0
|
|
69
69
|
description: Mock plugin used for integration tests.
|
|
70
70
|
email: killbilling-users@googlegroups.com
|
|
71
71
|
executables: []
|
|
72
72
|
extensions: []
|
|
73
73
|
extra_rdoc_files: []
|
|
74
74
|
files:
|
|
75
|
-
- .gitignore
|
|
76
|
-
- .travis.yml
|
|
77
|
-
- Gemfile
|
|
78
|
-
- Gemfile.lock
|
|
79
|
-
- Jarfile
|
|
80
|
-
- Jarfile.lock
|
|
81
|
-
- README.md
|
|
82
|
-
- Rakefile
|
|
83
|
-
- VERSION
|
|
84
|
-
- killbill-currency-plugin-test.gemspec
|
|
85
|
-
- killbill.properties
|
|
86
75
|
- lib/currency_plugin_test.rb
|
|
87
76
|
- lib/currency_plugin_test/api.rb
|
|
88
|
-
- pom.xml
|
|
89
|
-
- release.sh
|
|
90
77
|
homepage: http://killbill.io
|
|
91
78
|
licenses:
|
|
92
79
|
- Apache License (2.0)
|
|
93
80
|
metadata: {}
|
|
94
81
|
post_install_message:
|
|
95
82
|
rdoc_options:
|
|
96
|
-
- --exclude
|
|
97
|
-
- .
|
|
83
|
+
- "--exclude"
|
|
84
|
+
- "."
|
|
98
85
|
require_paths:
|
|
99
86
|
- lib
|
|
100
87
|
required_ruby_version: !ruby/object:Gem::Requirement
|
|
101
88
|
requirements:
|
|
102
|
-
- -
|
|
89
|
+
- - ">="
|
|
103
90
|
- !ruby/object:Gem::Version
|
|
104
91
|
version: 1.9.3
|
|
105
92
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
|
106
93
|
requirements:
|
|
107
|
-
- -
|
|
94
|
+
- - ">="
|
|
108
95
|
- !ruby/object:Gem::Version
|
|
109
96
|
version: '0'
|
|
110
97
|
requirements: []
|
|
111
98
|
rubyforge_project:
|
|
112
|
-
rubygems_version: 2.4.
|
|
99
|
+
rubygems_version: 2.4.8
|
|
113
100
|
signing_key:
|
|
114
101
|
specification_version: 4
|
|
115
102
|
summary: Test Currency Plugin.
|
data/.gitignore
DELETED
|
@@ -1,33 +0,0 @@
|
|
|
1
|
-
*.gem
|
|
2
|
-
*.rbc
|
|
3
|
-
*.swp
|
|
4
|
-
.bundle
|
|
5
|
-
.config
|
|
6
|
-
coverage
|
|
7
|
-
InstalledFiles
|
|
8
|
-
lib/bundler/man
|
|
9
|
-
pkg
|
|
10
|
-
rdoc
|
|
11
|
-
spec/reports
|
|
12
|
-
test/tmp
|
|
13
|
-
test/version_tmp
|
|
14
|
-
tmp
|
|
15
|
-
|
|
16
|
-
# YARD artifacts
|
|
17
|
-
.yardoc
|
|
18
|
-
_yardoc
|
|
19
|
-
doc/
|
|
20
|
-
|
|
21
|
-
.jbundler
|
|
22
|
-
|
|
23
|
-
.DS_Store
|
|
24
|
-
|
|
25
|
-
# Testing database
|
|
26
|
-
test.db
|
|
27
|
-
|
|
28
|
-
target
|
|
29
|
-
pom.xml.asc
|
|
30
|
-
|
|
31
|
-
.idea/
|
|
32
|
-
|
|
33
|
-
Gemfile.head.lock
|
data/.travis.yml
DELETED
|
@@ -1,41 +0,0 @@
|
|
|
1
|
-
language: ruby
|
|
2
|
-
|
|
3
|
-
sudo: false
|
|
4
|
-
cache: bundler
|
|
5
|
-
|
|
6
|
-
before_script:
|
|
7
|
-
- bundle exec jbundle install
|
|
8
|
-
|
|
9
|
-
script: 'bundle exec rake spec'
|
|
10
|
-
|
|
11
|
-
notifications:
|
|
12
|
-
email:
|
|
13
|
-
- kill-bill-commits@googlegroups.com
|
|
14
|
-
|
|
15
|
-
env:
|
|
16
|
-
global:
|
|
17
|
-
- JRUBY_OPTS='-J-Xmx1024M'
|
|
18
|
-
|
|
19
|
-
rvm:
|
|
20
|
-
- jruby-1.7.20
|
|
21
|
-
- jruby-20mode # latest 1.7.x
|
|
22
|
-
- jruby-head
|
|
23
|
-
|
|
24
|
-
gemfile:
|
|
25
|
-
- Gemfile
|
|
26
|
-
- Gemfile.head
|
|
27
|
-
|
|
28
|
-
jdk:
|
|
29
|
-
- openjdk7
|
|
30
|
-
- oraclejdk7
|
|
31
|
-
- oraclejdk8
|
|
32
|
-
|
|
33
|
-
matrix:
|
|
34
|
-
allow_failures:
|
|
35
|
-
- rvm: jruby-head
|
|
36
|
-
- jdk: oraclejdk8
|
|
37
|
-
- gemfile: Gemfile.head
|
|
38
|
-
fast_finish: true
|
|
39
|
-
|
|
40
|
-
after_success:
|
|
41
|
-
- '[ "${TRAVIS_PULL_REQUEST}" = "false" ] && echo "<settings><servers><server><id>sonatype-nexus-snapshots</id><username>\${env.OSSRH_USER}</username><password>\${env.OSSRH_PASS}</password></server></servers></settings>" > ~/settings.xml && MVN="mvn --settings $HOME/settings.xml" NO_RELEASE=1 travis_retry travis_wait bash release.sh | egrep -v "Download|Install|Upload" ; rm -f ~/settings.xml'
|
data/Gemfile
DELETED
data/Gemfile.lock
DELETED
|
@@ -1,78 +0,0 @@
|
|
|
1
|
-
PATH
|
|
2
|
-
remote: .
|
|
3
|
-
specs:
|
|
4
|
-
killbill-currency-plugin-test (3.0.0)
|
|
5
|
-
killbill (~> 8.0)
|
|
6
|
-
|
|
7
|
-
GEM
|
|
8
|
-
remote: https://rubygems.org/
|
|
9
|
-
specs:
|
|
10
|
-
axiom-types (0.1.1)
|
|
11
|
-
descendants_tracker (~> 0.0.4)
|
|
12
|
-
ice_nine (~> 0.11.0)
|
|
13
|
-
thread_safe (~> 0.3, >= 0.3.1)
|
|
14
|
-
coercible (1.0.0)
|
|
15
|
-
descendants_tracker (~> 0.0.1)
|
|
16
|
-
descendants_tracker (0.0.4)
|
|
17
|
-
thread_safe (~> 0.3, >= 0.3.1)
|
|
18
|
-
diff-lcs (1.1.3)
|
|
19
|
-
equalizer (0.0.11)
|
|
20
|
-
ethon (0.9.1)
|
|
21
|
-
ffi (>= 1.3.0)
|
|
22
|
-
ffi (1.9.14-java)
|
|
23
|
-
ice_nine (0.11.1)
|
|
24
|
-
jar-dependencies (0.3.1)
|
|
25
|
-
jbundler (0.9.2)
|
|
26
|
-
bundler (~> 1.5)
|
|
27
|
-
jar-dependencies (~> 0.2)
|
|
28
|
-
maven-tools (~> 1.0.10)
|
|
29
|
-
ruby-maven (~> 3.3, >= 3.3.3)
|
|
30
|
-
killbill (8.3.1)
|
|
31
|
-
rack (>= 1.5.2)
|
|
32
|
-
sinatra (~> 1.3.4)
|
|
33
|
-
typhoeus (~> 0.6.9)
|
|
34
|
-
tzinfo (~> 1.2.0)
|
|
35
|
-
maven-tools (1.0.13)
|
|
36
|
-
virtus (~> 1.0)
|
|
37
|
-
rack (1.6.5)
|
|
38
|
-
rack-protection (1.5.3)
|
|
39
|
-
rack
|
|
40
|
-
rake (10.4.2)
|
|
41
|
-
rspec (2.12.0)
|
|
42
|
-
rspec-core (~> 2.12.0)
|
|
43
|
-
rspec-expectations (~> 2.12.0)
|
|
44
|
-
rspec-mocks (~> 2.12.0)
|
|
45
|
-
rspec-core (2.12.2)
|
|
46
|
-
rspec-expectations (2.12.1)
|
|
47
|
-
diff-lcs (~> 1.1.3)
|
|
48
|
-
rspec-mocks (2.12.2)
|
|
49
|
-
ruby-maven (3.3.8)
|
|
50
|
-
ruby-maven-libs (~> 3.3.1)
|
|
51
|
-
ruby-maven-libs (3.3.3)
|
|
52
|
-
sinatra (1.3.6)
|
|
53
|
-
rack (~> 1.4)
|
|
54
|
-
rack-protection (~> 1.3)
|
|
55
|
-
tilt (~> 1.3, >= 1.3.3)
|
|
56
|
-
thread_safe (0.3.5-java)
|
|
57
|
-
tilt (1.4.1)
|
|
58
|
-
typhoeus (0.6.9)
|
|
59
|
-
ethon (>= 0.7.1)
|
|
60
|
-
tzinfo (1.2.2)
|
|
61
|
-
thread_safe (~> 0.1)
|
|
62
|
-
virtus (1.0.5)
|
|
63
|
-
axiom-types (~> 0.1)
|
|
64
|
-
coercible (~> 1.0)
|
|
65
|
-
descendants_tracker (~> 0.0, >= 0.0.3)
|
|
66
|
-
equalizer (~> 0.0, >= 0.0.9)
|
|
67
|
-
|
|
68
|
-
PLATFORMS
|
|
69
|
-
java
|
|
70
|
-
|
|
71
|
-
DEPENDENCIES
|
|
72
|
-
jbundler (~> 0.9.2)
|
|
73
|
-
killbill-currency-plugin-test!
|
|
74
|
-
rake (>= 10.0.0)
|
|
75
|
-
rspec (~> 2.12.0)
|
|
76
|
-
|
|
77
|
-
BUNDLED WITH
|
|
78
|
-
1.11.2
|
data/Jarfile
DELETED
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
jar 'org.kill-bill.billing:killbill-api', '0.50'
|
|
2
|
-
jar 'org.kill-bill.billing.plugin:killbill-plugin-api-currency', '0.23'
|
|
3
|
-
jar 'org.kill-bill.billing.plugin:killbill-plugin-api-invoice', '0.23'
|
|
4
|
-
jar 'org.kill-bill.billing.plugin:killbill-plugin-api-notification', '0.23'
|
|
5
|
-
jar 'org.kill-bill.billing.plugin:killbill-plugin-api-payment', '0.23'
|
|
6
|
-
jar 'org.kill-bill.billing.plugin:killbill-plugin-api-control', '0.23'
|
|
7
|
-
jar 'org.kill-bill.billing.plugin:killbill-plugin-api-catalog', '0.23'
|
|
8
|
-
jar 'org.kill-bill.billing.plugin:killbill-plugin-api-entitlement', '0.23'
|
|
9
|
-
jar 'org.kill-bill.billing:killbill-util:tests', '0.18.0'
|
|
10
|
-
jar 'org.kill-bill.billing:killbill-util', '0.18.0'
|
|
11
|
-
jar 'org.mockito:mockito-all', '1.10.19'
|
|
12
|
-
jar 'javax.servlet:javax.servlet-api', '3.1.0'
|
data/Jarfile.lock
DELETED
|
@@ -1,64 +0,0 @@
|
|
|
1
|
-
---
|
|
2
|
-
:runtime:
|
|
3
|
-
- io.dropwizard.metrics:metrics-core:jar:3.1.1
|
|
4
|
-
- joda-time:joda-time:jar:2.3
|
|
5
|
-
- org.weakref:jmxutils:jar:1.18
|
|
6
|
-
- commons-beanutils:commons-beanutils:jar:1.8.3
|
|
7
|
-
- com.google.inject:guice:jar:3.0
|
|
8
|
-
- org.osgi:org.osgi.core:jar:5.0.0
|
|
9
|
-
- com.fasterxml.jackson.core:jackson-databind:jar:2.4.5
|
|
10
|
-
- org.kill-bill.billing.plugin:killbill-plugin-api-currency:jar:0.23
|
|
11
|
-
- org.kill-bill.billing:killbill-platform-api:jar:0.36.1
|
|
12
|
-
- com.samskivert:jmustache:jar:1.5
|
|
13
|
-
- org.kill-bill.commons:killbill-clock:jar:0.20
|
|
14
|
-
- org.kill-bill.billing:killbill-util:jar:0.18.0
|
|
15
|
-
- com.fasterxml.jackson.dataformat:jackson-dataformat-csv:jar:2.4.5
|
|
16
|
-
- org.kill-bill.billing.plugin:killbill-plugin-api-entitlement:jar:0.23
|
|
17
|
-
- org.bgee.log4jdbc-log4j2:log4jdbc-log4j2-jdbc4:jar:1.16
|
|
18
|
-
- com.h2database:h2:jar:1.4.186
|
|
19
|
-
- com.fasterxml.jackson.datatype:jackson-datatype-joda:jar:2.4.5
|
|
20
|
-
- javax.activation:activation:jar:1.1
|
|
21
|
-
- org.javassist:javassist:jar:3.19.0-GA
|
|
22
|
-
- org.skife.config:config-magic:jar:0.14
|
|
23
|
-
- org.apache.commons:commons-email:jar:1.2
|
|
24
|
-
- org.mockito:mockito-all:jar:1.10.19
|
|
25
|
-
- antlr:antlr:jar:2.7.7
|
|
26
|
-
- aopalliance:aopalliance:jar:1.0
|
|
27
|
-
- com.zaxxer:HikariCP-java6:jar:2.3.7
|
|
28
|
-
- org.slf4j:slf4j-api:jar:1.7.21
|
|
29
|
-
- com.fasterxml.jackson.core:jackson-annotations:jar:2.4.3
|
|
30
|
-
- org.antlr:stringtemplate:jar:3.2.1
|
|
31
|
-
- org.slf4j:jcl-over-slf4j:jar:1.7.21
|
|
32
|
-
- javax.mail:mail:jar:1.4.1
|
|
33
|
-
- io.dropwizard.metrics:metrics-ehcache:jar:3.1.1
|
|
34
|
-
- org.jdbi:jdbi:jar:2.62
|
|
35
|
-
- com.fasterxml.jackson.core:jackson-core:jar:2.4.5
|
|
36
|
-
- org.apache.felix:org.apache.felix.framework:jar:4.4.1
|
|
37
|
-
- org.joda:joda-money:jar:0.9
|
|
38
|
-
- org.kill-bill.billing.plugin:killbill-plugin-api-payment:jar:0.23
|
|
39
|
-
- org.apache.shiro:shiro-core:jar:1.2.3
|
|
40
|
-
- org.kill-bill.billing:killbill-internal-api:jar:0.18.0
|
|
41
|
-
- org.kill-bill.billing:killbill-util:jar:tests:0.18.0
|
|
42
|
-
- org.kill-bill.billing.plugin:killbill-plugin-api-control:jar:0.23
|
|
43
|
-
- org.kill-bill.commons:killbill-jdbi:jar:0.20
|
|
44
|
-
- com.google.guava:guava:jar:r09
|
|
45
|
-
- org.kill-bill.commons:killbill-queue:jar:0.20
|
|
46
|
-
- org.osgi:org.osgi.compendium:jar:5.0.0
|
|
47
|
-
- org.kill-bill.commons:killbill-xmlloader:jar:0.20
|
|
48
|
-
- javax.servlet:javax.servlet-api:jar:3.1.0
|
|
49
|
-
- org.kill-bill.billing:killbill-platform-osgi:jar:0.36.1
|
|
50
|
-
- org.kill-bill.billing:killbill-platform-base:jar:0.36.1
|
|
51
|
-
- org.apache.shiro:shiro-ehcache:jar:1.2.3
|
|
52
|
-
- javax.inject:javax.inject:jar:1
|
|
53
|
-
- org.kill-bill.billing.plugin:killbill-plugin-api-invoice:jar:0.23
|
|
54
|
-
- org.kill-bill.billing:killbill-api:jar:0.50
|
|
55
|
-
- org.kill-bill.billing:killbill-platform-osgi-api:jar:0.36.1
|
|
56
|
-
- com.google.inject.extensions:guice-multibindings:jar:3.0
|
|
57
|
-
- net.sf.ehcache:ehcache:jar:2.9.1
|
|
58
|
-
- org.kill-bill.commons:killbill-locker:jar:0.20
|
|
59
|
-
- org.kill-bill.commons:killbill-embeddeddb-common:jar:0.20
|
|
60
|
-
- org.apache.shiro:shiro-guice:jar:1.2.3
|
|
61
|
-
- com.google.code.findbugs:annotations:jar:3.0.0
|
|
62
|
-
- org.kill-bill.commons:killbill-concurrent:jar:0.20
|
|
63
|
-
- org.kill-bill.billing.plugin:killbill-plugin-api-catalog:jar:0.23
|
|
64
|
-
- org.kill-bill.billing.plugin:killbill-plugin-api-notification:jar:0.23
|
data/README.md
DELETED
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
killbill-currency-plugin
|
|
2
|
-
========================
|
|
3
|
-
|
|
4
|
-
A currency plugin used for integration tests.
|
|
5
|
-
|
|
6
|
-
Release builds are available on [Maven Central](http://search.maven.org/#search%7Cga%7C1%7Cg%3A%22com.ning.killbill.ruby%22%20AND%20a%3A%22killbill-currency-plugin-test%22) with coordinates `com.ning.killbill.ruby:killbill-currency-plugin-test`.
|
|
7
|
-
|
|
8
|
-
Kill Bill compatibility
|
|
9
|
-
-----------------------
|
|
10
|
-
|
|
11
|
-
| Plugin version | Kill Bill version |
|
|
12
|
-
| -------------: | ----------------: |
|
|
13
|
-
| 2.0.y | 0.16.z |
|
|
14
|
-
| 3.0.y | 0.18.z |
|
data/Rakefile
DELETED
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
#!/usr/bin/env rake
|
|
2
|
-
|
|
3
|
-
# Install tasks to build and release the plugin
|
|
4
|
-
require 'bundler/setup'
|
|
5
|
-
Bundler::GemHelper.install_tasks
|
|
6
|
-
|
|
7
|
-
# Install test tasks
|
|
8
|
-
require 'rspec/core/rake_task'
|
|
9
|
-
desc "Run RSpec"
|
|
10
|
-
RSpec::Core::RakeTask.new
|
|
11
|
-
|
|
12
|
-
# Install tasks to package the plugin for Killbill
|
|
13
|
-
require 'killbill/rake_task'
|
|
14
|
-
Killbill::PluginHelper.install_tasks
|
|
15
|
-
|
|
16
|
-
# Run tests by default
|
|
17
|
-
task :default => :spec
|
data/VERSION
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
3.0.0
|
|
@@ -1,30 +0,0 @@
|
|
|
1
|
-
version = File.read(File.expand_path('../VERSION', __FILE__)).strip
|
|
2
|
-
|
|
3
|
-
Gem::Specification.new do |s|
|
|
4
|
-
s.name = 'killbill-currency-plugin-test'
|
|
5
|
-
s.version = version
|
|
6
|
-
s.summary = 'Test Currency Plugin.'
|
|
7
|
-
s.description = 'Mock plugin used for integration tests.'
|
|
8
|
-
|
|
9
|
-
s.required_ruby_version = '>= 1.9.3'
|
|
10
|
-
|
|
11
|
-
s.license = 'Apache License (2.0)'
|
|
12
|
-
|
|
13
|
-
s.author = 'Kill Bill core team'
|
|
14
|
-
s.email = 'killbilling-users@googlegroups.com'
|
|
15
|
-
s.homepage = 'http://killbill.io'
|
|
16
|
-
|
|
17
|
-
s.files = `git ls-files`.split("\n")
|
|
18
|
-
s.test_files = `git ls-files -- {test,spec,features}/*`.split("\n")
|
|
19
|
-
s.bindir = 'bin'
|
|
20
|
-
s.executables = `git ls-files -- bin/*`.split("\n").map{ |f| File.basename(f) }
|
|
21
|
-
s.require_paths = ["lib"]
|
|
22
|
-
|
|
23
|
-
s.rdoc_options << '--exclude' << '.'
|
|
24
|
-
|
|
25
|
-
s.add_dependency 'killbill', '~> 8.0'
|
|
26
|
-
|
|
27
|
-
s.add_development_dependency 'jbundler', '~> 0.9.2'
|
|
28
|
-
s.add_development_dependency 'rake', '>= 10.0.0'
|
|
29
|
-
s.add_development_dependency 'rspec', '~> 2.12.0'
|
|
30
|
-
end
|
data/killbill.properties
DELETED
data/pom.xml
DELETED
|
@@ -1,38 +0,0 @@
|
|
|
1
|
-
<?xml version="1.0" encoding="UTF-8"?>
|
|
2
|
-
<!--
|
|
3
|
-
~ Copyright 2010-2013 Ning, Inc.
|
|
4
|
-
~ Copyright 2014-2015 Groupon, Inc
|
|
5
|
-
~ Copyright 2014-2015 The Billing Project, LLC
|
|
6
|
-
~
|
|
7
|
-
~ The Billing Project licenses this file to you under the Apache License, version 2.0
|
|
8
|
-
~ (the "License"); you may not use this file except in compliance with the
|
|
9
|
-
~ License. You may obtain a copy of the License at:
|
|
10
|
-
~
|
|
11
|
-
~ http://www.apache.org/licenses/LICENSE-2.0
|
|
12
|
-
~
|
|
13
|
-
~ Unless required by applicable law or agreed to in writing, software
|
|
14
|
-
~ distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
|
|
15
|
-
~ WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
|
|
16
|
-
~ License for the specific language governing permissions and limitations
|
|
17
|
-
~ under the License.
|
|
18
|
-
-->
|
|
19
|
-
|
|
20
|
-
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
|
|
21
|
-
<parent>
|
|
22
|
-
<groupId>org.sonatype.oss</groupId>
|
|
23
|
-
<artifactId>oss-parent</artifactId>
|
|
24
|
-
<version>5</version>
|
|
25
|
-
</parent>
|
|
26
|
-
<modelVersion>4.0.0</modelVersion>
|
|
27
|
-
<groupId>org.kill-bill.ruby</groupId>
|
|
28
|
-
<artifactId>killbill-currency-plugin-test</artifactId>
|
|
29
|
-
<packaging>pom</packaging>
|
|
30
|
-
<version>3.0.0</version>
|
|
31
|
-
<name>killbill-currency-plugin-test</name>
|
|
32
|
-
<description></description>
|
|
33
|
-
<scm>
|
|
34
|
-
<connection>scm:git:git://github.com/killbill/killbill-killbill-currency-plugin-test.git</connection>
|
|
35
|
-
<url>https://github.com/killbill/killbill-killbill-currency-plugin-test/</url>
|
|
36
|
-
<developerConnection>scm:git:git@github.com:killbill/killbill-killbill-currency-plugin-test.git</developerConnection>
|
|
37
|
-
</scm>
|
|
38
|
-
</project>
|
data/release.sh
DELETED
|
@@ -1,61 +0,0 @@
|
|
|
1
|
-
set -e
|
|
2
|
-
|
|
3
|
-
BUNDLE=${BUNDLE-"bundle exec"}
|
|
4
|
-
MVN=${MVN-"mvn"}
|
|
5
|
-
|
|
6
|
-
if [ 'GNU' != "$(tar --help | grep GNU | head -1 | awk '{print $1}')" ]; then
|
|
7
|
-
echo 'Unable to release: make sure to use GNU tar'
|
|
8
|
-
exit 1
|
|
9
|
-
fi
|
|
10
|
-
|
|
11
|
-
if $(ruby -e'require "java"'); then
|
|
12
|
-
# Good
|
|
13
|
-
echo 'Detected JRuby'
|
|
14
|
-
else
|
|
15
|
-
echo 'Unable to release: make sure to use JRuby'
|
|
16
|
-
exit 1
|
|
17
|
-
fi
|
|
18
|
-
|
|
19
|
-
VERSION=`grep -E '<version>([0-9]+\.[0-9]+\.[0-9]+)</version>' pom.xml | sed 's/[\t \n]*<version>\(.*\)<\/version>[\t \n]*/\1/'`
|
|
20
|
-
if [[ -z "$NO_RELEASE" && "$VERSION" != "$(cat $PWD/VERSION)" ]]; then
|
|
21
|
-
echo 'Unable to release: make sure the versions in pom.xml and VERSION match'
|
|
22
|
-
exit 1
|
|
23
|
-
fi
|
|
24
|
-
|
|
25
|
-
echo 'Cleaning up'
|
|
26
|
-
$BUNDLE rake killbill:clean
|
|
27
|
-
|
|
28
|
-
echo 'Building gem'
|
|
29
|
-
$BUNDLE rake build
|
|
30
|
-
|
|
31
|
-
if [[ -z "$NO_RELEASE" ]]; then
|
|
32
|
-
echo 'Pushing the gem to Rubygems'
|
|
33
|
-
$BUNDLE rake release
|
|
34
|
-
fi
|
|
35
|
-
|
|
36
|
-
echo 'Building artifact'
|
|
37
|
-
$BUNDLE rake killbill:package
|
|
38
|
-
|
|
39
|
-
ARTIFACT="$PWD/pkg/killbill-currency-plugin-test-$VERSION.tar.gz"
|
|
40
|
-
echo "Pushing $ARTIFACT to Maven Central"
|
|
41
|
-
|
|
42
|
-
if [[ -z "$NO_RELEASE" ]]; then
|
|
43
|
-
GOAL=gpg:sign-and-deploy-file
|
|
44
|
-
REPOSITORY_ID=ossrh-releases
|
|
45
|
-
URL=https://oss.sonatype.org/service/local/staging/deploy/maven2/
|
|
46
|
-
else
|
|
47
|
-
GOAL=deploy:deploy-file
|
|
48
|
-
REPOSITORY_ID=sonatype-nexus-snapshots
|
|
49
|
-
URL=https://oss.sonatype.org/content/repositories/snapshots/
|
|
50
|
-
VERSION="$VERSION-SNAPSHOT"
|
|
51
|
-
fi
|
|
52
|
-
|
|
53
|
-
$MVN $GOAL \
|
|
54
|
-
-DgroupId=org.kill-bill.billing.plugin.ruby \
|
|
55
|
-
-DartifactId=killbill-currency-plugin-test \
|
|
56
|
-
-Dversion=$VERSION \
|
|
57
|
-
-Dpackaging=tar.gz \
|
|
58
|
-
-DrepositoryId=$REPOSITORY_ID \
|
|
59
|
-
-Durl=$URL \
|
|
60
|
-
-Dfile=$ARTIFACT \
|
|
61
|
-
-DpomFile=pom.xml
|