zuora_connect 1.5.07 → 1.5.08

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
  SHA1:
3
- metadata.gz: 2b60d15e47948f33ed483660d8d0b3e3bfb2e3fd
4
- data.tar.gz: 75822aee86c64e18dd5befa34e14891122764c24
3
+ metadata.gz: b8c4421617019a58af4d056b751a94a3eb5314dc
4
+ data.tar.gz: 1452a2e43b7983f12fd2d7d3c668682586133a41
5
5
  SHA512:
6
- metadata.gz: b1f602d5641a0e92adddf46d4b7f4e3555aa860f2ae8630cbdd771b32c1b14602846dbbc3991221c0c79721bad0e3876103b0a2e65c1f69401f0fab3b421a4a4
7
- data.tar.gz: bf9f9151fba72f1b0a1e7ff5e3a20550283dcebee7b99ddce79f835373cf9e2dd60fb0c86a2edfaf8b26ecea46d83be4e83d9bc3e4889a56582abc34c8adafdc
6
+ metadata.gz: 0e58fb1b1c736d561c6b323dc93c78dd3fe567aea984686b796e8336a67386b994d3263656fca8be64f50af3e1d30409cefcf2c3bbb790aab98bfdf2a6dd44af
7
+ data.tar.gz: 5efb084ff28c4ec8f57f03b42371e1c6d0de8003da0323673ecd534a76d4370eb994ff03c042cdb774e271ae6f1d2cb1aec25afbccaf1c56bdb352b5f3b334f6
@@ -6,19 +6,17 @@ module ZuoraConnect
6
6
  attr_accessor :options, :mode, :logins, :valid, :task_data, :last_refresh, :username, :password, :s3_client, :api_version
7
7
 
8
8
  def init
9
- if self.persisted?
10
- @options = Hash.new
11
- @logins = Hash.new
12
- @valid = false
13
- self.attr_builder("timezone", ZuoraConnect.configuration.default_time_zone)
14
- self.attr_builder("locale", ZuoraConnect.configuration.default_locale)
15
- PaperTrail.whodunnit = "Backend" if defined?(PaperTrail)
16
- Apartment::Tenant.switch!(self.id)
17
- if(ActiveRecord::Migrator.needs_migration?)
18
- Apartment::Migrator.migrate(self.id)
19
- end
20
- Thread.current[:appinstance] = self
9
+ @options = Hash.new
10
+ @logins = Hash.new
11
+ @valid = false
12
+ self.attr_builder("timezone", ZuoraConnect.configuration.default_time_zone)
13
+ self.attr_builder("locale", ZuoraConnect.configuration.default_locale)
14
+ PaperTrail.whodunnit = "Backend" if defined?(PaperTrail)
15
+ Apartment::Tenant.switch!(self.id)
16
+ if(ActiveRecord::Migrator.needs_migration?)
17
+ Apartment::Migrator.migrate(self.id)
21
18
  end
19
+ Thread.current[:appinstance] = self
22
20
  end
23
21
 
24
22
  def data_lookup(session: {})
@@ -1,4 +1,4 @@
1
1
  module ZuoraConnect
2
- VERSION = "1.5.07"
2
+ VERSION = "1.5.08"
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.07
4
+ version: 1.5.08
5
5
  platform: ruby
6
6
  authors:
7
7
  - Connect Team