percy-capybara 0.4.3 → 0.4.4

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: 70aca91e87a7e8d095623d50aedc0b03a8583e64
4
- data.tar.gz: b14d7b2bb34a0a9f7c7fc1c2046b7309287fead5
3
+ metadata.gz: 5dffb07e3429393b766d73511fd620b2ff034d75
4
+ data.tar.gz: 9eda5972527c4fb3accbaa4ed848d854fc3f5503
5
5
  SHA512:
6
- metadata.gz: 22f32ed1421975b3cb409f41d4c592bb25d23cc5dfbe30a6226858b9f1cb4f8f1a29c6b13ddea872fd43c0d0804fa5b3c873106bb259893c3076fed2a230f5a3
7
- data.tar.gz: edf3d181816770e61dc8b8cff9a1eaf5051ae3c260ca5af741efd9c4d3fa54b7673817e8af0c4e14e82e5fdfcbab3aefbeb0150302d7e831be923f2240148d2b
6
+ metadata.gz: 26db04a7290ce2b2d82f5ef147e742e089c1baf3382601c90affff84a523906cf8e75c1d12fd480a1dfbe0aedd325d13c9c4ac75e60d39dd3a2acd85b20d9506
7
+ data.tar.gz: 47a023dcd7f8cf93a7220df15bf39a2bc88334961e4bcefe258b80ad5c46615860abe5bc96d6011d2a535f33af827596b6f2765f78301d49dfbdb5dc9825a3d3
@@ -26,6 +26,7 @@ module Percy
26
26
  response = Percy::Capybara::HttpFetcher::Response.new(File.read(temppath), content_type)
27
27
  # We've broken the tempfile so it won't get deleted when garbage collected. Delete!
28
28
  File.delete(temppath)
29
+ return if response.body == ''
29
30
  response
30
31
  end
31
32
  end
@@ -1,5 +1,5 @@
1
1
  module Percy
2
2
  module Capybara
3
- VERSION = '0.4.3'
3
+ VERSION = '0.4.4'
4
4
  end
5
5
  end
@@ -18,7 +18,7 @@ Gem::Specification.new do |spec|
18
18
  spec.test_files = spec.files.grep(%r{^(test|spec|features)/})
19
19
  spec.require_paths = ['lib']
20
20
 
21
- spec.add_dependency 'percy-client', '>= 0.2.11'
21
+ spec.add_dependency 'percy-client', '>= 0.3.0'
22
22
 
23
23
  spec.add_development_dependency 'bundler', '~> 1.7'
24
24
  spec.add_development_dependency 'rake', '~> 10.0'
@@ -0,0 +1 @@
1
+ // Nothing to see here.
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: percy-capybara
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.4.3
4
+ version: 0.4.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Perceptual Inc.
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-08-12 00:00:00.000000000 Z
11
+ date: 2015-08-21 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: percy-client
@@ -16,14 +16,14 @@ dependencies:
16
16
  requirements:
17
17
  - - ">="
18
18
  - !ruby/object:Gem::Version
19
- version: 0.2.11
19
+ version: 0.3.0
20
20
  type: :runtime
21
21
  prerelease: false
22
22
  version_requirements: !ruby/object:Gem::Requirement
23
23
  requirements:
24
24
  - - ">="
25
25
  - !ruby/object:Gem::Version
26
- version: 0.2.11
26
+ version: 0.3.0
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: bundler
29
29
  requirement: !ruby/object:Gem::Requirement
@@ -195,6 +195,7 @@ files:
195
195
  - spec/lib/percy/capybara/client/testdata/images/srcset-first.png
196
196
  - spec/lib/percy/capybara/client/testdata/images/srcset-second.png
197
197
  - spec/lib/percy/capybara/client/testdata/index.html
198
+ - spec/lib/percy/capybara/client/testdata/js/base.js
198
199
  - spec/lib/percy/capybara/client/testdata/test-css.html
199
200
  - spec/lib/percy/capybara/client/testdata/test-images.html
200
201
  - spec/lib/percy/capybara/client_spec.rb
@@ -248,6 +249,7 @@ test_files:
248
249
  - spec/lib/percy/capybara/client/testdata/images/srcset-first.png
249
250
  - spec/lib/percy/capybara/client/testdata/images/srcset-second.png
250
251
  - spec/lib/percy/capybara/client/testdata/index.html
252
+ - spec/lib/percy/capybara/client/testdata/js/base.js
251
253
  - spec/lib/percy/capybara/client/testdata/test-css.html
252
254
  - spec/lib/percy/capybara/client/testdata/test-images.html
253
255
  - spec/lib/percy/capybara/client_spec.rb
@@ -258,3 +260,4 @@ test_files:
258
260
  - spec/lib/percy/capybara_spec.rb
259
261
  - spec/spec_helper.rb
260
262
  - spec/support/test_helpers.rb
263
+ has_rdoc: