stories 0.0.5 → 0.0.7
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/README.markdown +2 -3
- data/lib/tasks/stories.rake +17 -0
- metadata +2 -1
data/README.markdown
CHANGED
@@ -72,12 +72,11 @@ You will get a nicely formatted PDF with your user stories. It uses [Prawn](http
|
|
72
72
|
Installation
|
73
73
|
------------
|
74
74
|
|
75
|
-
$ gem
|
76
|
-
$ sudo gem install citrusbyte-stories
|
75
|
+
$ sudo gem install stories
|
77
76
|
|
78
77
|
If you want to use it with Rails, add this to config/environment.rb:
|
79
78
|
|
80
|
-
config.gem "
|
79
|
+
config.gem "stories"
|
81
80
|
|
82
81
|
Then you can vendor the gem:
|
83
82
|
|
@@ -0,0 +1,17 @@
|
|
1
|
+
Rake::TestTask.new(:stories => "db:test:prepare") do |t|
|
2
|
+
t.libs << "test"
|
3
|
+
t.options = "--runner=stories"
|
4
|
+
t.pattern = 'test/integration/**/*_test.rb'
|
5
|
+
t.verbose = false
|
6
|
+
end
|
7
|
+
Rake::Task['stories'].comment = "Run and print the UATs"
|
8
|
+
|
9
|
+
namespace :stories do
|
10
|
+
Rake::TestTask.new(:pdf => "db:test:prepare") do |t|
|
11
|
+
t.libs << "test"
|
12
|
+
t.options = "--runner=stories-pdf"
|
13
|
+
t.pattern = 'test/integration/**/*_test.rb'
|
14
|
+
t.verbose = false
|
15
|
+
end
|
16
|
+
Rake::Task['stories:pdf'].comment = "Run UATs and produce a nice PDF"
|
17
|
+
end
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: stories
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.7
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Damian Janowski
|
@@ -32,6 +32,7 @@ extensions: []
|
|
32
32
|
extra_rdoc_files: []
|
33
33
|
|
34
34
|
files:
|
35
|
+
- lib/tasks/stories.rake
|
35
36
|
- lib/stories/runner/pdf.rb
|
36
37
|
- lib/stories/runner.rb
|
37
38
|
- lib/stories.rb
|