superbara 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 +4 -4
- data/.kung/build/hooks/post-build +9 -0
- data/.kung/build/hooks/pre-build +2 -0
- data/Dockerfile +1 -1
- data/Gemfile.lock +1 -1
- data/bin/release +3 -1
- data/docker-compose.build.yml +9 -0
- data/docker-compose.test.yml +18 -0
- data/docker-compose.yml +0 -11
- data/e2e/main.rb +4 -0
- data/lib/superbara/drivers/chrome_remote.rb +7 -0
- data/lib/superbara/version.rb +1 -1
- data/lib/superbara.rb +1 -0
- data/lib/supershell +5 -0
- metadata +6 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: a0188f2dcdc9fb8c3faae941f2d1355296e6f98258eaac597a0881895548f493
|
4
|
+
data.tar.gz: ba9f0c8526fe54de819b24df2da591c2c6c628198590c388b97ba9dfd751834a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 92b203fbef0dde423095ea2eb1623284dece0f5935e5b29f60983c984ffb77aaaec970c6bb9b56fab0281bc954cbec96770ac69b42165afe184dc1725c955c66
|
7
|
+
data.tar.gz: d2f71552541a9484f6e0c1511acaced5f7ff010446830fe9f75cea3599c76e33e31ce209649d5c851c822b5b5421a65c4ba5d7c277bd51e7144544fce2a04f7a
|
data/Dockerfile
CHANGED
data/Gemfile.lock
CHANGED
data/bin/release
CHANGED
@@ -1,8 +1,10 @@
|
|
1
1
|
#!/usr/bin/env sh
|
2
2
|
set -e
|
3
|
+
version=$(ruby -r./lib/superbara -e "puts Superbara::VERSION")
|
3
4
|
|
4
5
|
rake
|
5
|
-
|
6
|
+
SUPERBARA_FRONTEND=noninteractive exe/superbara run e2e
|
6
7
|
|
7
8
|
gem build superbara.gemspec
|
9
|
+
KUNG_ENV=build VERSION=$version kung build
|
8
10
|
rake release
|
@@ -0,0 +1,18 @@
|
|
1
|
+
version: '3.6'
|
2
|
+
|
3
|
+
services:
|
4
|
+
superbara:
|
5
|
+
image: mattipaksula/superbara
|
6
|
+
command: e2e
|
7
|
+
environment:
|
8
|
+
- SUPERBARA_FRONTEND=noninteractive
|
9
|
+
volumes:
|
10
|
+
- ./e2e:/tests/e2e
|
11
|
+
depends_on:
|
12
|
+
- chrome
|
13
|
+
chrome:
|
14
|
+
image: selenium/standalone-chrome-debug:3.11.0-californium
|
15
|
+
ports:
|
16
|
+
- 15900:5900
|
17
|
+
- 14444:4444
|
18
|
+
shm_size: 2g
|
data/docker-compose.yml
CHANGED
data/e2e/main.rb
CHANGED
data/lib/superbara/version.rb
CHANGED
data/lib/superbara.rb
CHANGED
data/lib/supershell
CHANGED
@@ -20,6 +20,11 @@ Edit () {
|
|
20
20
|
|
21
21
|
Prompt () {
|
22
22
|
while true; do
|
23
|
+
if [ "$SUPERBARA_FRONTEND" = "noninteractive" ]; then
|
24
|
+
echo "non-interactive mode enabled"
|
25
|
+
break
|
26
|
+
fi
|
27
|
+
|
23
28
|
printf "superbara $1 (enter or [r]estart, [e]dit, [q]uit) > "
|
24
29
|
read input
|
25
30
|
case "$input" in
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: superbara
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.2.
|
4
|
+
version: 0.2.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Matti Paksula
|
@@ -199,6 +199,8 @@ extensions: []
|
|
199
199
|
extra_rdoc_files: []
|
200
200
|
files:
|
201
201
|
- ".gitignore"
|
202
|
+
- ".kung/build/hooks/post-build"
|
203
|
+
- ".kung/build/hooks/pre-build"
|
202
204
|
- ".rspec"
|
203
205
|
- ".ruby-gemset"
|
204
206
|
- ".ruby-version"
|
@@ -210,6 +212,8 @@ files:
|
|
210
212
|
- bin/autotest
|
211
213
|
- bin/console
|
212
214
|
- bin/release
|
215
|
+
- docker-compose.build.yml
|
216
|
+
- docker-compose.test.yml
|
213
217
|
- docker-compose.yml
|
214
218
|
- e2e/main.rb
|
215
219
|
- exe/superbara
|
@@ -218,6 +222,7 @@ files:
|
|
218
222
|
- lib/superbara.rb
|
219
223
|
- lib/superbara/drivers/chrome.rb
|
220
224
|
- lib/superbara/drivers/chrome_headless.rb
|
225
|
+
- lib/superbara/drivers/chrome_remote.rb
|
221
226
|
- lib/superbara/dsl.rb
|
222
227
|
- lib/superbara/helpers.rb
|
223
228
|
- lib/superbara/rspec.rb
|