flatware 0.0.3 → 0.0.4
Sign up to get free protection for your applications and to get access to all the features.
- data/README.rdoc +20 -0
- data/lib/flatware/version.rb +1 -1
- metadata +3 -9
data/README.rdoc
CHANGED
@@ -28,6 +28,26 @@ You can also pass most cucumber options to flatware. For example, to run only fe
|
|
28
28
|
|
29
29
|
flatware cucumber -t ~@javascript
|
30
30
|
|
31
|
+
== Typical Usage in a Rails App
|
32
|
+
|
33
|
+
Add the following to your config/database.yml:
|
34
|
+
|
35
|
+
test:
|
36
|
+
database: foo_test
|
37
|
+
|
38
|
+
becomes:
|
39
|
+
|
40
|
+
test:
|
41
|
+
database: foo_test<%=ENV['TEST_ENV_NUMBER']%>
|
42
|
+
|
43
|
+
Run the following:
|
44
|
+
|
45
|
+
rake db:setup # if not already done
|
46
|
+
flatware fan rake db:test:prepare
|
47
|
+
|
48
|
+
Now you are ready to rock:
|
49
|
+
|
50
|
+
flatware
|
31
51
|
|
32
52
|
== Planned Features
|
33
53
|
|
data/lib/flatware/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: flatware
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.4
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -32,23 +32,17 @@ dependencies:
|
|
32
32
|
requirement: !ruby/object:Gem::Requirement
|
33
33
|
none: false
|
34
34
|
requirements:
|
35
|
-
- -
|
35
|
+
- - ~>
|
36
36
|
- !ruby/object:Gem::Version
|
37
37
|
version: '0.13'
|
38
|
-
- - <
|
39
|
-
- !ruby/object:Gem::Version
|
40
|
-
version: '0.16'
|
41
38
|
type: :runtime
|
42
39
|
prerelease: false
|
43
40
|
version_requirements: !ruby/object:Gem::Requirement
|
44
41
|
none: false
|
45
42
|
requirements:
|
46
|
-
- -
|
43
|
+
- - ~>
|
47
44
|
- !ruby/object:Gem::Version
|
48
45
|
version: '0.13'
|
49
|
-
- - <
|
50
|
-
- !ruby/object:Gem::Version
|
51
|
-
version: '0.16'
|
52
46
|
- !ruby/object:Gem::Dependency
|
53
47
|
name: cucumber
|
54
48
|
requirement: !ruby/object:Gem::Requirement
|