wraith 1.2.1 → 1.2.2

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 69e2afef8a9bfe10381ce28af28978d563d2beaf
4
- data.tar.gz: 0f693b221e9a91d53580280b0fdbd7b67675ebf2
3
+ metadata.gz: 6737fd591c334bd813dbc07970efe9bea443d762
4
+ data.tar.gz: c1191e025c5fb12056dd8fa15b45a4be5c8027a9
5
5
  SHA512:
6
- metadata.gz: c13ba3140a2f16fac7a34e545361b9594c5c00c67486d121ff0774dfb2abd3f878f8f043684188c2a7251a5289c445e8e327ce6089e3155cfe374880c9ec2790
7
- data.tar.gz: dbe796b62c075b7455b193026be496fc5d1786ba79fd3a575f2cf0c7a198b550ff32f519510b03ca7ac349b660f1929ab52eeee36b37b1284221996d8c70a747
6
+ metadata.gz: a633654b6891f6803e074dffdd3ce37be5b55be336dbe33dfc0872dd16ec07d64878f779a1667e7b67eb864f5447d6eb3ca0e29f44f9b492a74bd2091653e8a2
7
+ data.tar.gz: 80cd0a7d9f9ed8216ab2e9b368f8c44c1e562a7a06dead497096a4f4a8e7d3e2ea27e007c64f02e2585c4262cf4e8e243c799277720637577fcd44f7de967e5f
data/Rakefile CHANGED
@@ -1,4 +1,4 @@
1
- $:.unshift File.join(File.dirname(__FILE__), 'lib')
1
+ $LOAD_PATH.unshift File.join(File.dirname(__FILE__), 'lib')
2
2
 
3
3
  require 'bundler/gem_tasks'
4
4
  require 'wraith/save_images'
@@ -12,15 +12,15 @@ require 'wraith/gallery'
12
12
 
13
13
  @config = ('config')
14
14
 
15
- desc "Execute wraith on two sites with a config you specify"
16
- task :config, [:yaml] do |t, custom|
17
- custom.with_defaults(:yaml => "config")
15
+ desc 'Execute wraith on two sites with a config you specify'
16
+ task :config, [:yaml] do |_t, custom|
17
+ custom.with_defaults(yaml: 'config')
18
18
  @config = "#{custom[:yaml]}"
19
- Rake::Task["default"].invoke
19
+ Rake::Task['default'].invoke
20
20
  end
21
21
 
22
- task :default => [:reset_shots_folder, :check_for_paths, :setup_folders, :save_images, :check_images, :crop_images, :compare_images, :generate_thumbnails, :generate_gallery] do
23
- puts 'Done!';
22
+ task default: [:reset_shots_folder, :check_for_paths, :setup_folders, :save_images, :check_images, :crop_images, :compare_images, :generate_thumbnails, :generate_gallery] do
23
+ puts 'Done!'
24
24
  end
25
25
 
26
26
  task :reset_shots_folder do
@@ -68,14 +68,14 @@ task :generate_gallery do
68
68
  gallery.generate_gallery
69
69
  end
70
70
 
71
- desc "Execute wraith on a single site, no image diffs, with a config you specify"
72
- task :grabber, [:yaml] do |t, custom|
73
- custom.with_defaults(:yaml => "config")
71
+ desc 'Execute wraith on a single site, no image diffs, with a config you specify'
72
+ task :grabber, [:yaml] do |_t, custom|
73
+ custom.with_defaults(yaml: 'config')
74
74
  @config = "#{custom[:yaml]}"
75
- Rake::Task["grab"].invoke
75
+ Rake::Task['grab'].invoke
76
76
  end
77
77
 
78
- desc "Execute wraith on a single site, no image diffs"
79
- task :grab => [:reset_shots_folder, :check_for_paths, :setup_folders, :save_images, :generate_thumbnails, :generate_gallery] do
80
- puts 'Done!';
78
+ desc 'Execute wraith on a single site, no image diffs'
79
+ task grab: [:reset_shots_folder, :check_for_paths, :setup_folders, :save_images, :generate_thumbnails, :generate_gallery] do
80
+ puts 'Done!'
81
81
  end
data/lib/wraith.rb CHANGED
@@ -1,6 +1,5 @@
1
- require "wraith/version"
1
+ require 'wraith/version'
2
2
 
