killbill-currency-plugin-test 1.1.1 → 1.1.2

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 46c93005855072daf3a92ffe1af12248919c57f1
4
- data.tar.gz: dbd68473802b50d7c0e196a830a86024e9294c33
3
+ metadata.gz: 77bc16bd2fee96e70dc692159d9db903c2d2fd8b
4
+ data.tar.gz: f4c01691df64e73f96160e696505fd8e7695e146
5
5
  SHA512:
6
- metadata.gz: 8dcb0cddfd027590c2f765e94f36556627ba43cda43ef70c55a438270c5f83198c1107c333921bbe02be096aeb357a344516422d15ba7595c1701051c7786866
7
- data.tar.gz: 39146e9a51e800f7f5318c495ec8b48dbae4b19a8311f7b5885a9dc287582387337b33fff69ffa774c2c325152c82b62e0507b44890965a47953e69a1d81c45a
6
+ metadata.gz: 820712abe7e5eb52c5694541de26603670a964415924040b40e2f617e6f024b36c6a91d28f2f7fd22d818545bd9fe468492c4bbcd9df39c6c3857a21a2c7e96e
7
+ data.tar.gz: 2e03c2ccece4f73e2dccab4da9aaf9668848d3fd0d622c22fae10ed657564398235b01fafd62798dacc4374181403a99c11f8071911ac7b4f24f8527187bd99b
data/Jarfile CHANGED
@@ -1,6 +1,8 @@
1
- jar 'org.kill-bill.billing:killbill-api', '0.9.5'
2
- jar 'org.kill-bill.billing.plugin:killbill-plugin-api-notification', '0.7.2'
3
- jar 'org.kill-bill.billing.plugin:killbill-plugin-api-payment', '0.7.2'
4
- jar 'org.kill-bill.billing.plugin:killbill-plugin-api-currency', '0.7.2'
5
- jar 'org.kill-bill.billing:killbill-util:tests', '0.11.2'
1
+ jar 'org.kill-bill.billing:killbill-api', '0.9.6'
2
+ jar 'org.kill-bill.billing.plugin:killbill-plugin-api-notification', '0.7.4'
3
+ jar 'org.kill-bill.billing.plugin:killbill-plugin-api-payment', '0.7.4'
4
+ jar 'org.kill-bill.billing.plugin:killbill-plugin-api-currency', '0.7.4'
5
+ jar 'org.kill-bill.billing.plugin:killbill-plugin-api-retry', '0.7.4'
6
+ jar 'org.kill-bill.billing.plugin:killbill-plugin-api-invoice', '0.7.4'
7
+ jar 'org.kill-bill.billing:killbill-util:tests', '0.11.3'
6
8
  jar 'javax.servlet:javax.servlet-api', '3.0.1'
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.1.1
1
+ 1.1.2
@@ -6,20 +6,6 @@ module Killbill
6
6
  module CurrencyPlugin
7
7
  class TestPlugin < Killbill::Plugin::Currency
8
8
 
9
- def initialize()
10
- @raise_exception = false
11
- super()
12
- end
13
-
14
-
15
- def start_plugin
16
- super
17
- end
18
-
19
- # return DB connections to the Pool if required
20
- def after_request
21
- end
22
-
23
9
  def get_base_currencies(options = {})
24
10
  ['USD']
25
11
  end
@@ -33,11 +19,10 @@ module Killbill
33
19
  end
34
20
 
35
21
  def get_current_rates(base_currency, options = {})
36
-
37
- rate = Killbill::Plugin::Model::Rate.new
38
- rate.base_currency = base_currency
39
- rate.currency = 'BRL'
40
- rate.value = 12.3
22
+ rate = Killbill::Plugin::Model::Rate.new
23
+ rate.base_currency = base_currency
24
+ rate.currency = 'BRL'
25
+ rate.value = 12.3
41
26
  rate.conversion_date = Time.now.utc
42
27
  [rate]
43
28
  end
@@ -45,7 +30,6 @@ module Killbill
45
30
  def get_rates(base_currency, conversion_date, options = {})
46
31
  get_current_rates(base_currency, options)
47
32
  end
48
-
49
33
  end
50
34
  end
51
35
  end
data/pom.xml CHANGED
@@ -1,6 +1,8 @@
1
1
  <?xml version="1.0" encoding="UTF-8"?>
2
2
  <!--
3
3
  ~ Copyright 2010-2013 Ning, Inc.
4
+ ~ Copyright 2014 Groupon, Inc
5
+ ~ Copyright 2014 The Billing Project, LLC
4
6
  ~
5
7
  ~ Ning licenses this file to you under the Apache License, version 2.0
6
8
  ~ (the "License"); you may not use this file except in compliance with the
@@ -25,7 +27,7 @@
25
27
  <groupId>org.kill-bill.ruby</groupId>
26
28
  <artifactId>killbill-currency-plugin-test</artifactId>
27
29
  <packaging>pom</packaging>
28
- <version>1.1.1</version>
30
+ <version>1.1.2</version>
29
31
  <name>killbill-currency-plugin-test</name>
30
32
  <description></description>
31
33
  <scm>
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: killbill-currency-plugin-test
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.1.1
4
+ version: 1.1.2
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: 2014-04-28 00:00:00.000000000 Z
11
+ date: 2014-07-03 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: killbill
@@ -16,12 +16,12 @@ dependencies:
16
16
  requirements:
17
17
  - - ~>
18
18
  - !ruby/object:Gem::Version
19
- version: 3.1.1
19
+ version: 3.1.4
20
20
  requirement: !ruby/object:Gem::Requirement
21
21
  requirements:
22
22
  - - ~>
23
23
  - !ruby/object:Gem::Version
24
- version: 3.1.1
24
+ version: 3.1.4
25
25
  prerelease: false
26
26
  type: :runtime
27
27
  - !ruby/object:Gem::Dependency