superbot 0.2.2 → 0.2.3

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: bcada521ac375ba0258b78ffcc7cd313b2f3ef512a54f82ea8855c09dda1b24c
4
- data.tar.gz: 96a1ee5915135240224561990ab2b4763d3714945ff9ba65015c825a421409f5
3
+ metadata.gz: 5489fec11a71196b25c22ec91aaeea44bcdaaf87da95cbdf6b5e497f8f3e2ec8
4
+ data.tar.gz: '09f3bed7ed97f4993f37b7d5052664bbae53cd8adc2f0df16fedf6ffa0df9740'
5
5
  SHA512:
6
- metadata.gz: 43b5cdc98bc0e29bdc652951cdd848648e9201f4c84e7086ae22e7a52f44b96e6e6e61274bee2916bce0f71c43cad357ce75cda2fa7f7cd2b652ad07ae3ee1e5
7
- data.tar.gz: a3cd544333aad12699f17c83111d93e20de2d529097c832915203d372f74eb996e89c9e7566ca5e8b472b546038e2b08c57e0fb70251bb2d1826a1383225b0e8
6
+ metadata.gz: ed83637b889fa3fbd2f73fec542a0495a2900a858e9823b0cb690cf0c16abd01f3734bf04786187e17a48e29ed0aa45f9458e1fddab0297562da9bda6894d593
7
+ data.tar.gz: 681a0660a8da177e88cec1a5c074e712ccd8639a8b2583fbe7b6d013a00880f4ea1a1063f148ceb2b085c07a5424793d116d5d58e5118c2c29f0eba83aad05cd
@@ -1 +1 @@
1
- 2.5.1
1
+ 2.6.0
@@ -1,17 +1,17 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- superbot (0.2.2)
4
+ superbot (0.2.3)
5
5
  clamp (= 1.2.1)
6
6
  kommando (~> 0.1)
7
7
  launchy (= 2.4.3)
8
8
  sinatra (= 2.0.4)
9
9
  sinatra-silent (= 0.0.1)
10
- superbot-cloud (~> 0.2.0)
10
+ superbot-cloud (~> 0.2.1)
11
11
  superbot-record
12
- superbot-runner
12
+ superbot-runner (~> 0.1.2)
13
13
  superbot-selenium-webdriver (~> 1.0.5)
14
- superbot-teleport (~> 0.2.3)
14
+ superbot-teleport (~> 0.2.4)
15
15
  zaru (= 0.2.0)
16
16
 
17
17
  GEM
@@ -128,19 +128,19 @@ GEM
128
128
  rack-protection (= 2.0.4)
129
129
  tilt (~> 2.0)
130
130
  sinatra-silent (0.0.1)
131
- superbot-cloud (0.2.0)
131
+ superbot-cloud (0.2.1)
132
132
  marcel (= 0.3.3)
133
133
  multipart-post (= 2.0.0)
134
134
  superbot-record (0.1.0)
135
135
  superbot-record-chrome
136
136
  superbot-record-chrome (0.1.0)
137
- superbot-runner (0.1.0)
137
+ superbot-runner (0.1.2)
138
138
  superbot-runner-side
139
139
  superbot-runner-side (0.1.0)
140
140
  superbot-selenium-webdriver (1.0.5)
141
141
  chromedriver-helper (= 2.1.0)
142
142
  selenium-webdriver (= 3.141.0)
143
- superbot-teleport (0.2.3)
143
+ superbot-teleport (0.2.4)
144
144
  excon
145
145
  thor (0.20.0)
146
146
  tilt (2.0.9)
@@ -163,4 +163,4 @@ DEPENDENCIES
163
163
  superbot!
164
164
 
165
165
  BUNDLED WITH
166
- 1.17.1
166
+ 1.17.2
@@ -1,10 +1,16 @@
1
1
  #!/usr/bin/env sh
2
2
  set -e
3
3
 
4
- for component in superbot-teleport superbot-selenium-webdriver superbot-cloud; do
4
+ for component in \
5
+ superbot-teleport superbot-selenium-webdriver superbot-cloud \
6
+ superbot-record superbot-record-chrome \
7
+ superbot-runner superbot-runner-side \
8
+ superbot \
9
+ ; do
10
+
5
11
  cd ../$component
6
12
  pwd
7
13
  git checkout master
8
- git pull --rebase
14
+ git pull --rebase origin master
9
15
  cd ../superbot
10
16
  done
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Superbot
4
- VERSION = "0.2.2"
4
+ VERSION = "0.2.3"
5
5
  end
@@ -6,7 +6,7 @@ require "net/http"
6
6
 
7
7
  module Superbot
8
8
  class Web
