superbot 0.1.28 → 0.1.29

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: 0a030454c627c3f1cbc0e8006637461cb768b907f3d16c52666e764f0e78a5c5
4
- data.tar.gz: cda49595f023bc77c46fea4ada2a098ecf9c12806aebcc192304040f20a068d2
3
+ metadata.gz: bd613f0c67581ca3218dc7c34f6d78f42399a5cf5a0a44df8867f40dd159d410
4
+ data.tar.gz: 521ca7e541991375f6e65a71a711456bc0de74c9928a4c8779ecc84039a03f42
5
5
  SHA512:
6
- metadata.gz: 48016bbb28209f550254a4f5633e6e38b5e8c9cea39a7923c59bbc9b86bc311ceb506b67f31f5224efaacbe9b6ee441489f75d93d9f547852cc49ec4e957f719
7
- data.tar.gz: 5ba44971d978bf268695d15ace642b0c86159f1ae567563f191806df4932afab23b8e84d9fc64caa6356191668a2fad53589235794b8d9fc5ee3eba3d123b8c0
6
+ metadata.gz: 7e0b07d08071429bdb9f4443428e7d43a6c2eac507d3073f12afcb2d2658d95e48abde14ea862644375480ee4d199742a09ffdfa0cbb2193b420ed4aa69b0ba0
7
+ data.tar.gz: 717aaa0dc1c2e729d69a4472fe02f6b1eefe59b3ae196d56fd9f159d5c5ce3a8670d86d37fafdcf16cafa00c205c09711ee6fd778294b1645bc7194cf8e78dbf
data/Gemfile CHANGED
@@ -6,6 +6,8 @@ git_source(:github) {|repo_name| "https://github.com/#{repo_name}" }
6
6
  gemspec
7
7
 
8
8
  unless ENV['SUPERBOT_USE_RUBYGEMS'] == "yes"
9
+ gem "superbot-selenium-webdriver", path: "../superbot-selenium-webdriver"
9
10
  gem "superbot-teleport", path: "../superbot-teleport"
10
11
  gem "superbot-cloud", path: "../superbot-cloud"
12
+ gem "superbot-local", path: "../superbot-local"
11
13
  end
data/Gemfile.lock CHANGED
@@ -1,15 +1,15 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- superbot (0.1.28)
4
+ superbot (0.1.29)
5
5
  clamp (= 1.2.1)
6
6
  kommando (~> 0.1)
7
7
  launchy (= 2.4.3)
8
- selenium-webdriver (~> 3.14, >= 3.14.0)
9
8
  sinatra (= 2.0.4)
10
9
  sinatra-silent (= 0.0.1)
11
10
  superbot-cloud (~> 0.1.19)
12
- superbot-teleport (~> 0.2.1)
11
+ superbot-selenium-webdriver (~> 1.0.1)
12
+ superbot-teleport (~> 0.2.2)
13
13
  zaru (= 0.2.0)
14
14
 
15
15
  GEM
@@ -17,9 +17,14 @@ GEM
17
17
  specs:
18
18
  addressable (2.5.2)
19
19
  public_suffix (>= 2.0.2, < 4.0)
20
+ archive-zip (0.11.0)
21
+ io-like (~> 0.3.0)
20
22
  ast (2.4.0)
21
23
  childprocess (0.9.0)
22
24
  ffi (~> 1.0, >= 1.0.11)
25
+ chromedriver-helper (2.1.0)
26
+ archive-zip (~> 0.10)
27
+ nokogiri (~> 1.8)
23
28
  clamp (1.2.1)
24
29
  coderay (1.1.2)
25
30
  diff-lcs (1.3)
@@ -44,6 +49,7 @@ GEM
44
49
  guard-rubocop (1.3.0)
45
50
  guard (~> 2.0)
46
51
  rubocop (~> 0.20)
52
+ io-like (0.3.0)
47
53
  json (2.1.0)
48
54
  kommando (0.1.2)
49
55
  launchy (2.4.3)
@@ -57,9 +63,12 @@ GEM
57
63
  mimemagic (~> 0.3.2)
58
64
  method_source (0.9.0)
59
65
  mimemagic (0.3.2)
66
+ mini_portile2 (2.3.0)
60
67
  multipart-post (2.0.0)
61
68
  mustermann (1.0.3)
62
69
  nenv (0.3.0)
70
+ nokogiri (1.8.5)
71
+ mini_portile2 (~> 2.3.0)
63
72
  notiffany (0.1.1)
64
73
  nenv (~> 0.1)
65
74
  shellany (~> 0.0)
@@ -120,7 +129,10 @@ GEM
120
129
  superbot-cloud (0.1.19)
121
130
  marcel (= 0.3.3)
122
131
  multipart-post (= 2.0.0)
123
- superbot-teleport (0.2.1)
132
+ superbot-selenium-webdriver (1.0.1)
133
+ chromedriver-helper (= 2.1.0)
134
+ selenium-webdriver (= 3.141.0)
135
+ superbot-teleport (0.2.2)
124
136
  excon
125
137
  thor (0.20.0)
126
138
  tilt (2.0.9)
