zuora_connect 2.0.57s → 2.0.57t

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: a5e48e465fd04b36fa1992f00cdb1670a44dde0bd7bd9b121446018ec5f1da9e
4
- data.tar.gz: 0e44752cdb3d4ecb9647d7965986b4cd56590fe1fdb27c4415f1b8835630b726
3
+ metadata.gz: a6a432dac08dcd5fd8991267982829432b40f48269373750fef562dea155470d
4
+ data.tar.gz: 7d937dabdcc5041cf8d530bd6097697eb1daa49fc3e5b47dcd0e5a12f2b430be
5
5
  SHA512:
6
- metadata.gz: cecd469b3bd8d3562201d12fdb1d6860e4a0b124b7268dadd371978cf134c05fe49ec9220898505b542d0a9399c494fb929a7f9dd35ab3660beef5883c578f38
7
- data.tar.gz: 47c7f48e0fd5b26f9a169690c36f0fd142820b347c1fd51cb7795280e392ad937ba4396340e7196238eddacc523384c82d254dc7df8fd8b013511370fc6e0da5
6
+ metadata.gz: f236a77c9ad30b8c414d2e98e26fcc03a1552297d59563a6570383ea63d9653b1f805c337dca0ddad0d465562c358083be0b53f258e312907e9a45c7059f5bc5
7
+ data.tar.gz: 5dd6d0add7818a99206e9d8f53d5ebabd587304db00ade4afec9e99eb348225415880c316c40674d85f21d8158995a10875662628dec717b1abb7042eadb0fc1
@@ -1217,6 +1217,16 @@ module ZuoraConnect
1217
1217
  end
1218
1218
  end
1219
1219
 
1220
+ def self.without_sticking
1221
+ if self.connection.respond_to?(:without_sticking)
1222
+ self.connection.without_sticking do
1223
+ yield
1224
+ end
1225
+ else
1226
+ yield
1227
+ end
1228
+ end
1229
+
1220
1230
  method_hook :updateOption, :update_logins, :before => :check_oauth_state
1221
1231
  method_hook :new_session, :refresh, :build_task, :after => :apartment_switch
1222
1232
  end
@@ -503,7 +503,7 @@ module ZuoraConnect
503
503
  end
504
504
  return
505
505
  end
506
- elsif request["data"] && /^([A-Za-z0-9+\/\-\_]{4})*([A-Za-z0-9+\/]{4}|[A-Za-z0-9+\/]{3}=|[A-Za-z0-9+\/]{2}==)$/.match(request["data"].to_s)
506
+ elsif request["data"].present? && (request["connectInstanceId"].present? || /^([A-Za-z0-9+\/\-\_]{4})*([A-Za-z0-9+\/]{4}|[A-Za-z0-9+-_\/]{3}=|[A-Za-z0-9+\/]{2}==)$/.match(request["data"].to_s))
507
507
  session.clear
508
508
  values = JSON.parse(ZuoraConnect::AppInstance.decrypt_response(Base64.urlsafe_decode64(request["data"])))
509
509
  values.fetch("param_data", {}).each do |k ,v|
@@ -13,6 +13,7 @@ module ZuoraConnect
13
13
  PATH_INFO
14
14
  CONTENT_TYPE
15
15
  ORIGINAL_FULLPATH
16
+ QUERY_STRING
16
17
  )
17
18
 
18
19
  config.before_initialize do
@@ -1,3 +1,3 @@
1
1
  module ZuoraConnect
2
- VERSION = "2.0.57s"
2
+ VERSION = "2.0.57t"
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: 2.0.57s
4
+ version: 2.0.57t
5
5
  platform: ruby
6
6
  authors:
7
7
  - Connect Team
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2020-06-12 00:00:00.000000000 Z
11
+ date: 2020-06-13 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: apartment