killbill-currency-plugin 1.2.0 → 1.3.0

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: 03867948475e076bdf3847d195d163f1b86e00b0
4
- data.tar.gz: cd0578638ecf66a682011c6627d59bd0dc290ede
3
+ metadata.gz: 14abc14d4ab45882e2dd7d455319480efda348cb
4
+ data.tar.gz: 43d4025f80d817bd06f3cf634e05879c4f11a25c
5
5
  SHA512:
6
- metadata.gz: 7c8ba166a8d5d6d487afde01c464745e58a6f7b66e875faf62bb11a7e905b6806a736064afd62fd7f05d2b75d9eb1e7c0484680ef8cdad0ea1aa8f36ed373f0e
7
- data.tar.gz: ce2507d57f6fc319308a48f083968836b15af07d09663ed65aba4b4694d87e69b3b68bf4b7c7bdbc4ac09d8b0d73d5a24ff07e65682eaaa0f763cf156ebca52b
6
+ metadata.gz: 1fc03965a24a381a37cadc583d981ad3a33691cc51605549509060a954d923565d33133793730dde55f84006273f5dc6fb90f1251cd6b87cec1e5578bc4f823e
7
+ data.tar.gz: d17fd6bda094e7bcd3d0866d7f72783dd7f72593fde744e35bed3b198e3b147fd22793aaa96bda76fb45fe8e0c68f94f70f4897525c5660136591d4f96db845f
data/Jarfile CHANGED
@@ -1,6 +1,6 @@
1
- jar 'org.kill-bill.billing:killbill-api', '0.8.2'
2
- jar 'org.kill-bill.billing.plugin:killbill-plugin-api-notification', '0.6.4'
3
- jar 'org.kill-bill.billing.plugin:killbill-plugin-api-payment', '0.6.4'
4
- jar 'org.kill-bill.billing.plugin:killbill-plugin-api-currency', '0.6.4'
5
- jar 'org.kill-bill.billing:killbill-util:tests', '0.9.1'
1
+ jar 'org.kill-bill.billing:killbill-api', '0.9.2'
2
+ jar 'org.kill-bill.billing.plugin:killbill-plugin-api-notification', '0.7.0'
3
+ jar 'org.kill-bill.billing.plugin:killbill-plugin-api-payment', '0.7.0'
4
+ jar 'org.kill-bill.billing.plugin:killbill-plugin-api-currency', '0.7.0'
5
+ jar 'org.kill-bill.billing:killbill-util:tests', '0.11.1'
6
6
  jar 'javax.servlet:javax.servlet-api', '3.0.1'
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.2.0
1
+ 1.3.0
@@ -22,17 +22,17 @@ Gem::Specification.new do |s|
22
22
 
23
23
  s.rdoc_options << '--exclude' << '.'
24
24
 
25
- s.add_dependency 'killbill', '~> 3.0.0'
26
- s.add_dependency 'activerecord', '~> 3.2.1'
25
+ s.add_dependency 'killbill', '~> 3.1.0'
26
+ s.add_dependency 'activerecord', '~> 4.1.0'
27
27
  if defined?(JRUBY_VERSION)
28
- s.add_dependency 'activerecord-jdbcmysql-adapter', '~> 1.2.9'
28
+ s.add_dependency 'activerecord-jdbcmysql-adapter', '~> 1.3.7'
29
29
  end
30
30
 
31
31
  s.add_development_dependency 'jbundler', '~> 0.4.1'
32
32
  s.add_development_dependency 'rake', '>= 10.0.0'
33
33
  s.add_development_dependency 'rspec', '~> 2.12.0'
34
34
  if defined?(JRUBY_VERSION)
35
- s.add_development_dependency 'activerecord-jdbcsqlite3-adapter', '~> 1.2.6'
35
+ s.add_development_dependency 'activerecord-jdbcsqlite3-adapter', '~> 1.3.7'
36
36
  else
37
37
  s.add_development_dependency 'sqlite3', '~> 1.3.7'
38
38
  end
@@ -5,10 +5,6 @@ module Killbill
5
5
 
6
6
  belongs_to :currency_update
7
7
 
