bs_plus 1.0.2 → 1.0.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/bs_plus/browser.rb +2 -2
- data/lib/bs_plus/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 5ff9e5a2ab9271825791f5ae588d0fe768d83fd4
|
4
|
+
data.tar.gz: c225b3c99cf5386a14f2a2bf09a9b8363cf50de2
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 0fffb57feb9571a09bbba7206cc7f6756e85b03a23f5f6d0b0c9ab0cea65e0f9ea67f7b277531eccfc14cb1a2dc392b0a66520a3c086c7ea9785f4613d6e4136
|
7
|
+
data.tar.gz: ca7a9af57bd3c32e85ddde0138b3d5d18777b0d60d6521026815b2e21e8003da087d5dd39b7cd9d1912a175e97e92ba291f8e9f4bc7b5c4da20bc5f28bd001c7
|
data/lib/bs_plus/browser.rb
CHANGED
@@ -20,7 +20,7 @@ class Browser < Hashie::Dash
|
|
20
20
|
|
21
21
|
def self.all
|
22
22
|
FileCache.fetch('browser.list', expires_in: 24.hours) {
|
23
|
-
@list ||= RestClient.get("https://#{Config.fetch(:username)}:#{Config.fetch(:password)}"\
|
23
|
+
@list ||= RestClient.get("https://#{BsPlus::Config.fetch(:username)}:#{BsPlus::Config.fetch(:password)}"\
|
24
24
|
"@www.browserstack.com/automate/browsers.json").
|
25
25
|
tap! {|e| JSON.parse e}.
|
26
26
|
map {|e| new e}}
|
@@ -51,7 +51,7 @@ class Browser < Hashie::Dash
|
|
51
51
|
}
|
52
52
|
|
53
53
|
driver = Selenium::WebDriver.for(:remote,
|
54
|
-
url: "https://#{Config.fetch(:username)}:#{Config.fetch(:password)}"\
|
54
|
+
url: "https://#{BsPlus::Config.fetch(:username)}:#{BsPlus::Config.fetch(:password)}"\
|
55
55
|
"@hub.browserstack.com/wd/hub",
|
56
56
|
desired_capabilities: caps)
|
57
57
|
|
data/lib/bs_plus/version.rb
CHANGED