chef_cap 0.3.20 → 0.3.21

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,3 +1,3 @@
1
1
  module ChefCap
2
- VERSION = "0.3.20"
2
+ VERSION = "0.3.21"
3
3
  end
data/recipes/chef_cap.rb CHANGED
@@ -193,7 +193,7 @@ namespace :chef do
193
193
  file = Tempfile.new("chef-cap-#{rails_env}")
194
194
  file.close
195
195
  compressed_chef = file.path
196
- system("cd #{chef_root_path}/../ && tar cjf #{compressed_chef} #{File.basename(chef_root_path)}")
196
+ system("cd #{chef_root_path}/../ && tar cjf #{compressed_chef} --exclude .git --exclude \"*.log\" #{File.basename(chef_root_path)}")
197
197
  upload compressed_chef, "/tmp/chef-cap-#{rails_env}.tbz", :mode => "0700"
198
198
  sudo "mkdir -p /tmp/chef-cap-#{rails_env}"
199
199
  sudo "tar xjf /tmp/chef-cap-#{rails_env}.tbz -C /tmp/chef-cap-#{rails_env}"
data/recipes/rbenv.rb CHANGED
@@ -11,7 +11,7 @@ namespace :bootstrap do
11
11
  #!/bin/bash
12
12
  #
13
13
  # And now install rbenv
14
- export PATH=$HOME/bin:$HOME/.rbenv/bin:$HOME/.rbenv/shims:$PATH
14
+ export PATH=$HOME/bin:$HOME/.rbenv/bin:$PATH
15
15
 
16
16
  HAVE_RBENV_ALREADY=`which rbenv 2>/dev/null`
17
17
  if [ $? != 0 ]; then
@@ -20,7 +20,7 @@ namespace :bootstrap do
20
20
  echo "Building rbenv..."
21
21
  git clone git://github.com/sstephenson/rbenv.git ~/.rbenv || exit 1
22
22
  # Add rbenv to your path
23
- echo 'export PATH="$HOME/.rbenv/bin:$HOME/.rbenv/shims:$PATH"' >> .bashrc
23
+ echo 'export PATH="$HOME/.rbenv/bin:$PATH"' >> .bashrc
24
24
  echo 'eval "$(rbenv init -)"' >> .bashrc
25
25
  source ~/.bash_profile
26
26
  fi;
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.20
4
+ version: 0.3.21
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2012-09-04 00:00:00.000000000 Z
12
+ date: 2012-09-07 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: capistrano
@@ -103,7 +103,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
103
103
  version: '0'
104
104
  segments:
105
105
  - 0
106
- hash: 1458186422045176253
106
+ hash: -2284293794674895370
107
107
  required_rubygems_version: !ruby/object:Gem::Requirement
108
108
  none: false
109
109
  requirements:
@@ -112,7 +112,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
112
112
  version: '0'
113
113
  segments:
114
114
  - 0
115
- hash: 1458186422045176253
115
+ hash: -2284293794674895370
116
116
  requirements: []
117
117
  rubyforge_project:
118
118
  rubygems_version: 1.8.19