saga 0.3.0 → 0.4.0
Sign up to get free protection for your applications and to get access to all the features.
- data/VERSION +1 -1
- data/saga.gemspec +1 -1
- data/templates/saga/document.erb +16 -13
- metadata +1 -1
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.
|
1
|
+
0.4.0
|
data/saga.gemspec
CHANGED
data/templates/saga/document.erb
CHANGED
@@ -1,22 +1,25 @@
|
|
1
1
|
Requirements <%= title %>
|
2
|
+
<% unless authors.empty? %>
|
2
3
|
|
3
|
-
<% authors.each do |author|
|
4
|
-
- <%= format_author(author)
|
5
|
-
|
4
|
+
<% authors.each do |author| -%>
|
5
|
+
- <%= format_author(author) -%>
|
6
|
+
|
7
|
+
<% end -%>
|
8
|
+
<% end -%>
|
6
9
|
|
7
10
|
USER STORIES
|
8
|
-
<% stories.
|
11
|
+
<% unless stories.keys.empty? -%>
|
9
12
|
|
10
|
-
|
11
|
-
|
13
|
+
<% stories.each do |header, stories| -%>
|
14
|
+
<%= "\n#{header}\n\n" unless header.strip == '' -%>
|
15
|
+
<% stories.each do |story| -%>
|
12
16
|
<%= format_story(story) %>
|
13
|
-
<% end
|
14
|
-
<% end
|
15
|
-
|
16
|
-
<% definitions.each do |header, definitions|
|
17
|
-
|
18
|
-
|
19
|
-
<% definitions.each do |definition| %>
|
17
|
+
<% end -%>
|
18
|
+
<% end -%>
|
19
|
+
<% end -%>
|
20
|
+
<% definitions.each do |header, definitions| -%>
|
21
|
+
<%= "\n#{header}\n\n" unless header.strip == '' -%>
|
22
|
+
<% definitions.each do |definition| -%>
|
20
23
|
<%= format_definition(definition) %>
|
21
24
|
<% end %>
|
22
25
|
<% end %>
|