gplan 0.1.8 → 0.2.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 9e3f30b8b04f73fa0f292b99d62e9e566bb8a0ba
4
- data.tar.gz: 2f2545448852afbff019ecae7e8a6b649024deac
3
+ metadata.gz: 725261910e16a9e0a1988c43c9edbd2779c1d8ce
4
+ data.tar.gz: 34006ad454baeb4a4dd44a968a3aca039017bd19
5
5
  SHA512:
6
- metadata.gz: f622b9d3e6fc288a5a4ebb9d2cee125ba15fe63807a5bf99877d2b1e969a9495792438f260a224363057b7f671a9bac0f122583bf476b22a48c9a42365597808
7
- data.tar.gz: 3a027521e73f3f5af4bacd8889a4390b675537190620824b5db25da0f81a4ac1c5ec59b47cd953e5122f04e09794b537f4854c03167b06d9b953c4fc80f7355c
6
+ metadata.gz: bd3ca56fc31fcf2b519688f19edadf51382543a05440a92574f9e8befecfabddcc3bac4e4e843fa3a43a89f28a0448f8b3632a589bdf807f84fb5777e2a20216
7
+ data.tar.gz: 4a327d766613f680cab53387f9f0466f392219001ffe82d316bbdc8213c640ba9db3160022d3823b3a93d7499ff96617d5072a504d4f1845176510ed58ea6db6
data/README.md CHANGED
@@ -58,7 +58,7 @@ To ouput release notes as HTML
58
58
 
59
59
  They will look something like this...
60
60
 
61
- ![image](https://cloud.githubusercontent.com/assets/2390653/7863992/7dd34df2-052d-11e5-80ef-77c2cef5b658.png)
61
+ ![image](https://cloud.githubusercontent.com/assets/2390653/15766679/2a0d635e-290f-11e6-9697-bd377e3cc78e.png)
62
62
 
63
63
 
64
64
  ## Dependency
@@ -1,58 +1,64 @@
1
- %h2 Release notes
2
- %table{:border => "1"}
3
- %thead
4
- %tr
5
- %th PR
6
- %th PR Title
7
- %th Issues/Milestone
8
- %th Dependencies
9
- %tbody
10
- - $stories.each do |story|
11
- - next if Planbox.has_planbox?(story)
12
- %tr
13
- %td
14
- %a{href: story['html_url']}= story['number']
15
- %td= story['title']
16
- %td
17
- %table
18
- %tbody
19
- - story['linked_issues'].each do |issue|
20
- %tr
21
- %td
22
- %a{href: issue['html_url']}= issue['number']
23
- %td
24
- - if issue['milestone']
25
- %a{href: issue['milestone']['html_url']}= issue['milestone']['title']
26
- - block = Printer.new.get_dependency(story)
27
- - next if block.nil?
28
- %td= block
1
+ %head
2
+ %link{rel:"stylesheet", type:"text/css", href:"https://cdnjs.cloudflare.com/ajax/libs/semantic-ui/2.1.8/semantic.min.css"}
29
3
 
30
- - if Planbox.has_planbox?($stories)
31
- %h2 Matched Planbox Stories
32
- %table{:border => "1"}
4
+ .container{style:"margin: 0 auto; width: 90%;"}
5
+ %h2.ui.header Release notes
6
+ %table.ui.celled.table{:border => "1"}
33
7
  %thead
34
8
  %tr
35
- %th ID
36
- %th STATUS
37
- %th DESCRIPTION
38
- %th PROJECT NAME
39
- %th PROJECT ALIAS
40
9
  %th PR
41
- %th PR TITLE
10
+ %th PR Title
11
+ %th Issues/Milestone
42
12
  %th Dependencies
43
13
  %tbody
44
14
  - $stories.each do |story|
15
+ - next if Planbox.has_planbox?(story)
45
16
  %tr
46
- - break unless Planbox.has_planbox?(story)
47
17
  %td
48
- %a{href: story['pb_url']}= story['id']
49
- %td= story['status']
50
- %td= story['name']
51
- %td= story['project_name']
52
- %td= story['project_alias']
18
+ %a.ui.orange.ribbon.label{href: story['html_url']}= story['number']
53
19
  %td
54
- %a{href: story['html_url']}= story['number']
55
- %td= story['title']
56
- - block = Printer.new.get_dependency(story)
57
- - next if block.nil?
58
- %td= block
20
+ %h3
21
+ %a{href: story['html_url']}= story['title']
22
+ %td
23
+ %table
24
+ %tbody
25
+ - story['linked_issues'].each do |issue|
26
+ %tr
27
+ %td
28
+ %a.ui.button{href: issue['html_url']}= issue['number']
29
+ %td
30
+ - if issue['milestone']
31
+ %a.ui.button{href: issue['milestone']['html_url']}= issue['milestone']['title']
32
+ - block = Printer.new.get_dependency(story)
33
+ - next if block.nil?
34
+ %td= block
35
+
36
+ - if Planbox.has_planbox?($stories)
37
+ %h2 Matched Planbox Stories
38
+ %table{:border => "1"}
39
+ %thead
40
+ %tr
41
+ %th ID
42
+ %th STATUS
43
+ %th DESCRIPTION
44
+ %th PROJECT NAME
45
+ %th PROJECT ALIAS
46
+ %th PR
47
+ %th PR TITLE
48
+ %th Dependencies
49
+ %tbody
50
+ - $stories.each do |story|
51
+ %tr
52
+ - break unless Planbox.has_planbox?(story)
53
+ %td
54
+ %a{href: story['pb_url']}= story['id']
55
+ %td= story['status']
56
+ %td= story['name']
57
+ %td= story['project_name']
58
+ %td= story['project_alias']
59
+ %td
60
+ %a{href: story['html_url']}= story['number']
61
+ %td= story['title']
62
+ - block = Printer.new.get_dependency(story)
63
+ - next if block.nil?
64
+ %td= block
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: gplan
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.8
4
+ version: 0.2.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jeff Koenig
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-09-17 00:00:00.000000000 Z
11
+ date: 2016-06-02 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: httparty