rubygems-test 0.3.2 → 0.3.3

Sign up to get free protection for your applications and to get access to all the features.
data/Rakefile CHANGED
@@ -6,13 +6,13 @@ require 'hoe'
6
6
  Hoe.plugins.delete :rubyforge
7
7
  Hoe.plugin :git
8
8
 
9
- Hoe.spec 'rubygems-test' do
9
+ spec = Hoe.spec 'rubygems-test' do
10
10
  developer 'Erik Hollensbe', 'erik@hollensbe.org'
11
11
  developer 'Josiah Kiehl', 'bluepojo@gmail.com'
12
12
 
13
13
  # doin' it wrong because we're a gem plugin
14
14
  # that means I can be "special"!
15
- self.version = '0.3.2'
15
+ self.version = '0.3.3'
16
16
 
17
17
  self.rubyforge_name = nil
18
18
 
@@ -35,9 +35,9 @@ Hoe.spec 'rubygems-test' do
35
35
  extra_deps << ['rake', '>= 0.8.7']
36
36
 
37
37
  desc "install a gem without sudo"
38
- task :install => [:gem] do
39
- sh "gem install pkg/#{self.name}-#{self.version}.gem"
40
- end
41
38
  end
42
39
 
40
+ task :install => [:package] do
41
+ sh "gem install pkg/#{spec.name}-#{spec.version}.gem"
42
+ end
43
43
  # vim: syntax=ruby
@@ -202,7 +202,7 @@ class Gem::Commands::TestCommand < Gem::Command
202
202
  :machine_arch => RbConfig::CONFIG["target_cpu"],
203
203
  :name => spec.name,
204
204
  :version => {
205
- :release => spec.version.release.to_s,
205
+ :release => spec.version.to_s,
206
206
  :prerelease => spec.version.prerelease?
207
207
  },
208
208
  :platform => (Kernel.const_get("RUBY_ENGINE") rescue "ruby"),
metadata CHANGED
@@ -2,7 +2,7 @@
2
2
  name: rubygems-test
3
3
  version: !ruby/object:Gem::Version
4
4
  prerelease:
5
- version: 0.3.2
5
+ version: 0.3.3
6
6
  platform: ruby
7
7
  authors:
8
8
  - Erik Hollensbe