zuora_connect 2.0.3b → 2.0.3c

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
  SHA256:
3
- metadata.gz: 0e56e17bd87c7bbf5beaa8318e85a513cf2fb5c53621db8060d9efe4d952f874
4
- data.tar.gz: eb2a66325c1f9eea734f460ef2ea3a9c6913913f0212257226e3da7fbcf41024
3
+ metadata.gz: 5201f2acf0dafd1e7947f897a0c1feee8fc7a15b5b6ea580b2ec476c43a2473e
4
+ data.tar.gz: e8b44269fcaf3c2117f795e40a6efeecbdb53ae68cd1f2d815c88de7ce16f497
5
5
  SHA512:
6
- metadata.gz: d37eac2b191533eb5c921414475bfd7e0be8adfd70bce67a298c09c5ee419dc899b0f7c03cd76c83e6dfd985215fd62a7dd3abafa96d1859098e04dccc0a7ed0
7
- data.tar.gz: db6f16c7470884a1a067c4755b9a1517c7db2757f7f42d8fe5d17bbf8d89a90b3bfc6b1743a9cfa8af246f962274cdcab0bd534f1e9ff92262923a3ce87f0ce0
6
+ metadata.gz: b47d060bc70da4ddc9f5e6623e3d1d424951af6bf822606d9685b7df87c5a5a17567539025650d1c5f17c96bb1ea307cf829c62235fd0ab5261f82daed5ac887
7
+ data.tar.gz: 88c8d9cab8b79abdaf7fecd4a479ad377c6677839d08eacd093bb83779cf0c7f74dba46ce1b519033d6d3401a4c787e33af7c5fe761e274919142581587ccc8f
@@ -43,15 +43,15 @@ module ZuoraConnect
43
43
  @appinstance = appinstances.first
44
44
  end
45
45
 
46
- else #if request.headers.fetch("Authorization", "").include?("Basic ")
46
+ elsif request.headers.fetch("Authorization", "").include?("Basic ")
47
47
  authenticate_or_request_with_http_basic do |username, password|
48
48
  @appinstance = ZuoraConnect::AppInstance.where(:token => password).first
49
49
  @appinstance ||= ZuoraConnect::AppInstance.where(:api_token => password).first
50
50
  ZuoraConnect.logger.debug("[#{@appinstance.id}] API REQUEST - Basic Auth") if @appinstance.present?
51
51
  check_instance
52
52
  end
53
- # else
54
- # check_instance
53
+ else
54
+ check_instance
55
55
  end
56
56
 
57
57
  if @appinstance.present?
@@ -1,3 +1,3 @@
1
1
  module ZuoraConnect
2
- VERSION = "2.0.3b"
2
+ VERSION = "2.0.3c"
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: 2.0.3b
4
+ version: 2.0.3c
5
5
  platform: ruby
6
6
  authors:
7
7
  - Connect Team