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

Commit

Permalink
Converted to a Jeweler based build
Browse files Browse the repository at this point in the history
  • Loading branch information
seangeo committed Apr 2, 2010
1 parent 68b1882 commit c32897b
Show file tree
Hide file tree
Showing 23 changed files with 60 additions and 2,446 deletions.
3 changes: 2 additions & 1 deletion History.txt
@@ -1,5 +1,6 @@
== Current version
== 0.6.4

* Remove Hoe dependency and converted to a Jeweler based project build.
* Fixed error when assigning nil to node['xml:lang'] [George Guimarães].
* Handle link@title. [Brian Dewey]
* SimpleExtensions#[] returns a namespace hash if localname is not given. [Daniel Vartanov]
Expand Down
File renamed without changes.
54 changes: 0 additions & 54 deletions Manifest.txt

This file was deleted.

File renamed without changes.
58 changes: 54 additions & 4 deletions Rakefile
@@ -1,4 +1,54 @@
require 'config/requirements'
require 'config/hoe' # setup Hoe + all gem configuration

Dir['tasks/**/*.rake'].each { |rake| load rake }
require 'rubygems'
require 'rake'

begin
require 'jeweler'
Jeweler::Tasks.new do |gem|
gem.name = "ratom"
gem.summary = %Q{Atom Syndication and Publication API}
gem.description = %Q{Atom Syndication and Publication API}
gem.email = "seangeo@gmail.com"
gem.homepage = "http://github.com/seangeo/ratom"
gem.authors = ["Peerworks", "Sean Geoghegan"]
gem.add_development_dependency "rspec"
gem.add_dependency 'libxml-ruby', '>= 1.1.2'
# gem is a Gem::Specification... see http://www.rubygems.org/read/chapter/20 for additional settings
end
Jeweler::GemcutterTasks.new
rescue LoadError
puts "Jeweler (or a dependency) not available. Install it with: gem install jeweler"
end


require 'spec/rake/spectask'
Spec::Rake::SpecTask.new do |t|
t.spec_opts = ['--options', "spec/spec.opts"]
t.spec_files = FileList['spec/**/*_spec.rb']
end

begin
require 'rcov/rcovtask'
Rcov::RcovTask.new do |test|
test.libs << 'test'
test.pattern = 'test/**/test_*.rb'
test.verbose = true
end
rescue LoadError
task :rcov do
abort "RCov is not available. In order to run rcov, you must: sudo gem install spicycode-rcov"
end
end

task :spec => :check_dependencies

task :default => :spec

require 'rake/rdoctask'
Rake::RDocTask.new do |rdoc|
version = File.exist?('VERSION') ? File.read('VERSION') : ""

rdoc.rdoc_dir = 'rdoc'
rdoc.title = "ratom #{version}"
rdoc.rdoc_files.include('README*')
rdoc.rdoc_files.include('lib/**/*.rb')
end
4 changes: 4 additions & 0 deletions VERSION.yml
@@ -0,0 +1,4 @@
---
:major: 0
:minor: 6
:patch: 3
72 changes: 0 additions & 72 deletions config/hoe.rb

This file was deleted.

17 changes: 0 additions & 17 deletions config/requirements.rb

This file was deleted.

15 changes: 0 additions & 15 deletions lib/atom/version.rb

This file was deleted.

Empty file removed log/debug.log
Empty file.
14 changes: 0 additions & 14 deletions script/destroy

This file was deleted.

14 changes: 0 additions & 14 deletions script/generate

This file was deleted.

74 changes: 0 additions & 74 deletions script/txt2html

This file was deleted.

0 comments on commit c32897b

Please sign in to comment.