geordi 0.14.4 → 0.14.5

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. data/bin/cap-all +17 -0
  2. data/lib/geordi/version.rb +1 -1
  3. metadata +7 -5
data/bin/cap-all ADDED
@@ -0,0 +1,17 @@
1
+ #!/usr/bin/env ruby
2
+
3
+ require 'fileutils'
4
+
5
+ Dir["config/deploy/*.rb"].map { |f| File.basename(f, ".rb") }.each do |stage|
6
+
7
+ puts "Deploying to #{stage}"
8
+ puts "*" * 80
9
+
10
+ exit_code = system("bundle", "exec", "cap", stage, *ARGV)
11
+ unless exit_code
12
+ puts "*" * 80
13
+ puts "Capistrano failed. Have a look!"
14
+ exit(1)
15
+ end
16
+
17
+ end
@@ -1,3 +1,3 @@
1
1
  module Geordi
2
- VERSION = '0.14.4'
2
+ VERSION = '0.14.5'
3
3
  end
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: geordi
3
3
  version: !ruby/object:Gem::Version
4
- hash: 47
4
+ hash: 45
5
5
  prerelease:
6
6
  segments:
7
7
  - 0
8
8
  - 14
9
- - 4
10
- version: 0.14.4
9
+ - 5
10
+ version: 0.14.5
11
11
  platform: ruby
12
12
  authors:
13
13
  - Henning Koch
@@ -15,7 +15,7 @@ autorequire:
15
15
  bindir: bin
16
16
  cert_chain: []
17
17
 
18
- date: 2013-01-02 00:00:00 Z
18
+ date: 2013-01-18 00:00:00 Z
19
19
  dependencies: []
20
20
 
21
21
  description: Collection of command line tools we use in our daily work with Ruby, Rails and Linux at makandra.
@@ -24,6 +24,7 @@ email:
24
24
  executables:
25
25
  - apache-site
26
26
  - b
27
+ - cap-all
27
28
  - cleanup-directory
28
29
  - console-for
29
30
  - cuc
@@ -57,6 +58,7 @@ files:
57
58
  - Rakefile
58
59
  - bin/apache-site
59
60
  - bin/b
61
+ - bin/cap-all
60
62
  - bin/cleanup-directory
61
63
  - bin/console-for
62
64
  - bin/cuc
@@ -114,7 +116,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
114
116
  requirements: []
115
117
 
116
118
  rubyforge_project: geordi
117
- rubygems_version: 1.8.23
119
+ rubygems_version: 1.8.24
118
120
  signing_key:
119
121
  specification_version: 3
120
122
  summary: Collection of command line tools we use in our daily work with Ruby, Rails and Linux at makandra.