8
- attr_accessible :target_currency,
9
- :rate,
10
- :currency_update_id
11
-
12
8
  scope :latest_rates_for_base_currency, ->(currency_update_id) { where("currency_update_id = ?", currency_update_id).order("target_currency ASC") }
13
9
  end
14
10
  end
@@ -4,9 +4,6 @@ module Killbill
4
4
 
5
5
  has_many :currency_rates
6
6
 
7
- attr_accessible :base_currency,
8
- :conversion_date
9
-
10
7
  scope :historical_base_currencies, ->(base_currency_arg) { where("base_currency = ?", base_currency_arg).order("conversion_date DESC") }
11
8
  scope :latest_base_currency, ->(base_currency_arg) { historical_base_currencies(base_currency_arg).limit(1) }
12
9
  scope :distinct_base_currencies, -> { select("DISTINCT base_currency").order("base_currency ASC") }
@@ -14,4 +11,4 @@ module Killbill
14
11
  #scope :latest_rates_for_currency, ->(base_currency_arg) { latest_base_currency(base_currency_arg).joins(:currency_rates).order("target_currency ASC") }
15
12
  end
16
13
  end
17
- end
14
+ end
data/pom.xml CHANGED
@@ -25,7 +25,7 @@
25
25
  <groupId>org.kill-bill.billing.plugin.ruby</groupId>
26
26
  <artifactId>killbill-currency-plugin</artifactId>
27
27
  <packaging>pom</packaging>
28
- <version>1.2.0</version>
28
+ <version>1.3.0</version>
29
29
  <name>killbill-currency-plugin</name>
30
30
  <description></description>
31
31
  <scm>
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: killbill-currency-plugin
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.2.0
4
+ version: 1.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: 2014-03-12 00:00:00.000000000 Z
11
+ date: 2014-04-24 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.0.0
19
+ version: 3.1.0
20
20
  requirement: !ruby/object:Gem::Requirement
21
21
  requirements:
22
22
  - - ~>
23
23
  - !ruby/object:Gem::Version
24
- version: 3.0.0
24
+ version: 3.1.0
25
25
  prerelease: false
26
26
  type: :runtime
27
27
  - !ruby/object:Gem::Dependency
@@ -30,12 +30,12 @@ dependencies:
30
30
  requirements:
31
31
  - - ~>
32
32
  - !ruby/object:Gem::Version
33
- version: 3.2.1
33
+ version: 4.1.0
34
34
  requirement: !ruby/object:Gem::Requirement
35
35
  requirements:
36
36
  - - ~>
37
37
  - !ruby/object:Gem::Version
38
- version: 3.2.1
38
+ version: 4.1.0
39
39
  prerelease: false
40
40
  type: :runtime
41
41
  - !ruby/object:Gem::Dependency
@@ -44,12 +44,12 @@ dependencies:
44
44
  requirements:
45
45
  - - ~>
46
46
  - !ruby/object:Gem::Version
47
- version: 1.2.9
47
+ version: 1.3.7
48
48
  requirement: !ruby/object:Gem::Requirement
49
49
  requirements:
50
50
  - - ~>
51
51
  - !ruby/object:Gem::Version
52
- version: 1.2.9
52
+ version: 1.3.7
53
53
  prerelease: false
54
54
  type: :runtime
55
55
  - !ruby/object:Gem::Dependency
@@ -100,12 +100,12 @@ dependencies:
100
100
  requirements:
101
101
  - - ~>
102
102
  - !ruby/object:Gem::Version
103
- version: 1.2.6
103
+ version: 1.3.7
104
104
  requirement: !ruby/object:Gem::Requirement
105
105
  requirements:
106
106
  - - ~>
107
107
  - !ruby/object:Gem::Version
108
- version: 1.2.6
108
+ version: 1.3.7
109
109
  prerelease: false
110
110
  type: :development
111
111
  description: Currency Plugin based on a static currency table.
@@ -157,7 +157,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
157
157
  version: '0'
158
158
  requirements: []
159
159
  rubyforge_project:
160
- rubygems_version: 2.1.9
160
+ rubygems_version: 2.2.2
161
161
  signing_key:
162
162
  specification_version: 4
163
163
  summary: Default Currency Plugin.