branchable_cdn_assets 0.7.1 → 0.7.2
Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 8a008efbe63aa21e3683a783db6a53414ab8080d
|
4
|
+
data.tar.gz: 0d35d6678cb7743a9dcc2c0a7566b98d4d809130
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: c8b36cd34e6b06f43fd0f70ed60f71929c965a76b4798356b572fc210b4c558c559460652c9e8ce2fffe4267e6fdce521c0089a9f605638a742c93920c199293
|
7
|
+
data.tar.gz: e5f569e2665e45490a221e555dfcb454001051404278045ed25cc1a84375a261aa25b08b02f9aa594a78c7ac8206004ff48f28b564a825f251f99a0187d70641
|
@@ -59,6 +59,11 @@ describe BranchableCDNAssets::Manifest do
|
|
59
59
|
expect( manifest.files ).to match_array manifest.file_set.to_a
|
60
60
|
end
|
61
61
|
|
62
|
+
it "handles windows like file systems" do
|
63
|
+
allow( IO ).to receive(:read).with(source_file).and_return("foo\r\nbar")
|
64
|
+
expect( manifest.files ).to match_array ["foo", "bar"]
|
65
|
+
end
|
66
|
+
|
62
67
|
end
|
63
68
|
|
64
69
|
describe "#merge_files" do
|
data/spec/spec_helper.rb
CHANGED
@@ -8,8 +8,13 @@ require 'support/hash'
|
|
8
8
|
|
9
9
|
require 'branchable_cdn_assets'
|
10
10
|
|
11
|
-
|
12
|
-
|
11
|
+
if ENV['DEBUG'] == "true"
|
12
|
+
require "pry"
|
13
|
+
else
|
14
|
+
# silence stdout
|
15
|
+
$stdout = StringIO.open('','w+')
|
16
|
+
end
|
17
|
+
|
13
18
|
|
14
19
|
RSpec.configure do |config|
|
15
20
|
config.mock_with :rspec do |mocks|
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: branchable_cdn_assets
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.7.
|
4
|
+
version: 0.7.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:
|
11
|
+
date: 2017-03-20 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rake
|
@@ -136,7 +136,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
136
136
|
version: '0'
|
137
137
|
requirements: []
|
138
138
|
rubyforge_project:
|
139
|
-
rubygems_version: 2.
|
139
|
+
rubygems_version: 2.5.2
|
140
140
|
signing_key:
|
141
141
|
specification_version: 4
|
142
142
|
summary: Helpers for syncing and finding assets accross multiple remotes
|