2012-01-28 16:07:11 +00:00
#!/usr/bin/env gem build
# encoding: utf-8
2010-09-28 06:04:40 +00:00
lib = File . expand_path ( '../lib/' , __FILE__ )
$: . unshift lib unless $: . include? ( lib )
2011-07-26 19:38:27 +00:00
require 'locomotive/version'
2010-07-13 23:49:55 +00:00
Gem :: Specification . new do | s |
2011-07-26 19:38:27 +00:00
s . name = 'locomotive_cms'
2010-09-28 06:04:40 +00:00
s . version = Locomotive :: VERSION
s . platform = Gem :: Platform :: RUBY
2011-07-26 19:38:27 +00:00
s . authors = [ 'Didier Lafforgue' ]
s . email = [ 'didier@nocoffee.fr' ]
2012-01-28 11:41:00 +00:00
s . homepage = 'http://www.locomotivecms.com'
s . summary = 'A Next Generation Sexy CMS for Rails 3'
2012-02-01 01:01:42 +00:00
s . description = 'Locomotive is a next generation CMS system with sexy admin tools, liquid templating, and inline editing powered by mongodb and rails 3.2'
2010-09-28 06:04:40 +00:00
2011-07-26 19:38:27 +00:00
s . required_rubygems_version = '>= 1.3.6'
2012-01-30 10:14:00 +00:00
2012-01-28 16:07:11 +00:00
s . add_dependency 'rake' , '~> 0.9.2'
2012-02-01 01:01:42 +00:00
s . add_dependency 'rails' , '~> 3.2.1'
2012-01-28 16:07:11 +00:00
s . add_dependency 'devise' , '~> 1.5.3'
s . add_dependency 'cancan' , '~> 1.6.7'
s . add_dependency 'mongo' , '~> 1.5.2'
s . add_dependency 'bson_ext' , '~> 1.5.2'
2012-01-31 00:50:09 +00:00
s . add_dependency 'mongoid' , '~> 2.4.3'
2012-02-01 01:01:42 +00:00
s . add_dependency 'locomotive-mongoid-tree' , '~> 0.6.2'
# s.add_dependency 'locomotive_mongoid_acts_as_tree', '~> 0.1.5.8'
2012-01-28 16:07:11 +00:00
2012-02-01 01:01:42 +00:00
s . add_dependency 'custom_fields' , '~> 2.0.0.rc3'
2012-01-28 16:07:11 +00:00
s . add_dependency 'kaminari' , '~> 0.13.0'
2012-02-01 01:01:42 +00:00
s . add_dependency 'haml' , '~> 3.1.4'
# # s.add_dependency 'sass-rails', '~> 3.1.5'
# # s.add_dependency 'coffee-script', '~> 2.2.0'
# # s.add_dependency 'uglifier', '~> 1.2.2'
# # # s.add_dependency 'compass', '~> 0.12.rc.0'
2012-01-28 16:07:11 +00:00
s . add_dependency 'jquery-rails' , '~> 1.0.16'
2012-02-01 01:01:42 +00:00
s . add_dependency 'rails-backbone' , '~> 0.6.1'
2012-01-28 16:07:11 +00:00
s . add_dependency 'codemirror-rails' , '~> 2.21'
2012-02-01 01:01:42 +00:00
s . add_dependency 'locomotive-tinymce-rails' , '~> 3.4.7.1'
s . add_dependency 'locomotive-aloha-rails' , '~> 0.20.1.1'
2012-01-28 16:07:11 +00:00
s . add_dependency 'flash_cookie_session' , '~> 1.1.1'
s . add_dependency 'locomotive_liquid' , '2.2.2'
s . add_dependency 'formtastic' , '~> 2.0.2'
s . add_dependency 'responders' , '~> 0.6.4'
s . add_dependency 'cells' , '~> 3.8.0'
s . add_dependency 'RedCloth' , '~> 4.2.8'
s . add_dependency 'sanitize' , '~> 2.0.3'
s . add_dependency 'highline' , '~> 1.6.2'
s . add_dependency 'rmagick' , '~> 2.12.2'
s . add_dependency 'carrierwave-mongoid' , '~> 0.1.3'
s . add_dependency 'fog' , '~> 1.0.0'
s . add_dependency 'dragonfly' , '~> 0.9.8'
s . add_dependency 'rack-cache' , '~> 1.1'
s . add_dependency 'mimetype-fu' , '~> 0.1.2'
s . add_dependency 'httparty' , '~> 0.8.1'
s . add_dependency 'actionmailer-with-request' , '~> 0.3.0'
2012-01-30 10:14:00 +00:00
2012-01-28 16:07:11 +00:00
s . add_dependency 'SystemTimer' if RUBY_VERSION =~ / 1.8 /
2012-01-20 13:46:09 +00:00
2011-07-26 19:38:27 +00:00
s . files = Dir [ 'Gemfile' ,
'{app}/**/*' ,
'{config}/**/*' ,
'{lib}/**/*' ,
2012-01-20 13:46:09 +00:00
'{public}/**/*' ,
2011-07-26 19:38:27 +00:00
'{vendor}/**/*' ]
2010-09-28 06:04:40 +00:00
s . require_path = 'lib'
2010-07-13 23:49:55 +00:00
s . extra_rdoc_files = [
2011-07-26 19:38:27 +00:00
'LICENSE' ,
'README.textile'
2010-07-13 23:49:55 +00:00
]
2012-01-28 16:07:11 +00:00
end