project_madurai 0.0.5 → 0.0.6

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.
data/bin/project_madurai CHANGED
@@ -4,7 +4,7 @@ require 'rubygems'
4
4
  require 'commander/import'
5
5
  require_relative '../lib/project_madurai'
6
6
 
7
- program :version, '0.0.5'
7
+ program :version, '0.0.6'
8
8
  program :description, 'Generates cover page for project madurai'
9
9
 
10
10
  command :extract do |c|
@@ -5,7 +5,9 @@ module CoverPageGenerator
5
5
  @file_name = file_name || "public/image.jpg"
6
6
  @title = title
7
7
  @author = author
8
- @font = "public/ta.ttf"
8
+ public_folder = File.expand_path('../../../public', __FILE__)
9
+ puts public_folder
10
+ @font = "#{public_folder}/ta.ttf"
9
11
  end
10
12
 
11
13
  def generate
@@ -1,3 +1,3 @@
1
1
  module ProjectMadurai
2
- VERSION = "0.0.5"
2
+ VERSION = "0.0.6"
3
3
  end
data/public/ta.ttf CHANGED
Binary file
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: project_madurai
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.5
4
+ version: 0.0.6
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors: