gem-release 0.5.4 → 0.5.5

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.
@@ -6,7 +6,7 @@ module Kernel
6
6
  def silence_stream(*streams)
7
7
  on_hold = streams.collect{ |stream| stream.dup }
8
8
  streams.each do |stream|
9
- stream.reopen(RUBY_PLATFORM =~ /mswin/ ? 'NUL:' : '/dev/null')
9
+ stream.reopen(RUBY_PLATFORM =~ /mswin|mingw/ ? 'NUL:' : '/dev/null')
10
10
  stream.sync = true
11
11
  end
12
12
  yield
@@ -1,3 +1,3 @@
1
1
  module GemRelease
2
- VERSION = '0.5.4'
2
+ VERSION = '0.5.5'
3
3
  end
@@ -81,7 +81,7 @@ class Gem::Commands::BootstrapCommand < Gem::Command
81
81
  `git add .`
82
82
 
83
83
  say 'Creating initial commit'
84
- `git commit -m 'initial commit'`
84
+ `git commit -m "initial commit"`
85
85
 
86
86
  say "Adding remote origin git@github.com:#{github_user}/#{gem_name}.git"
87
87
  `git remote add origin git@github.com:#{github_user}/#{gem_name}.git`
@@ -26,7 +26,7 @@ class Gem::Commands::TagCommand < Gem::Command
26
26
 
27
27
  def tag
28
28
  say "Creating git tag #{tag_name}" unless quiet?
29
- system("git tag -am 'tag #{tag_name}' #{tag_name}")
29
+ system("git tag -am \"tag #{tag_name}\" #{tag_name}")
30
30
  end
31
31
 
32
32
  def push
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: gem-release
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.5.4
4
+ version: 0.5.5
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2013-04-16 00:00:00.000000000 Z
12
+ date: 2013-04-23 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: test_declarative