From 71b473406ceaf471f8e40c2cf143a64c99ce82dc Mon Sep 17 00:00:00 2001 From: Evan Sagge Date: Wed, 25 Aug 2010 01:36:07 +0800 Subject: [PATCH] Removed dependency on Rails --- .rvmrc | 2 +- Gemfile | 6 ++-- Gemfile.lock | 86 ++++++---------------------------------------------- Rakefile | 2 +- 4 files changed, 13 insertions(+), 83 deletions(-) diff --git a/.rvmrc b/.rvmrc index 88f79ec..f73d5d7 100644 --- a/.rvmrc +++ b/.rvmrc @@ -1 +1 @@ -rvm 1.9.2-rc2 +rvm 1.9.2 diff --git a/Gemfile b/Gemfile index ea59dbd..dc921da 100644 --- a/Gemfile +++ b/Gemfile @@ -1,11 +1,9 @@ # A sample Gemfile source :gemcutter -gem "rails", "3.0.0.rc" - -gem "mongoid", :git => 'git://github.com/durran/mongoid.git' +gem "mongoid", '>= 2.0.0.beta.15' gem 'bson_ext', '>= 1.0.4' gem 'redgreen' -gem 'rspec-rails', ">= 2.0.0.beta.19" +gem 'rspec', ">= 2.0.0.beta.19" diff --git a/Gemfile.lock b/Gemfile.lock index 7371669..59a6930 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -1,81 +1,24 @@ -GIT - remote: git://github.com/durran/mongoid.git - revision: 93bd79e - specs: - mongoid (2.0.0.beta.15) - activemodel (= 3.0.0.rc) - bson (= 1.0.4) - mongo (= 1.0.6) - tzinfo (= 0.3.22) - will_paginate (~> 3.0.pre) - GEM remote: http://rubygems.org/ specs: - abstract (1.0.0) - actionmailer (3.0.0.rc) - actionpack (= 3.0.0.rc) - mail (~> 2.2.5) - actionpack (3.0.0.rc) - activemodel (= 3.0.0.rc) - activesupport (= 3.0.0.rc) - builder (~> 2.1.2) - erubis (~> 2.6.6) - i18n (~> 0.4.1) - rack (~> 1.2.1) - rack-mount (~> 0.6.9) - rack-test (~> 0.5.4) - tzinfo (~> 0.3.22) activemodel (3.0.0.rc) activesupport (= 3.0.0.rc) builder (~> 2.1.2) i18n (~> 0.4.1) - activerecord (3.0.0.rc) - activemodel (= 3.0.0.rc) - activesupport (= 3.0.0.rc) - arel (~> 0.4.0) - tzinfo (~> 0.3.22) - activeresource (3.0.0.rc) - activemodel (= 3.0.0.rc) - activesupport (= 3.0.0.rc) activesupport (3.0.0.rc) - arel (0.4.0) - activesupport (>= 3.0.0.beta) bson (1.0.4) bson_ext (1.0.4) builder (2.1.2) diff-lcs (1.1.2) - erubis (2.6.6) - abstract (>= 1.0.0) i18n (0.4.1) - mail (2.2.5) - activesupport (>= 2.3.6) - mime-types - treetop (>= 1.4.5) - mime-types (1.16) - mongo (1.0.6) + mongo (1.0.7) bson (>= 1.0.4) - nokogiri (1.4.3.1) - polyglot (0.3.1) - rack (1.2.1) - rack-mount (0.6.9) - rack (>= 1.0.0) - rack-test (0.5.4) - rack (>= 1.0) - rails (3.0.0.rc) - actionmailer (= 3.0.0.rc) - actionpack (= 3.0.0.rc) - activerecord (= 3.0.0.rc) - activeresource (= 3.0.0.rc) - activesupport (= 3.0.0.rc) - bundler (>= 1.0.0.rc.1) - railties (= 3.0.0.rc) - railties (3.0.0.rc) - actionpack (= 3.0.0.rc) - activesupport (= 3.0.0.rc) - rake (>= 0.8.3) - thor (~> 0.14.0) - rake (0.8.7) + mongoid (2.0.0.beta.16) + activemodel (= 3.0.0.rc) + bson (= 1.0.4) + mongo (= 1.0.7) + tzinfo (= 0.3.22) + will_paginate (~> 3.0.pre) redgreen (1.2.2) rspec (2.0.0.beta.19) rspec-core (= 2.0.0.beta.19) @@ -85,17 +28,7 @@ GEM rspec-expectations (2.0.0.beta.19) diff-lcs (>= 1.1.2) rspec-mocks (2.0.0.beta.19) - rspec-rails (2.0.0.beta.19) - rspec (= 2.0.0.beta.19) - webrat (>= 0.7.2.beta.1) - thor (0.14.0) - treetop (1.4.8) - polyglot (>= 0.3.1) tzinfo (0.3.22) - webrat (0.7.2.beta.1) - nokogiri (>= 1.2.0) - rack (>= 1.0) - rack-test (>= 0.5.3) will_paginate (3.0.pre2) PLATFORMS @@ -103,7 +36,6 @@ PLATFORMS DEPENDENCIES bson_ext (>= 1.0.4) - mongoid! - rails (= 3.0.0.rc) + mongoid (>= 2.0.0.beta.15) redgreen - rspec-rails (>= 2.0.0.beta.19) + rspec (>= 2.0.0.beta.19) diff --git a/Rakefile b/Rakefile index cea68ab..7dbb078 100644 --- a/Rakefile +++ b/Rakefile @@ -12,7 +12,7 @@ begin gem.authors = ["Evan Sagge"] gem.add_dependency "mongoid", ">= 2.0.0.beta.15" gem.add_dependency "bson_ext", ">= 1.0.4" - gem.add_dependency "rspec-rails", ">= 2.0.0.beta.19" + gem.add_dependency "rspec", ">= 2.0.0.beta.19" # gem is a Gem::Specification... see http://www.rubygems.org/read/chapter/20 for additional settings end Jeweler::GemcutterTasks.new