3
3
  module Wraith
4
4
  autoload :CLI, 'wraith/cli'
5
- autoload :Error, 'wraith/error'
6
- end
5
+ end
data/lib/wraith/cli.rb CHANGED
@@ -18,19 +18,19 @@ class Wraith::CLI < Thor
18
18
  File.expand_path('../../../templates/', __FILE__)
19
19
  end
20
20
 
21
- desc "setup", "creates config folder and default config"
21
+ desc 'setup', 'creates config folder and default config'
22
22
  def setup
23
23
  template('configs/config.yaml', 'configs/config.yaml')
24
24
  template('javascript/snap.js', 'javascript/snap.js')
25
25
  end
26
26
 
27
- desc "reset_shots [config_name]", "removes all the files in the shots folder"
27
+ desc 'reset_shots [config_name]', 'removes all the files in the shots folder'
28
28
  def reset_shots(config_name)
29
29
  reset = Wraith::FolderManager.new(config_name)
30
30
  reset.clear_shots_folder
31
31
  end
32
32
 
33
- desc "setup_folders [config_name]", "create folders for images"
33
+ desc 'setup_folders [config_name]', 'create folders for images'
34
34
  def setup_folders(config_name)
35
35
  create = Wraith::FolderManager.new(config_name)
36
36
  create.create_folders
@@ -48,38 +48,38 @@ class Wraith::CLI < Thor
48
48
  end
49
49
  end
50
50
 
51
- desc "save_images [config_name]", "captures screenshots"
51
+ desc 'save_images [config_name]', 'captures screenshots'
52
52
  def save_images(config_name)
53
53
  save_images = Wraith::SaveImages.new(config_name)
54
54
  save_images.save_images
55
55
  end
56
56
 
57
- desc "crop_images [config_name]", "crops images to the same height"
57
+ desc 'crop_images [config_name]', 'crops images to the same height'
58
58
  def crop_images(config_name)
59
59
  crop = Wraith::CropImages.new(config_name)
60
60
  crop.crop_images
61
61
  end
62
62
 
63
- desc "compare_images [config_name]", "compares images to generate diffs"
63
+ desc 'compare_images [config_name]', 'compares images to generate diffs'
64
64
  def compare_images(config_name)
65
65
  compare = Wraith::CompareImages.new(config_name)
66
66
  compare.compare_images
67
67
  end
68
68
 
69
- desc "generate_thumbnails [config_name]", "create thumbnails for gallery"
69
+ desc 'generate_thumbnails [config_name]', 'create thumbnails for gallery'
70
70
  def generate_thumbnails(config_name)
71
71
  thumbs = Wraith::Thumbnails.new(config_name)
72
72
  thumbs.generate_thumbnails
73
73
  end
74
74
 
75
- desc "generate_gallery [config_name]", "create page for viewing images"
75
+ desc 'generate_gallery [config_name]', 'create page for viewing images'
76
76
  def generate_gallery(config_name)
77
77
  gallery = Wraith::GalleryGenerator.new(config_name)
78
78
  gallery.generate_gallery
79
- puts "Gallery generated"
79
+ puts 'Gallery generated'
80
80
  end
81
81
 
82
- desc "capture [config_name]", "A full Wraith job"
82
+ desc 'capture [config_name]', 'A full Wraith job'
83
83
  def capture(config)
84
84
  reset_shots(config)
85
85
  check_for_paths(config)
@@ -12,7 +12,7 @@ class Wraith::CompareImages
12
12
 
13
13
  def compare_images
14
14
  files = Dir.glob("#{wraith.directory}/*/*.png").sort
15
- Parallel.each(files.each_slice(2), :in_processes => Parallel.processor_count) do |base, compare|
15
+ Parallel.each(files.each_slice(2), in_processes: Parallel.processor_count) do |base, compare|
16
16
  diff = base.gsub(/([a-z0-9]+).png$/, 'diff.png')
17
17
  info = base.gsub(/([a-z0-9]+).png$/, 'data.txt')
18
18
  compare_task(base, compare, diff, info)
@@ -29,12 +29,12 @@ class Wraith::CompareImages
29
29
 
30
30
  def compare_task(base, compare, output, info)
