zuora_connect 1.4.40 → 1.4.41

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: 7316f814c10cdf1e5ff96e19751a61d0f8895841
4
- data.tar.gz: 976f25037241dc3ed7cfb356f3e6d5d425abbac2
3
+ metadata.gz: 3b2869bdbcb26e91227e4c7e47199330ad99f2cd
4
+ data.tar.gz: 28d22f95b747e4749d672b09524789d5e73bdfc9
5
5
  SHA512:
6
- metadata.gz: 460b31bb2ee864b96e1c60df07395921e3c023d1b1bb72c3ce37ee37b90aa5f21627c546236fb07540853d18ed507ce4951f898099c3645ebfca07d549094974
7
- data.tar.gz: df67f931277ea8e49e614e6791b32a84332b4559ef05c8f46df3cb7a0d6bf4b96587409a80171c141e7948496004187e051a478387974f3d467ede8568f6d82d
6
+ metadata.gz: a202063373ff57ba3c919b6b537a70cfa9681aae6c240a0cc5efa2c43f0b54f0a10b49a6f65d21a985f12b2610f2c0be7c045442dd6e51c02ea809723fea4d2d
7
+ data.tar.gz: 1ba3f04fd3649032437c5d37b3e364727331cb7dc5224a1b88f417abe3f287574fcfa7b6dd280dfad0769106af5303420d6d6963ba6f3072a8764acd7ff1e23e
data/lib/zuora_connect.rb CHANGED
@@ -28,6 +28,8 @@ module ZuoraConnect
28
28
  def self.configure
29
29
  yield(configuration)
30
30
  ::Apartment.excluded_models << "Delayed::Job" if configuration.delayed_job
31
+ ::Apartment.excluded_models.concat(configuration.additional_apartment_models) if configuration.additional_apartment_models.class == Array
32
+
31
33
  return configuration
32
34
  end
33
35
  end
@@ -11,7 +11,8 @@ module ZuoraConnect
11
11
  @delayed_job = false
12
12
  @use_s3 = false
13
13
  @private_key = ENV["CONNECT_KEY"]
14
-
14
+ @additional_apartment_models = []
15
+
15
16
  # OAuth Settings
16
17
  @oauth_client_id = ""
17
18
  @oauth_client_secret = ""
@@ -1,3 +1,3 @@
1
1
  module ZuoraConnect
2
- VERSION = "1.4.40"
2
+ VERSION = "1.4.41"
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: 1.4.40
4
+ version: 1.4.41
5
5
  platform: ruby
6
6
  authors:
7
7
  - Connect Team
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2017-07-19 00:00:00.000000000 Z
11
+ date: 2017-08-08 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activerecord-session_store