-
Notifications
You must be signed in to change notification settings - Fork 63
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
HYDRA-470: moving from jeweller to bundler for gem management
Adds bundler as the gem management utility; removes jeweller rake tasks, moves VERSION to lib/active_fedora/version.rb, adds bundler rake tasks, and cleans up active_fedora.gemspec file. https://jira.duraspace.org/browse/HYDRA-470
- Loading branch information
John Scofield
committed
May 31, 2011
1 parent
2954c77
commit f5f824e
Showing
5 changed files
with
45 additions
and
541 deletions.
There are no files selected for viewing
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,46 +1,14 @@ | ||
require 'rake/clean' | ||
require 'rubygems' | ||
require 'bundler' | ||
|
||
$: << 'lib' | ||
|
||
Bundler::GemHelper.install_tasks | ||
|
||
# load rake tasks defined in lib/tasks | ||
Dir["lib/tasks/**/*.rake"].each { |ext| load ext } if defined?(Rake) | ||
|
||
begin | ||
require 'jeweler' | ||
Jeweler::Tasks.new do |gem| | ||
gem.name = "active-fedora" | ||
gem.summary = %Q{A convenience libary for manipulating MODS (Metadata Object Description Schema) documents.} | ||
gem.description = %Q{ActiveFedora provides for creating and managing objects in the Fedora Repository Architecture.} | ||
gem.email = "[email protected]" | ||
gem.homepage = "http://yourmediashelf.com/activefedora" | ||
gem.authors = ["Matt Zumwalt", "McClain Looney"] | ||
gem.rubyforge_project = 'rubyfedora' | ||
gem.add_dependency('solr-ruby', '>= 0.0.6') | ||
gem.add_dependency('xml-simple', '>= 1.0.12') | ||
gem.add_dependency('mime-types', '>= 1.16') | ||
gem.add_dependency('multipart-post') | ||
gem.add_dependency('nokogiri') | ||
gem.add_dependency('om', '>= 1.0') | ||
gem.add_dependency('solrizer', '>1.0.0') | ||
gem.add_dependency("activeresource") | ||
gem.add_dependency("mediashelf-loggable") | ||
gem.add_dependency("equivalent-xml") | ||
gem.add_dependency("facets") | ||
gem.add_development_dependency("yard") | ||
gem.add_development_dependency("RedCloth") | ||
gem.add_development_dependency("rcov") | ||
gem.add_development_dependency("solrizer") | ||
gem.add_development_dependency("solrizer-fedora") | ||
gem.add_development_dependency("jettywrapper") | ||
# gem is a Gem::Specification... see http://www.rubygems.org/read/chapter/20 for additional settings | ||
end | ||
Jeweler::GemcutterTasks.new | ||
# Jeweler::RubyforgeTasks.new | ||
rescue LoadError | ||
puts "Jeweler (or a dependency) not available. Install it with: gem install jeweler" | ||
end | ||
|
||
CLEAN.include %w[**/.DS_Store tmp *.log *.orig *.tmp **/*~] | ||
|
||
task :default => [:spec] |
Oops, something went wrong.