dotdiff 2.0.2-java → 2.0.3-java
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +4 -0
- data/dotdiff.gemspec +2 -3
- data/lib/dotdiff/version.rb +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: c38dc01d49c4b88d625c3c481829f9b321e20a1d
|
4
|
+
data.tar.gz: 62e3b2b13fa9706f03415c4368fa18dc467d5b7b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 7d7afdc360442d8ea26aab7aa1f03037a25c8560be2240b700a313b8b5b5049d7aadc7c26124f4e27a874ae6a65ecb35b4d4adf3fa0a736bd439b17fd7db842e
|
7
|
+
data.tar.gz: d3c7b775973d966aaa069d29c77c254a94dbcceb6207e0dd195e247925f256424123dfce88b52b6d072a4ab9e3c7a7ba9fc306dcfc4f5d4918a3e5556cab189a
|
data/README.md
CHANGED
@@ -12,8 +12,11 @@ different display suchas username or user specific details, but only for full pa
|
|
12
12
|
|
13
13
|
## Installation
|
14
14
|
|
15
|
+
|
15
16
|
Add this line to your application's Gemfile:
|
16
17
|
|
18
|
+
This is the same for JRuby platform as well (both MRI and JRuby versions of gem is uploaded)
|
19
|
+
|
17
20
|
```ruby
|
18
21
|
gem 'dotdiff'
|
19
22
|
```
|
@@ -84,6 +87,7 @@ The only difference for the element specific is passing a specific element in th
|
|
84
87
|
| max_wait_time | This is similar to the Capybara#default_max_wait_time if you have a high value such as 10, as its possible that the global xpath_elements_to_hide might not always exist it will wait the full time - therefore you can drop it for the hiding and showing of the elements. In this example it would wait up 20 seconds in total 10 for hiding and 10 seconds for re-showing - that is if the element isn't even going to be present on the page. | 2 | Capybara#default_max_wait_time | No |
|
85
88
|
| pixel_threshold | This validates the output from compare is within your specified threshold | 120 | 100 | No |
|
86
89
|
| image_magick_options | This allows you to pass some custom options to image magick | '-fuzz 10% -metric RSME' | '-fuzz 5% -metric AE' | No |
|
90
|
+
|
87
91
|
## Contributing
|
88
92
|
|
89
93
|
Bug reports and pull requests are welcome on GitHub at https://github.com/jnormington/dotdiff.
|
data/dotdiff.gemspec
CHANGED
@@ -12,9 +12,8 @@ Gem::Specification.new do |spec|
|
|
12
12
|
spec.email = ["jnormington@users.noreply.github.com"]
|
13
13
|
spec.platform = 'java' if is_java
|
14
14
|
|
15
|
-
spec.summary = "
|
16
|
-
spec.description = [spec.summary, "which
|
17
|
-
"the DOM is either impossible to not worth it."].join(' ')
|
15
|
+
spec.summary = "Image regression wrapper for Capybara and RSpec using image magick supporting both MRI and JRuby versions"
|
16
|
+
spec.description = [spec.summary, "which supports snap shoting both full page and specific elements on a page where text checks isn't enough"].join(' ')
|
18
17
|
spec.homepage = "https://github.com/jnormington/dotdiff"
|
19
18
|
spec.license = "MIT"
|
20
19
|
|
data/lib/dotdiff/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: dotdiff
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.0.
|
4
|
+
version: 2.0.3
|
5
5
|
platform: java
|
6
6
|
authors:
|
7
7
|
- Jon Normington
|
@@ -80,7 +80,7 @@ dependencies:
|
|
80
80
|
- - "~>"
|
81
81
|
- !ruby/object:Gem::Version
|
82
82
|
version: '2.6'
|
83
|
-
description:
|
83
|
+
description: Image regression wrapper for Capybara and RSpec using image magick supporting both MRI and JRuby versions which supports snap shoting both full page and specific elements on a page where text checks isn't enough
|
84
84
|
email:
|
85
85
|
- jnormington@users.noreply.github.com
|
86
86
|
executables: []
|
@@ -128,5 +128,5 @@ rubyforge_project:
|
|
128
128
|
rubygems_version: 2.6.8
|
129
129
|
signing_key:
|
130
130
|
specification_version: 4
|
131
|
-
summary:
|
131
|
+
summary: Image regression wrapper for Capybara and RSpec using image magick supporting both MRI and JRuby versions
|
132
132
|
test_files: []
|