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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 9579694ef5490b472722a15c57d2b27ad1304aad100c1967bbc2733d134af5ec
4
- data.tar.gz: 7c8c96153aa96dcaa64a2c251db26a60215402620f165c38800153c87e3612df
3
+ metadata.gz: '091ed939470e454cc64348d22d673b044817155156d8b64dac8aa741dfdfa144'
4
+ data.tar.gz: 3d44e96b539001350b39650977b65cb5643a450f3d88d2a178b3f3cb692f2ada
5
5
  SHA512:
6
- metadata.gz: 3733e00247a9bcb1048ba482d551ce3b4b66abbc992d9680e928c871586f70a93a25c5a7bf6800b8475ffccb2a6912e52bf104dde2aacc97bc85242517f4fd17
7
- data.tar.gz: 9c1a6c25f0894fe6c0209d3800a1f454c26a0539713ec8784b50cc8c0792848c534be85f3d7405e02327af35cd861754d9b9cc1eec33ae2a88c7d666fad53209
6
+ metadata.gz: a6e19bde47cef4b6ef5dcba5a8f654cb960cd329f78b8a6d6b91a21bf411f7c10c7eb7094c7f2b6795147ca88c3551fadd33b03a7ef99ffe8090accc62704af9
7
+ data.tar.gz: 9263dd07a1dc49e8c0c55eabd253e61667838fa615af1023e94950547eedcf49c7761b10e0ab067a2486f81047b23e5e09c9f78947246ecb818adf191b902f4c
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- superbot-runner (0.1.1)
4
+ superbot-runner (0.1.2)
5
5
  superbot-runner-side
6
6
 
7
7
  GEM
@@ -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
- else
46
- [path]
47
- end
46
+ else
47
+ [path]
48
+ end
48
49
  end
49
50
 
50
51
  def run_test_file(test_file)
@@ -1,5 +1,5 @@
1
1
  module Superbot
2
2
  module Runner
3
- VERSION = "0.1.1"
3
+ VERSION = "0.1.2"
4
4
  end
5
5
  end
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.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: 2018-12-24 00:00:00.000000000 Z
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