blue 0.0.3 → 0.0.4

Sign up to get free protection for your applications and to get access to all the features.
data/lib/blue/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module Blue
2
- VERSION = "0.0.3"
2
+ VERSION = "0.0.4"
3
3
  end
@@ -1,5 +1,21 @@
1
1
  module Blue
2
2
  class Gems
3
+
4
+ @@required_gems = [
5
+ 'bundler',
6
+ 'shadow_puppet',
7
+ 'blue',
8
+ 'rake'
9
+ ]
10
+
11
+ def self.required_gems
12
+ @@required_gems
13
+ end
14
+
15
+ def self.require(gem)
16
+ @@required_gems << gem
17
+ end
18
+
3
19
  def self.load(capistrano_config)
4
20
  capistrano_config.load do
5
21
 
@@ -7,7 +23,7 @@ module Blue
7
23
  namespace :setup do
8
24
  desc "Install required gems"
9
25
  task :gems do
10
- sudo "gem install bundler shadow_puppet blue blue-postgresql --no-ri --no-rdoc"
26
+ sudo "gem install #{Blue::Gems.required_gems.join(' ')} --no-ri --no-rdoc"
11
27
  end
12
28
  end
13
29
  end
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: blue
3
3
  version: !ruby/object:Gem::Version
4
- hash: 25
4
+ hash: 23
5
5
  prerelease:
6
6
  segments:
7
7
  - 0
8
8
  - 0
9
- - 3
10
- version: 0.0.3
9
+ - 4
10
+ version: 0.0.4
11
11
  platform: ruby
12
12
  authors:
13
13
  - Josh Sharpe