middleman-s3_sync 4.0.1 → 4.0.2

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 03e85a73abe85135fe476bcc42f08d76647f8233
4
- data.tar.gz: 880513b403e2ac85e5615881cd59f4764fe914f4
3
+ metadata.gz: 43571ce8542c63438002421697693bdb2df3811d
4
+ data.tar.gz: deef0be22c915cf14538f00a3c2403820d6328ac
5
5
  SHA512:
6
- metadata.gz: bf1e6923739cd2f1f6f8c51f478dbe83afe094006896ed6a67e238d53081e86b13e23e7882b7fb387b33dd1fb58f1fb67d791cc8e018d27e2d98094f4cf59e5e
7
- data.tar.gz: 1dcda4f56a7566a7cab06e2638ad2c739c2a2534c701e7d0177c367c36deaffb3d829e230736181e9f7bd2373d68c63045e1b5d25a7ecdad3d3288e9fcd03f2d
6
+ metadata.gz: 7c63611753c1cc11b91d9893c8e0470b94b99c65142631d920cf78b184e852833c62891834a8d716f05393a605237089f5b48f785a63e9c288084ced1ed9cf37
7
+ data.tar.gz: 9a4897fe6772f0bb913871cfa400cbc2b751a8ede6b8f1a08280065f677292c3771649343996b6695dc89cef373edc32988811732386c23a60c43065b66bf749
@@ -44,6 +44,7 @@ module Middleman
44
44
  options.build_dir ||= app.build_dir if app.respond_to? :build_dir
45
45
  if options.prefix
46
46
  options.prefix = options.prefix.end_with?("/") ? options.prefix : options.prefix + "/"
47
+ options.prefix = "" if options.prefix == "/"
47
48
  end
48
49
  ::Middleman::S3Sync.s3_sync_options = s3_sync_options
49
50
  end
@@ -1,5 +1,5 @@
1
1
  module Middleman
2
2
  module S3Sync
3
- VERSION = "4.0.1"
3
+ VERSION = "4.0.2"
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: 4.0.1
4
+ version: 4.0.2
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-01-21 00:00:00.000000000 Z
12
+ date: 2016-02-07 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: middleman-core