pdfkit.gemspec in pdfkit-0.4.6 vs pdfkit.gemspec in pdfkit-0.5.0
- old
+ new
@@ -1,85 +1,27 @@
-# Generated by jeweler
-# DO NOT EDIT THIS FILE DIRECTLY
-# Instead, edit Jeweler::Tasks in Rakefile, and run the gemspec command
# -*- encoding: utf-8 -*-
+$:.push File.expand_path("../lib", __FILE__)
+require "pdfkit/version"
Gem::Specification.new do |s|
- s.name = %q{pdfkit}
- s.version = "0.4.6"
+ s.name = "pdfkit"
+ s.version = PDFKit::VERSION
+ s.platform = Gem::Platform::RUBY
+ s.authors = ["Jared Pace", "Relevance"]
+ s.email = ["jared@codewordstudios.com"]
+ s.homepage = "http://github.com/jdpace/PDFKit"
+ s.summary = "HTML+CSS -> PDF"
+ s.description = "Uses wkhtmltopdf to create PDFs using HTML"
- s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
- s.authors = ["jdpace"]
- s.date = %q{2010-09-03}
- s.default_executable = %q{pdfkit}
- s.description = %q{Uses wkhtmltopdf to create PDFs using HTML}
- s.email = %q{jared@codewordstudios.com}
- s.executables = ["pdfkit"]
- s.extra_rdoc_files = [
- "LICENSE",
- "README.md"
- ]
- s.files = [
- ".document",
- ".gitignore",
- ".rspec",
- "Gemfile",
- "Gemfile.lock",
- "LICENSE",
- "POST_INSTALL",
- "README.md",
- "Rakefile",
- "VERSION",
- "bin/pdfkit",
- "lib/pdfkit.rb",
- "lib/pdfkit/configuration.rb",
- "lib/pdfkit/middleware.rb",
- "lib/pdfkit/pdfkit.rb",
- "lib/pdfkit/source.rb",
- "pdfkit.gemspec",
- "spec/fixtures/example.css",
- "spec/fixtures/example.html",
- "spec/middleware_spec.rb",
- "spec/pdfkit_spec.rb",
- "spec/source_spec.rb",
- "spec/spec_helper.rb"
- ]
- s.homepage = %q{http://github.com/jdpace/PDFKit}
- s.post_install_message = %q{******************************************************************
+ s.rubyforge_project = "pdfkit"
-Now install wkhtmltopdf binaries:
-Global: sudo `which pdfkit` --install-wkhtmltopdf
-or inside RVM folder: export TO=`which pdfkit | sed 's:/pdfkit:/wkhtmltopdf:'` && pdfkit --install-wkhtmltopdf
-(run pdfkit --help to see more options)
-
-******************************************************************}
- s.rdoc_options = ["--charset=UTF-8"]
+ s.files = `git ls-files`.split("\n")
+ s.test_files = `git ls-files -- {test,spec,features}/*`.split("\n")
+ s.executables = `git ls-files -- bin/*`.split("\n").map{ |f| File.basename(f) }
s.require_paths = ["lib"]
- s.rubygems_version = %q{1.3.7}
- s.summary = %q{HTML+CSS -> PDF}
- s.test_files = [
- "spec/middleware_spec.rb",
- "spec/pdfkit_spec.rb",
- "spec/source_spec.rb",
- "spec/spec_helper.rb"
- ]
- if s.respond_to? :specification_version then
- current_version = Gem::Specification::CURRENT_SPECIFICATION_VERSION
- s.specification_version = 3
-
- if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then
- s.add_development_dependency(%q<rspec>, ["~> 2.0.0.beta.8"])
- s.add_development_dependency(%q<rspec-core>, ["~> 2.0.0.beta.8"])
- s.add_development_dependency(%q<mocha>, [">= 0"])
- else
- s.add_dependency(%q<rspec>, ["~> 2.0.0.beta.8"])
- s.add_dependency(%q<rspec-core>, ["~> 2.0.0.beta.8"])
- s.add_dependency(%q<mocha>, [">= 0"])
- end
- else
- s.add_dependency(%q<rspec>, ["~> 2.0.0.beta.8"])
- s.add_dependency(%q<rspec-core>, ["~> 2.0.0.beta.8"])
- s.add_dependency(%q<mocha>, [">= 0"])
- end
+ # Developmnet Dependencies
+ s.add_development_dependency(%q<rspec>, ["~> 2.2.0"])
+ s.add_development_dependency(%q<mocha>, [">= 0.9.10"])
+ s.add_development_dependency(%q<rack-test>, [">= 0.5.6"])
end