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."