killbill-catalog-ruby-plugin 0.2.0 → 0.3.0

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 85ec8d1d9d7a9929e6dc049f45fe9e683540ac2d
4
- data.tar.gz: 6768f2182e88f8d4ef363bbc0bcc0fa86ee331f1
3
+ metadata.gz: ad6c2d05bcd00933cffbd2c07f1ec3f2a3c93871
4
+ data.tar.gz: f1846765351c37e157f2739b397fd7bc4bb6acc8
5
5
  SHA512:
6
- metadata.gz: 04728873ed516fa19951dcf64d54af9ba271b9fe6114607405a2da4c1058497f3414858ade59ea06575baf7a01c2b512dc270cac1fa7c1bb2611a2461be364aa
7
- data.tar.gz: 577401272e41b9503a72510a8f6bf4a1e2d72f840fb02bbb080e23b9ce5b851399d311ba4433522269eb924cc1a37d49974046d2355c42cbba95f5f751052ab1
6
+ metadata.gz: 5593384315c18151884a970e355c57b8e5fdbcdd4ea6090644cfead668f33a9a0f242472a5c6256e6c30d78f009c27ecee849cb68be994b61db7a54021a3ecef
7
+ data.tar.gz: cc6cdfd7fceb2a4c10a368d35f79167eb11586ac78b47665671690e30e7b84e760ae55aa1b7e44191f418860c525b7a0c81090ba61ea8a4df5b70a9166ad468a
metadata CHANGED
@@ -1,21 +1,21 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: killbill-catalog-ruby-plugin
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.0
4
+ version: 0.3.0
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: 2016-11-28 00:00:00.000000000 Z
11
+ date: 2018-07-12 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  requirement: !ruby/object:Gem::Requirement
15
15
  requirements:
16
16
  - - "~>"
17
17
  - !ruby/object:Gem::Version
18
- version: '8.0'
18
+ version: '9.4'
19
19
  name: killbill
20
20
  prerelease: false
21
21
  type: :runtime
@@ -23,7 +23,7 @@ dependencies:
23
23
  requirements:
24
24
  - - "~>"
25
25
  - !ruby/object:Gem::Version
26
- version: '8.0'
26
+ version: '9.4'
27
27
  - !ruby/object:Gem::Dependency
28
28
  requirement: !ruby/object:Gem::Requirement
29
29
  requirements:
@@ -44,6 +44,9 @@ dependencies:
44
44
  - - ">="
45
45
  - !ruby/object:Gem::Version
46
46
  version: 10.0.0
47
+ - - "<"
48
+ - !ruby/object:Gem::Version
49
+ version: 11.0.0
47
50
  name: rake
48
51
  prerelease: false
49
52
  type: :development
@@ -52,12 +55,15 @@ dependencies:
52
55
  - - ">="
53
56
  - !ruby/object:Gem::Version
54
57
  version: 10.0.0
58
+ - - "<"
59
+ - !ruby/object:Gem::Version
60
+ version: 11.0.0
55
61
  - !ruby/object:Gem::Dependency
56
62
  requirement: !ruby/object:Gem::Requirement
57
63
  requirements:
58
64
  - - "~>"
59
65
  - !ruby/object:Gem::Version
60
- version: 2.12.0
66
+ version: 3.5.0
61
67
  name: rspec
62
68
  prerelease: false
63
69
  type: :development
@@ -65,30 +71,15 @@ dependencies:
65
71
  requirements:
66
72
  - - "~>"
67
73
  - !ruby/object:Gem::Version
68
- version: 2.12.0
74
+ version: 3.5.0
69
75
  description: Kill Bill Plugin to illustrate the use of the Catalog Plugin api.
70
76
  email: killbilling-users@googlegroups.com
71
77
  executables: []
72
78
  extensions: []
73
79
  extra_rdoc_files: []
74
80
  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-catalog-ruby-plugin.gemspec
85
- - killbill.properties
86
81
  - lib/killbill-catalog-ruby-plugin.rb
87
82
  - lib/killbill-catalog-ruby-plugin/api.rb
88
- - pom.xml
89
- - release.sh
90
- - spec/killbill-catalog-ruby-plugin/base_plugin_spec.rb
91
- - spec/spec_helper.rb
92
83
  homepage: http://killbill.io
93
84
  licenses:
