Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Fetching contributors…

Cannot retrieve contributors at this time

33 lines (25 sloc) 0.956 kB
# encoding: utf-8
require "#{dir = File.dirname(__FILE__)}/task/gemgem"
Gemgem.dir = dir
($LOAD_PATH << File.expand_path("#{Gemgem.dir}/lib")).uniq!
desc 'Generate gemspec'
task 'gem:spec' do
Gemgem.spec = Gemgem.create do |s|
require 'cerealize/version'
s.name = 'cerealize'
s.version = Cerealize::VERSION
s.homepage = 'https://github.com/cardinalblue/cerealize'
# s.executables = [s.name]
%w[activerecord].each{ |g| s.add_runtime_dependency(g) }
%w[rake bacon] .each{ |g| s.add_development_dependency(g) }
if defined?(RUBY_ENGINE) && RUBY_ENGINE == 'jruby'
s.add_development_dependency('activerecord-jdbcsqlite3-adapter')
else
s.add_development_dependency('sqlite3')
end
s.authors = ['Cardinal Blue', 'Lin Jen-Shin (godfat)', 'Jaime Cham']
s.email = ['dev (XD) cardinalblue.com']
s.files.reject!{ |p| p.start_with?('slide/') }
end
Gemgem.write
end
Jump to Line
Something went wrong with that request. Please try again.