forked from internuity/map-fields
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Changes - Not been very good at maintaining this
- Loading branch information
1 parent
3b0de02
commit f74b27b
Showing
3 changed files
with
62 additions
and
54 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,38 +1,16 @@ | ||
# Look in the tasks/setup.rb file for the various options that can be | ||
# configured in this Rakefile. The .rake files in the tasks directory | ||
# are where the options are used. | ||
require 'rubygems' | ||
require 'rake' | ||
|
||
begin | ||
require 'bones' | ||
Bones.setup | ||
rescue LoadError | ||
begin | ||
load 'tasks/setup.rb' | ||
rescue LoadError | ||
raise RuntimeError, '### please install the "bones" gem ###' | ||
require 'jeweler' | ||
Jeweler::Tasks.new do |gem| | ||
gem.name = "map_fields" | ||
gem.summary = %Q{Rails plugin to allow a user to map the fields of a CSV to an expected list of fields} | ||
gem.email = "andrew@andrewtimberlake.com" | ||
gem.homepage = "http://github.com/andrewtimberlake/map-fields" | ||
gem.authors = ["Andrew Timberlake"] | ||
end | ||
Jeweler::GemcutterTasks.new | ||
rescue LoadError | ||
puts "Jeweler (or a dependency) not available. Install it with: gem install jeweler" | ||
end | ||
|
||
ensure_in_path 'lib' | ||
require 'map_fields' | ||
|
||
task :default => 'spec:run' | ||
|
||
PROJ.name = 'map-fields' | ||
PROJ.authors = 'Andrew Timberlake' | ||
PROJ.email = 'andrew@andrewtimberlake.com' | ||
PROJ.url = 'http://github.com/internuity/map-fields' | ||
PROJ.version = MapFields::VERSION | ||
PROJ.rubyforge.name = 'internuity' | ||
PROJ.readme_file = 'README.rdoc' | ||
PROJ.gem.files = FileList['lib/**/**', 'views/**/**', 'README.rdoc', 'init.rb', 'History.txt'] | ||
|
||
PROJ.exclude = %w(spec/rails_root) | ||
|
||
PROJ.rdoc.remote_dir = 'map-fields' | ||
|
||
PROJ.spec.opts << '--color' | ||
|
||
depend_on 'fastercsv' | ||
|
||
# EOF |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters