Skip to content
Browse files

Remove/replace unneeded requires

  • Loading branch information...
1 parent a3d4957 commit af05f98631471efc3dba50026156cb42dd0e7be8 @ausgat committed Mar 29, 2011
Showing with 23 additions and 20 deletions.
  1. +1 −6 Gemfile
  2. +21 −7 Gemfile.lock
  3. +1 −7 app.rb
View
7 Gemfile
@@ -2,11 +2,7 @@ source 'http://rubygems.org'
gem 'sinatra'
gem 'heroku'
-gem 'dm-core'
-gem 'dm-migrations'
-gem 'dm-validations'
-gem 'dm-timestamps'
-gem 'dm-types'
+gem 'datamapper'
gem 'rack-flash'
group :development do
@@ -20,6 +16,5 @@ group :test do
end
group :production do
- gem 'pg'
gem 'dm-postgres-adapter'
end
View
28 Gemfile.lock
@@ -7,7 +7,21 @@ GEM
configuration (1.2.0)
data_objects (0.10.3)
addressable (~> 2.1)
+ datamapper (1.1.0)
+ dm-aggregates (= 1.1.0)
+ dm-constraints (= 1.1.0)
+ dm-core (= 1.1.0)
+ dm-migrations (= 1.1.0)
+ dm-serializer (= 1.1.0)
+ dm-timestamps (= 1.1.0)
+ dm-transactions (= 1.1.0)
+ dm-types (= 1.1.0)
+ dm-validations (= 1.1.0)
diff-lcs (1.1.2)
+ dm-aggregates (1.1.0)
+ dm-core (~> 1.1.0)
+ dm-constraints (1.1.0)
+ dm-core (~> 1.1.0)
dm-core (1.1.0)
addressable (~> 2.2.4)
dm-do-adapter (1.1.0)
@@ -18,11 +32,17 @@ GEM
dm-postgres-adapter (1.1.0)
dm-do-adapter (~> 1.1.0)
do_postgres (~> 0.10.2)
+ dm-serializer (1.1.0)
+ dm-core (~> 1.1.0)
+ fastercsv (~> 1.5.4)
+ json (~> 1.4.6)
dm-sqlite-adapter (1.1.0)
dm-do-adapter (~> 1.1.0)
do_sqlite3 (~> 0.10.2)
dm-timestamps (1.1.0)
dm-core (~> 1.1.0)
+ dm-transactions (1.1.0)
+ dm-core (~> 1.1.0)
dm-types (1.1.0)
bcrypt-ruby (~> 2.1.4)
dm-core (~> 1.1.0)
@@ -46,7 +66,6 @@ GEM
configuration (>= 0.0.5)
rake (>= 0.8.1)
mime-types (1.16)
- pg (0.10.1)
rack (1.2.2)
rack-flash (0.1.1)
rack
@@ -77,15 +96,10 @@ PLATFORMS
ruby
DEPENDENCIES
- dm-core
- dm-migrations
+ datamapper
dm-postgres-adapter
dm-sqlite-adapter
- dm-timestamps
- dm-types
- dm-validations
heroku
- pg
rack-flash
rack-test
rspec
View
8 app.rb
@@ -1,11 +1,5 @@
require 'sinatra'
-require 'pg'
-require 'dm-core'
-require 'dm-postgres-adapter'
-require 'dm-migrations'
-require 'dm-validations'
-require 'dm-timestamps'
-require 'dm-types'
+require 'datamapper'
require 'rack-flash'
enable :sessions

0 comments on commit af05f98

Please sign in to comment.
Something went wrong with that request. Please try again.