zuora_connect 0.0.9.1 → 0.0.9.2

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: 41d15756d1d700553ac7c90aa5042a0367ce435b
4
- data.tar.gz: e7049b08593ef78cf93a3f3ba609deeb3641e18b
3
+ metadata.gz: 0e68247dc0832ef47f3f85193f41d241c35c3e00
4
+ data.tar.gz: 96ef9350685aea9ddbdc7adf9954813730f26c43
5
5
  SHA512:
6
- metadata.gz: 92c35d81150b78006bf3d40106c47ba285cf64378c818c3945089c1cd6c56073293b9ac7a9669b576f445e5bd939ce90c8e794af6ef4a3a4182c96a851179992
7
- data.tar.gz: 7d7d9bd324920fb8d29cc3ec05ce47581ac93c08bbe68c94520c8269e77f33f3474e14f3c19864d4ff735ebf76a866b8948e35ce321e56948a4b28ee2eee20d3
6
+ metadata.gz: 52f681f46f457c8f297f8dd0b72486c15f9bd901242b6b2098e6777a79857a9a48e56dd7794158bcb0c3e0001530c34f02cc7315704555a9079de40dbc0f245d
7
+ data.tar.gz: 0fd868efa0e9482376c742c6a78bff2ad1624912c7adaf5671fe31f5ef3d29aa754e6460df5e96389f02c27af75fd6a507bed30a78e3c2559b01667017be36ac
@@ -93,12 +93,12 @@ module ZuoraConnect
93
93
  def setup_instance_via_dev_mode
94
94
  session["appInstance"] = "1"
95
95
  session["valid"] = true
96
- values = {:user => "test" , :key => "test"}
97
- @appinstance = ZuoraConnect::AppInstance.where(:id => values["appInstance"].to_i).first
96
+ values = {:user => "test" , :key => "test", :appinstance => "1"}
97
+ @appinstance = ZuoraConnect::AppInstance.where(:id => values[:appinstance].to_i).first
98
98
  if @appinstance.blank?
99
99
  Apartment::Tenant.switch!("public")
100
- Apartment::Tenant.create(values["appInstance"].to_i)
101
- @appinstance = ZuoraConnect::AppInstance.create!(:id => values["appInstance"].to_i, :access_token => "test", :refresh_token => "test")
100
+ Apartment::Tenant.create(values[:appinstance].to_i)
101
+ @appinstance = ZuoraConnect::AppInstance.create!(:id => values[:appinstance].to_i, :access_token => values[:user], :refresh_token => values[:key])
102
102
  end
103
103
  if @appinstance.access_token.blank? || @appinstance.refresh_token.blank?
104
104
  @appinstance.update_attributes(:access_token => values["user"], :refresh_token => values["key"])
@@ -1,3 +1,3 @@
1
1
  module ZuoraConnect
2
- VERSION = "0.0.9.1"
2
+ VERSION = "0.0.9.2"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: zuora_connect
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.9.1
4
+ version: 0.0.9.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Connect Team
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2016-10-24 00:00:00.000000000 Z
11
+ date: 2016-10-25 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: apartment