chef_cap 0.3.3 → 0.3.4

Sign up to get free protection for your applications and to get access to all the features.
data/.rvmrc CHANGED
@@ -1 +1 @@
1
- rvm 1.9.2-p180-patched@chef_cap --create
1
+ rvm 1.9.3-p0@chef_cap --create
@@ -1,3 +1,3 @@
1
1
  module ChefCap
2
- VERSION = "0.3.3"
2
+ VERSION = "0.3.4"
3
3
  end
@@ -218,7 +218,7 @@ namespace :chef do
218
218
  end
219
219
 
220
220
  task :setup_to_run_chef_solo do
221
- set :debug_flag, ENV['QUIET'] ? '' : '-l debug'
221
+ set :debug_flag, ENV['DEBUG'] ? '-l debug' : ''
222
222
  exec_chef_solo = "env PATH=$PATH:/usr/sbin `cat #{rvm_bin_path}` default exec chef-solo -c /tmp/chef-cap-solo-#{rails_env}.rb #{debug_flag}"
223
223
  set :run_chef_solo_deploy_command, "#{exec_chef_solo} -j /tmp/chef-cap-#{rails_env}-`hostname`.json"
224
224
  set :run_chef_solo_rollback_command, "#{exec_chef_solo} -j /tmp/chef-cap-#{rails_env}-`hostname`-rollback.json"
@@ -1,7 +1,7 @@
1
1
  class ChefCapHelper
2
2
  class << self
3
3
  def debug(message)
4
- puts "** #{message}" unless ENV["QUIET"]
4
+ puts "** #{message}" if ENV["DEBUG"]
5
5
  end
6
6
 
7
7
  def parse_hash(hash, prefix = nil)
@@ -2,8 +2,6 @@ require "rubygems"
2
2
  require "rspec"
3
3
  require "json"
4
4
 
5
- ENV["QUIET"] = "true"
6
-
7
5
  require File.expand_path(File.join(File.dirname(__FILE__), "..", "recipes", "lib", "chef_dna_parser"))
8
6
  require File.expand_path(File.join(File.dirname(__FILE__), "..", "recipes", "lib", "chef_cap_helper"))
9
7
  require File.expand_path(File.join(File.dirname(__FILE__), "..", "recipes", "lib", "chef_cap_configuration"))
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: chef_cap
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.3
4
+ version: 0.3.4
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,11 +9,11 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2011-12-29 00:00:00.000000000Z
12
+ date: 2012-02-06 00:00:00.000000000Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: capistrano
16
- requirement: &2157107720 !ruby/object:Gem::Requirement
16
+ requirement: &70190453423820 !ruby/object:Gem::Requirement
17
17
  none: false
18
18
  requirements:
19
19
  - - ! '>='
@@ -21,10 +21,10 @@ dependencies:
21
21
  version: 2.5.5
22
22
  type: :runtime
23
23
  prerelease: false
24
- version_requirements: *2157107720
24
+ version_requirements: *70190453423820
25
25
  - !ruby/object:Gem::Dependency
26
26
  name: rspec-rails
27
- requirement: &2157107140 !ruby/object:Gem::Requirement
27
+ requirement: &70190453422580 !ruby/object:Gem::Requirement
28
28
  none: false
29
29
  requirements:
30
30
  - - ! '>='
@@ -32,7 +32,7 @@ dependencies:
32
32
  version: '2.1'
33
33
  type: :development
34
34
  prerelease: false
35
- version_requirements: *2157107140
35
+ version_requirements: *70190453422580
36
36
  description: chef_cap uses chef"s JSON config format to drive both capistrano and
37
37
  chef-solo"
38
38
  email:
@@ -91,7 +91,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
91
91
  version: '0'
92
92
  segments:
93
93
  - 0
94
- hash: -4226372811426833892
94
+ hash: 2835344662441015945
95
95
  required_rubygems_version: !ruby/object:Gem::Requirement
96
96
  none: false
97
97
  requirements:
@@ -100,10 +100,10 @@ required_rubygems_version: !ruby/object:Gem::Requirement
100
100
  version: '0'
101
101
  segments:
102
102
  - 0
103
- hash: -4226372811426833892
103
+ hash: 2835344662441015945
104
104
  requirements: []
105
105
  rubyforge_project:
106
- rubygems_version: 1.8.12
106
+ rubygems_version: 1.8.10
107
107
  signing_key:
108
108
  specification_version: 3
109
109
  summary: capistrano + chef-solo == chef_cap"