elocal_capistrano 1.0.0 → 1.0.1

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: b95704b42d6178f3a926ffd5367e5d35930d5767
4
- data.tar.gz: c66d1c5e5ba101a91c57b9b288e5f7ab93631548
3
+ metadata.gz: 8d1baf02c11f15f5764bc416cb47c11fbeb3dee2
4
+ data.tar.gz: 6974fb9d2d394d5155255dfe12ce06143169188e
5
5
  SHA512:
6
- metadata.gz: 0a49e32ccc4196d9bb809900936a01c57fadd4b1ed20d96853cffbf640c7909d8d414a33046b5e982487a1a1c9fcb282897d48ed74454c0b0ea04adaef1f1c7a
7
- data.tar.gz: 1125c295963618d1178ef35343dd08aa70cf993c3a5f5c2863c6af9cc7c322146514be46296f5ec1364c36fe3180cd65bf1e35a218148a0e57b83cb3ca6afa53
6
+ metadata.gz: b00adbd8e1e361694ca1d081ecff90cf07721000b7329e4d0b453c0f42fee5d2e5f8fddf3ea7d6cbbd9f478b776a6b81429e7fd0093d0b9628c5d9f775ab6845
7
+ data.tar.gz: 0e69139650791ce0c157e62c8e6f6a4f522273cf557a509ae752fa795999cdc6b1e165694e9f357ce81517c2ac9d1f66bab7cd80c9c4823bf64fa85dde41dc2f
@@ -0,0 +1,21 @@
1
+ Capistrano::Configuration.instance.load do
2
+
3
+ namespace :deploy do
4
+
5
+ desc "Symlink configuration files to the config/ directory."
6
+ task :symlink_shared_configuration, :roles => :app do
7
+ run <<-CMD
8
+ if [ -d #{deploy_to}/shared/config ]; then
9
+ cd #{deploy_to}/shared/config;
10
+ for f in `ls -x`; do
11
+ if [ -f #{release_path}/config/$f ]; then
12
+ mv #{release_path}/config/$f #{release_path}/config/$f.orig;
13
+ fi;
14
+ ln -nfs #{deploy_to}/shared/config/$f #{release_path}/config/$f;
15
+ done;
16
+ fi;
17
+ CMD
18
+ end
19
+ end
20
+
21
+ end
@@ -1,3 +1,3 @@
1
1
  module ElocalCapistrano
2
- VERSION = "1.0.0"
2
+ VERSION = "1.0.1"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: elocal_capistrano
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.0
4
+ version: 1.0.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Rob Di Marco
@@ -14,28 +14,28 @@ dependencies:
14
14
  name: bundler
15
15
  requirement: !ruby/object:Gem::Requirement
16
16
  requirements:
17
- - - ~>
17
+ - - "~>"
18
18
  - !ruby/object:Gem::Version
19
19
  version: '1.6'
20
20
  type: :development
21
21
  prerelease: false
22
22
  version_requirements: !ruby/object:Gem::Requirement
23
23
  requirements:
24
- - - ~>
24
+ - - "~>"
25
25
  - !ruby/object:Gem::Version
26
26
  version: '1.6'
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: rake
29
29
  requirement: !ruby/object:Gem::Requirement
30
30
  requirements:
31
- - - '>='
31
+ - - ">="
32
32
  - !ruby/object:Gem::Version
33
33
  version: '0'
34
34
  type: :development
35
35
  prerelease: false
36
36
  version_requirements: !ruby/object:Gem::Requirement
37
37
  requirements:
38
- - - '>='
38
+ - - ">="
39
39
  - !ruby/object:Gem::Version
40
40
  version: '0'
41
41
  description: Common eLocal Capistrano tasks. Supports Capistrano 2.0
@@ -45,7 +45,7 @@ executables: []
45
45
  extensions: []
46
46
  extra_rdoc_files: []
47
47
  files:
48
- - .gitignore
48
+ - ".gitignore"
49
49
  - Gemfile
50
50
  - LICENSE.txt
51
51
  - README.md
@@ -53,6 +53,7 @@ files:
53
53
  - elocal_capistrano.gemspec
54
54
  - lib/elocal_capistrano.rb
55
55
  - lib/elocal_capistrano/chef.rb
56
+ - lib/elocal_capistrano/deploy.rb
56
57
  - lib/elocal_capistrano/god.rb
57
58
  - lib/elocal_capistrano/maintenance.rb
58
59
  - lib/elocal_capistrano/puma.rb
@@ -68,12 +69,12 @@ require_paths:
68
69
  - lib
69
70
  required_ruby_version: !ruby/object:Gem::Requirement
70
71
  requirements:
71
- - - '>='
72
+ - - ">="
72
73
  - !ruby/object:Gem::Version
73
74
  version: '0'
74
75
  required_rubygems_version: !ruby/object:Gem::Requirement
75
76
  requirements:
76
- - - '>='
77
+ - - ">="
77
78
  - !ruby/object:Gem::Version
78
79
  version: '0'
79
80
  requirements: []