git2pdf 0.1.3 → 0.1.4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/VERSION +1 -1
- data/git2pdf.gemspec +2 -2
- data/lib/git2pdf.rb +3 -2
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 4c344b842ee23c2adfc009d53e43ed0e0e94cb92
|
4
|
+
data.tar.gz: 687e77ba28687b590713ee4d1d736de62390ddc3
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e139029e0ec9155d93d01372214937bf2fcfcb9f8e2d3d3aed27b87213d8adb7a8ee8c85845b1e5aa7235c438dd09c01fbd764d67f349a0d367d4f98ee842a68
|
7
|
+
data.tar.gz: 8ad4576f257e9d153f6debf0d3bdfea1d92d359e76b3676a18b11fa954283668113ae3a0d5bdda308a2eed1f26ca4ee046eef86fdf614ed1cd9631824678bbe3
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.1.
|
1
|
+
0.1.4
|
data/git2pdf.gemspec
CHANGED
@@ -5,11 +5,11 @@
|
|
5
5
|
|
6
6
|
Gem::Specification.new do |s|
|
7
7
|
s.name = "git2pdf"
|
8
|
-
s.version = "0.1.
|
8
|
+
s.version = "0.1.4"
|
9
9
|
|
10
10
|
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
|
11
11
|
s.authors = ["Tobin Harris"]
|
12
|
-
s.date = "2014-07-
|
12
|
+
s.date = "2014-07-02"
|
13
13
|
s.description = "For those that use Kanban or Scrum and want to print their cards so they can stick em on the wall"
|
14
14
|
s.email = "tobin@pocketworks.co.uk"
|
15
15
|
s.executables = ["git2pdf"]
|
data/lib/git2pdf.rb
CHANGED
@@ -62,7 +62,8 @@ class Git2Pdf
|
|
62
62
|
"Lato" => {:bold => "#{dir}/assets/fonts/Lato-Bold.ttf",
|
63
63
|
:italic => "#{dir}/assets/fonts/Lato-LightItalic.ttf",
|
64
64
|
:bold_italic => "#{dir}/assets/fonts/Lato-BoldItalic.ttf",
|
65
|
-
:normal => "#{dir}/assets/fonts/Lato-
|
65
|
+
:normal => "#{dir}/assets/fonts/Lato-Regular.ttf",
|
66
|
+
:light => "#{dir}/assets/fonts/Lato-Light.ttf"})
|
66
67
|
font 'Lato'
|
67
68
|
batch = batch.sort { |a, b| a["ref"]<=>b["ref"] and a["project"]<=>b["project"] }
|
68
69
|
#logo = open("http://www.pocketworks.co.uk/images/logo.png")
|
@@ -107,7 +108,7 @@ class Git2Pdf
|
|
107
108
|
if issue[:milestone] and issue[:milestone] != ""
|
108
109
|
y_offset = y_offset - 30
|
109
110
|
# Milestone
|
110
|
-
font 'Lato', :style => :
|
111
|
+
font 'Lato', :style => :light, size: 16
|
111
112
|
text_box issue[:milestone].upcase, :at => [margin, y_offset], :width => 280, :overflow => :shrink_to_fit
|
112
113
|
#text_box fields["due"] || "", :at=>[120,20], :width=>60, :overflow=>:shrink_to_fit
|
113
114
|
y_offset = y_offset + 20
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
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.4
|
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-02 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: prawn
|