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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 22f5bb45742ee70a2eb8c1594436467cfb14c93f
4
- data.tar.gz: b679de345f8ec2ff593db3446b1af2a7b1f74c7e
3
+ metadata.gz: 3fa260b9d0904d1fb4364054ab031d07957ff26c
4
+ data.tar.gz: bc608f97febf62c912181e804aa9d5f00f0a1ce0
5
5
  SHA512:
6
- metadata.gz: cab237d479587fb3e9a9a1eda1d9dfc5105371b668f056be83474fd10095b5654b176f4e5a782e5b807cf2530aed3976f419357c0b73c627e25436ae3049dadb
7
- data.tar.gz: 1408066c702640314ad8b6e457d2070669b1add7e04392c9af1ed2da530667f38d7617f0b54a7c6aeda0be0e7f30ae4ebb3bf59fc3f1d81033bd29c29b23733d
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
@@ -1,5 +1,5 @@
1
1
  module Middleman
2
2
  module S3Sync
3
- VERSION = "3.3.9"
3
+ VERSION = "3.3.10"
4
4
  end
5
5
  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.9
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-02-07 00:00:00.000000000 Z
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.4.5
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.