gplan 0.1.0 → 0.1.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (2) hide show
  1. data/templates/template.html.haml +57 -0
  2. metadata +18 -1
@@ -0,0 +1,57 @@
1
+ %h2 Release notes
2
+ %table{:border => "1"}
3
+ %thead
4
+ %tr
5
+ %th ID
6
+ %th STATUS
7
+ %th DESCRIPTION
8
+ %th PROJECT NAME
9
+ %th PROJECT ALIAS
10
+ %th PR
11
+ %th PR TITLE
12
+ %th Dependencies
13
+ %tbody
14
+ - $stories.each do |story|
15
+ %tr
16
+ - break if story['name'].nil?
17
+ %td
18
+ %a{href: story['pb_url']}= story['id']
19
+ %td= story['status']
20
+ %td= story['name']
21
+ %td= story['project_name']
22
+ %td= story['project_alias']
23
+ %td
24
+ %a{href: story['html_url']}= story['number']
25
+ %td= story['title']
26
+ - next if story['blocks'].nil?
27
+ - story['blocks'].each do |block|
28
+ - next unless block.match(/((^|\W)dependen(t|cy|cies|cys))/i)
29
+ %td= block
30
+
31
+ %h2 Unmatched PRs
32
+ %table{:border => "1"}
33
+ %thead
34
+ %tr
35
+ %th PR
36
+ %th PR Title
37
+ %th Issues/Milestone
38
+ %th Dependencies
39
+ %tbody
40
+ - $stories.each do |story|
41
+ - next unless story['name'].nil?
42
+ %tr
43
+ %td
44
+ %a{href: story['html_url']}= story['number']
45
+ %td= story['title']
46
+ %td
47
+ %table
48
+ %tbody
49
+ - story['linked_issues'].each do |issue|
50
+ %tr
51
+ %td
52
+ %a{href: issue['html_url']}= issue['number']
53
+ %td= issue['milestone']['title'] if issue['milestone']
54
+ - next if story['blocks'].nil?
55
+ - story['blocks'].each do |block|
56
+ - next unless block.match(/((^|\W)dependen(t|cy|cies|cys))/i)
57
+ %td= block
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: gplan
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.1.1
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -27,6 +27,22 @@ dependencies:
27
27
  - - ~>
28
28
  - !ruby/object:Gem::Version
29
29
  version: 0.13.0
30
+ - !ruby/object:Gem::Dependency
31
+ name: haml
32
+ requirement: !ruby/object:Gem::Requirement
33
+ none: false
34
+ requirements:
35
+ - - ~>
36
+ - !ruby/object:Gem::Version
37
+ version: 4.0.5
38
+ type: :runtime
39
+ prerelease: false
40
+ version_requirements: !ruby/object:Gem::Requirement
41
+ none: false
42
+ requirements:
43
+ - - ~>
44
+ - !ruby/object:Gem::Version
45
+ version: 4.0.5
30
46
  description: Creates release notes from the git log and planbox
31
47
  email: jkoenig311@gmail.com
32
48
  executables:
@@ -39,6 +55,7 @@ files:
39
55
  - lib/github.rb
40
56
  - lib/planbox.rb
41
57
  - lib/printer.rb
58
+ - templates/template.html.haml
42
59
  homepage: https://github.com/el-jefe-/gplan
43
60
  licenses: []
44
61
  post_install_message: