superbot-runner 0.1.1 → 0.1.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile.lock +1 -1
- data/lib/superbot/runner/cli/root_command.rb +5 -4
- data/lib/superbot/runner/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: '091ed939470e454cc64348d22d673b044817155156d8b64dac8aa741dfdfa144'
|
4
|
+
data.tar.gz: 3d44e96b539001350b39650977b65cb5643a450f3d88d2a178b3f3cb692f2ada
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a6e19bde47cef4b6ef5dcba5a8f654cb960cd329f78b8a6d6b91a21bf411f7c10c7eb7094c7f2b6795147ca88c3551fadd33b03a7ef99ffe8090accc62704af9
|
7
|
+
data.tar.gz: 9263dd07a1dc49e8c0c55eabd253e61667838fa615af1023e94950547eedcf49c7761b10e0ab067a2486f81047b23e5e09c9f78947246ecb818adf191b902f4c
|
data/Gemfile.lock
CHANGED
@@ -14,6 +14,7 @@ module Superbot
|
|
14
14
|
end
|
15
15
|
option ['--region'], 'REGION', 'Region for remote webdriver'
|
16
16
|
option ['--no-teleport'], :flag, 'Do not start teleport before running'
|
17
|
+
option ['--org'], 'ORGANIZATION', 'Name of organization to take action', attribute_name: :organization
|
17
18
|
|
18
19
|
def execute
|
19
20
|
open_teleport unless no_teleport?
|
@@ -26,7 +27,7 @@ module Superbot
|
|
26
27
|
|
27
28
|
def open_teleport
|
28
29
|
@teleport = Thread.new do
|
29
|
-
Superbot::Web.run!(webdriver_type: browser, region: region)
|
30
|
+
Superbot::Web.run!(webdriver_type: browser, region: region, organization: organization)
|
30
31
|
end
|
31
32
|
|
32
33
|
if browser == 'local'
|
@@ -42,9 +43,9 @@ module Superbot
|
|
42
43
|
.map! { |f| [f.gsub(path, ''), f] }
|
43
44
|
.sort
|
44
45
|
.map(&:last)
|
45
|
-
|
46
|
-
|
47
|
-
|
46
|
+
else
|
47
|
+
[path]
|
48
|
+
end
|
48
49
|
end
|
49
50
|
|
50
51
|
def run_test_file(test_file)
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: superbot-runner
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Superbt HQ
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2019-01-04 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: superbot-runner-side
|