31
31
  cmdline = "compare -dissimilarity-threshold 1 -fuzz #{wraith.fuzz} -metric AE -highlight-color blue #{base} #{compare} #{output}"
32
- px_value = Open3.popen3(cmdline) { |stdin, stdout, stderr, wait_thr| stderr.read }.to_f
32
+ px_value = Open3.popen3(cmdline) { |_stdin, _stdout, stderr, _wait_thr| stderr.read }.to_f
33
33
  begin
34
34
  img_size = ImageSize.path(output).size.inject(:*)
35
35
  percentage(img_size, px_value, info)
36
36
  rescue
37
- File.open(info, 'w') { |file| file.write("invalid") } unless File.exists?(output)
37
+ File.open(info, 'w') { |file| file.write('invalid') } unless File.exist?(output)
38
38
  end
39
39
  end
40
40
  end
data/lib/wraith/crop.rb CHANGED
@@ -12,7 +12,7 @@ class Wraith::CropImages
12
12
  def crop_images
13
13
  files = Dir.glob("#{wraith.directory}/*/*.png").sort
14
14
 
15
- Parallel.each(files.each_slice(2), :in_processes => Parallel.processor_count) do |base, compare|
15
+ Parallel.each(files.each_slice(2), in_processes: Parallel.processor_count) do |base, compare|
16
16
  puts 'cropping images'
17
17
 
18
18
  base_height = image_height(base)
@@ -33,7 +33,7 @@ class Wraith::CropImages
33
33
  def image_height(image)
34
34
  File.open(image, 'rb') do |fh|
35
35
  size = ImageSize.new(fh.read).size
36
- height = size[1]
36
+ size[1]
37
37
  end
38
38
  end
39
39
  end
data/lib/wraith/folder.rb CHANGED
@@ -31,9 +31,9 @@ class Wraith::FolderManager
31
31
 
32
32
  def create_folders
33
33
  spider_paths.each do |folder_label, path|
34
- if !path
35
- path = folder_label
36
- folder_label = path.gsub('/', '_')
34
+ unless path
35
+ path = folder_label
36
+ folder_label = path.gsub('/', '_')
37
37
  end
38
38
 
39
39
  FileUtils.mkdir_p("#{dir}/thumbnails/#{folder_label}")
@@ -38,13 +38,13 @@ class Wraith::GalleryGenerator
38
38
  @dirs[category] = {}
39
39
  Dir.foreach("#{dirname}/#{category}") do |filename|
40
40
  match = MATCH_FILENAME.match(filename)
41
- if !match.nil?
41
+ unless match.nil?
42
42
  size = match[1].to_i
43
43
  group = match[2]
44
- filepath = category + "/" + filename
44
+ filepath = category + '/' + filename
45
45
  thumbnail = "thumbnails/#{category}/#{filename}"
46
46
 
47
- unless !@dirs[category][size].nil?
47
+ if @dirs[category][size].nil?
48
48
  @dirs[category][size] = { variants: [] }
49
49
  end
50
50
  size_dict = @dirs[category][size]
@@ -52,31 +52,31 @@ class Wraith::GalleryGenerator
52
52
  case group
53
53
  when 'diff'
54
54
  size_dict[:diff] = {
55
- filename: filepath, thumb: thumbnail
55
+ filename: filepath, thumb: thumbnail
56
56
  }
57
57
  when 'data'
58
58
  size_dict[:data] = File.read("#{dirname}/#{filepath}")
59
59
  else
60
60
  size_dict[:variants] << {
61
- name: group,
62
- filename: filepath,
63
- thumb: thumbnail
64
- }
61
+ name: group,
62
+ filename: filepath,
63
+ thumb: thumbnail
64
+ }
65
65
 
66
66
  end
67
67
  size_dict[:variants].sort! { |a, b| a[:name] <=> b[:name] }
68
68
  end
69
69
  end
70
70
  end
71
- @dirs
71
+ @dirs
72
72
  end
73
73
 
74
74
  def generate_html(location, directories, template, destination, path)
75
75
  template = File.read(template)
76
76
  locals = {
77
- location: location,
78
- directories: directories,
79
- path: path
77
+ location: location,
78
+ directories: directories,
79
+ path: path
80
80
  }
81
81
  html = ERB.new(template).result(ErbBinding.new(locals).get_binding)
