Updating dependencies, removing jeweler, and cleaning up gemspec

This commit is contained in:
Jacques Crocker 2010-09-27 23:04:40 -07:00
parent 28ade83ab9
commit ea4c09c7ce
9 changed files with 144 additions and 1163 deletions

1
.gitignore vendored
View File

@ -25,3 +25,4 @@ tmp/*
Capfile Capfile
config/deploy.rb config/deploy.rb
perf/test.rb perf/test.rb
gem_graph.png

33
Gemfile
View File

@ -1,29 +1,10 @@
# Edit this Gemfile to bundle your application's dependencies. # Edit this Gemfile to bundle your application's dependencies.
source 'http://rubygems.org' source :rubygems
gem 'rails', '3.0.0' # add in all the runtime dependencies
gemspec
gem 'liquid', :git => 'git://github.com/locomotivecms/liquid.git', :ref => 'b03cdc289ac36c339545' # The rest of the dependencies are for use when in the locomotive dev environment
gem 'bson_ext', '= 1.0.4'
gem 'mongoid', '2.0.0.beta.17'
gem 'mongoid_acts_as_tree', '0.1.5'
gem 'mongo_session_store', '2.0.0.pre'
gem 'warden'
gem 'devise', '1.1.2' #:git => 'git://github.com/plataformatec/devise.git'
gem 'haml', '3.0.18'
gem 'rmagick', '2.12.2'
gem 'aws'
gem 'mimetype-fu', :require => 'mimetype_fu'
gem 'formtastic-rails3', '1.0.0.beta3', :require => 'formtastic'
gem 'carrierwave', '0.5.0.beta2'
gem 'actionmailer-with-request', :require => 'actionmailer_with_request'
gem 'heroku'
gem 'httparty', '0.6.1'
gem 'RedCloth'
gem 'inherited_resources', '1.1.2'
gem 'custom_fields', :git => 'git://github.com/locomotivecms/custom_fields.git'
gem 'jeweler'
# Development environment # Development environment
group :development do group :development do
@ -40,15 +21,11 @@ end
group :test do group :test do
gem 'autotest' gem 'autotest'
gem 'growl-glue' gem 'growl-glue'
gem 'rspec-rails', '2.0.0.beta.19' gem 'rspec-rails', '>= 2.0.0.beta.18'
gem 'factory_girl_rails' gem 'factory_girl_rails'
gem 'pickle', :git => 'http://github.com/ianwhite/pickle.git' gem 'pickle', :git => 'http://github.com/ianwhite/pickle.git'
gem 'pickle-mongoid'
gem 'capybara' gem 'capybara'
# would be nice..
# gem 'capybara-envjs'
gem 'database_cleaner' gem 'database_cleaner'
gem 'cucumber' gem 'cucumber'
gem 'cucumber-rails' gem 'cucumber-rails'

View File

@ -1,26 +1,13 @@
GIT GIT
remote: git://github.com/floehopper/mocha.git remote: git://github.com/floehopper/mocha.git
revision: e0a00a7 revision: e0a00a7b2adf8f11d3679879df9a5c47a5c36189
specs: specs:
mocha (0.9.8.20100819090654) mocha (0.9.8.20100819090654)
rake rake
GIT
remote: git://github.com/locomotivecms/custom_fields.git
revision: 89c4d7d
specs:
custom_fields (0.0.0.2)
GIT
remote: git://github.com/locomotivecms/liquid.git
revision: b03cdc2
ref: b03cdc289ac36c339545
specs:
liquid (2.1.3)
GIT GIT
remote: http://github.com/ianwhite/pickle.git remote: http://github.com/ianwhite/pickle.git
revision: 65ba8b7 revision: 65ba8b7337f38d0ab4c153b3ab687e13de7086c7
specs: specs:
pickle (0.4.2) pickle (0.4.2)
cucumber (>= 0.8) cucumber (>= 0.8)
@ -28,6 +15,31 @@ GIT
rspec (>= 1.3) rspec (>= 1.3)
yard yard
PATH
remote: .
specs:
locomotive_cms (0.0.3.3)
RedCloth
actionmailer-with-request
aws
bson_ext (>= 1.0.8)
carrierwave (>= 0.5.0)
custom_fields
devise (= 1.1.2)
formtastic (>= 1.1.0)
haml (= 3.0.18)
heroku
httparty (>= 0.6.1)
inherited_resources (>= 1.1.2)
locomotive_liquid (>= 2.1.3)
mimetype-fu
mongo_session_store (= 2.0.0.pre)
mongoid (>= 2.0.0.beta.18)
mongoid_acts_as_tree (= 0.1.5)
rails (>= 3.0.0)
rmagick (= 2.12.2)
warden
GEM GEM
remote: http://rubygems.org/ remote: http://rubygems.org/
specs: specs:
@ -63,13 +75,13 @@ GEM
arel (1.0.1) arel (1.0.1)
activesupport (~> 3.0.0) activesupport (~> 3.0.0)
autotest (4.3.2) autotest (4.3.2)
aws (2.3.20) aws (2.3.21)
http_connection http_connection
uuidtools uuidtools
xml-simple xml-simple
bcrypt-ruby (2.1.2) bcrypt-ruby (2.1.2)
bson (1.0.4) bson (1.0.9)
bson_ext (1.0.4) bson_ext (1.0.9)
builder (2.1.2) builder (2.1.2)
capybara (0.3.9) capybara (0.3.9)
culerity (>= 0.2.4) culerity (>= 0.2.4)
@ -78,21 +90,22 @@ GEM
rack (>= 1.0.0) rack (>= 1.0.0)
rack-test (>= 0.5.4) rack-test (>= 0.5.4)
selenium-webdriver (>= 0.0.3) selenium-webdriver (>= 0.0.3)
carrierwave (0.5.0.beta2) carrierwave (0.5.0)
activesupport (>= 3.0.0.beta4) activesupport (~> 3.0.0)
cgi_multipart_eof_fix (2.5.0) cgi_multipart_eof_fix (2.5.0)
columnize (0.3.1) columnize (0.3.1)
configuration (1.1.0) configuration (1.1.0)
crack (0.1.8) crack (0.1.8)
cucumber (0.8.5) cucumber (0.9.0)
builder (~> 2.1.2) builder (~> 2.1.2)
diff-lcs (~> 1.1.2) diff-lcs (~> 1.1.2)
gherkin (~> 2.1.4) gherkin (~> 2.2.2)
json_pure (~> 1.4.3) json (~> 1.4.6)
term-ansicolor (~> 1.0.4) term-ansicolor (~> 1.0.5)
cucumber-rails (0.3.2) cucumber-rails (0.3.2)
cucumber (>= 0.8.0) cucumber (>= 0.8.0)
culerity (0.2.12) culerity (0.2.12)
custom_fields (0.0.0.1)
daemons (1.1.0) daemons (1.1.0)
database_cleaner (0.5.2) database_cleaner (0.5.2)
devise (1.1.2) devise (1.1.2)
@ -108,51 +121,50 @@ GEM
fastthread (1.0.7) fastthread (1.0.7)
ffi (0.6.3) ffi (0.6.3)
rake (>= 0.8.7) rake (>= 0.8.7)
formtastic-rails3 (1.0.0.beta3) formtastic (1.1.0)
actionpack (>= 3.0.0beta3) actionpack (>= 2.3.0)
activesupport (>= 3.0.0beta3) activesupport (>= 2.3.0)
i18n (>= 0.4.0)
gem_plugin (0.2.3) gem_plugin (0.2.3)
gemcutter (0.6.1) gherkin (2.2.4)
gherkin (2.1.5) json (~> 1.4.6)
term-ansicolor (~> 1.0.5)
trollop (~> 1.16.2) trollop (~> 1.16.2)
git (1.2.5)
growl-glue (1.0.7) growl-glue (1.0.7)
haml (3.0.18) haml (3.0.18)
has_scope (0.5.0) has_scope (0.5.0)
heroku (1.10.2) heroku (1.10.8)
json_pure (>= 1.2.0, < 1.5.0) json_pure (>= 1.2.0, < 1.5.0)
launchy (~> 0.3.2) launchy (~> 0.3.2)
rest-client (~> 1.4.0) rest-client (>= 1.4.0, < 1.7.0)
http_connection (1.3.0) http_connection (1.3.1)
httparty (0.6.1) httparty (0.6.1)
crack (= 0.1.8) crack (= 0.1.8)
i18n (0.4.1) i18n (0.4.1)
inherited_resources (1.1.2) inherited_resources (1.1.2)
has_scope (~> 0.5.0) has_scope (~> 0.5.0)
responders (~> 0.6.0) responders (~> 0.6.0)
jeweler (1.4.0) json (1.4.6)
gemcutter (>= 0.1.0)
git (>= 1.2.5)
rubyforge (>= 2.0.0)
json_pure (1.4.6) json_pure (1.4.6)
launchy (0.3.7) launchy (0.3.7)
configuration (>= 0.0.5) configuration (>= 0.0.5)
rake (>= 0.8.1) rake (>= 0.8.1)
linecache (0.43) linecache (0.43)
locomotive_liquid (2.1.3)
mail (2.2.6.1) mail (2.2.6.1)
activesupport (>= 2.3.6) activesupport (>= 2.3.6)
mime-types mime-types
treetop (>= 1.4.5) treetop (>= 1.4.5)
mime-types (1.16) mime-types (1.16)
mimetype-fu (0.1.2) mimetype-fu (0.1.2)
mongo (1.0.7) mongo (1.0.9)
bson (>= 1.0.4) bson (>= 1.0.5)
mongo_session_store (2.0.0.pre) mongo_session_store (2.0.0.pre)
actionpack (~> 3.0) actionpack (~> 3.0)
mongoid (2.0.0.beta.17) mongoid (2.0.0.beta11)
activemodel (~> 3.0.0) activemodel (~> 3.0.0.beta)
bson (= 1.0.4) bson (~> 1.0.4)
mongo (= 1.0.7) mongo (~> 1.0.5)
tzinfo (~> 0.3.22) tzinfo (~> 0.3.22)
will_paginate (~> 3.0.pre) will_paginate (~> 3.0.pre)
mongoid_acts_as_tree (0.1.5) mongoid_acts_as_tree (0.1.5)
@ -164,14 +176,11 @@ GEM
fastthread (>= 1.0.1) fastthread (>= 1.0.1)
gem_plugin (>= 0.2.3) gem_plugin (>= 0.2.3)
nokogiri (1.4.3.1) nokogiri (1.4.3.1)
pickle-mongoid (0.1.6)
mongoid (>= 2.0.0.beta.7)
pickle (>= 0.3.0)
polyglot (0.3.1) polyglot (0.3.1)
rack (1.2.1) rack (1.2.1)
rack-mount (0.6.13) rack-mount (0.6.13)
rack (>= 1.0.0) rack (>= 1.0.0)
rack-test (0.5.4) rack-test (0.5.6)
rack (>= 1.0) rack (>= 1.0)
rails (3.0.0) rails (3.0.0)
actionmailer (= 3.0.0) actionmailer (= 3.0.0)
@ -188,27 +197,26 @@ GEM
thor (~> 0.14.0) thor (~> 0.14.0)
rake (0.8.7) rake (0.8.7)
responders (0.6.2) responders (0.6.2)
rest-client (1.4.2) rest-client (1.6.1)
mime-types (>= 1.16) mime-types (>= 1.16)
rmagick (2.12.2) rmagick (2.12.2)
rspec (2.0.0.beta.19) rspec (2.0.0.beta.22)
rspec-core (= 2.0.0.beta.19) rspec-core (= 2.0.0.beta.22)
rspec-expectations (= 2.0.0.beta.19) rspec-expectations (= 2.0.0.beta.22)
rspec-mocks (= 2.0.0.beta.19) rspec-mocks (= 2.0.0.beta.22)
rspec-core (2.0.0.beta.19) rspec-core (2.0.0.beta.22)
rspec-expectations (2.0.0.beta.19) rspec-expectations (2.0.0.beta.22)
diff-lcs (>= 1.1.2) diff-lcs (>= 1.1.2)
rspec-mocks (2.0.0.beta.19) rspec-mocks (2.0.0.beta.22)
rspec-rails (2.0.0.beta.19) rspec-core (= 2.0.0.beta.22)
rspec (= 2.0.0.beta.19) rspec-expectations (= 2.0.0.beta.22)
webrat (>= 0.7.2.beta.1) rspec-rails (2.0.0.beta.22)
rspec (= 2.0.0.beta.22)
ruby-debug (0.10.3) ruby-debug (0.10.3)
columnize (>= 0.1) columnize (>= 0.1)
ruby-debug-base (~> 0.10.3.0) ruby-debug-base (~> 0.10.3.0)
ruby-debug-base (0.10.3) ruby-debug-base (0.10.3)
linecache (>= 0.3) linecache (>= 0.3)
rubyforge (2.0.4)
json_pure (>= 1.1.7)
rubyzip (0.9.4) rubyzip (0.9.4)
selenium-webdriver (0.0.28) selenium-webdriver (0.0.28)
ffi (>= 0.6.1) ffi (>= 0.6.1)
@ -216,7 +224,7 @@ GEM
rubyzip rubyzip
spork (0.8.4) spork (0.8.4)
term-ansicolor (1.0.5) term-ansicolor (1.0.5)
thor (0.14.0) thor (0.14.2)
treetop (1.4.8) treetop (1.4.8)
polyglot (>= 0.3.1) polyglot (>= 0.3.1)
trollop (1.16.2) trollop (1.16.2)
@ -224,10 +232,6 @@ GEM
uuidtools (2.1.1) uuidtools (2.1.1)
warden (0.10.7) warden (0.10.7)
rack (>= 1.0.0) rack (>= 1.0.0)
webrat (0.7.2.beta.1)
nokogiri (>= 1.2.0)
rack (>= 1.0)
rack-test (>= 0.5.3)
will_paginate (3.0.pre2) will_paginate (3.0.pre2)
xml-simple (1.0.12) xml-simple (1.0.12)
yard (0.6.1) yard (0.6.1)
@ -240,37 +244,36 @@ DEPENDENCIES
actionmailer-with-request actionmailer-with-request
autotest autotest
aws aws
bson_ext (= 1.0.4) bson_ext (>= 1.0.8)
capybara capybara
carrierwave (= 0.5.0.beta2) carrierwave (>= 0.5.0)
cgi_multipart_eof_fix cgi_multipart_eof_fix
cucumber cucumber
cucumber-rails cucumber-rails
custom_fields! custom_fields
database_cleaner database_cleaner
devise (= 1.1.2) devise (= 1.1.2)
factory_girl_rails factory_girl_rails
fastthread fastthread
formtastic-rails3 (= 1.0.0.beta3) formtastic (>= 1.1.0)
growl-glue growl-glue
haml (= 3.0.18) haml (= 3.0.18)
heroku heroku
httparty (= 0.6.1) httparty (>= 0.6.1)
inherited_resources (= 1.1.2) inherited_resources (>= 1.1.2)
jeweler
launchy launchy
liquid! locomotive_cms!
locomotive_liquid (>= 2.1.3)
mimetype-fu mimetype-fu
mocha! mocha!
mongo_session_store (= 2.0.0.pre) mongo_session_store (= 2.0.0.pre)
mongoid (= 2.0.0.beta.17) mongoid (>= 2.0.0.beta.18)
mongoid_acts_as_tree (= 0.1.5) mongoid_acts_as_tree (= 0.1.5)
mongrel mongrel
pickle! pickle!
pickle-mongoid rails (>= 3.0.0)
rails (= 3.0.0)
rmagick (= 2.12.2) rmagick (= 2.12.2)
rspec-rails (= 2.0.0.beta.19) rspec-rails (>= 2.0.0.beta.18)
ruby-debug ruby-debug
spork spork
warden warden

View File

@ -1,42 +1,18 @@
# Add your own tasks in files placed in lib/tasks ending in .rake,
# for example lib/tasks/capistrano.rake, and they will automatically be available to Rake.
require File.expand_path('../config/application', __FILE__) require File.expand_path('../config/application', __FILE__)
require 'rake' require 'rake'
require 'rake/testtask' require 'rake/testtask'
require 'rake/rdoctask' require 'rake/rdoctask'
require 'rake/gempackagetask'
Locomotive::Application.load_tasks Locomotive::Application.load_tasks
begin gemspec = eval(File.read('locomotive_cms.gemspec'))
require "jeweler" Rake::GemPackageTask.new(gemspec) do |pkg|
Jeweler::Tasks.new do |gem| pkg.gem_spec = gemspec
gem.name = "locomotive_cms"
gem.summary = "Locomotive cms engine"
gem.authors = ['Didier Lafforgue']
gem.email = ['didier@nocoffee.fr']
gem.date = Date.today
gem.description = "a brand new CMS system with super sexy UI and cool features (alpha version for now)"
gem.homepage = %q{http://www.locomotiveapp.org}
gem.files = Dir[
"Gemfile",
"{app}/**/*",
"{config}/**/*",
"{lib}/**/*",
"{public}/stylesheets/admin/**/*", "{public}/javascripts/admin/**/*", "{public}/images/admin/**/*",
"{vendor}/**/*"]
# other fields that would normally go in your gemspec
# like authors, email and has_rdoc can also be included here
bundle = Bundler::Definition.build('Gemfile', 'Gemfile.lock', false)
bundle.dependencies.each do |dep|
if dep.groups.include?(:default)
gem.add_dependency(dep.name, dep.requirement.to_s)
end
end
end
Jeweler::GemcutterTasks.new
rescue Exception => e
puts "Jeweler or one of its dependencies is not installed. #{e.inspect}"
end end
desc "build the gem and release it to rubygems.org"
task :release => :gem do
sh "gem push pkg/locomotive_cms-#{gemspec.version}.gem"
end

View File

@ -1 +0,0 @@
0.0.3.3

View File

@ -1,4 +1,5 @@
# require 'locomotive/patches' # require 'locomotive/patches'
require 'locomotive/version'
require 'locomotive/configuration' require 'locomotive/configuration'
require 'locomotive/logger' require 'locomotive/logger'
require 'locomotive/liquid' require 'locomotive/liquid'

View File

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

File diff suppressed because it is too large Load Diff

View File