Skip to content
Browse files

Prepare for 1.3.2 release

git-svn-id: http://svn.caldersphere.net/svn/main/rubyforge/ci_reporter/trunk@98 b03c2d0b-2f10-0410-a2f9-fc8001506dfa
  • Loading branch information...
1 parent 259fe8a commit 8a2ce1697342a33b4e9970bb5ea7f81fcc8b0285 @nicksieger nicksieger committed Jun 6, 2007
Showing with 20 additions and 12 deletions.
  1. +2 −0 History.txt
  2. +18 −12 Rakefile
View
2 History.txt
@@ -1,6 +1,8 @@
== 1.3.2
- Fix bug trying to modify frozen environment strings
+- Upgrade all specs to RSpec 1.0 style
+- Add specs for rake tasks
== 1.3.1
View
30 Rakefile
@@ -1,20 +1,26 @@
require 'spec/rake/spectask'
-require 'hoe'
MANIFEST = FileList["History.txt", "Manifest.txt", "README.txt", "LICENSE.txt", "Rakefile",
"lib/**/*.rb", "spec/**/*.rb", "tasks/**/*.rake"]
-Hoe.new("ci_reporter", "1.3.1") do |p|
- p.rubyforge_name = "caldersphere"
- p.url = "http://caldersphere.rubyforge.org/ci_reporter"
- p.author = "Nick Sieger"
- p.email = "nick@nicksieger.com"
- p.summary = "CI::Reporter allows you to generate reams of XML for use with continuous integration systems."
- p.changes = p.paragraphs_of('History.txt', 0..1).join("\n\n")
- p.description = p.paragraphs_of('README.txt', 0...1).join("\n\n")
- p.extra_deps.reject!{|d| d.first == "hoe"}
- p.test_globs = ["spec/**/*_spec.rb"]
-end.spec.files = MANIFEST
+begin
+ require 'hoe'
+ hoe = Hoe.new("ci_reporter", "1.3.2") do |p|
+ p.rubyforge_name = "caldersphere"
+ p.url = "http://caldersphere.rubyforge.org/ci_reporter"
+ p.author = "Nick Sieger"
+ p.email = "nick@nicksieger.com"
+ p.summary = "CI::Reporter allows you to generate reams of XML for use with continuous integration systems."
+ p.changes = p.paragraphs_of('History.txt', 0..1).join("\n\n")
+ p.description = p.paragraphs_of('README.txt', 0...1).join("\n\n")
+ p.extra_deps.reject!{|d| d.first == "hoe"}
+ p.test_globs = ["spec/**/*_spec.rb"]
+ end
+ hoe.spec.files = MANIFEST
+ hoe.spec.dependencies.delete_if { |dep| dep.name == "hoe" }
+rescue LoadError
+ puts "You really need Hoe installed to be able to package this gem"
+end
# Hoe insists on setting task :default => :test
# !@#$ no easy way to empty the default list of prerequisites

0 comments on commit 8a2ce16

Please sign in to comment.
Something went wrong with that request. Please try again.