@@ -0,0 +1,10 @@
1
+ #!/usr/bin/env sh
2
+ set -e
3
+
4
+ for component in superbot-teleport superbot-selenium-webdriver superbot-cloud; do
5
+ cd ../$component
6
+ pwd
7
+ git pull --rebase
8
+ git checkout master
9
+ cd ../superbot
10
+ done
data/bin/superside.crx CHANGED
Binary file
data/lib/superbot.rb CHANGED
@@ -43,12 +43,11 @@ Clamp.allow_options_after_parameters = true
43
43
 
44
44
  require_relative "superbot/version"
45
45
  require_relative "superbot/cli/validations"
46
-
47
- %w(cloud teleport).each do |microgem|
46
+ %w(selenium cloud teleport local).each do |microgem|
48
47
  begin
49
48
  require "superbot/#{microgem}"
50
49
  rescue LoadError
51
- puts "WARNING: superbot-#{microgem} is not installed"
50
+ p # do nothing
52
51
  end
53
52
  end
54
53
 
@@ -76,7 +76,7 @@ module Superbot
76
76
  kill_session
77
77
  abort "Remote browser error: #{parsed_error[:message]}"
78
78
  else
79
- puts parsed_error[:message]
79
+ abort parsed_error[:message]
80
80
  end
81
81
  end
82
82
 
@@ -22,6 +22,10 @@ module Superbot
22
22
  subcommand ["run"], "Run a project", RunCommand
23
23
  end
24
24
 
25
+ if defined?(::Superbot::Local::CLI::RootCommand)
26
+ subcommand ["local"], "Show local commands", ::Superbot::Local::CLI::RootCommand
27
+ end
28
+
25
29
  if defined?(::Superbot::Cloud::CLI::RootCommand)
26
30
  subcommand ["cloud"], "Show cloud commands", ::Superbot::Cloud::CLI::RootCommand
27
31
  end
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Superbot
4
- VERSION = "0.1.28"
4
+ VERSION = "0.1.29"
5
5
  end
data/superbot.gemspec CHANGED
@@ -39,8 +39,8 @@ Gem::Specification.new do |spec|
39
39
  spec.add_runtime_dependency "sinatra-silent", "0.0.1"
40
40
  spec.add_runtime_dependency "kommando", "~> 0.1"
41
41
  spec.add_runtime_dependency "superbot-cloud", "~> 0.1.19"
42
- spec.add_runtime_dependency "superbot-teleport", "~> 0.2.1"
43
- spec.add_runtime_dependency "selenium-webdriver", "~> 3.14", ">= 3.14.0"
42
+ spec.add_runtime_dependency "superbot-teleport", "~> 0.2.2"
43
+ spec.add_runtime_dependency "superbot-selenium-webdriver", "~> 1.0.1"
44
44
 
45
45
  spec.add_development_dependency "bundler", "~> 1.17"
46
46
  spec.add_development_dependency "rake", "~> 10.0"
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: superbot
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.28
4
+ version: 0.1.29
5
5
  platform: ruby
6
6
  authors:
7
7
  - Superbots
@@ -114,34 +114,28 @@ dependencies:
114
114
  requirements:
115
115
  - - "~>"
116
116
  - !ruby/object:Gem::Version
117
- version: 0.2.1
117
+ version: 0.2.2
118
118
  type: :runtime
119
119
  prerelease: false
120
120
  version_requirements: !ruby/object:Gem::Requirement
121
121
  requirements:
122
122
  - - "~>"
123
123
  - !ruby/object:Gem::Version
124
- version: 0.2.1
124
+ version: 0.2.2
125
125
  - !ruby/object:Gem::Dependency
126
- name: selenium-webdriver
126
+ name: superbot-selenium-webdriver
127
127
  requirement: !ruby/object:Gem::Requirement
128
128
  requirements:
129
- - - ">="
130
- - !ruby/object:Gem::Version
131
- version: 3.14.0
132
129
  - - "~>"
133
130
  - !ruby/object:Gem::Version
134
- version: '3.14'
131
+ version: 1.0.1
135
132
  type: :runtime
136
133
  prerelease: false
137
134
  version_requirements: !ruby/object:Gem::Requirement
138
135
  requirements:
139
- - - ">="
140
- - !ruby/object:Gem::Version
141
- version: 3.14.0
142
136
  - - "~>"
143
137
  - !ruby/object:Gem::Version
144
- version: '3.14'
138
+ version: 1.0.1
145
139
  - !ruby/object:Gem::Dependency
146
140
  name: bundler
147
141
  requirement: !ruby/object:Gem::Requirement
@@ -291,6 +285,7 @@ files:
291
285
  - Rakefile
292
286
  - bin/console
293
287
  - bin/e2e
288
+ - bin/pull_latest_masters
294
289
  - bin/release
295
290
  - bin/setup
296
291
  - bin/superside.crx
@@ -331,7 +326,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
331
326
  version: '0'
332
327
  requirements: []
333
328
  rubyforge_project:
334
- rubygems_version: 2.7.8
329
+ rubygems_version: 2.7.7
335
330
  signing_key:
336
331
  specification_version: 4
337
332
  summary: Superbot Testing