wraith 3.1.1 → 3.1.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: 7cfd12ddc2a452f6dffc57109d8941fee8d6e3f3
4
- data.tar.gz: 6ea9037c3abd03977b8602bdbb8e34da62781a17
3
+ metadata.gz: 2234a11b8548aac2bd199ae784311b52a9102480
4
+ data.tar.gz: c8afeecbe1da85c8d251f16c3aebc98da0f8dad2
5
5
  SHA512:
6
- metadata.gz: cbd574be34e7d10ffebb118b1df7cee44f93031166afa35363e63996475ac2220c5ab651ef4c224b308ca3c18f2c49002bb2a8737b36da03324ff92f26986c8b
7
- data.tar.gz: e18eda8062445c426268d3715e119f5e5f299b69ed8b220ba94266c6a6f56cbfa500fac358b09de2d7220fbcdbb5fdb7afc600c1f4914627fbb78d08abb73774
6
+ metadata.gz: b93b59d02beb230f6b21da591fe7bbf0893fe9d5c410654459c30e6b3549d4ff6284b10a2f6f9ef8e92d4108095c4c718943e768c4fe22262cafd0d6305a6f78
7
+ data.tar.gz: ca7af6a875b05e382465974bc85ba6390dae954cd08945532c5bcd187cfe90f44b70f330537c2e435e54f39f0268812f1201fa0fedbbd22975e05e2920084338
@@ -1,3 +1,3 @@
1
1
  module Wraith
2
- VERSION = "3.1.1"
2
+ VERSION = "3.1.2"
3
3
  end
data/lib/wraith/wraith.rb CHANGED
@@ -22,12 +22,12 @@ class Wraith::Wraith
22
22
 
23
23
  possible_filenames.each do |filepath|
24
24
  if File.exist?(filepath)
25
- config = File.open config_name
25
+ config = File.open filepath
26
26
  return YAML.load config
27
27
  end
28
28
  end
29
29
  rescue
30
- logger.error "unable to find config \"#{config}\""
30
+ logger.error "unable to find config \"#{config_name}\""
31
31
  end
32
32
 
33
33
  def directory
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.1
4
+ version: 3.1.2
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-02-28 00:00:00.000000000 Z
13
+ date: 2016-02-29 00:00:00.000000000 Z
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
16
  name: pry
@@ -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.8
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.