respectable 0.1.0 → 0.2.0

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
  SHA1:
3
- metadata.gz: 263b2088ad758cc0c388bf8e09154a691fed3ce6
4
- data.tar.gz: c6926d2afac9e2351ab06a4ca43af56abcfe03f0
3
+ metadata.gz: 9573aa714bfb9221aa80b0632f9547861aaf776d
4
+ data.tar.gz: 2141a67cdce9d1fd0411b6ef4d001c951edeea79
5
5
  SHA512:
6
- metadata.gz: 113f9288eed63fa36aaff38a6c54d5d48b6ce3830feb511b0347593d94c577bd2eb85dac3021d576d22b1b14e0bcc7e3f3ced6c9c138f582c38d4a6dac23aa2c
7
- data.tar.gz: e98255c40fc6cdac06ae465b678efbc3539518c2f5c397c44d3f6567ae380d77b4746dc2a1d97f84b5dcb0f3a372bf85f2d8384125362209ca0e2ac6b0974e1b
6
+ metadata.gz: e586552b082fe3f98b57fb3530acd17a8187f612de7f286119796d5a938a1a52cf6eb1d314674db3c5bad73dc6a9d1dc13e5039b3336a17caddcbf13a759661d
7
+ data.tar.gz: ed908a57599cb0aa8b9e71358da923d6a585eb303f8355b55c35e69541dc7946dea41e112743936060f7d21e58be27e2e9787b4260702719081efd1a4bf9111b
data/.gitlab-ci.yml ADDED
@@ -0,0 +1,8 @@
1
+ image: ruby:2.3
2
+
3
+ spec:
4
+ tags:
5
+ - docker
6
+ script:
7
+ - bundle install --path vendor --without production --jobs $(nproc) > /dev/null
8
+ - bin/rspec
data/README.md CHANGED
@@ -1,5 +1,7 @@
1
1
  # Respectable
2
2
 
3
+ [![build status](https://gitlab.com/eval/respectable/badges/master/build.svg)](https://gitlab.com/eval/respectable/commits/master)
4
+
3
5
  Respectable allows you to structure your specs similar to [scenario outlines in Cucumber](https://github.com/cucumber/cucumber/wiki/Scenario-outlines).
4
6
 
5
7
  ![](logo.jpg)
@@ -73,7 +75,7 @@ Or install it yourself as:
73
75
 
74
76
  ## Usage
75
77
 
76
- Checkout the ![specs](spec/respectable_spec.rb)
78
+ Checkout the [specs](spec/respectable_spec.rb).
77
79
 
78
80
  ## Development
79
81
 
data/lib/respectable.rb CHANGED
@@ -11,7 +11,7 @@ module Respectable
11
11
 
12
12
  module Meat
13
13
  def each_row(string, &block)
14
- string.split(/\n */).grep(/^[^#]/).map do |line|
14
+ string.split(/\n */).reject {|line| line[/^ *#/] }.map do |line|
15
15
  yield(*line.split(/ *(?<!\\)\| */)[1..-1].map do |i|
16
16
  i = i.sub(/\\(?=|)/, '') # remove escapes for '|'
17
17
  # handle `...`
@@ -1,3 +1,3 @@
1
1
  module Respectable
2
- VERSION = "0.1.0"
2
+ VERSION = "0.2.0"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: respectable
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.2.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Gert Goet
@@ -74,6 +74,7 @@ extensions: []
74
74
  extra_rdoc_files: []
75
75
  files:
76
76
  - ".gitignore"
77
+ - ".gitlab-ci.yml"
77
78
  - ".rspec"
78
79
  - ".travis.yml"
79
80
  - Gemfile