mini_autobot 0.1.0 → 0.1.1

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: cd9007c1c01a6cdd18d0ef7c29b0c146d2154ff4
4
- data.tar.gz: 9bcc8158c3ffca7d0f808bb06900aa6068cf7e11
3
+ metadata.gz: e9a66755f03b9f074006e955769b02cb13b3ab11
4
+ data.tar.gz: 6512851e92b042416ccc3a6455951ecc0e06a573
5
5
  SHA512:
6
- metadata.gz: 206b9e98825f2df89f2546e9d67eb2c5e6fad2dfaf34f8b7678d8c912be820e6fee8875b0c08934fcaea9f47aa43e88a91694f964e57a9c492cd3dcf3e077e91
7
- data.tar.gz: 910b3d02d88b7d2b8f25983d47205e501b58b86336d649473de5e634031020505291992289d728aa3591672686180a9a88ad2e6bfc8d534b34ae1d2010ca2d5f
6
+ metadata.gz: 2d0089d046a37e54d87f9f3b085695812f511d50516c0b0bd11d5f83d169ed3c06b47a3613a232359a8edd139fa9e50e284b9dabe334b13e62bc17fcf5cc229c
7
+ data.tar.gz: 936e778a33831c3353b8707191136a470c274ac437921a12544c5124f919586e298c45aea0afc331722c741c7e2cd9aa477feb6862cc174698b1bdb6e5a95d95
@@ -84,7 +84,7 @@ module MiniAutobot
84
84
  cfg = Config.new(connector_cfg, env_cfg)
85
85
 
86
86
  if Thread.current[:active_connector] && !MiniAutobot.settings.reuse_driver?
87
- self.finalization_queue << active_connector
87
+ self.finalization_queue << Thread.current[:active_connector]
88
88
  Thread.current[:active_connector] = nil
89
89
  end
90
90
 
@@ -248,14 +248,7 @@ module MiniAutobot
248
248
  end
249
249
 
250
250
  def go_to_subpage!(url_path, page_type = :base)
251
- # build url string
252
- base_url = driver.current_url
253
-
254
- # This is to safeguard ie, but we should handle this more intelligently in the future
255
- base_url.slice!('qateam:wap88@')
256
-
257
- url = base_url + url_path
258
- driver.navigate.to(url)
251
+ driver.navigate.to(driver.url_for(url_path))
259
252
  cast(page_type)
260
253
  end
261
254
 
@@ -1,3 +1,3 @@
1
1
  module MiniAutobot
2
- VERSION = '0.1.0'
2
+ VERSION = '0.1.1'
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: mini_autobot
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.1.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ripta Pasay
@@ -10,7 +10,7 @@ authors:
10
10
  autorequire:
11
11
  bindir: bin
12
12
  cert_chain: []
13
- date: 2015-09-18 00:00:00.000000000 Z
13
+ date: 2015-09-22 00:00:00.000000000 Z
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
16
  name: activesupport