Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
branch: master
Fetching contributors…

Cannot retrieve contributors at this time

52 lines (48 sloc) 1.639 kb
require 'rubygems'
require 'bundler'
require 'rake'
require 'rake/testtask'
# require 'rake/rdoctask'
#desc 'Default: run unit tests.'
#task :default => :test
#
#desc 'Test the acts_as_price plugin.'
#Rake::TestTask.new(:test) do |t|
# t.libs << 'lib'
# t.libs << 'spec'
# t.pattern = 'spec/**/*spec.rb'
# t.verbose = true
#end
# desc 'Generate documentation for the acts_as_price plugin.'
# Rake::RDocTask.new(:rdoc) do |rdoc|
# rdoc.rdoc_dir = 'rdoc'
# rdoc.title = 'ActsAsPrice'
# rdoc.options << '--line-numbers' << '--inline-source'
# rdoc.rdoc_files.include("README.rdoc")
# rdoc.rdoc_files.include('lib/**/*.rb')
# end
begin
Bundler.setup(:default, :development)
rescue Bundler::BundlerError => e
$stderr.puts e.message
$stderr.puts "Run `bundle install` to install missing gems"
exit e.status_code
end
require 'rake'
begin
require 'jeweler'
Jeweler::Tasks.new do |gem|
gem.name = "acts_as_price"
gem.homepage = "http://github.com/jeroeningen/acts_as_price"
gem.license = "MIT"
gem.summary = %Q{A specified database column acts as a price}
gem.description = %Q{A specified database column acts as a price and creates on the fly methods like 'price' and 'price_in_cents'. For more information visit: http://github.com/jeroeningen/acts_as_price}
gem.email = "jeroeningen@gmail.com"
gem.authors = ["Jeroen van Ingen"]
gem.add_runtime_dependency 'rails', '> 3.0.7'
gem.add_runtime_dependency 'rake', '> 0.8.7'
end
rescue LoadError
puts "Jeweler not available. Install it with: sudo gem install jeweler -s http://gemcutter.org"
end
Jeweler::RubygemsDotOrgTasks.new
Jump to Line
Something went wrong with that request. Please try again.