whiskey_disk 0.4.1 → 0.4.2

Sign up to get free protection for your applications and to get access to all the features.
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.4.1
1
+ 0.4.2
data/lib/whiskey_disk.rb CHANGED
@@ -119,7 +119,7 @@ class WhiskeyDisk
119
119
  end
120
120
 
121
121
  def if_task_defined(task, cmd)
122
- %Q{if [[ `rake --silent -T #{task}` != "" ]]; then #{cmd}; fi}
122
+ %Q{if [[ `rake -P | grep #{task}` != "" ]]; then #{cmd}; fi}
123
123
  end
124
124
 
125
125
  def ensure_main_parent_path_is_present
@@ -362,9 +362,9 @@ describe 'WhiskeyDisk' do
362
362
  WhiskeyDisk.buffer.join(' ').should.match(%r{if \[ -e /path/to/main/repo/Rakefile \]; then .*; fi})
363
363
  end
364
364
 
365
- it 'should make the post deployment rake tasks conditional on the deploy:post_deploy rake task being defined' do
365
+ it 'should make the post setup rake tasks conditional on the deploy:post_setup rake task being defined' do
366
366
  WhiskeyDisk.run_post_setup_hooks
367
- WhiskeyDisk.buffer.join(' ').should.match(%r{if \[\[ \`rake --silent -T deploy:post_setup\` != "" \]\]; })
367
+ WhiskeyDisk.buffer.join(' ').should.match(%r{if \[\[ \`rake -P | grep deploy:post_setup\` != "" \]\]; })
368
368
  end
369
369
 
370
370
  it 'should attempt to run the post setup rake tasks' do
@@ -413,7 +413,7 @@ describe 'WhiskeyDisk' do
413
413
 
414
414
  it 'should make the post deployment rake tasks conditional on the deploy:post_deploy rake task being defined' do
415
415
  WhiskeyDisk.run_post_deploy_hooks
416
- WhiskeyDisk.buffer.join(' ').should.match(%r{if \[\[ \`rake --silent -T deploy:post_deploy\` != "" \]\]; })
416
+ WhiskeyDisk.buffer.join(' ').should.match(%r{if \[\[ \`rake -P | grep deploy:post_deploy\` != "" \]\]; })
417
417
  end
418
418
 
419
419
  it 'should attempt to run the post deployment rake tasks' do
data/whiskey_disk.gemspec CHANGED
@@ -5,11 +5,11 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = %q{whiskey_disk}
8
- s.version = "0.4.1"
8
+ s.version = "0.4.2"
9
9
 
10
10
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
11
  s.authors = ["Rick Bradley"]
12
- s.date = %q{2010-07-13}
12
+ s.date = %q{2010-07-15}
13
13
  s.default_executable = %q{wd}
14
14
  s.description = %q{Opinionated gem for doing fast git-based server deployments.}
15
15
  s.email = %q{rick@rickbradley.com}
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: whiskey_disk
3
3
  version: !ruby/object:Gem::Version
4
- hash: 13
4
+ hash: 11
5
5
  prerelease: false
6
6
  segments:
7
7
  - 0
8
8
  - 4
9
- - 1
10
- version: 0.4.1
9
+ - 2
10
+ version: 0.4.2
11
11
  platform: ruby
12
12
  authors:
13
13
  - Rick Bradley
@@ -15,7 +15,7 @@ autorequire:
15
15
  bindir: bin
16
16
  cert_chain: []
17
17
 
18
- date: 2010-07-13 00:00:00 -05:00
18
+ date: 2010-07-15 00:00:00 -05:00
19
19
  default_executable: wd
20
20
  dependencies:
21
21
  - !ruby/object:Gem::Dependency