zuora_connect 1.5.10 → 1.5.11

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: 77284fce3429441b28a772f0191eb3e13d746023
4
- data.tar.gz: 54dbcbaa04f8f8f2c2279ca8c0f9ff71a867184f
3
+ metadata.gz: 4c3d65016feeb989a1e991ea8b74a09c70a3cafd
4
+ data.tar.gz: 748f7678c9acce3f6d6c5c4fc7ccb9059a648d53
5
5
  SHA512:
6
- metadata.gz: 01eb2862ff31402d85fd0726aa06c683daa8ee92427cde1d5baaa464c668d61496175ca8792cf520e15a0046a10a5fd40719e4e2f171b5dde278a6a743beaf1f
7
- data.tar.gz: 588492ee88b9b2aec3549d30b3894aa5ceb5a368ff95263d7c01988f25bd388e5e1af2dae2ed52e263e4e944f622096d09158c0caa66b6805686d64d95e6c54b
6
+ metadata.gz: 35a3bd983fcc464bebf621e96ebe8be73696cd2081a196565d768c96806f786fa9a88c54389349c12266e5371315afe013b00ca962d0522149e8c45116ece0a0
7
+ data.tar.gz: 71e83945a47fc47e38b8fe621f90d3f0d14983db11611618d367ae548a7cfbc3d18f30686b63278e2dc467e37fca5bb951d8a108f3dc71f5259b31fcb2b27d6e
@@ -117,7 +117,8 @@ module ZuoraConnect
117
117
  if @appinstance.blank?
118
118
  Apartment::Tenant.switch!("public")
119
119
  Apartment::Tenant.create(values[:appinstance].to_s)
120
- @appinstance = ZuoraConnect::AppInstance.create!(:id => values[:appinstance].to_i, :access_token => values[:user], :refresh_token => values[:key])
120
+ @appinstance = ZuoraConnect::AppInstance.new(:id => values[:appinstance].to_i, :access_token => values[:user], :refresh_token => values[:key])
121
+ @appinstance.save(:validate => false)
121
122
  end
122
123
  if @appinstance.access_token.blank? || @appinstance.refresh_token.blank?
123
124
  @appinstance.update_attributes(:access_token => values["user"], :refresh_token => values["key"])
@@ -1,4 +1,4 @@
1
1
  module ZuoraConnect
2
- VERSION = "1.5.10"
2
+ VERSION = "1.5.11"
3
3
  end
4
4
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: zuora_connect
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.5.10
4
+ version: 1.5.11
5
5
  platform: ruby
6
6
  authors:
7
7
  - Connect Team