mattscilipoti-model_steps 0.3.3 → 0.3.4
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.
- data/.gitignore +5 -0
- data/README.rdoc +4 -0
- data/VERSION +1 -1
- data/lib/model_steps/step_definitions.rb +3 -4
- data/mattscilipoti-model_steps.gemspec +2 -2
- metadata +4 -4
data/.gitignore
CHANGED
data/README.rdoc
CHANGED
|
@@ -99,6 +99,10 @@ General: a step that ends in colon (:) expects a cucumber table.
|
|
|
99
99
|
bump version in a commit by itself I can ignore when I pull)
|
|
100
100
|
* Send me a pull request. Bonus points for topic branches.
|
|
101
101
|
|
|
102
|
+
== Thanks for your help and patches!
|
|
103
|
+
|
|
104
|
+
ccahoon, ngauthier
|
|
105
|
+
|
|
102
106
|
== Copyright
|
|
103
107
|
|
|
104
108
|
Copyright (c) 2009-10 Matt Scilipoti. See LICENSE for details.
|
data/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
0.3.
|
|
1
|
+
0.3.4
|
|
@@ -600,10 +600,9 @@ end
|
|
|
600
600
|
|
|
601
601
|
def map_table_headers(table)
|
|
602
602
|
|
|
603
|
-
|
|
604
|
-
|
|
605
|
-
|
|
606
|
-
end
|
|
603
|
+
mappings = {}
|
|
604
|
+
table.headers.each do |header|
|
|
605
|
+
mappings[header] = map_table_header(header)
|
|
607
606
|
end
|
|
608
607
|
|
|
609
608
|
table.map_headers(mappings)
|
|
@@ -5,11 +5,11 @@
|
|
|
5
5
|
|
|
6
6
|
Gem::Specification.new do |s|
|
|
7
7
|
s.name = %q{mattscilipoti-model_steps}
|
|
8
|
-
s.version = "0.3.
|
|
8
|
+
s.version = "0.3.4"
|
|
9
9
|
|
|
10
10
|
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
|
|
11
11
|
s.authors = ["Matt Scilipoti", "Chris Cahoon"]
|
|
12
|
-
s.date = %q{2010-08
|
|
12
|
+
s.date = %q{2010-09-08}
|
|
13
13
|
s.description = %q{Step Definitions for cucumber which support ActiveRecord Models}
|
|
14
14
|
s.email = %q{matt@scilipoti.name}
|
|
15
15
|
s.extra_rdoc_files = [
|
metadata
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: mattscilipoti-model_steps
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
hash:
|
|
4
|
+
hash: 27
|
|
5
5
|
prerelease: false
|
|
6
6
|
segments:
|
|
7
7
|
- 0
|
|
8
8
|
- 3
|
|
9
|
-
-
|
|
10
|
-
version: 0.3.
|
|
9
|
+
- 4
|
|
10
|
+
version: 0.3.4
|
|
11
11
|
platform: ruby
|
|
12
12
|
authors:
|
|
13
13
|
- Matt Scilipoti
|
|
@@ -16,7 +16,7 @@ autorequire:
|
|
|
16
16
|
bindir: bin
|
|
17
17
|
cert_chain: []
|
|
18
18
|
|
|
19
|
-
date: 2010-08
|
|
19
|
+
date: 2010-09-08 00:00:00 -04:00
|
|
20
20
|
default_executable:
|
|
21
21
|
dependencies:
|
|
22
22
|
- !ruby/object:Gem::Dependency
|