branchable_cdn_assets-middleman 0.8.1 → 0.8.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:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: acc9ce238e14e2467054b4510f790af4abc749a9
|
|
4
|
+
data.tar.gz: 3ebc52890b741a5790b7a829c1a7d3b7fe6d89d3
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: be5a3709cc938af216c359178fc9b521f304d7ee84a130dc2f552d4fe25624bf259c4e25a366279e808dcd835db1b4f5204de092b054187605e65115dc9eb40b
|
|
7
|
+
data.tar.gz: bd0b2cf0f3ff084929fc72ee7688e443747968c13f370ca0c3cf4159d727838d60bb5ca5ce666e8015dd4cd7fd724f32de169fa7a35c44acdaf0e15f40a2d825
|
|
@@ -74,7 +74,8 @@ module BranchableCDNAssets
|
|
|
74
74
|
#
|
|
75
75
|
def application_context
|
|
76
76
|
if options.key?(:custom)
|
|
77
|
-
options[:custom][:middleman_context]
|
|
77
|
+
options[:custom][:middleman_context] ||
|
|
78
|
+
options[:custom][:sprockets_context]
|
|
78
79
|
elsif options.key?(:sprockets)
|
|
79
80
|
options[:sprockets][:context]
|
|
80
81
|
end
|
|
@@ -58,6 +58,8 @@ describe BranchableCDNAssets::Middleman::Extension do
|
|
|
58
58
|
expect( resource_paths ).to include "/assets/cdn/#{@extension.object_id}/img_one"
|
|
59
59
|
expect( resource_paths ).to include "/assets/cdn/#{@extension.object_id}/img_two"
|
|
60
60
|
end
|
|
61
|
+
|
|
62
|
+
it "doesn't add local files when building"
|
|
61
63
|
end
|
|
62
64
|
|
|
63
65
|
end
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: branchable_cdn_assets-middleman
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.8.
|
|
4
|
+
version: 0.8.2
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Steven Sloan
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2016-
|
|
11
|
+
date: 2016-08-10 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: middleman
|