newgem 0.10.2 → 0.10.3
Sign up to get free protection for your applications and to get access to all the features.
- data/History.txt +9 -0
- data/bin/newgem +11 -2
- data/lib/newgem/version.rb +1 -1
- data/website/index.html +1 -1
- data/website/rubyforge.html +1 -1
- data/website/version-raw.js +1 -1
- data/website/version.js +1 -1
- metadata +2 -2
data/History.txt
CHANGED
@@ -1,3 +1,12 @@
|
|
1
|
+
== 0.10.3 2007-05-25
|
2
|
+
|
3
|
+
* 1 major enhancement
|
4
|
+
* rspec test framework now works via 'spec' task [Jeroen Janssen]
|
5
|
+
* 3 minor improvement
|
6
|
+
* For rspec gems, default task => spec task
|
7
|
+
* Generated rakefile checks for existance of rspec gem else shows how to get it
|
8
|
+
* The require statement in the lib/<gemname>.rb file now uses lowercase project name [Jeroen Janssen]
|
9
|
+
|
1
10
|
== 0.10.2 2007-05-25
|
2
11
|
|
3
12
|
* 3 major enhancements
|
data/bin/newgem
CHANGED
@@ -122,7 +122,7 @@ File.open(main, 'w') do |file|
|
|
122
122
|
module #{module_name}
|
123
123
|
end
|
124
124
|
|
125
|
-
require '#{
|
125
|
+
require '#{project_name}/version'
|
126
126
|
EOS
|
127
127
|
end
|
128
128
|
|
@@ -172,7 +172,13 @@ if test_framework == 'rspec'
|
|
172
172
|
require 'spec'
|
173
173
|
eos
|
174
174
|
requirements = <<-eos
|
175
|
-
|
175
|
+
begin
|
176
|
+
require 'spec/rake/spectask'
|
177
|
+
rescue LoadError
|
178
|
+
puts 'To use rspec for testing you must install rspec gem:'
|
179
|
+
puts '$ sudo gem install rspec'
|
180
|
+
exit
|
181
|
+
end
|
176
182
|
eos
|
177
183
|
test_task = <<-eos
|
178
184
|
desc "Run the specs under spec/models"
|
@@ -180,6 +186,9 @@ Spec::Rake::SpecTask.new do |t|
|
|
180
186
|
t.spec_opts = ['--options', "spec/spec.opts"]
|
181
187
|
t.spec_files = FileList['spec/*_spec.rb']
|
182
188
|
end
|
189
|
+
|
190
|
+
desc "Default task is to run specs"
|
191
|
+
task :default => :spec
|
183
192
|
eos
|
184
193
|
else
|
185
194
|
test = project_name + "/test"
|
data/lib/newgem/version.rb
CHANGED
data/website/index.html
CHANGED
@@ -33,7 +33,7 @@
|
|
33
33
|
<h1>New Gem Generator</h1>
|
34
34
|
<div id="version" class="clickable" onclick='document.location = "http://rubyforge.org/projects/newgem"; return false'>
|
35
35
|
Get Version
|
36
|
-
<a href="http://rubyforge.org/projects/newgem" class="numbers">0.10.
|
36
|
+
<a href="http://rubyforge.org/projects/newgem" class="numbers">0.10.3</a>
|
37
37
|
</div>
|
38
38
|
<h1>→ ‘newgem’</h1>
|
39
39
|
|
data/website/rubyforge.html
CHANGED
@@ -33,7 +33,7 @@
|
|
33
33
|
<h1>New Gem Generator</h1>
|
34
34
|
<div id="version" class="clickable" onclick='document.location = "http://rubyforge.org/projects/newgem"; return false'>
|
35
35
|
Get Version
|
36
|
-
<a href="http://rubyforge.org/projects/newgem" class="numbers">0.10.
|
36
|
+
<a href="http://rubyforge.org/projects/newgem" class="numbers">0.10.3</a>
|
37
37
|
</div>
|
38
38
|
<h1>→ using ‘rubyforge’</h1>
|
39
39
|
|
data/website/version-raw.js
CHANGED
data/website/version.js
CHANGED
metadata
CHANGED
@@ -3,8 +3,8 @@ rubygems_version: 0.9.4
|
|
3
3
|
specification_version: 1
|
4
4
|
name: newgem
|
5
5
|
version: !ruby/object:Gem::Version
|
6
|
-
version: 0.10.
|
7
|
-
date: 2007-05-
|
6
|
+
version: 0.10.3
|
7
|
+
date: 2007-05-26 00:00:00 +02:00
|
8
8
|
summary: Make your own gems at home
|
9
9
|
require_paths:
|
10
10
|
- lib
|