zuora_connect 1.5.307 → 1.5.308

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: 7bde667f959c487d05ab8154a6057a0e481a7e74
4
- data.tar.gz: 1ce968180f77ee0c40ec390b52b555be84af9101
3
+ metadata.gz: 09be39cab2c45b87c56edd2e40fd7b8f9dfe415a
4
+ data.tar.gz: 92cf0a81920e35c35d926de1073988b7e4e3fc1a
5
5
  SHA512:
6
- metadata.gz: 1d138a087d5c1c64ec72ff0c73496d20e9594900b1951100a492aa78a702ea5fc6d36c5c58f44021a8c9b24ae6cc94217953f11d023a1f5e4e6f63be6ea85af3
7
- data.tar.gz: 21b5af66b2ba5019d7d3341d6f1a393703422ddbb61f01c7223924871b47ba800a53f53d6aa01cb0c3a6b4fa5219f20c05d30f2e723112a57a46e6bf8f8f7b84
6
+ metadata.gz: 7b4496bcff48706882649e919244c55e1e2c1136318b08492e81be2892066fdc4076b9830d212129708c704144579af69f596a1349713c8c52e562f47fef2a28
7
+ data.tar.gz: 62495da1778becee7a73d4b74c9ecd3e354f222a82c85314581c5cb1ec69f50fb200f521e2c43618391bedba21bb281b9a46df1fa5765f1adea5d53841dd2c40
@@ -9,7 +9,8 @@ module ZuoraConnect
9
9
  INSTANCE_REFRESH_WINDOW = 30.minutes #Used to set how how long till app starts attempting to refresh cached task connect data
10
10
  INSTANCE_REDIS_CACHE_PERIOD = 60.minutes #Used to determine how long to cached task data will live for
11
11
  API_LIMIT_TIMEOUT = 2.minutes #Used to set the default for expiring timeout when api rate limiting is in effect
12
-
12
+ BLANK_OBJECT_ID_LOOKUP = 'BlankValueSupplied'
13
+
13
14
  def init
14
15
  @options = Hash.new
15
16
  @logins = Hash.new
@@ -496,7 +497,7 @@ module ZuoraConnect
496
497
  "FROM "\
497
498
  "\"public\".\"zuora_connect_app_instances\" "\
498
499
  "WHERE "\
499
- "\"id\" = %s" % [entity_reference, object_id.blank? ? 'Dummy' : object_id, self.id]
500
+ "\"id\" = %s" % [entity_reference, object_id.blank? ? BLANK_OBJECT_ID_LOOKUP : object_id, self.id]
500
501
  elsif object_id.class == Array
501
502
  string =
502
503
  "SELECT "\
@@ -529,7 +530,7 @@ module ZuoraConnect
529
530
  "FROM "\
530
531
  "\"public\".\"zuora_connect_app_instances\" "\
531
532
  "WHERE "\
532
- "\"id\" = %s" % [entity_reference, object_hierarchy['productId'], object_id.blank? ? 'Dummy' : object_id, self.id]
533
+ "\"id\" = %s" % [entity_reference, object_hierarchy['productId'], object_id.blank? ? BLANK_OBJECT_ID_LOOKUP : object_id, self.id]
533
534
  elsif object_id.class == Array
534
535
  string =
535
536
  "SELECT "\
@@ -564,7 +565,7 @@ module ZuoraConnect
564
565
  "FROM "\
565
566
  "\"public\".\"zuora_connect_app_instances\" "\
566
567
  "WHERE "\
567
- "\"id\" = %s" % [entity_reference, object_hierarchy['productId'], object_hierarchy['productRatePlanId'], object_id.blank? ? 'Dummy' : object_id , self.id]
568
+ "\"id\" = %s" % [entity_reference, object_hierarchy['productId'], object_hierarchy['productRatePlanId'], object_id.blank? ? BLANK_OBJECT_ID_LOOKUP : object_id , self.id]
568
569
 
569
570
  elsif object_id.class == Array
570
571
  string =
@@ -1,4 +1,4 @@
1
1
  module ZuoraConnect
2
- VERSION = "1.5.307"
2
+ VERSION = "1.5.308"
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.307
4
+ version: 1.5.308
5
5
  platform: ruby
6
6
  authors:
7
7
  - Connect Team