middleman-s3_sync 3.3.9 → 3.3.10
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/middleman-s3_sync/extension.rb +5 -0
- data/lib/middleman/s3_sync/version.rb +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 3fa260b9d0904d1fb4364054ab031d07957ff26c
|
4
|
+
data.tar.gz: bc608f97febf62c912181e804aa9d5f00f0a1ce0
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d556aa9c2c4fbf3e4bbee584e245924058a4b77c7dcb713e308c60542aa36336ad7926250eba75b722f10462c8754041e5026e7361434bcab8ce4c1c6d5711d0
|
7
|
+
data.tar.gz: db92d5c13b3734a5ab698b16f47e4593fe62df3dd3e61934972ed0f64700a3aaa926355ec72953035091a1a00da644a545c499552c3996a1208128d49d601425
|
@@ -25,6 +25,7 @@ module Middleman
|
|
25
25
|
option :dry_run, false, 'Whether to perform a dry-run'
|
26
26
|
option :index_document, nil, 'S3 custom index document path'
|
27
27
|
option :error_document, nil, 'S3 custom error document path'
|
28
|
+
option :content_types, {}, 'Custom content types'
|
28
29
|
|
29
30
|
def initialize(app, options_hash = {}, &block)
|
30
31
|
super
|
@@ -88,6 +89,10 @@ module Middleman
|
|
88
89
|
::Middleman::S3SyncExtension.s3_sync_options
|
89
90
|
end
|
90
91
|
|
92
|
+
def content_types
|
93
|
+
::Middleman::S3Sync.content_types
|
94
|
+
end
|
95
|
+
|
91
96
|
def default_caching_policy(policy = {})
|
92
97
|
::Middleman::S3Sync.add_caching_policy(:default, policy)
|
93
98
|
end
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: middleman-s3_sync
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 3.3.
|
4
|
+
version: 3.3.10
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Frederic Jean
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2016-
|
12
|
+
date: 2016-05-10 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: middleman-core
|
@@ -299,7 +299,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
299
299
|
version: '0'
|
300
300
|
requirements: []
|
301
301
|
rubyforge_project:
|
302
|
-
rubygems_version: 2.
|
302
|
+
rubygems_version: 2.5.1
|
303
303
|
signing_key:
|
304
304
|
specification_version: 4
|
305
305
|
summary: Tries really, really hard not to push files to S3.
|