zuora_connect 0.0.9.2.2 → 0.0.9.2.3

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: 8b4cc444a3c5d5c3d79067d1bb51064e84c0fede
4
- data.tar.gz: 9f2e5fe56009ae03ce2ccd5b7f54866156e7fde6
3
+ metadata.gz: c0f113eb32e4e7d412c248b552836742fcb8e0ad
4
+ data.tar.gz: 1e6959692bac03e8f6e16bd5675dee897f495766
5
5
  SHA512:
6
- metadata.gz: b6ffb4ae76b8b9ffdd659bf82ab1f32bf4cbdc62d4e8289eff6c4b0d91dafe98f8651d015e85f9e97af34fbaa23d5db98fcf46b51ff2218fe0fad5e912673ee0
7
- data.tar.gz: d2d36bd279e3583e787794eacec47efd67544914340b184d80f967ffb46198a8f84b062024652356d804eb0302fc0d38d9c138a32e0f94682d12f3a31fac726b
6
+ metadata.gz: da7fb109148d8dcf656ec772f9fa32acbef20ee92569a4c8c6aa02ff8f4de69541d84d628c5f2c8987e5e3e6bb271ecf46f33c741861c5e5b89953c83e78b084
7
+ data.tar.gz: a022c33273fcfa9fc9923c4452bea48d7a712a83470273c7a5ca4c15af3011ccfec3d90c93b696b12a7bbfa2cbbd8e9256437075db9addcac8d51922cce6f95c
@@ -1,6 +1,6 @@
1
1
  class AddTokensToAppInstance < ActiveRecord::Migration
2
2
  def change
3
- add_column :zuora_connect_app_instances, :access_token, :string
4
- add_column :zuora_connect_app_instances, :refresh_token, :string
3
+ add_column :zuora_connect_app_instances, :access_token, :string unless column_exists? :zuora_connect_app_instances, :access_token
4
+ add_column :zuora_connect_app_instances, :refresh_token, :string unless column_exists? :zuora_connect_app_instances, :refresh_token
5
5
  end
6
6
  end
@@ -1,5 +1,5 @@
1
1
  class AddTokenToAppInstance < ActiveRecord::Migration
2
2
  def change
3
- add_column :zuora_connect_app_instances, :token, :string
3
+ add_column :zuora_connect_app_instances, :token, :string unless column_exists? :zuora_connect_app_instances, :token
4
4
  end
5
5
  end
@@ -10,7 +10,7 @@ module ZuoraConnect
10
10
 
11
11
  def authenticate_app_api_request
12
12
  authenticate_or_request_with_http_basic do |username, password|
13
- @appinstance = ZuoraConnect::AppInstance.where(:refresh_token => password).first
13
+ @appinstance = ZuoraConnect::AppInstance.where(:token => password).first
14
14
  if !@appinstance.blank?
15
15
  @appinstance.new_session(:session => {})
16
16
  else
@@ -1,3 +1,3 @@
1
1
  module ZuoraConnect
2
- VERSION = "0.0.9.2.2"
2
+ VERSION = "0.0.9.2.3"
3
3
  end
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: 0.0.9.2.2
4
+ version: 0.0.9.2.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Connect Team