capistrano-touch-linked-files 0.2.1 → 0.3.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: f873f089a826b66185a79d45b421fdc3a5df8d39
|
|
4
|
+
data.tar.gz: 1db49abde6bc56e490d7c0461c34ca7504ce833b
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: d8a3978bd4e74266a15a42a45172e3f406c3ad2b6359c3916759ff018b73af591654c57a074bcdc3a4e2ecc7f069bb8a3ce4fd2742a4288601cd852e4b2b98e6
|
|
7
|
+
data.tar.gz: 96f0e07b342a731f958edf8080b861680e1e112d0b730e8ec7d995e80418220688543f6321a35b5587fc6b8435f8517337643b7e4b398b3a19eaee7e9b478eea
|
|
@@ -4,7 +4,7 @@ $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
|
|
|
4
4
|
|
|
5
5
|
Gem::Specification.new do |spec|
|
|
6
6
|
spec.name = 'capistrano-touch-linked-files'
|
|
7
|
-
spec.version = '0.
|
|
7
|
+
spec.version = '0.3.0'
|
|
8
8
|
spec.authors = 'Robert Coleman'
|
|
9
9
|
spec.email = 'github@robert.net.nz'
|
|
10
10
|
spec.description = %q{Capistrano 3.x task to to touch all your linked files}
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
require 'fileutils'
|
|
1
2
|
namespace :linked_files do
|
|
2
3
|
|
|
3
4
|
desc 'Touches all your linked files'
|
|
@@ -5,6 +6,8 @@ namespace :linked_files do
|
|
|
5
6
|
on release_roles :all do
|
|
6
7
|
within shared_path do
|
|
7
8
|
fetch(:linked_files, []).each do |file|
|
|
9
|
+
info "Making sure dir exists: #{File.dirname(file)}"
|
|
10
|
+
execute :mkdir, '-p', File.dirname(file)
|
|
8
11
|
execute :touch, file
|
|
9
12
|
info "Touched: #{file}"
|
|
10
13
|
end
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: capistrano-touch-linked-files
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.
|
|
4
|
+
version: 0.3.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Robert Coleman
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date:
|
|
11
|
+
date: 2015-06-28 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: capistrano
|
|
@@ -87,8 +87,9 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
87
87
|
version: '0'
|
|
88
88
|
requirements: []
|
|
89
89
|
rubyforge_project:
|
|
90
|
-
rubygems_version: 2.
|
|
90
|
+
rubygems_version: 2.4.5
|
|
91
91
|
signing_key:
|
|
92
92
|
specification_version: 4
|
|
93
93
|
summary: Capistrano 3.x task to to touch all your linked files, useful on first deploy.
|
|
94
94
|
test_files: []
|
|
95
|
+
has_rdoc:
|