foresth-cloudfront_asset_host 1.0.6.2 → 1.0.6.3
Sign up to get free protection for your applications and to get access to all the features.
- data/VERSION +1 -1
- data/cloudfront_asset_host.gemspec +1 -1
- data/lib/cloudfront_asset_host.rb +1 -1
- metadata +3 -3
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.0.6.
|
1
|
+
1.0.6.3
|
@@ -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.3"
|
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"]
|
@@ -68,7 +68,7 @@ module CloudfrontAssetHost
|
|
68
68
|
if cname.is_a?(Proc)
|
69
69
|
host = cname.call(source, request)
|
70
70
|
else
|
71
|
-
host = (cname =~ /%d/) ? cname % (source.hash % 4) : cname
|
71
|
+
host = (cname =~ /%d/) ? cname % (source.hash % 4) : "#{cname}"
|
72
72
|
end
|
73
73
|
else
|
74
74
|
host = "http://#{self.bucket_host}"
|
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: 65
|
5
5
|
prerelease: false
|
6
6
|
segments:
|
7
7
|
- 1
|
8
8
|
- 0
|
9
9
|
- 6
|
10
|
-
-
|
11
|
-
version: 1.0.6.
|
10
|
+
- 3
|
11
|
+
version: 1.0.6.3
|
12
12
|
platform: ruby
|
13
13
|
authors:
|
14
14
|
- Menno van der Sman
|