gem-release 0.0.3 → 0.0.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,3 +1,3 @@
1
1
  module GemRelease
2
- VERSION = '0.0.3'
2
+ VERSION = '0.0.4'
3
3
  end
@@ -16,8 +16,8 @@ class Gem::Commands::ReleaseCommand < Gem::Command
16
16
  end
17
17
 
18
18
  def execute
19
- file_name = build
20
- push(file_name)
19
+ filename = build
20
+ push(filename)
21
21
  remove(filename)
22
22
  say "All done, thanks buddy."
23
23
  end
@@ -26,7 +26,7 @@ class Gem::Commands::ReleaseCommand < Gem::Command
26
26
  command = Gem::Commands::BuildCommand.new
27
27
  command.handle_options([gemspec])
28
28
  command.execute
29
- command.load_gemspecs(gemspec).first.file_name
29
+ command.load_gemspecs(gemspec).first.filename
30
30
  end
31
31
 
32
32
  def push(filename)
@@ -36,7 +36,7 @@ class Gem::Commands::ReleaseCommand < Gem::Command
36
36
  end
37
37
 
38
38
  def remove(filename)
39
- `rm #{file_name}`
39
+ `rm #{filename}`
40
40
  say "Deleting left over gem file #{filename}"
41
41
  end
42
42
 
metadata CHANGED
@@ -5,8 +5,8 @@ version: !ruby/object:Gem::Version
5
5
  segments:
6
6
  - 0
7
7
  - 0
8
- - 3
9
- version: 0.0.3
8
+ - 4
9
+ version: 0.0.4
10
10
  platform: ruby
11
11
  authors:
12
12
  - Sven Fuchs