82
82
  File.open(destination, 'w') do |outf|
@@ -84,7 +84,7 @@ class Wraith::GalleryGenerator
84
84
  end
85
85
  end
86
86
 
87
- def generate_gallery(withPath="")
87
+ def generate_gallery(withPath = '')
88
88
  dest = "#{@location}/gallery.html"
89
89
  directories = parse_directories(@location)
90
90
  generate_html(@location, directories, TEMPLATE_BY_DOMAIN_LOCATION, dest, withPath)
@@ -12,7 +12,7 @@
12
12
  <body>
13
13
  <div class="container">
14
14
  <div class="row page-header">
15
- <h1>List of screenshots for <%= location %> </h1>
15
+ <h1>List of screenshots for <%= location %> <small>taken <%= Time.now.strftime('%Y/%m/%d %H:%M:%S') %></small></h1>
16
16
  </div>
17
17
  <div class="row">
18
18
  <!-- <%= directories.length %> -->
@@ -22,7 +22,7 @@ class Wraith::SaveImages
22
22
  end
23
23
 
24
24
  def engine
25
- wraith.engine.each { |label, browser| return browser }
25
+ wraith.engine.each { |_label, browser| return browser }
26
26
  end
27
27
 
28
28
  def base_urls(path)
@@ -43,16 +43,16 @@ class Wraith::SaveImages
43
43
 
44
44
  return if File.exist? filename
45
45
 
46
- puts "Failed to capture image #{filename} on attempt number #{i+1} of #{max_attempts}"
46
+ puts "Failed to capture image #{filename} on attempt number #{i + 1} of #{max_attempts}"
47
47
  end
48
48
 
49
- raise "Unable to capture image #{filename} after #{max_attempts} attempt(s)"
49
+ fail "Unable to capture image #{filename} after #{max_attempts} attempt(s)"
50
50
  end
51
51
 
52
52
  def save_images
53
53
  jobs = []
54
54
  check_paths.each do |label, path|
55
- if !path
55
+ unless path
56
56
  path = label
57
57
  label = path.gsub('/', '_')
58
58
  end
@@ -69,13 +69,13 @@ class Wraith::SaveImages
69
69
  end
70
70
  end
71
71
 
72
- Parallel.each(jobs, :in_threads => 8) do |label, path, width, url, filename|
72
+ Parallel.each(jobs, in_threads: 8) do |_label, _path, width, url, filename|
73
73
  begin
74
74
  attempt_image_capture(width, url, filename, 5)
75
- rescue Exception => e
75
+ rescue => e
76
76
  puts e
77
77
 
78
- puts "Using fallback image instead"
78
+ puts 'Using fallback image instead'
79
79
  invalid = File.expand_path('../../assets/invalid.jpg', File.dirname(__FILE__))
80
80
  FileUtils.cp invalid, filename
81
81
 
@@ -13,7 +13,7 @@ class Wraith::Thumbnails
13
13
 
14
14
  files = Dir.glob("#{wraith.directory}/*/*.png")
15
15
 
