wraith 3.1.6 → 3.1.7
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/wraith/helpers/custom_exceptions.rb +3 -0
- data/lib/wraith/version.rb +1 -1
- data/lib/wraith/wraith.rb +1 -2
- data/spec/validate_spec.rb +4 -0
- data/wraith.gemspec +1 -1
- metadata +5 -5
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 02fadcef6fa8e50ed88c7f72d09a784aba46fe5e
|
4
|
+
data.tar.gz: 422b7af9bd80ca378cc1c38a22b2916513a7716f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e21ee89483e20176394a24e5db09a8c4166af6e02c07ac913a41dfd2033276ee4bc2e81a1d82fca262aa5e4f8f09ff3f546e10f08c24e3127942c0e5388de0a3
|
7
|
+
data.tar.gz: 4ca116347fc048020ac2c1504355f2392627b3ed98d03c1b9daa5b0536af9f847eb737d2bfd79fa24e79bcfbeafe244e41fd95b1b5e5c6b84565b1406994c983
|
data/lib/wraith/version.rb
CHANGED
data/lib/wraith/wraith.rb
CHANGED
data/spec/validate_spec.rb
CHANGED
@@ -26,6 +26,10 @@ describe "Wraith config validator" do
|
|
26
26
|
config["browser"] = nil
|
27
27
|
expect { Wraith::Validate.new(config, true).validate }.to raise_error MissingRequiredPropertyError
|
28
28
|
end
|
29
|
+
|
30
|
+
it "should complain if the config file doesn't exist" do
|
31
|
+
expect { Wraith::Wraith.new('configs/some_made_up_config.yml') }.to raise_error ConfigFileDoesNotExistError
|
32
|
+
end
|
29
33
|
end
|
30
34
|
|
31
35
|
describe "validation specific to capture mode" do
|
data/wraith.gemspec
CHANGED
@@ -25,7 +25,7 @@ Gem::Specification.new do |spec|
|
|
25
25
|
spec.add_runtime_dependency 'image_size'
|
26
26
|
spec.add_runtime_dependency 'anemone'
|
27
27
|
spec.add_runtime_dependency 'robotex'
|
28
|
-
spec.add_runtime_dependency 'nokogiri', '1.6.7'
|
28
|
+
spec.add_runtime_dependency 'nokogiri', '~> 1.6.7'
|
29
29
|
spec.add_runtime_dependency 'log4r'
|
30
30
|
spec.add_runtime_dependency 'thor'
|
31
31
|
spec.add_runtime_dependency 'parallel'
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: wraith
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 3.1.
|
4
|
+
version: 3.1.7
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Dave Blooman
|
@@ -10,7 +10,7 @@ authors:
|
|
10
10
|
autorequire:
|
11
11
|
bindir: bin
|
12
12
|
cert_chain: []
|
13
|
-
date: 2016-
|
13
|
+
date: 2016-05-16 00:00:00.000000000 Z
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|
16
16
|
name: pry
|
@@ -100,14 +100,14 @@ dependencies:
|
|
100
100
|
name: nokogiri
|
101
101
|
requirement: !ruby/object:Gem::Requirement
|
102
102
|
requirements:
|
103
|
-
- -
|
103
|
+
- - ~>
|
104
104
|
- !ruby/object:Gem::Version
|
105
105
|
version: 1.6.7
|
106
106
|
type: :runtime
|
107
107
|
prerelease: false
|
108
108
|
version_requirements: !ruby/object:Gem::Requirement
|
109
109
|
requirements:
|
110
|
-
- -
|
110
|
+
- - ~>
|
111
111
|
- !ruby/object:Gem::Version
|
112
112
|
version: 1.6.7
|
113
113
|
- !ruby/object:Gem::Dependency
|
@@ -264,7 +264,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
264
264
|
version: '0'
|
265
265
|
requirements: []
|
266
266
|
rubyforge_project:
|
267
|
-
rubygems_version: 2.4.
|
267
|
+
rubygems_version: 2.4.7
|
268
268
|
signing_key:
|
269
269
|
specification_version: 4
|
270
270
|
summary: Wraith is a screenshot comparison tool, created by developers at BBC News.
|