visionmedia-release 0.1.6 → 0.1.7

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.
Files changed (4) hide show
  1. data/History.rdoc +2 -2
  2. data/bin/re +4 -4
  3. data/release.gemspec +1 -1
  4. metadata +1 -1
data/History.rdoc CHANGED
@@ -1,7 +1,7 @@
1
1
 
2
- === 0.1.6 / 2009-03-06
2
+ === 0.1.7 / 2009-03-06
3
3
 
4
- * Changed #sh (again), using sub-sub shell now
4
+ * Changed #sh (again), /dev/null-ifying stdout
5
5
 
6
6
  === 0.1.5 / 2009-03-06
7
7
 
data/bin/re CHANGED
@@ -5,7 +5,7 @@ require 'commander'
5
5
  require 'yaml'
6
6
 
7
7
  program :name, 'release'
8
- program :version, '0.1.6'
8
+ program :version, '0.1.7'
9
9
  program :description, 'Github release management'
10
10
 
11
11
  CONFIG_FILE = File.expand_path('~/.re-config')
@@ -14,8 +14,8 @@ trap 'INT' do
14
14
  raise "release interrupted"
15
15
  end
16
16
 
17
- def sh command
18
- %x(`#{command}`)
17
+ def sh command, nullify = true
18
+ nullify ? `#{command} &> /dev/null` : `#{command}`
19
19
  end
20
20
 
21
21
  def extract_version_from file
@@ -131,7 +131,7 @@ command :bump do |c|
131
131
  end
132
132
 
133
133
  if o.dry_run
134
- def sh command
134
+ def sh command, nullify = true
135
135
  log "`#{command}`"
136
136
  end
137
137
  version = bump_version(o.file, level).join '.'
data/release.gemspec CHANGED
@@ -2,7 +2,7 @@
2
2
 
3
3
  Gem::Specification.new do |s|
4
4
  s.name = %q{release}
5
- s.version = "0.1.6"
5
+ s.version = "0.1.7"
6
6
 
7
7
  s.required_rubygems_version = Gem::Requirement.new(">= 1.2") if s.respond_to? :required_rubygems_version=
8
8
  s.authors = ["TJ Holowaychuk"]
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: visionmedia-release
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
  - TJ Holowaychuk