spreewald 0.3.9 → 0.3.10
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/spreewald/table_steps.rb +1 -1
- data/lib/spreewald_support/version.rb +1 -1
- metadata +5 -5
@@ -16,7 +16,7 @@ module TableStepsHelper
|
|
16
16
|
first_column = row.find_index do |column|
|
17
17
|
content = normalize_content(column.content)
|
18
18
|
expected_content = normalize_content(expected_column)
|
19
|
-
matching_parts = expected_content.split(
|
19
|
+
matching_parts = expected_content.split(/\s*\*\s*/, -1).collect { |part| Regexp.escape(part) }
|
20
20
|
matching_expression = /\A#{matching_parts.join(".*")}\z/
|
21
21
|
content =~ matching_expression
|
22
22
|
end
|
metadata
CHANGED
@@ -1,13 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: spreewald
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
hash:
|
4
|
+
hash: 7
|
5
5
|
prerelease:
|
6
6
|
segments:
|
7
7
|
- 0
|
8
8
|
- 3
|
9
|
-
-
|
10
|
-
version: 0.3.
|
9
|
+
- 10
|
10
|
+
version: 0.3.10
|
11
11
|
platform: ruby
|
12
12
|
authors:
|
13
13
|
- Tobias Kraze
|
@@ -15,7 +15,7 @@ autorequire:
|
|
15
15
|
bindir: bin
|
16
16
|
cert_chain: []
|
17
17
|
|
18
|
-
date:
|
18
|
+
date: 2013-01-15 00:00:00 +01:00
|
19
19
|
default_executable:
|
20
20
|
dependencies:
|
21
21
|
- !ruby/object:Gem::Dependency
|
@@ -122,7 +122,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
122
122
|
requirements: []
|
123
123
|
|
124
124
|
rubyforge_project:
|
125
|
-
rubygems_version: 1.3.9.
|
125
|
+
rubygems_version: 1.3.9.5
|
126
126
|
signing_key:
|
127
127
|
specification_version: 3
|
128
128
|
summary: Collection of useful cucumber steps.
|