diff options
author | Azul <azul@leap.se> | 2014-04-08 09:12:37 +0200 |
---|---|---|
committer | Azul <azul@leap.se> | 2014-04-08 09:12:37 +0200 |
commit | 53808b073f539ba2b442738b6abf97228488e311 (patch) | |
tree | 67e344defee90e4d0c5f91f6136f6619e97c4ace /core/lib/tasks | |
parent | cb6442c344d6bdaf52c3878b2de2fcf4d85f2648 (diff) |
moving all of core into toplevel, tests fail.
Diffstat (limited to 'core/lib/tasks')
-rw-r--r-- | core/lib/tasks/leap_web_core_tasks.rake | 25 |
1 files changed, 0 insertions, 25 deletions
diff --git a/core/lib/tasks/leap_web_core_tasks.rake b/core/lib/tasks/leap_web_core_tasks.rake deleted file mode 100644 index ec6abac..0000000 --- a/core/lib/tasks/leap_web_core_tasks.rake +++ /dev/null @@ -1,25 +0,0 @@ -namespace :couchrest do - - desc "Dump all the design docs found in each model" - task :dump => :environment do - CouchRest::Model::Utils::Migrate.load_all_models - CouchRest::Model::Utils::Migrate.dump_all_models - end -end - -namespace :cleanup do - - desc "Cleanup all expired session documents" - task :sessions => :environment do - # make sure this is the same as in - # config/initializers/session_store.rb - store = CouchRest::Session::Store.new expire_after: 1800 - store.cleanup(store.expired) - end - - desc "Cleanup all expired tokens" - task :tokens => :environment do - Token.destroy_all_expired - end -end - |