9
- def initialize(webdriver_type: 'cloud', region: nil)
9
+ def initialize(webdriver_type: 'cloud', region: nil, organization: nil)
10
10
  @sinatra = Sinatra.new
11
11
  @sinatra.set :bind, ENV.fetch('SUPERBOT_BIND_ADDRESS', '127.0.0.1')
12
12
  @sinatra.set :silent_sinatra, true
@@ -17,6 +17,7 @@ module Superbot
17
17
  @sinatra.set :webdriver_type, webdriver_type
18
18
  @sinatra.set :webdriver_url, Superbot.webdriver_endpoint(webdriver_type)
19
19
  @sinatra.set :region, region
20
+ @sinatra.set :organization, organization
20
21
 
21
22
  @sinatra.before do
22
23
  headers['Access-Control-Allow-Methods'] = 'GET, POST, PUT, DELETE, OPTIONS'
@@ -38,7 +39,7 @@ module Superbot
38
39
  @sinatra.register Superbot::Convert::Web if defined?(Superbot::Convert::Web)
39
40
  end
40
41
 
41
- def self.run!(options = { webdriver_type: 'cloud', region: nil })
42
+ def self.run!(options = { webdriver_type: 'cloud', region: nil, organization: nil })
42
43
  new(options).tap(&:run!)
43
44
  end
44
45
 
@@ -38,10 +38,10 @@ Gem::Specification.new do |spec|
38
38
  spec.add_runtime_dependency "launchy", "2.4.3"
39
39
  spec.add_runtime_dependency "sinatra-silent", "0.0.1"
40
40
  spec.add_runtime_dependency "kommando", "~> 0.1"
41
- spec.add_runtime_dependency "superbot-cloud", "~> 0.2.0"
42
- spec.add_runtime_dependency "superbot-teleport", "~> 0.2.3"
41
+ spec.add_runtime_dependency "superbot-cloud", "~> 0.2.1"
42
+ spec.add_runtime_dependency "superbot-teleport", "~> 0.2.4"
43
43
  spec.add_runtime_dependency "superbot-selenium-webdriver", "~> 1.0.5"
44
- spec.add_runtime_dependency "superbot-runner"
44
+ spec.add_runtime_dependency "superbot-runner", "~> 0.1.2"
45
45
  spec.add_runtime_dependency "superbot-record"
46
46
 
47
47
  spec.add_development_dependency "bundler", "~> 1.10"
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: superbot
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.2
4
+ version: 0.2.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Superbots
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2018-12-20 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: clamp
@@ -100,28 +100,28 @@ dependencies:
100
100
  requirements:
101
101
  - - "~>"
102
102
  - !ruby/object:Gem::Version
103
- version: 0.2.0
103
+ version: 0.2.1
104
104
  type: :runtime
105
105
  prerelease: false
106
106
  version_requirements: !ruby/object:Gem::Requirement
107
107
  requirements:
108
108
  - - "~>"
109
109
  - !ruby/object:Gem::Version
110
- version: 0.2.0
110
+ version: 0.2.1
111
111
  - !ruby/object:Gem::Dependency
112
112
  name: superbot-teleport
113
113
  requirement: !ruby/object:Gem::Requirement
114
114
  requirements:
115
115
  - - "~>"
116
116
  - !ruby/object:Gem::Version
117
- version: 0.2.3
117
+ version: 0.2.4
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.3
124
+ version: 0.2.4
125
125
  - !ruby/object:Gem::Dependency
126
126
  name: superbot-selenium-webdriver
127
127
  requirement: !ruby/object:Gem::Requirement
@@ -140,16 +140,16 @@ dependencies:
140
140
  name: superbot-runner
141
141
  requirement: !ruby/object:Gem::Requirement
142
142
  requirements:
143
- - - ">="
143
+ - - "~>"
144
144
  - !ruby/object:Gem::Version
145
- version: '0'
145
+ version: 0.1.2
146
146
  type: :runtime
147
147
  prerelease: false
148
148
  version_requirements: !ruby/object:Gem::Requirement
149
149
  requirements:
150
- - - ">="
150
+ - - "~>"
151
151
  - !ruby/object:Gem::Version
152
- version: '0'
152
+ version: 0.1.2
153
153
  - !ruby/object:Gem::Dependency
154
154
  name: superbot-record
155
155
  requirement: !ruby/object:Gem::Requirement
@@ -347,8 +347,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
347
347
  - !ruby/object:Gem::Version
348
348
  version: '0'
349
349
  requirements: []
350
- rubyforge_project:
351
- rubygems_version: 2.7.7
350
+ rubygems_version: 3.0.1
352
351
  signing_key:
353
352
  specification_version: 4
354
353
  summary: Superbot Testing