mojo_magick 0.6.4 → 0.6.5

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
  SHA256:
3
- metadata.gz: 5025141b52e80347c3b807c7afca3e1282842903423ca47f635a32a09c1a8cad
4
- data.tar.gz: d9d10064df6a22210782fb0320b1151053eeb58fc7f3092a4d08b14b64b8e032
3
+ metadata.gz: 177811722037322ee39c9c1fe8b164a3ec5e5b138079879aa94e899763f1c195
4
+ data.tar.gz: 36ecfdae665f75a651cc9aca57d91f6cbb8e945ab0252d675fec87051dfc609c
5
5
  SHA512:
6
- metadata.gz: 786f4d9acc00dff0577cad9c0c0f647cb53febc3d02526d9581fe2864bf1cbec727ce41b65cef814c6bde79f602242c078d039d397d0a701075a39fef1ee59b2
7
- data.tar.gz: 700adfed1fcad75866b26ad724fc2b7ffdf7413d1568f5ef026110e7938ade12d22d4aadc70d55cf47771cf4f31760a4244f41678f39503e03343f6dc624bf3f
6
+ metadata.gz: c74521f1ce50257577906ef53ab838fb85a50bc3c8a8d5f2b54917aa0eac091cab3b8e9fc15f477edd6bf6f8f91245e1424177dfdb5fb49e9a81fe893376777a
7
+ data.tar.gz: a0a203c7e3458b750bdc4bfb341385f7ffdb8f48c7752c4533aa5df75cc347d00067e7a37b561838ddd0c3d8ac6a5f1e01bc5cb24cd877986301c09d1ebfab5f
data/Gemfile.lock CHANGED
@@ -1,54 +1,54 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- mojo_magick (0.6.4)
4
+ mojo_magick (0.6.5)
5
5
 
6
6
  GEM
7
7
  remote: https://rubygems.org/
8
8
  specs:
9
- ast (2.4.1)
9
+ ast (2.4.2)
10
10
  bundle-audit (0.1.0)
11
11
  bundler-audit
12
- bundler-audit (0.7.0.1)
12
+ bundler-audit (0.8.0)
13
13
  bundler (>= 1.2.0, < 3)
14
- thor (>= 0.18, < 2)
14
+ thor (~> 1.0)
15
15
  docile (1.3.5)
16
- io-console (0.5.7)
17
- irb (1.3.2)
16
+ io-console (0.5.9)
17
+ irb (1.3.5)
18
18
  reline (>= 0.1.5)
19
- minitest (5.14.2)
20
- parallel (1.19.2)
21
- parser (2.7.2.0)
19
+ minitest (5.14.4)
20
+ parallel (1.20.1)
21
+ parser (3.0.1.0)
22
22
  ast (~> 2.4.1)
23
23
  rainbow (3.0.0)
24
24
  rake (13.0.3)
25
- regexp_parser (1.8.2)
26
- reline (0.2.2)
25
+ regexp_parser (2.1.1)
26
+ reline (0.2.5)
27
27
  io-console (~> 0.5)
28
- rexml (3.2.4)
29
- rubocop (1.1.0)
28
+ rexml (3.2.5)
29
+ rubocop (1.13.0)
30
30
  parallel (~> 1.10)
31
- parser (>= 2.7.1.5)
31
+ parser (>= 3.0.0.0)
32
32
  rainbow (>= 2.2.2, < 4.0)
33
- regexp_parser (>= 1.8)
33
+ regexp_parser (>= 1.8, < 3.0)
34
34
  rexml
35
- rubocop-ast (>= 1.0.1)
35
+ rubocop-ast (>= 1.2.0, < 2.0)
36
36
  ruby-progressbar (~> 1.7)
37
- unicode-display_width (>= 1.4.0, < 2.0)
38
- rubocop-ast (1.1.1)
37
+ unicode-display_width (>= 1.4.0, < 3.0)
38
+ rubocop-ast (1.4.1)
39
39
  parser (>= 2.7.1.5)
