foresth-cloudfront_asset_host 1.0.6.1 → 1.0.6.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.
- data/VERSION +1 -1
- data/cloudfront_asset_host.gemspec +1 -1
- data/lib/cloudfront_asset_host/uploader.rb +3 -1
- metadata +3 -3
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.0.6.
|
1
|
+
1.0.6.2
|
@@ -5,7 +5,7 @@
|
|
5
5
|
|
6
6
|
Gem::Specification.new do |s|
|
7
7
|
s.name = %q{foresth-cloudfront_asset_host}
|
8
|
-
s.version = "1.0.6.
|
8
|
+
s.version = "1.0.6.2"
|
9
9
|
|
10
10
|
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
|
11
11
|
s.authors = ["Menno van der Sman"]
|
@@ -110,7 +110,9 @@ module CloudfrontAssetHost
|
|
110
110
|
def existing_keys
|
111
111
|
@existing_keys ||= begin
|
112
112
|
keys = []
|
113
|
-
|
113
|
+
prefix = CloudfrontAssetHost.key_prefix
|
114
|
+
prefix = "#{CloudfrontAssetHost.plain_prefix}/#{prefix}" if CloudfrontAssetHost.plain_prefix.present?
|
115
|
+
keys.concat bucket.keys('prefix' => prefix).map { |key| key.name }
|
114
116
|
keys.concat bucket.keys('prefix' => CloudfrontAssetHost.gzip_prefix).map { |key| key.name }
|
115
117
|
keys
|
116
118
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: foresth-cloudfront_asset_host
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
hash:
|
4
|
+
hash: 67
|
5
5
|
prerelease: false
|
6
6
|
segments:
|
7
7
|
- 1
|
8
8
|
- 0
|
9
9
|
- 6
|
10
|
-
-
|
11
|
-
version: 1.0.6.
|
10
|
+
- 2
|
11
|
+
version: 1.0.6.2
|
12
12
|
platform: ruby
|
13
13
|
authors:
|
14
14
|
- Menno van der Sman
|