capistrano-cul 0.0.15 → 0.0.16

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: 2d08bd99ee59976271ab8640c51fd056aa82b7f1
4
- data.tar.gz: 699fffbfb4d982bbebe1e5d9e9956aefd8b66c52
3
+ metadata.gz: 43528808ac1be50e53b5b2eab140d2ab8896d4f8
4
+ data.tar.gz: e7fb210a1bab9a31cbed5d2a6d28cc52748c5a5a
5
5
  SHA512:
6
- metadata.gz: 1c6fde504264cd5bd7baf29f54f895db501b609f97759b21403076e961147e8aa99c2f9745fe0c1cb3b563cc22c57ccc5bc37a06ea961b49c44d89393d92dc7d
7
- data.tar.gz: 7d0fb86de4e4326477994e15b24e5144d6a725240e7b65dc5f25164d0ee0d181db553b3c4bf187632d64ceac8cd7c081b90a7eff6729d814d752266fa2f141ed
6
+ metadata.gz: 5e9e616d5701adaa848af2cd3004fcfd033b3baa6d61687db9fb58641abb0712d97a050f9098e4a55cc830db188879ea234da0b83ea7d22c3dc1c4b593a4868a
7
+ data.tar.gz: 13f3398b463ef55024061e6ec2fd399f1fc03ac671ea64cdb1c1976bf1c4f27db37fe715f4a723f668164fa4655057ac5f568db2a54701355427d391e062ceaf
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.0.15
1
+ 0.0.16
@@ -67,14 +67,14 @@ namespace :cul do
67
67
  # EXCLUDE plugins, themes, mu-plugins, uploads, and blogs.dir
68
68
  "-not \\( -path './plugins/*' -o -path './mu-plugins/*' -o -path './themes/*' -o -path './uploads/*' -o -path './blogs.dir/*' \\) " +
69
69
  # EXCLUDE certain unwanted files and paths
70
- "-a -not \\( -name '.nfs*' -o -name 'config.tmp.*' \\) " +
70
+ "-a -not \\( -name '.nfs*' -o -name '*.tmp.*' \\) " +
71
71
  "-a -not \\( -path '*/.git*' -o -path '*/.svn*' -o -path '*/.hg*' \\) "
72
72
 
73
73
  find_upload_dirs = '. -type f ' +
74
74
  # INCLUDE ONLY uploads and blogs.dir
75
75
  "\\( -path './uploads/*' -o -path './blogs.dir/*' \\) " +
76
76
  # EXCLUDE certain unwanted files and paths
77
- "-a -not \\( -name '.nfs*' -o -name 'config.tmp.*' \\) " +
77
+ "-a -not \\( -name '.nfs*' -o -name '*.tmp.*' \\) " +
78
78
  "-a -not \\( -path '*/.git*' -o -path '*/.svn*' -o -path '*/.hg*' \\) " +
79
79
  # INCLUDE ONLY certain file extensions
80
80
  "-a \\( " + JSON.parse(capture(:wp, (fetch(:multisite, false) ? "--url=#{fetch(:source_site_multisite_url)}" : ''), 'eval', '"echo cul_allowed_upload_file_extensions_as_json();"')).map{ |allowed_file_extension|
@@ -124,6 +124,9 @@ namespace :cul do
124
124
 
125
125
  puts 'Copying wp-content. This may take a while for sites with a lot of uploads...'
126
126
 
127
+ puts 'rsync args:'
128
+ puts rsync_params.join(' ')
129
+
127
130
  execute :rsync, *rsync_params
128
131
 
129
132
  # clean up path_to_list_of_files_to_copy file
@@ -77,8 +77,6 @@ namespace :cul do
77
77
 
78
78
  wp_content_path = fetch(:wp_content_path)
79
79
 
80
- invoke 'deploy' # Deploy before doing setup
81
-
82
80
  # Create nginx logs directory if it doesn't already exist
83
81
  execute :mkdir, '-p', deploy_path.join('logs')
84
82
 
@@ -88,6 +86,8 @@ namespace :cul do
88
86
  # Make full path to wp_content_path if not exist
89
87
  execute :mkdir, '-p', wp_content_path
90
88
 
89
+ invoke 'deploy' # Deploy before doing setup
90
+
91
91
  # If wp_docroot/wp-includes does not exist, do wordpress download
92
92
  unless test("[ -d #{File.join(fetch(:wp_docroot), 'wp-includes')} ]")
93
93
  # Download and unpack new WP instance to wp_docroot
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: capistrano-cul
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.15
4
+ version: 0.0.16
5
5
  platform: ruby
6
6
  authors:
7
7
  - Carla Galarza
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: exe
11
11
  cert_chain: []
12
- date: 2018-02-13 00:00:00.000000000 Z
12
+ date: 2018-02-14 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: capistrano