40
- rubocop-performance (1.8.1)
41
- rubocop (>= 0.87.0)
40
+ rubocop-performance (1.11.0)
41
+ rubocop (>= 1.7.0, < 2.0)
42
42
  rubocop-ast (>= 0.4.0)
43
- ruby-progressbar (1.10.1)
43
+ ruby-progressbar (1.11.0)
44
44
  simplecov (0.21.2)
45
45
  docile (~> 1.1)
46
46
  simplecov-html (~> 0.11)
47
47
  simplecov_json_formatter (~> 0.1)
48
48
  simplecov-html (0.12.3)
49
49
  simplecov_json_formatter (0.1.2)
50
- thor (1.0.1)
51
- unicode-display_width (1.7.0)
50
+ thor (1.1.0)
51
+ unicode-display_width (2.0.0)
52
52
 
53
53
  PLATFORMS
54
54
  ruby
data/README.md CHANGED
@@ -211,6 +211,12 @@ in the new code
211
211
 
212
212
  Recent Changes
213
213
  ==============
214
+
215
+ #### Version 0.6.4
216
+
217
+ * Fix issue with `identity -list font` returning exit code 1 on some systems (Ubuntu) with PR #https://github.com/rcode5/mojo_magick/pull/35
218
+ 35
219
+
214
220
  #### Version 0.6.3
215
221
 
216
222
  * Major cleanup and refactor (https://github.com/rcode5/mojo_magick/pull/33)
@@ -1,5 +1,7 @@
1
1
  module MojoMagick
2
2
  class MojoMagickException < StandardError; end
3
+
3
4
  class MojoError < MojoMagickException; end
5
+
4
6
  class MojoFailed < MojoMagickException; end
5
7
  end
@@ -58,7 +58,7 @@ module MojoMagick
58
58
  end
59
59
 
60
60
  # Generic commands. Arguments will be formatted if necessary
61
- # rubocop:disable Lint/MissingSuper, Style/MissingRespondToMissing
61
+ # rubocop:disable Style/MissingRespondToMissing
62
62
  def method_missing(command, *args)
63
63
  @opts << if command.to_s[-1, 1] == "!"
64
64
  "+#{command.to_s.chop}"
@@ -69,7 +69,7 @@ module MojoMagick
69
69
  self
70
70
  end
71
71
 
72
- # rubocop:enable Lint/MissingSuper, Style/MissingRespondToMissing
72
+ # rubocop:enable Style/MissingRespondToMissing
73
73
  def to_a
74
74
  @opts.flatten
75
75
  end
@@ -10,7 +10,7 @@ module MojoMagick
10
10
 
11
11
  def parse
12
12
  fonts = {}
13
- enumerator = raw_fonts.split(/\n/).each
13
+ enumerator = raw_fonts.split("\n").each
14
14
  name = nil
15
15
  while begin; line = enumerator.next; rescue StopIteration; line = nil; end
16
16
  line.chomp!
@@ -30,7 +30,7 @@ module MojoMagick
30
30
  private
31
31
 
32
32
  def extract_key_value(line)
33
- key_val = line.split(/:/).map(&:strip)
33
+ key_val = line.split(":").map(&:strip)
34
34
  [key_val[0].downcase.to_sym, key_val[1]]
35
35
  end
36
36
 
@@ -1,3 +1,3 @@
1
1
  module MojoMagick
2
- VERSION = "0.6.4"
2
+ VERSION = "0.6.5"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: mojo_magick
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.6.4
4
+ version: 0.6.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Steve Midgley
@@ -10,7 +10,7 @@ authors:
10
10
  autorequire:
11
11
  bindir: bin
12
12
  cert_chain: []
13
- date: 2021-01-24 00:00:00.000000000 Z
13
+ date: 2021-05-01 00:00:00.000000000 Z
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
16
  name: bundle-audit
@@ -169,7 +169,7 @@ requirements: []
169
169
  rubygems_version: 3.0.3
170
170
  signing_key:
171
171
  specification_version: 4
172
- summary: mojo_magick-0.6.4
172
+ summary: mojo_magick-0.6.5
173
173
  test_files:
174
174
  - test/fixtures/5742.jpg
175
175
  - test/fixtures/not_an_image.jpg