middleman-s3_sync 3.0.15 → 3.0.16

Sign up to get free protection for your applications and to get access to all the features.
@@ -2,6 +2,23 @@
2
2
 
3
3
  The gem that tries really hard not to push files to S3.
4
4
 
5
+ ## v3.0.16
6
+
7
+ * Adds the ignore directory and redirects logic to the --force option as
8
+ well.
9
+
10
+ ## v3.0.15
11
+
12
+ * Ignore objects that look like directories. In some cases, S3 objects
13
+ where created to simulate directories. S3 Sync would crash when
14
+ processing these and a matching local directory was present.
15
+
16
+ ## v3.0.14
17
+
18
+ * No longer deletes redirects from the S3 bucket. This prevents a
19
+ situation where the redirect is first removed then added back through
20
+ [middleman-s3_redirect](https://github.com/fredjean/middleman-s3_redirect).
21
+
5
22
  ## v3.0.13
6
23
 
7
24
  * Fails gracefully when the extension isn't activated
@@ -120,7 +120,7 @@ module Middleman
120
120
  end
121
121
 
122
122
  def files_to_update
123
- return resources.select { |r| r.local? } if s3_sync_options.force
123
+ return resources.select { |r| r.local? && !r.to_ignore? } if s3_sync_options.force
124
124
 
125
125
  @files_to_update ||= resources.select { |r| r.to_update? }
126
126
  end
@@ -1,5 +1,5 @@
1
1
  module Middleman
2
2
  module S3Sync
3
- VERSION = "3.0.15"
3
+ VERSION = "3.0.16"
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.0.15
4
+ version: 3.0.16
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -10,7 +10,7 @@ authors:
10
10
  autorequire:
11
11
  bindir: bin
12
12
  cert_chain: []
13
- date: 2013-08-28 00:00:00.000000000 Z
13
+ date: 2013-09-02 00:00:00.000000000 Z
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
16
  name: middleman-core
@@ -263,7 +263,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
263
263
  version: '0'
264
264
  segments:
265
265
  - 0
266
- hash: -3960336143999785597
266
+ hash: -2218609791572285789
267
267
  required_rubygems_version: !ruby/object:Gem::Requirement
268
268
  none: false
269
269
  requirements:
@@ -272,7 +272,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
272
272
  version: '0'
273
273
  segments:
274
274
  - 0
275
- hash: -3960336143999785597
275
+ hash: -2218609791572285789
276
276
  requirements: []
277
277
  rubyforge_project:
278
278
  rubygems_version: 1.8.23