From 83d42cc76d0d44834fa38405186964606cd5894a Mon Sep 17 00:00:00 2001 From: Weston Ganger Date: Sat, 21 Jan 2017 11:23:01 -0800 Subject: [PATCH] Fix Rakefile, Update Authors --- Rakefile | 23 ++++++++++++----------- prawn-rails.gemspec | 4 ++-- 2 files changed, 14 insertions(+), 13 deletions(-) diff --git a/Rakefile b/Rakefile index 60489c5..013b4ac 100755 --- a/Rakefile +++ b/Rakefile @@ -1,14 +1,15 @@ -#!/usr/bin/env rake - -require 'bundler/setup' - -require 'rake/testtask' - -Rake::TestTask.new(:test) do |t| - t.libs << 'lib' - t.libs << 'test' - t.pattern = 'test/**/*_test.rb' - t.verbose = false +require File.expand_path(File.dirname(__FILE__) + '/lib/prawn-rails/version.rb') +require 'bundler/gem_tasks' + +task :test do + require 'rake/testtask' + + Rake::TestTask.new(:test) do |t| + t.libs << 'lib' + t.libs << 'test' + t.pattern = 'test/**/*_test.rb' + t.verbose = false + end end task default: :test diff --git a/prawn-rails.gemspec b/prawn-rails.gemspec index e5962b4..694bd24 100644 --- a/prawn-rails.gemspec +++ b/prawn-rails.gemspec @@ -6,8 +6,8 @@ require "prawn-rails/version" Gem::Specification.new do |s| s.name = "prawn-rails" s.version = PrawnRails::VERSION - s.authors = ["Carlos Ortiz"] - s.email = ["chrono.dark@gmail.com"] + s.authors = ["Carlos Ortiz", "Weston Ganger"] + s.email = ["chrono.dark@gmail.com", "westonganger@gmail.com"] s.homepage = "https://github.com/cortiz/prawn-rails" s.summary = "Prawn Handler for Rails" s.description = "Prawn Handler for Rails. Handles and registers pdf formats."