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 +4 -4
- data/.gitlab-ci.yml +8 -0
- data/README.md +3 -1
- data/lib/respectable.rb +1 -1
- data/lib/respectable/version.rb +1 -1
- metadata +2 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 9573aa714bfb9221aa80b0632f9547861aaf776d
|
|
4
|
+
data.tar.gz: 2141a67cdce9d1fd0411b6ef4d001c951edeea79
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: e586552b082fe3f98b57fb3530acd17a8187f612de7f286119796d5a938a1a52cf6eb1d314674db3c5bad73dc6a9d1dc13e5039b3336a17caddcbf13a759661d
|
|
7
|
+
data.tar.gz: ed908a57599cb0aa8b9e71358da923d6a585eb303f8355b55c35e69541dc7946dea41e112743936060f7d21e58be27e2e9787b4260702719081efd1a4bf9111b
|
data/.gitlab-ci.yml
ADDED
data/README.md
CHANGED
|
@@ -1,5 +1,7 @@
|
|
|
1
1
|
# Respectable
|
|
2
2
|
|
|
3
|
+
[](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
|

|
|
@@ -73,7 +75,7 @@ Or install it yourself as:
|
|
|
73
75
|
|
|
74
76
|
## Usage
|
|
75
77
|
|
|
76
|
-
Checkout the
|
|
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 */).
|
|
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 `...`
|
data/lib/respectable/version.rb
CHANGED
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.
|
|
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
|