hoe-telicopter 0.1.6 → 0.1.7

Sign up to get free protection for your applications and to get access to all the features.
@@ -28,13 +28,14 @@ module Hoe::Hotelicutter
28
28
  gems = Dir["#{pkg}*.gem"]
29
29
 
30
30
  gems.each do |g|
31
- new_file = "#{GEM_PREFIX}-#{g}"
32
- puts new_file # TODO: remove
31
+ new_name = "#{File.dirname(g)}#{GEM_PREFIX}-#{File.basename(g)}"
32
+ puts "old name: #{g}" # TODO: remove
33
+ puts "new name: #{new_name}" # TODO: remove
33
34
  # pre-append the prefix before publishing
34
- File.rename(g, new_file)
35
+ File.rename(g, new_name)
35
36
  # TODO - once gemcutter supports command invocation, use it.
36
37
  # We could still fail here due to --format executable
37
- #sh Gem.ruby, "-S", "gem", "push", new_file
38
+ #sh Gem.ruby, "-S", "gem", "push", new_name
38
39
  end
39
40
  end
40
41
 
@@ -5,7 +5,7 @@
5
5
  Hoe.plugin :email, :hotelicutter
6
6
 
7
7
  module Hoe::Telicopter
8
- VERSION = "0.1.6"
8
+ VERSION = "0.1.7"
9
9
 
10
10
  def define_telicopter_tasks
11
11
  # nothing to do
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: hoe-telicopter
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.6
4
+ version: 0.1.7
5
5
  platform: ruby
6
6
  authors:
7
7
  - jim nist