git2pdf 0.1.2 → 0.1.3

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 00634eb07b6a4b24b666c606cc42202d09260421
4
- data.tar.gz: ff361da091a149a428617436c962fa9552f81926
3
+ metadata.gz: 128f373353852cacb81d7e70c0a385108a670301
4
+ data.tar.gz: 38bb8462186d7d6386a7e0b107f06ff3cd303776
5
5
  SHA512:
6
- metadata.gz: 0020e07533c6f495e7bb8e2431c3bf6bfd5f8b654dcc32f1dcc5fe58f2b20a440f26f19cc1445255857d0a2e7749de551565f2d903b5a38696d5423b5c11d532
7
- data.tar.gz: 3c3b6ab2c3c1f41dc8818ad6bfc0acb38d1dcea6635446e440f051c330097c6099686f8d6ca32cbb818d7a28e41b918a45e7526e423f92f10625fb97553f5db3
6
+ metadata.gz: 9debad2e3492f03549d23ee3959be3696b4d21b1a32242d32121aac29e1fba7d6a0aaa930632ab0c65227a731895165a6cfd489c3a75259d7e2878d3e54f3e30
7
+ data.tar.gz: b82d6614950eaac4760ff2aebcfc4f79790159ec355aaf20094be87ce6072c15ca244c0805aff8a4025a65994cc153eeb829434b2f05abb9ac46fb6438e62dcb
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.1.2
1
+ 0.1.3
data/bin/git2pdf CHANGED
@@ -1,6 +1,6 @@
1
1
  #! /usr/bin/ruby
2
2
  require 'thor'
3
- require './lib/git2pdf'
3
+ require "#{File.expand_path File.dirname(__FILE__)}/../lib/git2pdf"
4
4
  #require 'password'
5
5
 
6
6
  class Git2PdfBash < Thor
data/git2pdf.gemspec CHANGED
@@ -5,7 +5,7 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = "git2pdf"
8
- s.version = "0.1.2"
8
+ s.version = "0.1.3"
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"]
data/lib/git2pdf.rb CHANGED
@@ -57,7 +57,7 @@ class Git2Pdf
57
57
  col = 0
58
58
  margin = 20
59
59
  Prawn::Document.generate("issues.pdf", :page_size => "A7", :margin => 0, :page_layout => :landscape) do
60
- dir = File.dirname(__FILE__)
60
+ dir = File.expand_path File.dirname(__FILE__)
61
61
  font_families.update(
62
62
  "Lato" => {:bold => "#{dir}/assets/fonts/Lato-Bold.ttf",
63
63
  :italic => "#{dir}/assets/fonts/Lato-LightItalic.ttf",
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: git2pdf
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.2
4
+ version: 0.1.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Tobin Harris