diffux_ci 0.3.0 → 0.3.1
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 +4 -4
- data/lib/diffux_ci_runner.rb +3 -3
- data/lib/diffux_ci_version.rb +1 -1
- data/lib/views/debug.erb +1 -0
- data/lib/views/index.erb +1 -0
- data/lib/views/review.erb +1 -0
- metadata +5 -3
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 0434bae3bc243b30200763f7503dec75c2f884c1
|
|
4
|
+
data.tar.gz: fab849f9e3bad3c2286f689beca20ab2bcee7957
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 3cd2f4c3c22a01247ad075259954c2c8815a412b7f77fb20c201210877f826b515a6e9fdf62e660492dba84bf02ceb410c28526781485460680046306f9145ea
|
|
7
|
+
data.tar.gz: 5c516aff788a20ad96cf7e9992647940b7d481f5edc70de3dd3cf32956e708cbe57d896492144bdb5883bfae6b0b20320eb004d74cb4c55e4472b20872a4c414
|
data/lib/diffux_ci_runner.rb
CHANGED
|
@@ -143,11 +143,11 @@ begin
|
|
|
143
143
|
# image to disk. This will allow it to be reviewed by someone.
|
|
144
144
|
diff_path = DiffuxCIUtils.path_to(
|
|
145
145
|
description, viewport['name'], 'diff.png')
|
|
146
|
-
comparison[:diff_image].save(diff_path, :
|
|
146
|
+
comparison[:diff_image].save(diff_path, :fast_rgba)
|
|
147
147
|
|
|
148
148
|
candidate_path = DiffuxCIUtils.path_to(
|
|
149
149
|
description, viewport['name'], 'candidate.png')
|
|
150
|
-
screenshot.save(candidate_path, :
|
|
150
|
+
screenshot.save(candidate_path, :fast_rgba)
|
|
151
151
|
|
|
152
152
|
puts "#{comparison[:diff_in_percent].round(1)}% (#{candidate_path})"
|
|
153
153
|
else
|
|
@@ -163,7 +163,7 @@ begin
|
|
|
163
163
|
unless File.directory?(dirname = File.dirname(baseline_path))
|
|
164
164
|
FileUtils.mkdir_p(dirname)
|
|
165
165
|
end
|
|
166
|
-
screenshot.save(baseline_path, :
|
|
166
|
+
screenshot.save(baseline_path, :fast_rgba)
|
|
167
167
|
puts "First snapshot created (#{baseline_path})"
|
|
168
168
|
end
|
|
169
169
|
end
|
data/lib/diffux_ci_version.rb
CHANGED
data/lib/views/debug.erb
CHANGED
data/lib/views/index.erb
CHANGED
data/lib/views/review.erb
CHANGED
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: diffux_ci
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.3.
|
|
4
|
+
version: 0.3.1
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Henric Trotzig
|
|
@@ -9,7 +9,7 @@ authors:
|
|
|
9
9
|
autorequire:
|
|
10
10
|
bindir: bin
|
|
11
11
|
cert_chain: []
|
|
12
|
-
date: 2015-
|
|
12
|
+
date: 2015-10-19 00:00:00.000000000 Z
|
|
13
13
|
dependencies:
|
|
14
14
|
- !ruby/object:Gem::Dependency
|
|
15
15
|
name: diffux-core
|
|
@@ -126,7 +126,9 @@ dependencies:
|
|
|
126
126
|
- !ruby/object:Gem::Version
|
|
127
127
|
version: 0.3.22
|
|
128
128
|
description: Diffux-CI, a perceptual diff tool for JS components
|
|
129
|
-
email:
|
|
129
|
+
email:
|
|
130
|
+
- henric.trotzig@gmail.com
|
|
131
|
+
- joe.lencioni@gmail.com
|
|
130
132
|
executables:
|
|
131
133
|
- diffux_ci
|
|
132
134
|
extensions: []
|