mass-client 1.0.19 → 1.0.20

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
  SHA256:
3
- metadata.gz: 8606bfe0664c8ac8cf9f5af547b4925ff5982957da2842e1650caba3d974c02e
4
- data.tar.gz: 0f72b71d5f681333ad318f23c1d27cc89267dc7a765ab72dc49d74e04356b6bd
3
+ metadata.gz: 1ee4e0f04af40b7fb0a7e26fedb26ec7fa3d76602baec49add355f620940c9b0
4
+ data.tar.gz: 73fa2542b417954bedc8352420b131d81dbaeea82dacca0e43dffd96002728b4
5
5
  SHA512:
6
- metadata.gz: d9506f4eb6db0fb7dd2785efc503ee239b33764e6cf1d0643099ab3ce9f913bdf00e280b1301288fe069f97db6d9ed50a1c358c5e57bd7254f753355be0b773f
7
- data.tar.gz: 7fce26002d9e2acf148330f23bb5c2ca4ced10fdcbf760b1e3d1286d35aa14bafff2f3057dc8fbe56f48b0f34894aff69263afdaff2670ebf1322d4aa5048011
6
+ metadata.gz: 458fd9aa4929a889264c7e90b69b856e8272ee9ed26106243e64dca225ece4ec847a91b0d536036c10d8f0a43525adf6922f88587e35de8963f40fc11d2b35f7
7
+ data.tar.gz: a20f0ce501ed952360e071a696fc39e0c060c18a5d8d89af7cea557709f0296db2700f79152e63430766e870b1ba2e66d811bc9c116635e7cccf82a340e460c6
@@ -101,7 +101,7 @@ module Mass
101
101
  #
102
102
  def connectioncheck(limit: 100, logger:nil)
103
103
  []
104
- end # def inboxcheck
104
+ end # def connectioncheck
105
105
 
106
106
  end # class Profile
107
107
  end # module Mass
@@ -113,7 +113,7 @@ module Mass
113
113
 
114
114
  # screenshot
115
115
  l.logs 'Screenshot... '
116
- job.desc['screenshots'] << job.profile.screenshot
116
+ job.desc['screenshots'] << job.profile.screenshot if job.profile.desc['allow_browser_to_download_multiple_files']
117
117
  l.logf 'done'.green + " (#{job.desc['screenshots'].size.to_s.blue} total)"
118
118
  end
119
119
  end
@@ -101,7 +101,7 @@ module Mass
101
101
 
102
102
  # stop the adspower server for headless mode, if it is not already stopped and if headless is activated.
103
103
  def self.clear_driver
104
- self.class.buffer_driver = nil
104
+ self.buffer_driver = nil
105
105
  end
106
106
 
107
107
  # close all tabs except one
@@ -344,7 +344,7 @@ module Mass
344
344
 
345
345
  self.class.buffer_driver = nil if !c.check(self.desc['ads_power_id'])
346
346
  sleep(1)
347
-
347
+
348
348
  if self.class.buffer_driver.nil?
349
349
  self.class.buffer_driver = c.driver(self.desc['ads_power_id'], headless)
350
350
  self.class.buffer_driver.manage.window.resize_to(self.desc['browser_width'], self.desc['browser_height'])
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: mass-client
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.19
4
+ version: 1.0.20
5
5
  platform: ruby
6
6
  authors:
7
7
  - Leandro Daniel Sardi
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2024-09-17 00:00:00.000000000 Z
11
+ date: 2024-10-21 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: timeout