forkcms_deploy 2.4.0 → 2.4.1

Sign up to get free protection for your applications and to get access to all the features.
data/VERSION CHANGED
@@ -1 +1 @@
1
- 2.4.0
1
+ 2.4.1
@@ -5,11 +5,11 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = "forkcms_deploy"
8
- s.version = "2.4.0"
8
+ s.version = "2.4.1"
9
9
 
10
10
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
11
  s.authors = ["Tijs Verkoyen", "Jan De Poorter", "Sam Tubbax"]
12
- s.date = "2013-01-05"
12
+ s.date = "2013-01-14"
13
13
  s.description = "Deployment for ForkCMS with Capistrano"
14
14
  s.email = "info@sumocoders.be"
15
15
  s.extra_rdoc_files = [
@@ -2,7 +2,7 @@ require "forkcms_deploy/forkcms_3"
2
2
  configuration = Capistrano::Configuration.respond_to?(:instance) ? Capistrano::Configuration.instance(:must_exist) : Capistrano.configuration(:must_exist)
3
3
 
4
4
  configuration.load do
5
- set :shared_children, %w(files config)
5
+ set :shared_children, %w(files config install)
6
6
 
7
7
  after 'deploy:update_code' do
8
8
  composer.install_vendors
@@ -34,10 +34,12 @@ configuration.load do
34
34
 
35
35
  # change the path to current_path
36
36
  run "if [ -f #{shared_path}/config/parameters.yml ]; then sed -i 's/#{version_dir}\\/[0-9]*/#{current_dir}/' #{shared_path}/config/parameters.yml; fi"
37
+ run "if [ ! -f #{shared_path}/install/installed.txt ]; then touch #{shared_path}/install/installed.txt; fi"
37
38
 
38
- # symlink the globals
39
+ # symlink the parameters
39
40
  run %{
40
- ln -sf #{shared_path}/config/parameters.yml #{release_path}/app/config/parameters.yml
41
+ ln -sf #{shared_path}/config/parameters.yml #{release_path}/app/config/parameters.yml &&
42
+ ln -sf #{shared_path}/install/installed.txt #{release_path}/install/cache/installed.txt
41
43
  }
42
44
  end
43
45
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: forkcms_deploy
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.4.0
4
+ version: 2.4.1
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -11,7 +11,7 @@ authors:
11
11
  autorequire:
12
12
  bindir: bin
13
13
  cert_chain: []
14
- date: 2013-01-05 00:00:00.000000000 Z
14
+ date: 2013-01-14 00:00:00.000000000 Z
15
15
  dependencies:
16
16
  - !ruby/object:Gem::Dependency
17
17
  name: capistrano