build locomotive engine as a gem

This commit is contained in:
dinedine 2010-10-15 02:05:21 +02:00
parent 163077be43
commit acaf997b6e
7 changed files with 17 additions and 14 deletions

View File

@ -8,7 +8,7 @@ gem 'warden'
gem 'devise', '= 1.1.3'
gem 'mongoid', '2.0.0.beta.19'
gem 'bson_ext', '1.1'
gem 'bson_ext', '1.1.1'
gem 'locomotive_mongoid_acts_as_tree', '0.1.5.1', :require => 'mongoid_acts_as_tree'
gem 'haml', '= 3.0.18'

View File

@ -56,7 +56,7 @@ GEM
xml-simple
bcrypt-ruby (2.1.2)
bson (1.1)
bson_ext (1.1)
bson_ext (1.1.1)
builder (2.1.2)
capybara (0.3.9)
culerity (>= 0.2.4)
@ -227,7 +227,7 @@ DEPENDENCIES
actionmailer-with-request
autotest
aws
bson_ext (= 1.1)
bson_ext (= 1.1.1)
capybara
cgi_multipart_eof_fix
cucumber (= 0.8.5)

View File

@ -1,4 +1,5 @@
require 'mimetype_fu'
require 'locomotive/version'
require 'locomotive/core_ext'
require 'locomotive/configuration'
@ -17,7 +18,6 @@ require 'locomotive/render'
require 'locomotive/import'
require 'locomotive/delayed_job'
require 'locomotive/middlewares'
require 'locomotive/session_store'
module Locomotive

View File

@ -1,4 +1,5 @@
require 'delayed_job'
require 'delayed/backend/mongoid'
module Delayed
module Backend

View File

@ -10,9 +10,8 @@ require 'mongoid_acts_as_tree'
require 'httparty'
require 'redcloth'
require 'actionmailer_with_request'
# FIXME: get rid of it once custom_fields is a gem
require File.dirname(__FILE__) + '/../../vendor/plugins/custom_fields/init.rb'
require 'zip/zipfilesystem'
require 'custom_fields'
module Locomotive
class Engine < Rails::Engine

View File

@ -1,3 +1,3 @@
module Locomotive #:nodoc
VERSION = "0.0.3.3"
VERSION = "0.0.4"
end

View File

@ -18,12 +18,12 @@ Gem::Specification.new do |s|
s.rubyforge_project = "nowarning"
s.add_dependency "rails", ">= 3.0.0"
s.add_dependency "locomotive_liquid", ">= 2.1.3"
s.add_dependency "bson_ext", ">= 1.0.8"
s.add_dependency "mongoid", ">= 2.0.0.beta.18"
s.add_dependency "mongoid_acts_as_tree", "= 0.1.5"
s.add_dependency "locomotive_liquid", "2.2.2"
s.add_dependency "bson_ext", "1.1.1"
s.add_dependency "mongoid", "2.0.0.beta.19"
s.add_dependency "locomotive_mongoid_acts_as_tree", "0.1.5.1"
s.add_dependency "warden"
s.add_dependency "devise", "= 1.1.2"
s.add_dependency "devise", "= 1.1.3"
s.add_dependency "haml", "= 3.0.18"
s.add_dependency "rmagick", "= 2.12.2"
s.add_dependency "aws"
@ -35,7 +35,10 @@ Gem::Specification.new do |s|
s.add_dependency "httparty", ">= 0.6.1"
s.add_dependency "RedCloth"
s.add_dependency "inherited_resources", ">= 1.1.2"
s.add_dependency "custom_fields"
s.add_dependency "delayed_job", "2.1.0.pre2"
s.add_dependency "delayed_job_mongoid", "1.0.0.rc"
s.add_dependency "custom_fields", "1.0.0.beta"
s.add_dependency "rubyzip"
s.files = Dir[ "Gemfile",
"{app}/**/*",