16
- Parallel.each(files, :in_processes => Parallel.processor_count) do |filename|
16
+ Parallel.each(files, in_processes: Parallel.processor_count) do |filename|
17
17
  new_name = filename.gsub(/^#{wraith.directory}/, "#{wraith.directory}/thumbnails")
18
18
  wraith.thumbnail_image(filename, new_name)
19
19
  end
@@ -1,3 +1,3 @@
1
1
  module Wraith
2
- VERSION = '1.2.1'
2
+ VERSION = '1.2.2'
3
3
  end
data/lib/wraith/wraith.rb CHANGED
@@ -4,7 +4,7 @@ class Wraith::Wraith
4
4
  attr_accessor :config
5
5
 
6
6
  def initialize(config_name)
7
- @config = YAML::load(File.open("configs/#{config_name}.yaml"))
7
+ @config = YAML.load(File.open("configs/#{config_name}.yaml"))
8
8
  end
9
9
 
10
10
  def directory
@@ -69,7 +69,7 @@ class Wraith::Wraith
69
69
  # puts `convert #{crop.gsub('/', '\\')} -background none -extent 0x#{height} #{crop.gsub('/', '\\')}`
70
70
  end
71
71
 
72
- def crop_images(crop, height)
72
+ def crop_images(_crop, _height)
73
73
  self.class.crop_images
74
74
  end
75
75
 
@@ -82,6 +82,6 @@ class Wraith::Wraith
82
82
  def thumbnail_image(png_path, output_path)
83
83
  # For compatibility with windows file structures switch commenting on the following 2 lines
84
84
  `convert #{png_path} -thumbnail 200 -crop 200x200+0+0 #{output_path}`
85
- #`convert #{png_path.gsub('/', '\\')} -thumbnail 200 -crop 200x200+0+0 #{output_path}`
85
+ # `convert #{png_path.gsub('/', '\\')} -thumbnail 200 -crop 200x200+0+0 #{output_path}`
86
86
  end
87
87
  end
data/spec/wraith_spec.rb CHANGED
@@ -1,58 +1,53 @@
1
1
  require 'rspec-given'
2
- require 'wraith'
3
- require 'wraith_manager'
2
+ require 'image_size'
3
+ require './lib/wraith/cli'
4
4
 
5
5
  describe Wraith do
6
6
  Given(:config_name) { 'test_config' }
7
- Given { WraithManager.new(config_name).reset_shots_folder }
8
- Given(:test_url1) { "http://www.live.bbc.co.uk/news" }
9
- Given(:test_url2) { "http://www.live.bbc.co.uk/russian" }
7
+ Given { Wraith::FolderManager.new(config_name).clear_shots_folder }
8
+ Given(:test_url1) { 'http://www.live.bbc.co.uk/news' }
9
+ Given(:test_url2) { 'http://www.live.bbc.co.uk/russian' }
10
10
  Given { Dir.mkdir('shots/test') }
11
11
  Given(:test_image1) { 'shots/test/test1.png' }
12
12
  Given(:test_image2) { 'shots/test/test2.png' }
13
13
  Given(:diff_image) { 'shots/test/test_diff.png' }
14
14
  Given(:data_txt) { 'shots/test/test.txt' }
15
15
 
16
- When(:wraith) { Wraith.new(config_name) }
17
- Then { wraith.is_a? Wraith }
16
+ When(:wraith) { Wraith::Wraith.new(config_name) }
17
+ Then { wraith.is_a? Wraith::Wraith }
18
18
 
19
- context "When creating a wraith worker" do
20
- When(:no_config) { Wraith.new }
21
- Then { no_config.should have_failed(ArgumentError) }
19
+ context 'When creating a wraith worker' do
22
20
 
23
21
  Then { wraith.config.keys.size == 8 }
24
22
  Then { wraith.widths == [320, 600, 768, 1024, 1280] }
25
- Then { wraith.base_domain == "http://www.live.bbc.co.uk/news" }
26
- Then { wraith.comp_domain == "http://www.live.bbc.co.uk/russian" }
27
- Then { wraith.base_domain_label == "english" }
28
- Then { wraith.comp_domain_label == "russian" }
29
- Then { wraith.paths == { "home" => "/", "uk_index" => "/uk" } }
23
+ Then { wraith.base_domain == 'http://pal.live.bbc.com/news' }
24
+ Then { wraith.comp_domain == 'http://pal.live.bbc.co.uk/russian' }
25
+ Then { wraith.base_domain_label == 'english' }
26
+ Then { wraith.comp_domain_label == 'russian' }
27
+ Then { wraith.paths == { 'home' => '/', 'uk_index' => '/uk' } }
30
28
  end
31
29
 
32
- context "When capturing an image" do
30
+ context 'When capturing an image' do
33
31
  # capture_page_image
34
32
  When do
35
- wraith.engine.each do |type, engine|
36
- wraith.capture_page_image( engine, test_url1, 320, test_image1 )
33
+ wraith.engine.each do |_type, engine|
34
+ wraith.capture_page_image(engine, test_url1, 320, test_image1)
37
35
  end
38
36
  end
39
37
  When(:image_size) { ImageSize.path(test_image1).size }
40
38
  Then { image_size[0] == 320 }
41
39
  end
42
40
 
43
- context "When comparing images" do
41
+ context 'When comparing images' do
44
42
  When(:diff_image_size) do
45
- wraith.engine.each do |type, engine|
46
- wraith.capture_page_image( engine, test_url1, 320, test_image1 )
47
- wraith.capture_page_image( engine, test_url2, 320, test_image2 )
43
+ wraith.engine.each do |_type, engine|
44
+ wraith.capture_page_image(engine, test_url1, 320, test_image1)
45
+ wraith.capture_page_image(engine, test_url2, 320, test_image2)
48
46
  end
49
- WraithManager.new(config_name).crop_images
50
- wraith.compare_images( test_image1, test_image2, diff_image, data_txt )
47
+ Wraith::CropImages.new(config_name).crop_images
48
+ Wraith::CompareImages.new(config_name).compare_task(test_image1, test_image2, diff_image, data_txt)
51
49
  ImageSize.path(diff_image).size
52
50
  end
53
51
  Then { diff_image_size[0] == 320 }
54
52
  end
55
-
56
- # crop_images
57
- # thumbnail_image
58
53
  end
data/wraith.gemspec CHANGED
@@ -4,29 +4,29 @@ $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
4
4
  require 'wraith/version'
5
5
 
6
6
  Gem::Specification.new do |spec|
7
- spec.name = "wraith"
7
+ spec.name = 'wraith'
8
8
  spec.version = Wraith::VERSION
9
- spec.authors = ["Dave Blooman", "Simon Thulbourn"]
10
- spec.email = ["david.blooman@gmail.com", "simon+github@thulbourn.com"]
9
+ spec.authors = ['Dave Blooman', 'Simon Thulbourn']
10
+ spec.email = ['david.blooman@gmail.com', 'simon+github@thulbourn.com']
11
11
  spec.summary = 'Wraith is a screenshot comparison tool, created by developers at BBC News.'
12
12
  spec.description = 'Wraith is a screenshot comparison tool, created by developers at BBC News.'
13
- spec.homepage = "https://github.com/BBC-News/wraith"
14
- spec.license = "Apache 2"
13
+ spec.homepage = 'https://github.com/BBC-News/wraith'
14
+ spec.license = 'Apache 2'
15
15
 
16
- spec.files = `git ls-files`.split($/)
16
+ spec.files = `git ls-files`.split($INPUT_RECORD_SEPARATOR)
17
17
  spec.executables = spec.files.grep(%r{^bin/}) { |f| File.basename(f) }
18
18
  spec.test_files = spec.files.grep(%r{^(test|spec|features)/})
19
- spec.require_paths = ["lib"]
19
+ spec.require_paths = ['lib']
20
20
 
21
- spec.add_development_dependency "pry"
22
- spec.add_development_dependency "rspec-given"
21
+ spec.add_development_dependency 'pry'
22
+ spec.add_development_dependency 'rspec-given'
23
23
 
24
- spec.add_runtime_dependency "rake"
25
- spec.add_runtime_dependency "image_size"
26
- spec.add_runtime_dependency "anemone"
27
- spec.add_runtime_dependency "robotex"
28
- spec.add_runtime_dependency "nokogiri"
29
- spec.add_runtime_dependency "log4r"
30
- spec.add_runtime_dependency "thor"
31
- spec.add_runtime_dependency "parallel"
24
+ spec.add_runtime_dependency 'rake'
25
+ spec.add_runtime_dependency 'image_size'
26
+ spec.add_runtime_dependency 'anemone'
27
+ spec.add_runtime_dependency 'robotex'
28
+ spec.add_runtime_dependency 'nokogiri'
29
+ spec.add_runtime_dependency 'log4r'
30
+ spec.add_runtime_dependency 'thor'
31
+ spec.add_runtime_dependency 'parallel'
32
32
  end
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: 1.2.1
4
+ version: 1.2.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Dave Blooman
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2014-06-20 00:00:00.000000000 Z
12
+ date: 2014-06-26 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: pry
@@ -178,7 +178,6 @@ files:
178
178
  - lib/wraith/cli.rb
179
179
  - lib/wraith/compare_images.rb
180
180
  - lib/wraith/crop.rb
181
- - lib/wraith/error.rb
182
181
  - lib/wraith/folder.rb
183
182
  - lib/wraith/gallery.rb
184
183
  - lib/wraith/gallery_template/bootstrap.min.css
data/lib/wraith/error.rb DELETED
@@ -1,3 +0,0 @@
1
- module Wraith::Error
2
-
3
- end