git2pdf 0.1.4 → 0.1.5
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.
- checksums.yaml +4 -4
- data/VERSION +1 -1
- data/git2pdf.gemspec +5 -4
- data/lib/git2pdf.rb +4 -4
- metadata +20 -20
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 254de91fe5c94147ce7d4dbad92886344d6ffef9
|
|
4
|
+
data.tar.gz: 3b39bdec883edef6f7b22cea30c866e38d859a34
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 8663db9b9a14e18479fa8f822605a2338a623732b32b7fc623d804375e4e9321a723a3bd417bfd91d932638df791b7b0e4b6151af41bc4648b717cbb663e95a5
|
|
7
|
+
data.tar.gz: 3b4eb7b9c42ffa61a1a411312db9c60b93f50bfdc72e6e361d4aa45bd0f0231edb2ef4ca84edf9a48646fee15ef16f36508c54aed66609705833c23b5ce23c63
|
data/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
0.1.
|
|
1
|
+
0.1.5
|
data/git2pdf.gemspec
CHANGED
|
@@ -2,14 +2,16 @@
|
|
|
2
2
|
# DO NOT EDIT THIS FILE DIRECTLY
|
|
3
3
|
# Instead, edit Jeweler::Tasks in Rakefile, and run 'rake gemspec'
|
|
4
4
|
# -*- encoding: utf-8 -*-
|
|
5
|
+
# stub: git2pdf 0.1.5 ruby lib
|
|
5
6
|
|
|
6
7
|
Gem::Specification.new do |s|
|
|
7
8
|
s.name = "git2pdf"
|
|
8
|
-
s.version = "0.1.
|
|
9
|
+
s.version = "0.1.5"
|
|
9
10
|
|
|
10
11
|
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
|
|
12
|
+
s.require_paths = ["lib"]
|
|
11
13
|
s.authors = ["Tobin Harris"]
|
|
12
|
-
s.date = "2014-07-
|
|
14
|
+
s.date = "2014-07-11"
|
|
13
15
|
s.description = "For those that use Kanban or Scrum and want to print their cards so they can stick em on the wall"
|
|
14
16
|
s.email = "tobin@pocketworks.co.uk"
|
|
15
17
|
s.executables = ["git2pdf"]
|
|
@@ -46,8 +48,7 @@ Gem::Specification.new do |s|
|
|
|
46
48
|
]
|
|
47
49
|
s.homepage = "http://github.com/pocketworks/git2pdf"
|
|
48
50
|
s.licenses = ["MIT"]
|
|
49
|
-
s.
|
|
50
|
-
s.rubygems_version = "2.0.3"
|
|
51
|
+
s.rubygems_version = "2.2.2"
|
|
51
52
|
s.summary = "Bash util to print sexy cards from your github issues"
|
|
52
53
|
|
|
53
54
|
if s.respond_to? :specification_version then
|
data/lib/git2pdf.rb
CHANGED
|
@@ -68,6 +68,7 @@ class Git2Pdf
|
|
|
68
68
|
batch = batch.sort { |a, b| a["ref"]<=>b["ref"] and a["project"]<=>b["project"] }
|
|
69
69
|
#logo = open("http://www.pocketworks.co.uk/images/logo.png")
|
|
70
70
|
logo = open("#{dir}/assets/images/pocketworks.png")
|
|
71
|
+
fill_color(0,0,0,100)
|
|
71
72
|
batch.each do |issue|
|
|
72
73
|
|
|
73
74
|
##
|
|
@@ -114,8 +115,6 @@ class Git2Pdf
|
|
|
114
115
|
y_offset = y_offset + 20
|
|
115
116
|
end
|
|
116
117
|
|
|
117
|
-
|
|
118
|
-
|
|
119
118
|
fill_color "EEEEEE"
|
|
120
119
|
fill_color "D0021B" if issue[:type] == "BUG"
|
|
121
120
|
fill_color "1D8FCE" if issue[:type] == "TASK"
|
|
@@ -128,7 +127,8 @@ class Git2Pdf
|
|
|
128
127
|
else
|
|
129
128
|
fill{rectangle([0,220], margin-10, 220)}
|
|
130
129
|
end
|
|
131
|
-
|
|
130
|
+
|
|
131
|
+
fill_color(0,0,0,100)
|
|
132
132
|
|
|
133
133
|
# if issue[:type] and issue[:type] != ""
|
|
134
134
|
# y_offset = y_offset - 20
|
|
@@ -140,7 +140,7 @@ class Git2Pdf
|
|
|
140
140
|
if issue[:long_title]
|
|
141
141
|
y_offset = y_offset - 50
|
|
142
142
|
# Long title
|
|
143
|
-
font 'Lato', :style => :
|
|
143
|
+
font 'Lato', :style => :light, size: 18
|
|
144
144
|
text_box issue[:long_title] ? issue[:long_title][0..120] : "NO DESCRIPTION", :at => [margin, y_offset], :width => 280-margin, :overflow => :shrink_to_fit
|
|
145
145
|
end
|
|
146
146
|
|
metadata
CHANGED
|
@@ -1,111 +1,111 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: git2pdf
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.1.
|
|
4
|
+
version: 0.1.5
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Tobin Harris
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2014-07-
|
|
11
|
+
date: 2014-07-11 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: prawn
|
|
15
15
|
requirement: !ruby/object:Gem::Requirement
|
|
16
16
|
requirements:
|
|
17
|
-
- -
|
|
17
|
+
- - ">="
|
|
18
18
|
- !ruby/object:Gem::Version
|
|
19
19
|
version: '0'
|
|
20
20
|
type: :runtime
|
|
21
21
|
prerelease: false
|
|
22
22
|
version_requirements: !ruby/object:Gem::Requirement
|
|
23
23
|
requirements:
|
|
24
|
-
- -
|
|
24
|
+
- - ">="
|
|
25
25
|
- !ruby/object:Gem::Version
|
|
26
26
|
version: '0'
|
|
27
27
|
- !ruby/object:Gem::Dependency
|
|
28
28
|
name: thor
|
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|
|
30
30
|
requirements:
|
|
31
|
-
- -
|
|
31
|
+
- - ">="
|
|
32
32
|
- !ruby/object:Gem::Version
|
|
33
33
|
version: '0'
|
|
34
34
|
type: :runtime
|
|
35
35
|
prerelease: false
|
|
36
36
|
version_requirements: !ruby/object:Gem::Requirement
|
|
37
37
|
requirements:
|
|
38
|
-
- -
|
|
38
|
+
- - ">="
|
|
39
39
|
- !ruby/object:Gem::Version
|
|
40
40
|
version: '0'
|
|
41
41
|
- !ruby/object:Gem::Dependency
|
|
42
42
|
name: shoulda
|
|
43
43
|
requirement: !ruby/object:Gem::Requirement
|
|
44
44
|
requirements:
|
|
45
|
-
- -
|
|
45
|
+
- - ">="
|
|
46
46
|
- !ruby/object:Gem::Version
|
|
47
47
|
version: '0'
|
|
48
48
|
type: :development
|
|
49
49
|
prerelease: false
|
|
50
50
|
version_requirements: !ruby/object:Gem::Requirement
|
|
51
51
|
requirements:
|
|
52
|
-
- -
|
|
52
|
+
- - ">="
|
|
53
53
|
- !ruby/object:Gem::Version
|
|
54
54
|
version: '0'
|
|
55
55
|
- !ruby/object:Gem::Dependency
|
|
56
56
|
name: rdoc
|
|
57
57
|
requirement: !ruby/object:Gem::Requirement
|
|
58
58
|
requirements:
|
|
59
|
-
- - ~>
|
|
59
|
+
- - "~>"
|
|
60
60
|
- !ruby/object:Gem::Version
|
|
61
61
|
version: '3.12'
|
|
62
62
|
type: :development
|
|
63
63
|
prerelease: false
|
|
64
64
|
version_requirements: !ruby/object:Gem::Requirement
|
|
65
65
|
requirements:
|
|
66
|
-
- - ~>
|
|
66
|
+
- - "~>"
|
|
67
67
|
- !ruby/object:Gem::Version
|
|
68
68
|
version: '3.12'
|
|
69
69
|
- !ruby/object:Gem::Dependency
|
|
70
70
|
name: bundler
|
|
71
71
|
requirement: !ruby/object:Gem::Requirement
|
|
72
72
|
requirements:
|
|
73
|
-
- - ~>
|
|
73
|
+
- - "~>"
|
|
74
74
|
- !ruby/object:Gem::Version
|
|
75
75
|
version: '1.0'
|
|
76
76
|
type: :development
|
|
77
77
|
prerelease: false
|
|
78
78
|
version_requirements: !ruby/object:Gem::Requirement
|
|
79
79
|
requirements:
|
|
80
|
-
- - ~>
|
|
80
|
+
- - "~>"
|
|
81
81
|
- !ruby/object:Gem::Version
|
|
82
82
|
version: '1.0'
|
|
83
83
|
- !ruby/object:Gem::Dependency
|
|
84
84
|
name: jeweler
|
|
85
85
|
requirement: !ruby/object:Gem::Requirement
|
|
86
86
|
requirements:
|
|
87
|
-
- - ~>
|
|
87
|
+
- - "~>"
|
|
88
88
|
- !ruby/object:Gem::Version
|
|
89
89
|
version: 2.0.1
|
|
90
90
|
type: :development
|
|
91
91
|
prerelease: false
|
|
92
92
|
version_requirements: !ruby/object:Gem::Requirement
|
|
93
93
|
requirements:
|
|
94
|
-
- - ~>
|
|
94
|
+
- - "~>"
|
|
95
95
|
- !ruby/object:Gem::Version
|
|
96
96
|
version: 2.0.1
|
|
97
97
|
- !ruby/object:Gem::Dependency
|
|
98
98
|
name: simplecov
|
|
99
99
|
requirement: !ruby/object:Gem::Requirement
|
|
100
100
|
requirements:
|
|
101
|
-
- -
|
|
101
|
+
- - ">="
|
|
102
102
|
- !ruby/object:Gem::Version
|
|
103
103
|
version: '0'
|
|
104
104
|
type: :development
|
|
105
105
|
prerelease: false
|
|
106
106
|
version_requirements: !ruby/object:Gem::Requirement
|
|
107
107
|
requirements:
|
|
108
|
-
- -
|
|
108
|
+
- - ">="
|
|
109
109
|
- !ruby/object:Gem::Version
|
|
110
110
|
version: '0'
|
|
111
111
|
description: For those that use Kanban or Scrum and want to print their cards so they
|
|
@@ -119,7 +119,7 @@ extra_rdoc_files:
|
|
|
119
119
|
- README.md
|
|
120
120
|
- README.rdoc
|
|
121
121
|
files:
|
|
122
|
-
- .document
|
|
122
|
+
- ".document"
|
|
123
123
|
- Gemfile
|
|
124
124
|
- Gemfile.lock
|
|
125
125
|
- LICENSE.txt
|
|
@@ -153,17 +153,17 @@ require_paths:
|
|
|
153
153
|
- lib
|
|
154
154
|
required_ruby_version: !ruby/object:Gem::Requirement
|
|
155
155
|
requirements:
|
|
156
|
-
- -
|
|
156
|
+
- - ">="
|
|
157
157
|
- !ruby/object:Gem::Version
|
|
158
158
|
version: '0'
|
|
159
159
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
|
160
160
|
requirements:
|
|
161
|
-
- -
|
|
161
|
+
- - ">="
|
|
162
162
|
- !ruby/object:Gem::Version
|
|
163
163
|
version: '0'
|
|
164
164
|
requirements: []
|
|
165
165
|
rubyforge_project:
|
|
166
|
-
rubygems_version: 2.
|
|
166
|
+
rubygems_version: 2.2.2
|
|
167
167
|
signing_key:
|
|
168
168
|
specification_version: 4
|
|
169
169
|
summary: Bash util to print sexy cards from your github issues
|