wraith 1.3.5 → 1.3.6

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: 2ebfe5fe37180bb6b77b632d78b74413b40128a3
4
- data.tar.gz: 5bb9c8ddbd01aa5ecfbcaa468b0b783d41b6d2aa
3
+ metadata.gz: dc38ae6e0abd45100f8acc5518a2016dd586766c
4
+ data.tar.gz: 02ecf8c6df92278b7913c594d430f75d83bf32a3
5
5
  SHA512:
6
- metadata.gz: ab0f30baf5818b3846a615480f8814b222e332a2f6a19c9ba1a01bb86b62ae8859ecde98687d657398a8c4e19de91959f7ec4333dff8525fdfefb1afe74850a6
7
- data.tar.gz: 56ef8eaa0b758e8c0566502ebc88446596af3e2e49d84456e7b621dc358d11ef291b394b4f11585b46747b948df8606b41b8cbd6814dc280198dbc23e9746d59
6
+ metadata.gz: 0dc03f057c40ab10406c2e93316b04387d99da3c2ce5fa58f2c5fdc7e89fe7dc65fc56b4e5e3d8073593c681805f111211d609315da49794ffdf9e056f58ed2e
7
+ data.tar.gz: 97ab8361213dda8d3d5e96fdcf6592d9b99b6e02d549d2f4406e407c166bc848961346fdfa590f2e5a3f628d054c7f1752e69b6c1a0727b135ade14ff9788f66
data/README.md CHANGED
@@ -96,3 +96,18 @@ Take a look at the LICENSE file in the code.
96
96
  * [Dave Blooman](http://twitter.com/dblooman)
97
97
  * [John Cleveley](http://twitter.com/jcleveley)
98
98
  * [Simon Thulbourn](http://twitter.com/sthulbourn)
99
+
100
+ ## Selenium-Wraith
101
+
102
+ Anyone interested in integrating selenium capability with Wraith should check out
103
+ Selenium-Wraith by Andrew Tekle-Cadman of Future Visible.
104
+
105
+ Selenium-Wraith was forked from the BBC repo on 16/04/14 and adds the following capabilities to Wraith
106
+
107
+ 1. Selenium integration, both running locally on a desktop or on a selenium grid
108
+ 2. Browser to browser screenshot comparison
109
+ 3. Page component-based comparison
110
+
111
+ You can check out Andrew's Project on GitHub here:
112
+
113
+ https://github.com/andrewccadman/wraith-selenium
data/lib/wraith/cli.rb CHANGED
@@ -92,4 +92,20 @@ class Wraith::CLI < Thor
92
92
  capture(config.chomp)
93
93
  end
94
94
  end
95
+
96
+ desc 'history [config_name]', 'Setup a baseline set of shots'
97
+ def history(config)
98
+ reset_shots(config)
99
+ setup_folders(config)
100
+ save_images(config)
101
+ end
102
+
103
+ desc 'latest [config_name]', 'Capture new shots to compare with baseline'
104
+ def latest(config)
105
+ save_images(config)
106
+ crop_images(config)
107
+ compare_images(config)
108
+ generate_thumbnails(config)
109
+ generate_gallery(config)
110
+ end
95
111
  end
@@ -1,3 +1,3 @@
1
1
  module Wraith
2
- VERSION = '1.3.5'
2
+ VERSION = '1.3.6'
3
3
  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.3.5
4
+ version: 1.3.6
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-08-15 00:00:00.000000000 Z
12
+ date: 2014-09-12 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: pry