Skip to content

Commit

Permalink
Turn plugin into a gem with jeweler.
Browse files Browse the repository at this point in the history
  • Loading branch information
timriley committed Sep 25, 2009
1 parent 4cb1138 commit d179206
Show file tree
Hide file tree
Showing 3 changed files with 59 additions and 0 deletions.
15 changes: 15 additions & 0 deletions Rakefile
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,21 @@ require 'rake'
require 'rake/testtask'
require 'rake/rdoctask'

begin
require 'jeweler'
Jeweler::Tasks.new do |gemspec|
gemspec.name = "saucerly"
gemspec.summary = "PDF rending plugin for Rails using FlyingSaucer."
gemspec.email = "tim@openmonkey.com"
gemspec.homepage = "http://github.com/timriley/saucerly"
gemspec.authors = ["Tim Riley"]

gemspec.add_dependency('flying_saucer')
end
rescue LoadError
puts "Jeweler not available. Install it with: sudo gem install jeweler"
end

desc 'Default: run unit tests.'
task :default => :test

Expand Down
1 change: 1 addition & 0 deletions VERSION
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
0.5.0
43 changes: 43 additions & 0 deletions saucerly.gemspec
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
# Generated by jeweler
# DO NOT EDIT THIS FILE
# Instead, edit Jeweler::Tasks in Rakefile, and run `rake gemspec`
# -*- encoding: utf-8 -*-

Gem::Specification.new do |s|
s.name = %q{saucerly}
s.version = "0.5.0"

s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
s.authors = ["Tim Riley"]
s.date = %q{2009-09-25}
s.email = %q{tim@openmonkey.com}
s.extra_rdoc_files = [
"README.md"
]
s.files = [
"MIT-LICENSE",
"README.md",
"Rakefile",
"TODO",
"init.rb",
"lib/pdf_helper.rb"
]
s.homepage = %q{http://github.com/timriley/saucerly}
s.rdoc_options = ["--charset=UTF-8"]
s.require_paths = ["lib"]
s.rubygems_version = %q{1.3.4}
s.summary = %q{PDF rending plugin for Rails using FlyingSaucer.}

if s.respond_to? :specification_version then
current_version = Gem::Specification::CURRENT_SPECIFICATION_VERSION
s.specification_version = 3

if Gem::Version.new(Gem::RubyGemsVersion) >= Gem::Version.new('1.2.0') then
s.add_runtime_dependency(%q<flying_saucer>, [">= 0"])
else
s.add_dependency(%q<flying_saucer>, [">= 0"])
end
else
s.add_dependency(%q<flying_saucer>, [">= 0"])
end
end

0 comments on commit d179206

Please sign in to comment.