mini_autobot 0.1.0 → 0.1.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/mini_autobot/connector.rb +1 -1
- data/lib/mini_autobot/page_objects/base.rb +1 -8
- data/lib/mini_autobot/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: e9a66755f03b9f074006e955769b02cb13b3ab11
|
4
|
+
data.tar.gz: 6512851e92b042416ccc3a6455951ecc0e06a573
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
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
|
-
|
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
|
|
data/lib/mini_autobot/version.rb
CHANGED
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.
|
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-
|
13
|
+
date: 2015-09-22 00:00:00.000000000 Z
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|
16
16
|
name: activesupport
|