recap 1.0.3 → 1.0.4

Sign up to get free protection for your applications and to get access to all the features.
@@ -118,6 +118,7 @@ module ProjectSupport
118
118
  FileUtils.rm_rf repository_path
119
119
  git 'init'
120
120
  write_and_commit_file 'Capfile', Capfile.new(self, options[:capfile] || {})
121
+ write_and_commit_file 'log/.gitkeep'
121
122
  end
122
123
 
123
124
  def name
@@ -35,6 +35,7 @@ module Recap::Tasks::Foreman
35
35
  desc 'Export foreman configuration'
36
36
  task :default do
37
37
  if deployed_file_exists?(procfile)
38
+ sudo "chown #{application_user}: #{deploy_to}/log"
38
39
  as_app foreman_export_command
39
40
  sudo "rm -f #{foreman_export_location}/#{application}*"
40
41
  sudo "cp #{foreman_tmp_location}/* #{foreman_export_location}"
data/lib/recap/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module Recap
2
- VERSION = '1.0.3'
2
+ VERSION = '1.0.4'
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: recap
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.3
4
+ version: 1.0.4
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-06-28 00:00:00.000000000 Z
12
+ date: 2012-07-25 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: capistrano
@@ -266,7 +266,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
266
266
  version: '0'
267
267
  segments:
268
268
  - 0
269
- hash: 4487852696060135386
269
+ hash: -1491554146184326098
270
270
  required_rubygems_version: !ruby/object:Gem::Requirement
271
271
  none: false
272
272
  requirements:
@@ -275,7 +275,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
275
275
  version: '0'
276
276
  segments:
277
277
  - 0
278
- hash: 4487852696060135386
278
+ hash: -1491554146184326098
279
279
  requirements: []
280
280
  rubyforge_project:
281
281
  rubygems_version: 1.8.24