mojo_magick 0.6.4 → 0.6.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: 5025141b52e80347c3b807c7afca3e1282842903423ca47f635a32a09c1a8cad
4
- data.tar.gz: d9d10064df6a22210782fb0320b1151053eeb58fc7f3092a4d08b14b64b8e032
3
+ metadata.gz: 9192cc8d7fec595d7ddeb40fae1a6d4ec3bade112516cdb2fba844a11ec047db
4
+ data.tar.gz: 5302355fba0c3ae98e72881b2783016b07dacd8a238f4d15ec567cdb4ef6f989
5
5
  SHA512:
6
- metadata.gz: 786f4d9acc00dff0577cad9c0c0f647cb53febc3d02526d9581fe2864bf1cbec727ce41b65cef814c6bde79f602242c078d039d397d0a701075a39fef1ee59b2
7
- data.tar.gz: 700adfed1fcad75866b26ad724fc2b7ffdf7413d1568f5ef026110e7938ade12d22d4aadc70d55cf47771cf4f31760a4244f41678f39503e03343f6dc624bf3f
6
+ metadata.gz: c4d74b3bb2e68070fd39c10a96b314a5d22bff1f7448acdd07fc1022f0ee4a00110e0cbed974c700e1a81c645ec47932f2692e86cd9bc3f16445910acd4081be
7
+ data.tar.gz: 94fb6387f676b5e8b530abe262d0b563753ec14539ef8866252da6f4e0d013bd31408bd69df93387990edde2465739843ec36a9f3940fedcee60e2633fbc8d1b
data/.circleci/config.yml CHANGED
@@ -1,6 +1,6 @@
1
1
  version: 2.1
2
2
  orbs:
3
- ruby: circleci/ruby@1.1.2
3
+ ruby: circleci/ruby@1.1.4
4
4
 
5
5
  jobs:
6
6
  build:
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.7)
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.9.0.1)
13
13
  bundler (>= 1.2.0, < 3)
14
- thor (>= 0.18, < 2)
15
- docile (1.3.5)
16
- io-console (0.5.7)
17
- irb (1.3.2)
18
- reline (>= 0.1.5)
19
- minitest (5.14.2)
20
- parallel (1.19.2)
21
- parser (2.7.2.0)
14
+ thor (~> 1.0)
15
+ docile (1.4.0)
16
+ io-console (0.5.11)
17
+ irb (1.4.1)
18
+ reline (>= 0.3.0)
19
+ minitest (5.15.0)
20
+ parallel (1.22.1)
21
+ parser (3.1.1.0)
22
22
  ast (~> 2.4.1)
23
- rainbow (3.0.0)
24
- rake (13.0.3)
25
- regexp_parser (1.8.2)
26
- reline (0.2.2)
23
+ rainbow (3.1.1)
24
+ rake (13.0.6)
25
+ regexp_parser (2.2.1)
26
+ reline (0.3.1)
27
27
  io-console (~> 0.5)
28
- rexml (3.2.4)
29
- rubocop (1.1.0)
28
+ rexml (3.2.5)
29
+ rubocop (1.26.1)
30
30
  parallel (~> 1.10)
31
- parser (>= 2.7.1.5)
31
+ parser (>= 3.1.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.16.0, < 2.0)
36
36
  ruby-progressbar (~> 1.7)
37
- unicode-display_width (>= 1.4.0, < 2.0)
38
- rubocop-ast (1.1.1)
39
- parser (>= 2.7.1.5)
40
- rubocop-performance (1.8.1)
41
- rubocop (>= 0.87.0)
37
+ unicode-display_width (>= 1.4.0, < 3.0)
38
+ rubocop-ast (1.16.0)
39
+ parser (>= 3.1.1.0)
40
+ rubocop-performance (1.13.3)
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
- simplecov_json_formatter (0.1.2)
50
- thor (1.0.1)
51
- unicode-display_width (1.7.0)
49
+ simplecov_json_formatter (0.1.4)
50
+ thor (1.2.1)
51
+ unicode-display_width (2.1.0)
52
52
 
53
53
  PLATFORMS
54
54
  ruby
data/README.md CHANGED
@@ -211,12 +211,30 @@ in the new code
211
211
 
212
212
  Recent Changes
213
213
  ==============
214
+
215
+ #### Version 0.6.7
216
+
217
+ * Bundle update
218
+
219
+ #### Version 0.6.6
220
+
221
+ * Bundle update
222
+
223
+ #### Version 0.6.5
224
+
225
+ * Bundle update
226
+
227
+ #### Version 0.6.4
228
+
229
+ * Fix issue with `identity -list font` returning exit code 1 on some systems (Ubuntu) with PR #https://github.com/rcode5/mojo_magick/pull/35
230
+ 35
231
+
214
232
  #### Version 0.6.3
215
233
 
216
234
  * Major cleanup and refactor (https://github.com/rcode5/mojo_magick/pull/33)
217
235
  * Deprecated `MojoMagick.get_fonts` in favor of `MojoMagick.available_fonts`
218
236
  * Moved `raw_command` and `execute` and `execute!` methods into their own module (and added deprecation warnings)
219
- * Renamed `Util::Parser` to `Util::FontParser` because that's what it does
237
+ * Renamed `Util::Parser` to `Util::FontParser` because that's what it does
220
238
  * Overall rubocop and ruby clean up
221
239
 
222
240
  #### Version 0.6.2
@@ -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.7"
3
3
  end
data/mojo_magick.gemspec CHANGED
@@ -38,4 +38,5 @@ Gem::Specification.new do |s|
38
38
  s.add_development_dependency("rubocop-performance")
39
39
 
40
40
  s.post_install_message = post_install_message
41
+ s.metadata["rubygems_mfa_required"] = "true"
41
42
  end
metadata CHANGED
@@ -1,16 +1,16 @@
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.7
5
5
  platform: ruby
6
6
  authors:
7
7
  - Steve Midgley
8
8
  - Elliot Nelson
9
9
  - Jon Rogers
10
- autorequire:
10
+ autorequire:
11
11
  bindir: bin
12
12
  cert_chain: []
13
- date: 2021-01-24 00:00:00.000000000 Z
13
+ date: 2022-04-01 00:00:00.000000000 Z
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
16
  name: bundle-audit
@@ -142,7 +142,8 @@ files:
142
142
  homepage: http://github.com/rcode5/mojo_magick
143
143
  licenses:
144
144
  - MIT
145
- metadata: {}
145
+ metadata:
146
+ rubygems_mfa_required: 'true'
146
147
  post_install_message: |2+
147
148
 
148
149
  Thanks for installing MojoMagick - keepin it simple!
@@ -167,9 +168,9 @@ required_rubygems_version: !ruby/object:Gem::Requirement
167
168
  version: '0'
168
169
  requirements: []
169
170
  rubygems_version: 3.0.3
170
- signing_key:
171
+ signing_key:
171
172
  specification_version: 4
172
- summary: mojo_magick-0.6.4
173
+ summary: mojo_magick-0.6.7
173
174
  test_files:
174
175
  - test/fixtures/5742.jpg
175
176
  - test/fixtures/not_an_image.jpg
@@ -180,4 +181,3 @@ test_files:
180
181
  - test/mojo_magick_test.rb
181
182
  - test/opt_builder_test.rb
182
183
  - test/test_helper.rb
183
- ...