rspec-page-regression 0.4.1 → 0.4.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: 1847e77587cf7d17aa62ef348dcf6d727a0f7d69
4
- data.tar.gz: 8e6d648fa23c69519fee4b9da629076161e491f9
3
+ metadata.gz: 705d4989006c89985d837ce0636aa95bb15a1c89
4
+ data.tar.gz: ce114b33ae431877b5878e9a3d13cef451adef93
5
5
  SHA512:
6
- metadata.gz: dd8f790e145225044a389b346f9dcf474397ee7d3d0b2293ec50aedc4c6ec798d15ceafb5c0dc6af0100956ed705edad3a7e77eaa52fe192f788a6903088efd5
7
- data.tar.gz: ef4d7943130cd145f991fc5d8f9a77d648955c1d323365304682d95f9b2fc6be38f453fd09cb96da1175c55791778f75f77e6a2f6c589f19e03b0ab57fedc86d
6
+ metadata.gz: 186ddb22eda22515f821dc6ac0c115201381acbe48941244b444e393519577ebfbd2e9535d383f5e974e138832cdb23caccc56238601c6b8303fcf6a8e3a7abb
7
+ data.tar.gz: e5628d211d7ae4d1fd6085c7201db4b5f0265be7751feee48cba5ab19de479b4dfb610365e5b9e2cbdbc472722fcfb4d748a93f3c4e2abf13f2e68b8560cfdb3
@@ -1,6 +1,8 @@
1
+ sudo: false
1
2
  rvm:
2
3
  - 1.9.3
3
- - 2.0.0
4
+ - 2.1.0
5
+ - jruby
4
6
  notifications:
5
7
  recipients:
6
8
  - ronen@barzel.org
data/Gemfile CHANGED
@@ -4,4 +4,4 @@ source 'https://rubygems.org'
4
4
  gemspec
5
5
 
6
6
  gem 'awesome_print'
7
- gem 'byebug' if RUBY_VERSION >= "2.0.0"
7
+ gem 'byebug' if RUBY_VERSION >= "2.0.0" && RUBY_PLATFORM != 'java'
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)
@@ -1,4 +1,8 @@
1
- require "oily_png"
1
+ if RUBY_PLATFORM == 'java'
2
+ require "chunky_png"
3
+ else
4
+ require 'oily_png'
5
+ end
2
6
 
3
7
  module RSpec::PageRegression
4
8
 
@@ -1,5 +1,5 @@
1
1
  module RSpec
2
2
  module PageRegression
3
- VERSION = "0.4.1"
3
+ VERSION = "0.4.2"
4
4
  end
5
5
  end
@@ -19,7 +19,13 @@ Gem::Specification.new do |spec|
19
19
  spec.require_paths = ["lib"]
20
20
 
21
21
  spec.add_dependency "activesupport"
22
- spec.add_dependency "oily_png"
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.1
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-12 00:00:00.000000000 Z
11
+ date: 2015-09-23 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activesupport