Skip to content
This repository has been archived by the owner on Sep 24, 2019. It is now read-only.

Commit

Permalink
Adding rake task to register crawl object from file
Browse files Browse the repository at this point in the history
  • Loading branch information
Ahmed AlSum committed Aug 20, 2015
1 parent ef164c5 commit 3ef6cec
Show file tree
Hide file tree
Showing 51 changed files with 176 additions and 9,078 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
config/environments/development.rb
config/secrets.yml
doc/
4 changes: 3 additions & 1 deletion Rakefile
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@ require File.expand_path('../config/application', __FILE__)

Rails.application.load_tasks


require 'rake'
require 'bundler'

Expand All @@ -21,6 +20,9 @@ rescue Bundler::BundlerError => e
exit e.status_code
end

# Include raks tasks from lib/tasks directory
Dir[File.join(File.dirname(__FILE__), 'tasks/**/*.rake')].each {|f| load f }

task :default => :ci

desc "run continuous integration suite (tests, coverage, docs)"
Expand Down
3 changes: 2 additions & 1 deletion config/application.rb
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,8 @@ class Application < Rails::Application
# config.i18n.default_locale = :de
config.assets.enabled = true

config.autoload_paths += %W(#{config.root}/lib/was)
config.autoload_paths += %W(#{config.root}/lib)

config.assets.paths << "#{Rails.root}/app/assets/fonts"
config.assets.version = '1.0'

Expand Down
4 changes: 4 additions & 0 deletions data/crawl_object_example.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
Source_id job_directory collection_id
WAS:CDLIB:13030-sw1707xc2f cdl_download/sw10000p0b/13030-sw1707xc2f druid:ab123cd4567
WAS:CDLIB:13030-sw1wh2f41f cdl_download/sw10000p0b/13030-sw1wh2f41f druid:ab123cd4567
WAS:CDLIB:13030-sw1wm14j92 cdl_download/sw10000p0b/13030-sw1wm14j92 druid:ab123cd4567
127 changes: 0 additions & 127 deletions doc/ApplicationController.html

This file was deleted.

Loading

0 comments on commit 3ef6cec

Please sign in to comment.