rspec-page-regression 0.4.1 → 0.4.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.travis.yml +3 -1
- data/Gemfile +1 -1
- data/README.md +3 -0
- data/lib/rspec/page-regression/image_comparison.rb +5 -1
- data/lib/rspec/page-regression/version.rb +1 -1
- data/rspec-page-regression.gemspec +7 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 705d4989006c89985d837ce0636aa95bb15a1c89
|
4
|
+
data.tar.gz: ce114b33ae431877b5878e9a3d13cef451adef93
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 186ddb22eda22515f821dc6ac0c115201381acbe48941244b444e393519577ebfbd2e9535d383f5e974e138832cdb23caccc56238601c6b8303fcf6a8e3a7abb
|
7
|
+
data.tar.gz: e5628d211d7ae4d1fd6085c7201db4b5f0265be7751feee48cba5ab19de479b4dfb610365e5b9e2cbdbc472722fcfb4d748a93f3c4e2abf13f2e68b8560cfdb3
|
data/.travis.yml
CHANGED
data/Gemfile
CHANGED
data/README.md
CHANGED
@@ -13,6 +13,7 @@ It provides an RSpec matcher that compares the test snapshot to an expected imag
|
|
13
13
|
|
14
14
|
Rspec-page-regression uses [PhantomJS](http://www.phantomjs.org/) to headlessly render web page snapshots, by virtue of the [Poltergeist](https://github.com/jonleighton/poltergeist) driver for [Capybara](https://github.com/jnicklas/capybara). You can also use the Selenium driver to test against real browsers.
|
15
15
|
|
16
|
+
Rspec-page-regression is tested on ruby 1.9.3, 2.1.0, and jruby
|
16
17
|
|
17
18
|
## Installation
|
18
19
|
|
@@ -168,6 +169,8 @@ Don't forget to include specs (`rake spec`) to verify your functionality. Code
|
|
168
169
|
|
169
170
|
Release Notes:
|
170
171
|
|
172
|
+
* 0.4.2 - Now works with jruby. Thanks to [@paresharma](https://github.com/paresharma)
|
173
|
+
|
171
174
|
* 0.4.1 - Bug fix: wasn't including example name in file path. Thanks to [@kurtisnelson](https://github.com/kurtisnelson)
|
172
175
|
|
173
176
|
* 0.4.0 - Add difference threshold. Thanks to [@abersager](https://github.com/abersager)
|
@@ -19,7 +19,13 @@ Gem::Specification.new do |spec|
|
|
19
19
|
spec.require_paths = ["lib"]
|
20
20
|
|
21
21
|
spec.add_dependency "activesupport"
|
22
|
-
|
22
|
+
|
23
|
+
if RUBY_PLATFORM == 'java'
|
24
|
+
spec.add_dependency "chunky_png"
|
25
|
+
else
|
26
|
+
spec.add_dependency "oily_png"
|
27
|
+
end
|
28
|
+
|
23
29
|
spec.add_dependency "poltergeist"
|
24
30
|
spec.add_dependency "rspec", "~> 3.0"
|
25
31
|
spec.add_dependency "which_works"
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: rspec-page-regression
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.4.
|
4
|
+
version: 0.4.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- ronen barzel
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2015-09-
|
11
|
+
date: 2015-09-23 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: activesupport
|