pixel_matcher 0.0.6 → 0.0.7

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
  SHA256:
3
- metadata.gz: 9878d36f90fea82db8e1d5411b36b5d72d20d8353de7829ac7d90774ceb49396
4
- data.tar.gz: f7bfb4d812e76a101ff2405af772c2d6706ff899c05d606984cb71c75440c181
3
+ metadata.gz: 7e8ed1603d24011ff6a40572fbe4c56113bd4c621e3ec90202a5ec397a37eaec
4
+ data.tar.gz: a289bb85f9d3cd79106d94525622ddca013c229678a502c55676bdd9d8e92f15
5
5
  SHA512:
6
- metadata.gz: 12546f60584e1c87744457e5eb8961cd5ceca0b27fefff265f1014c22cc9aee4c8559ce6023aabde4fdc30593774da2fecb981e3428939e9a34f6797dffe1f68
7
- data.tar.gz: a2a76e6ffa2e0acb99434fbd336be3b70b4488ac9cf2903aba1af358bce04091209b2dc17d3eb6c3385483b25bacea0c047c09af31d30261785f8a1136b2c993
6
+ metadata.gz: b18b6e5d2bf3945708d9ddf162cc475370df6a1bafbab8b543d8363a1015cdffa6515a122c83bdeffa2003322f2c8b8820ce589cfe8d79f6d6e066d01b6535da
7
+ data.tar.gz: e60dafcb65b7ed3e5bd891af23e8702a052fb9e3c4d86c238e2565b77deabac2b34c6b9c65a2619affb5a7325d79d1b16f3bf789997029a78d6c141b7f530ed0
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- pixel_matcher (0.0.6)
4
+ pixel_matcher (0.0.7)
5
5
  rmagick (~> 4.0)
6
6
 
7
7
  GEM
data/README.md CHANGED
@@ -29,6 +29,7 @@ Or install it yourself as:
29
29
 
30
30
  ## Usage
31
31
 
32
+ ### Library
32
33
  ```ruby
33
34
  require 'pixel_matcher'
34
35
 
@@ -52,6 +53,11 @@ diff.export('gray_scale.png', mode: :gray_scale)
52
53
  diff.export('compare.png', mode: :compare)
53
54
  ```
54
55
 
56
+ ### CLI tool
57
+ ```bash
58
+ $ pixel_matcher img1.png img2.png diff.png
59
+ ```
60
+
55
61
 
56
62
  ## Development
57
63
 
@@ -9,6 +9,6 @@ path2 = ARGV[1]
9
9
  output_path = ARGV[2]
10
10
 
11
11
  diff = PixelMatcher::DiffImage.from_path(path1, path2)
12
- diff.export_diff(output_path)
12
+ diff.export(output_path)
13
13
 
14
- puts "Generated diff image : #{output_path}"
14
+ puts "Generated diff image : #{output_path}"
@@ -1,3 +1,3 @@
1
1
  module PixelMatcher
2
- VERSION = "0.0.6"
2
+ VERSION = "0.0.7"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: pixel_matcher
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.6
4
+ version: 0.0.7
5
5
  platform: ruby
6
6
  authors:
7
7
  - ksk001100
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2020-01-15 00:00:00.000000000 Z
11
+ date: 2020-01-20 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rmagick