Skip to content

Commit

Permalink
HYDRA-470: moving from jeweller to bundler for gem management
Browse files Browse the repository at this point in the history
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
Show file tree
Hide file tree
Showing 5 changed files with 45 additions and 541 deletions.
38 changes: 3 additions & 35 deletions Rakefile
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]
1 change: 0 additions & 1 deletion VERSION

This file was deleted.

Loading

0 comments on commit f5f824e

Please sign in to comment.