94
85
  - Apache License (2.0)
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
@@ -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
@@ -1,3 +0,0 @@
1
- source 'https://rubygems.org'
2
-
3
- gemspec
@@ -1,78 +0,0 @@
1
- PATH
2
- remote: .
3
- specs:
4
- killbill-catalog-ruby-plugin (0.2.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-catalog-ruby-plugin!
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'
@@ -1,66 +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.bouncycastle:bcpkix-jdk15on:jar:1.55
17
- - org.bouncycastle:bcprov-jdk15on:jar:1.55
18
- - org.kill-bill.billing.plugin:killbill-plugin-api-entitlement:jar:0.23
19
- - org.bgee.log4jdbc-log4j2:log4jdbc-log4j2-jdbc4:jar:1.16
20
- - com.h2database:h2:jar:1.4.186
21
- - com.fasterxml.jackson.datatype:jackson-datatype-joda:jar:2.4.5
22
- - javax.activation:activation:jar:1.1
23
- - org.skife.config:config-magic:jar:0.14
24
- - org.javassist:javassist:jar:3.19.0-GA
25
- - org.mockito:mockito-all:jar:1.10.19
26
- - org.apache.commons:commons-email:jar:1.2
27
- - antlr:antlr:jar:2.7.7
28
- - aopalliance:aopalliance:jar:1.0
29
- - com.zaxxer:HikariCP-java6:jar:2.3.7
30
- - org.slf4j:slf4j-api:jar:1.7.21
31
- - com.fasterxml.jackson.core:jackson-annotations:jar:2.4.3
32
- - org.antlr:stringtemplate:jar:3.2.1
33
- - org.slf4j:jcl-over-slf4j:jar:1.7.21
34
- - javax.mail:mail:jar:1.4.1
35
- - io.dropwizard.metrics:metrics-ehcache:jar:3.1.1
36
- - org.jdbi:jdbi:jar:2.62
37
- - com.fasterxml.jackson.core:jackson-core:jar:2.4.5
38
- - org.apache.felix:org.apache.felix.framework:jar:4.4.1
39
- - org.joda:joda-money:jar:0.9
40
- - org.kill-bill.billing.plugin:killbill-plugin-api-payment:jar:0.23
41
- - org.apache.shiro:shiro-core:jar:1.2.3
42
- - org.kill-bill.billing:killbill-internal-api:jar:0.18.0
43
- - org.kill-bill.billing:killbill-util:jar:tests:0.18.0
44
- - org.kill-bill.billing.plugin:killbill-plugin-api-control:jar:0.23
45
- - org.kill-bill.commons:killbill-jdbi:jar:0.20
46
- - com.google.guava:guava:jar:r09
47
- - org.kill-bill.commons:killbill-queue:jar:0.20
48
- - org.osgi:org.osgi.compendium:jar:5.0.0
49
- - org.kill-bill.commons:killbill-xmlloader:jar:0.20
50
- - javax.servlet:javax.servlet-api:jar:3.1.0
51
- - org.kill-bill.billing:killbill-platform-osgi:jar:0.36.1
52
- - org.apache.shiro:shiro-ehcache:jar:1.2.3
53
- - org.kill-bill.billing:killbill-platform-base:jar:0.36.1
54
- - javax.inject:javax.inject:jar:1
55
- - org.kill-bill.billing.plugin:killbill-plugin-api-invoice:jar:0.23
56
- - org.kill-bill.billing:killbill-api:jar:0.50
57
- - com.google.inject.extensions:guice-multibindings:jar:3.0
58
- - org.kill-bill.billing:killbill-platform-osgi-api:jar:0.36.1
59
- - net.sf.ehcache:ehcache:jar:2.9.1
60
- - org.kill-bill.commons:killbill-locker:jar:0.20
61
- - org.kill-bill.commons:killbill-embeddeddb-common:jar:0.20
62
- - org.apache.shiro:shiro-guice:jar:1.2.3
63
- - com.google.code.findbugs:annotations:jar:3.0.0
64
- - org.kill-bill.billing.plugin:killbill-plugin-api-notification:jar:0.23
65
- - org.kill-bill.billing.plugin:killbill-plugin-api-catalog:jar:0.23
66
- - org.kill-bill.commons:killbill-concurrent:jar:0.20
data/README.md DELETED
@@ -1,31 +0,0 @@
1
- killbill-catalog-ruby-plugin
2
- ============================
3
-
4
- Plugin to highlight the use of the CatalogPluginApi from a ruby plugin.
5
-
6
- Release builds are available on [Maven Central](http://search.maven.org/#search%7Cga%7C1%7Cg%3A%22org.kill-bill.billing.plugin.ruby%22%20AND%20a%3A%22killbill-catalog-ruby-plugin%22) with coordinates `org.kill-bill.billing.plugin.ruby:killbill-catalog-ruby-plugin`.
7
-
8
- Kill Bill compatibility
9
- -----------------------
10
-
11
- | Plugin version | Kill Bill version |
12
- | -------------: | ----------------: |
13
- | 0.1.y | 0.16.z |
14
- | 0.2.y | 0.18.z |
15
-
16
- Usage
17
- -----
18
-
19
- You can verify Kill Bill can load up the demo Gold plan by creating a subscription:
20
-
21
- ```
22
- curl -v
23
- -u admin:password
24
- -H "X-Killbill-ApiKey: bob"
25
- -H "X-Killbill-ApiSecret: lazar"
26
- -H "Content-Type: application/json"
27
- -H "X-Killbill-CreatedBy: demo"
28
- -X POST
29
- --data-binary '{"accountId":"486a9a5f-b896-40c0-845a-a8c042992a32","productName":"Gold","productCategory":"BASE","billingPeriod":"MONTHLY","priceList":"DEFAULT"}'
30
- "http://127.0.0.1:8080/1.0/kb/subscriptions"
31
- ```
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
- 0.2.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-catalog-ruby-plugin'
5
- s.version = version
6
- s.summary = 'Catalog Plugin'
7
- s.description = 'Kill Bill Plugin to illustrate the use of the Catalog Plugin api.'
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
@@ -1,3 +0,0 @@
1
- mainClass=CatalogControlPluginModule::CatalogControlPlugin
2
- require=killbill-catalog-ruby-plugin
3
- pluginType=CATALOG
data/pom.xml DELETED
@@ -1,37 +0,0 @@
1
- <?xml version="1.0" encoding="UTF-8"?>
2
- <!--
3
- ~ Copyright 2014-2015 Groupon, Inc
4
- ~ Copyright 2014-2015 The Billing Project, LLC
5
- ~
6
- ~ The Billing Project licenses this file to you under the Apache License, version 2.0
7
- ~ (the "License"); you may not use this file except in compliance with the
8
- ~ License. You may obtain a copy of the License at:
9
- ~
10
- ~ http://www.apache.org/licenses/LICENSE-2.0
11
- ~
12
- ~ Unless required by applicable law or agreed to in writing, software
13
- ~ distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
14
- ~ WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
15
- ~ License for the specific language governing permissions and limitations
16
- ~ under the License.
17
- -->
18
-
19
- <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">
20
- <parent>
21
- <groupId>org.sonatype.oss</groupId>
22
- <artifactId>oss-parent</artifactId>
23
- <version>5</version>
24
- </parent>
25
- <modelVersion>4.0.0</modelVersion>
26
- <groupId>org.kill-bill.billing.plugin.ruby</groupId>
27
- <artifactId>killbill-catalog-ruby-plugin</artifactId>
28
- <packaging>pom</packaging>
29
- <version>0.2.0</version>
30
- <name>killbill-catalog-ruby-plugin</name>
31
- <description></description>
32
- <scm>
33
- <connection>scm:git:git://github.com/killbill/killbill-catalog-ruby-plugin.git</connection>
34
- <url>https://github.com/killbill/killbill-catalog-ruby-plugin/</url>
35
- <developerConnection>scm:git:git@github.com:killbill/killbill-catalog-ruby-plugin.git</developerConnection>
36
- </scm>
37
- </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-catalog-ruby-plugin-$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-catalog-ruby-plugin \
56
- -Dversion=$VERSION \
57
- -Dpackaging=tar.gz \
58
- -DrepositoryId=$REPOSITORY_ID \
59
- -Durl=$URL \
60
- -Dfile=$ARTIFACT \
61
- -DpomFile=pom.xml
@@ -1,22 +0,0 @@
1
- require 'spec_helper'
2
- require 'logger'
3
-
4
- require 'killbill-catalog-ruby-plugin'
5
-
6
- describe CatalogControlPluginModule::CatalogControlPlugin do
7
- before(:each) do
8
-
9
- kb_apis = Killbill::Plugin::KillbillApi.new("killbill-catalog-ruby-plugin", {})
10
- @plugin = CatalogControlPluginModule::CatalogControlPlugin.new
11
- @plugin.logger = Logger.new(STDOUT)
12
- @plugin.kb_apis = kb_apis
13
-
14
- end
15
-
16
- it "should start and stop correctly" do
17
- @plugin.start_plugin
18
- @plugin.stop_plugin
19
- end
20
-
21
-
22
- end
@@ -1,9 +0,0 @@
1
- require 'bundler'
2
-
3
- require 'rspec'
4
-
5
- RSpec.configure do |config|
6
- config.color_enabled = true
7
- config.tty = true
8
- config.formatter = 'documentation'
9
- end