Skip to content

Commit

Permalink
* 1 major enhancement
Browse files Browse the repository at this point in the history
  * rspec test framework now works via 'spec' task
* 1 minor improvement
  * For rspec gems, default task => spec task



git-svn-id: svn+ssh://rubyforge.org/var/svn/newgem/trunk@68 b8dfb574-5f1f-0410-9469-b441dc4e948f
  • Loading branch information
nicwilliams committed May 25, 2007
1 parent bf3c823 commit 5a0c68b
Show file tree
Hide file tree
Showing 7 changed files with 22 additions and 6 deletions.
7 changes: 7 additions & 0 deletions History.txt
@@ -1,3 +1,10 @@
== 0.10.3 2007-05-25

* 1 major enhancement
* rspec test framework now works via 'spec' task
* 1 minor improvement
* For rspec gems, default task => spec task

== 0.10.2 2007-05-25

* 3 major enhancements
Expand Down
11 changes: 10 additions & 1 deletion bin/newgem
Expand Up @@ -172,14 +172,23 @@ if test_framework == 'rspec'
require 'spec'
eos
requirements = <<-eos
require 'spec/rake/spectest'
begin
require 'spec/rake/spectask'
rescue LoadError
puts 'To use rspec for testing you must install rspec gem:'
puts '$ sudo gem install rspec'
exit
end
eos
test_task = <<-eos
desc "Run the specs under spec/models"
Spec::Rake::SpecTask.new do |t|
t.spec_opts = ['--options', "spec/spec.opts"]
t.spec_files = FileList['spec/*_spec.rb']
end
desc "Default task is to run specs"
task :default => :spec
eos
else
test = project_name + "/test"
Expand Down
2 changes: 1 addition & 1 deletion lib/newgem/version.rb
Expand Up @@ -2,7 +2,7 @@ module Newgem #:nodoc:
module VERSION #:nodoc:
MAJOR = 0
MINOR = 10
TINY = 2
TINY = 3

STRING = [MAJOR, MINOR, TINY].join('.')
end
Expand Down
2 changes: 1 addition & 1 deletion website/index.html
Expand Up @@ -33,7 +33,7 @@
<h1>New Gem Generator</h1>
<div id="version" class="clickable" onclick='document.location = "http://rubyforge.org/projects/newgem"; return false'>
Get Version
<a href="http://rubyforge.org/projects/newgem" class="numbers">0.10.2</a>
<a href="http://rubyforge.org/projects/newgem" class="numbers">0.10.3</a>
</div>
<h1>&#x2192; &#8216;newgem&#8217;</h1>

Expand Down
2 changes: 1 addition & 1 deletion website/rubyforge.html
Expand Up @@ -33,7 +33,7 @@
<h1>New Gem Generator</h1>
<div id="version" class="clickable" onclick='document.location = "http://rubyforge.org/projects/newgem"; return false'>
Get Version
<a href="http://rubyforge.org/projects/newgem" class="numbers">0.10.2</a>
<a href="http://rubyforge.org/projects/newgem" class="numbers">0.10.3</a>
</div>
<h1>&#x2192; using &#8216;rubyforge&#8217;</h1>

Expand Down
2 changes: 1 addition & 1 deletion website/version-raw.js
@@ -1,3 +1,3 @@
// Announcement JS file
var version = "0.10.2";
var version = "0.10.3";
MagicAnnouncement.show('compositekeys', version);
2 changes: 1 addition & 1 deletion website/version.js
@@ -1,4 +1,4 @@
// Version JS file
var version = "0.10.2";
var version = "0.10.3";

document.write(" - " + version);

0 comments on commit 5a0c68b

Please sign in to comment.