capistrano-cul 0.1.0 → 0.1.1
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 +4 -4
- data/README.md +4 -0
- data/VERSION +1 -1
- data/lib/capistrano/tasks/wp/migrate.cap +2 -1
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 356955460eeea67be31555a9b21fdae6d1862faa
|
|
4
|
+
data.tar.gz: 753f0312223f7f59a8ac663f178589f8ff36259e
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: b4fb3e040d8a3fec152a50d6e5535c3aa6800f960382e2d5b004935fef40897db5835bcd282a1dacb459427a3b99c9155ba09f1a0f0d67e629e1821dbecf0398
|
|
7
|
+
data.tar.gz: 71cc4d37ff918f359b742e34040d3570a7505d4f59400505f48f4a8897fa529ced105551cf8507ffc380301c49399f2a2049ff0343989ae6b9dabc1b01b36184
|
data/README.md
CHANGED
|
@@ -103,6 +103,10 @@ set :wp_custom_plugins, {
|
|
|
103
103
|
set :wp_custom_themes, {
|
|
104
104
|
'mytheme' => 'themes/mytheme'
|
|
105
105
|
}
|
|
106
|
+
set :wp_content_rsync_exclude_filters, [
|
|
107
|
+
"uploads/2018/01/ignore_this_file.jpg",
|
|
108
|
+
"uploads/2018/02/also_ignore_this_file.jpg",
|
|
109
|
+
]
|
|
106
110
|
```
|
|
107
111
|
|
|
108
112
|
## Development
|
data/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
0.1.
|
|
1
|
+
0.1.1
|
|
@@ -128,7 +128,8 @@ namespace :cul do
|
|
|
128
128
|
'--include="/blogs.dir**/"',
|
|
129
129
|
] +
|
|
130
130
|
# Apply inclusion filters based on file extension
|
|
131
|
-
|
|
131
|
+
# Generating case-insensitive rsync extension inclusion filters by doing this: --include="*.[Cc][Ss][Vv]"
|
|
132
|
+
allowed_file_extensions.map{ |allowed_file_extension| "--include=\"*.[#{allowed_file_extension.split(//).map{|char| char.upcase + char.downcase }.join('][')}]\"" } +
|
|
132
133
|
[
|
|
133
134
|
# Exclude everything else not included by --include filters
|
|
134
135
|
'--exclude="*"',
|
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.1.
|
|
4
|
+
version: 0.1.1
|
|
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-03-
|
|
12
|
+
date: 2018-03-05 00:00:00.000000000 Z
|
|
13
13
|
dependencies:
|
|
14
14
|
- !ruby/object:Gem::Dependency
|
|
15
15
|
name: capistrano
|