superbara 0.2.0 → 0.2.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: e3f37686e928fbea4e366c1e642696f8e7869d128081cbeec9dd578a82358fe2
4
- data.tar.gz: 8d59b138159a9bf4a2e61fa85e8a52a32716a11f6ed2694897463c2f849c81af
3
+ metadata.gz: 9ea95cbf180bfa8ee137e05f3b9ce517bbb35117db65880617f3fc212873616d
4
+ data.tar.gz: 02af61d8f9815738074b6fff060b5ae8668cdf9dab54c4cc47cfec7fe390c628
5
5
  SHA512:
6
- metadata.gz: cdfec891da9478635830cc78803ebb1a7682e520067e7726481c1f55085fe14eddd0e83046e1c2b2756ff9d55cc8899897f55fbe3d9933e90a1a950c4c04aea8
7
- data.tar.gz: 3d7c3ebb3ff0a29957cdbc087bdafcfe2b198f556583b86a0f55e99789b87c3d60df0aa5453b17d9b02cc5eef83206c45010a65ec185b24b55c9e70cd63608c6
6
+ metadata.gz: e9bd57dfbdb3678fa32b6afcec9cfaa6adb6ec8231ac43a872b25cba1812daea4f41db90650c759322d7f98df457904e03649f3fd0d2c308617f2698667abb9b
7
+ data.tar.gz: de0f0ff37bef4def31fde993a504dfe8f16befacaaa1402924eb123cf056d6d86f5524c4d198e763840d4f3ed1d48c16f7f6a1e44bd39a60990181eb8e1c596d
data/Dockerfile ADDED
@@ -0,0 +1,5 @@
1
+ FROM ruby:2.5.1
2
+
3
+ RUN gem install superbara
4
+ WORKDIR /tests
5
+ ENTRYPOINT ["/usr/local/bundle/bin/superbara", "start"]
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- superbara (0.2.0)
4
+ superbara (0.2.1)
5
5
  binding_of_caller (~> 0.8, >= 0.8.0)
6
6
  capybara (~> 3.0, >= 3.0.0)
7
7
  chromedriver-helper (~> 1.2.0, >= 1.2.0)
data/bin/release CHANGED
@@ -5,3 +5,4 @@ rake
5
5
  echo q | SUPERBARA_FRONTEND=noninteractive exe/superbara start e2e
6
6
 
7
7
  gem build superbara.gemspec
8
+ rake release
@@ -0,0 +1,9 @@
1
+ version: '3.6'
2
+
3
+ services:
4
+ superbara:
5
+ build: .
6
+ image: mattipaksula/superbara
7
+ command: e2e
8
+ volumes:
9
+ - ./e2e:/tests/e2e
@@ -1,3 +1,3 @@
1
1
  module Superbara
2
- VERSION = "0.2.0"
2
+ VERSION = "0.2.1"
3
3
  end
data/lib/supershell CHANGED
@@ -1,5 +1,6 @@
1
1
  #!/usr/bin/env sh
2
2
  set -e
3
+ DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
3
4
 
4
5
  Edit () {
5
6
  if [ "$EDITOR" != "" ]; then
@@ -85,8 +86,6 @@ case $1 in
85
86
  exit 0
86
87
  ;;
87
88
  "init")
88
- DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
89
-
90
89
  test_name=$(basename $2)
91
90
  spec_file="main.rb"
92
91
  target_file="${2}/${spec_file}"
@@ -122,7 +121,7 @@ esac
122
121
 
123
122
  while true; do
124
123
  set +e
125
- ruby -r./lib/superbara -r./lib/superbara/dsl "$1/"*.rb
124
+ ruby -r"$DIR/superbara" -r"$DIR/superbara/dsl" "$1/"*.rb
126
125
  exit_code=$?
127
126
  set -e
128
127
 
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.0
4
+ version: 0.2.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Matti Paksula
@@ -202,6 +202,7 @@ files:
202
202
  - ".rspec"
203
203
  - ".ruby-gemset"
204
204
  - ".ruby-version"
205
+ - Dockerfile
205
206
  - Gemfile
206
207
  - Gemfile.lock
207
208
  - README.md
@@ -209,6 +210,7 @@ files:
209
210
  - bin/autotest
210
211
  - bin/console
211
212
  - bin/release
213
+ - docker-compose.yml
212
214
  - e2e/main.rb
213
215
  - exe/superbara
214
216
  - lib/capybara_monkey.rb