active_zuora 2.5.0 → 2.5.1

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: 43b83ec2b96d63d7e4cc239cdadb2c5daed35848
4
- data.tar.gz: 3c9265b251f640a772e12df432fdec2878d7dfa5
3
+ metadata.gz: 3e39b05b9fa892e0d5ed5c79a780f21a1f6b6c7b
4
+ data.tar.gz: 043ff3cd54f3ef90d353537621c9728120d8fb98
5
5
  SHA512:
6
- metadata.gz: 5beca330db7c0ee40900bafca9183add3d5f8b17bb9118ef59a54ceec1394242f52a3cfca44d652cb965e03ecf22610092c9d1b60d9a6564906be7364233843a
7
- data.tar.gz: 1d95242803643a71406c11b19d30c9718dc7303a963e295b556496a73b0d701fb534565e82107464f394508e96b81e5dbf1d2a3777b42d2b7f503b31b166a9dc
6
+ metadata.gz: bf08987fd90706bba32bda2611b36f193e3a21bdce12b0fc5c9bb56da2c0cf1949bcf480591272383ff9634c6f71b9a6c7b7f7efc4301a7cfe3d88a11230a0c9
7
+ data.tar.gz: 8be54f9068bbd0f349ec4146ffab76b35c83248b948de8fdb28f04620c24bb170b8e05dbf8a5d6ab8f08d0a290954a646b0c13e077723dd16e1407f86da7b74d
@@ -1,7 +1,6 @@
1
1
  rvm:
2
- - 1.9.3
3
- - 2.0.0
4
- - 2.1.2
2
+ - 2.2
3
+ - 2.3
5
4
  env:
6
5
  global:
7
6
  - secure: ZFQj4fzF4wTAd0PTVT7scZZC8z572SsHC1364PqxO5aAgeR2GODUkMcqIpiQ1mFr14c2NZbtT6krJIexww+/o/XSyiPKuoxZj9BB1bZ0+ei4JV2MSi5sD3Dhnx7k8Tp3Rxvuis2h7VUSILGdSo47KImWAFDtdVwO7s2LAMTfTsk=
@@ -1,4 +1,5 @@
1
- #### v2.5.0
1
+ #### v2.5.1
2
+ * Fix bug with bill_to and sold_to on account
2
3
  #### v2.5.0
3
4
  * Add Support for rails 5
4
5
  #### v2.4.1
@@ -122,12 +122,13 @@ module ActiveZuora
122
122
  nesting = @class_nesting
123
123
 
124
124
  customize 'Account' do
125
- belongs_to :bill_to, :class_name => nested_class_name('Contact') if field? :bill_to
125
+ belongs_to :bill_to, :class_name => nested_class_name('Contact') if field? :bill_to_id
126
+ belongs_to :default_payment_method, :class_name => nested_class_name('PaymentMethod') if field? :default_payment_method_id
126
127
  if field? :parent_id
127
128
  belongs_to :parent, :class_name => nested_class_name('Account')
128
129
  has_many :children, :class_name => nested_class_name('Account'), :foreign_key => :parent_id, :inverse_of => :parent
129
130
  end
130
- belongs_to :sold_to, :class_name => nested_class_name('Contact') if field? :sold_to
131
+ belongs_to :sold_to, :class_name => nested_class_name('Contact') if field? :sold_to_id
131
132
  validates :currency, :presence => true if field? :currency
132
133
  validates :name, :presence => true if field? :name
133
134
  validates :status, :presence => true if field? :status
@@ -1,3 +1,3 @@
1
1
  module ActiveZuora
2
- VERSION = "2.5.0"
2
+ VERSION = "2.5.1"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: active_zuora
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.5.0
4
+ version: 2.5.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ed Lebert
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2016-11-05 00:00:00.000000000 Z
12
+ date: 2016-11-21 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: savon