Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
couchdb cleanup
  • Loading branch information
theworkerant committed Sep 6, 2015
1 parent a56a7b4 commit 9693b18
Show file tree
Hide file tree
Showing 6 changed files with 2 additions and 57 deletions.
1 change: 0 additions & 1 deletion Gemfile
Expand Up @@ -6,7 +6,6 @@ ruby "2.2.2"
gem 'rails', "4.1.6"

gem 'pg'
gem 'couchrest_model'
gem 'mongoid', '~> 5.0.0.beta'

gem 'unicorn'
Expand Down
10 changes: 0 additions & 10 deletions Gemfile.lock
Expand Up @@ -58,15 +58,6 @@ GEM
coderay (1.1.0)
colored (1.2)
cookiejar (0.3.0)
couchrest (1.2.0)
mime-types (~> 1.15)
multi_json (~> 1.0)
rest-client (~> 1.6.1)
couchrest_model (2.0.3)
activemodel (>= 4.0, >= 3.0)
couchrest (>= 1.2)
mime-types (>= 1.16)
tzinfo (>= 0.3.22)
coveralls (0.7.0)
multi_json (~> 1.3)
rest-client
Expand Down Expand Up @@ -328,7 +319,6 @@ DEPENDENCIES
acts-as-taggable-on (~> 3.4)
cancan
codeclimate-test-reporter
couchrest_model
coveralls
database_cleaner
devise
Expand Down
2 changes: 1 addition & 1 deletion app/models/entry.rb
@@ -1,4 +1,4 @@
class Entry# < CouchRest::Model::Base
class Entry
include Mongoid::Document
include Mongoid::Timestamps

Expand Down
14 changes: 0 additions & 14 deletions config/initializers/cloudant.rb

This file was deleted.

28 changes: 0 additions & 28 deletions config/initializers/couchdb.rb

This file was deleted.

4 changes: 1 addition & 3 deletions spec/spec_helper.rb
Expand Up @@ -9,8 +9,6 @@
# require "simplecov"
# SimpleCov.start "rails"

require "couchrest"

require File.expand_path("../../config/application", __FILE__)
require File.expand_path("../../config/environment", __FILE__)
I18n.default_locale = :en
Expand Down Expand Up @@ -110,6 +108,6 @@

REDIS.flushdb
DatabaseCleaner.clean # cleanup of the test
Entry.all.each{|e| e.destroy} # destroy CouchDB docs
Entry.all.each{|e| e.destroy}
end
end

0 comments on commit 9693b18

Please sign in to comment.