capistrano-cul 0.1.0 → 0.1.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: be86d3f2e7ed2bf08cc3310499ddb72a69733af9
4
- data.tar.gz: 33484a825862b01895542e3b6520d5b507aadfb9
3
+ metadata.gz: 356955460eeea67be31555a9b21fdae6d1862faa
4
+ data.tar.gz: 753f0312223f7f59a8ac663f178589f8ff36259e
5
5
  SHA512:
6
- metadata.gz: ab768cd14294a13252a37bca566ab748a60895b376455cd260edb6e646e119727dd84dabe448c48e71e2f4067e85e8b477cdd49bcc9af4017df5450076e054f0
7
- data.tar.gz: 11ca86fe81eb3b3176dcd0a0bf741bb61c939afff5d7deca52b710043e9cf8cf7301965d4fa826606b7f59ad55557859455ac2d14a3bff0c1b23451478782a2c
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.0
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
- allowed_file_extensions.map{ |allowed_file_extension| "--include=\"*.#{allowed_file_extension}\"" } +
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.0
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-01 00:00:00.000000000 Z
12
+ date: 2018-03-05 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: capistrano