rmagick 6.0.1 → 6.1.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (56) hide show
  1. checksums.yaml +4 -4
  2. data/.devcontainer/ImageMagick6/devcontainer.json +2 -2
  3. data/.devcontainer/devcontainer.json +2 -2
  4. data/.editorconfig +2 -2
  5. data/.github/workflows/ci.yml +46 -13
  6. data/.rubocop.yml +4 -0
  7. data/.rubocop_todo.yml +53 -56
  8. data/CHANGELOG.md +15 -0
  9. data/Gemfile +4 -0
  10. data/README.md +11 -6
  11. data/Rakefile +10 -2
  12. data/before_install_linux.sh +3 -1
  13. data/before_install_osx.sh +1 -1
  14. data/ext/RMagick/extconf.rb +12 -97
  15. data/ext/RMagick/rmagick.h +1 -1
  16. data/ext/RMagick/rmilist.cpp +1 -1
  17. data/ext/RMagick/rmimage.cpp +2 -0
  18. data/lib/rmagick/version.rb +1 -1
  19. data/lib/rmagick_internal.rb +2 -2
  20. data/lib/rvg/clippath.rb +2 -0
  21. data/lib/rvg/container.rb +2 -0
  22. data/lib/rvg/deep_equal.rb +2 -0
  23. data/lib/rvg/describable.rb +2 -0
  24. data/lib/rvg/embellishable.rb +2 -0
  25. data/lib/rvg/misc.rb +2 -0
  26. data/lib/rvg/paint.rb +2 -0
  27. data/lib/rvg/pathdata.rb +2 -0
  28. data/lib/rvg/rvg.rb +2 -0
  29. data/lib/rvg/stretchable.rb +2 -0
  30. data/lib/rvg/stylable.rb +2 -0
  31. data/lib/rvg/text.rb +2 -0
  32. data/lib/rvg/transformable.rb +2 -0
  33. data/lib/rvg/units.rb +2 -0
  34. data/rmagick.gemspec +5 -3
  35. data/sig/rmagick/_draw_common_methods.rbs +2 -0
  36. data/sig/rmagick/_image_common_methods.rbs +4 -2
  37. data/sig/rmagick/draw.rbs +2 -0
  38. data/sig/rmagick/draw_attribute.rbs +2 -0
  39. data/sig/rmagick/enum.rbs +6 -4
  40. data/sig/rmagick/error.rbs +2 -0
  41. data/sig/rmagick/fill.rbs +2 -0
  42. data/sig/rmagick/geometry.rbs +3 -1
  43. data/sig/rmagick/image.rbs +5 -3
  44. data/sig/rmagick/image_list.rbs +23 -21
  45. data/sig/rmagick/iptc.rbs +2 -0
  46. data/sig/rmagick/kernel_info.rbs +2 -0
  47. data/sig/rmagick/optional_method_arguments.rbs +2 -0
  48. data/sig/rmagick/pixel.rbs +2 -0
  49. data/sig/rmagick/struct.rbs +2 -0
  50. data/sig/rvg/embellishable.rbs +1 -1
  51. data/sig/rvg/pathdata.rbs +1 -1
  52. data/sig/rvg/rvg.rbs +1 -1
  53. data/sig/rvg/stylable.rbs +1 -1
  54. data/sig/rvg/text.rbs +1 -1
  55. data/sig/rvg/transformable.rbs +1 -1
  56. metadata +4 -6
data/sig/rvg/rvg.rbs CHANGED
@@ -55,7 +55,7 @@ module Magick
55
55
  private
56
56
 
57
57
  def bgfill: () -> Magick::Pixel
58
- def new_canvas: () -> Magick::Image
58
+ def new_canvas: () -> Magick::Image
59
59
 
60
60
  public
61
61
 
data/sig/rvg/stylable.rbs CHANGED
@@ -8,7 +8,7 @@ module Magick
8
8
  def each_value: () { (Symbol, untyped) -> void } -> void
9
9
 
10
10
  # The "usual" deep_copy method doesn't copy a Struct correctly.
11
- def deep_copy: (?untyped? _h) -> Styles
11
+ def deep_copy: (?untyped _h) -> Styles
12
12
 
13
13
  def self.new: (*untyped obj) -> Styles
14
14
  end
data/sig/rvg/text.rbs CHANGED
@@ -17,7 +17,7 @@ module Magick
17
17
  include Duplicatable
18
18
 
19
19
  def initialize: (interned? text) -> void
20
- | (interned? text) { (self) -> void } -> void
20
+ | (interned? text) { (self) -> void } -> void
21
21
 
22
22
  # Create a new text chunk. Each chunk can have its own initial position and styles.
23
23
  # If <tt>x</tt> and <tt>y</tt> are omitted the text starts at the current text
@@ -4,7 +4,7 @@ module Magick
4
4
  # During unit-testing it also has a deep_equal method.
5
5
  # @private
6
6
  class Transforms < Array[untyped]
7
- def deep_copy: (?untyped? _h) -> Transforms
7
+ def deep_copy: (?untyped _h) -> Transforms
8
8
  end
9
9
 
10
10
  # Transformations are operations on the coordinate system.
metadata CHANGED
@@ -1,17 +1,16 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rmagick
3
3
  version: !ruby/object:Gem::Version
4
- version: 6.0.1
4
+ version: 6.1.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Tim Hunter
8
8
  - Omer Bar-or
9
9
  - Benjamin Thomas
10
10
  - Moncef Maiza
11
- autorequire:
12
11
  bindir: bin
13
12
  cert_chain: []
14
- date: 2024-05-15 00:00:00.000000000 Z
13
+ date: 2025-01-18 00:00:00.000000000 Z
15
14
  dependencies:
16
15
  - !ruby/object:Gem::Dependency
17
16
  name: observer
@@ -141,7 +140,7 @@ metadata:
141
140
  bug_tracker_uri: https://github.com/rmagick/rmagick/issues
142
141
  documentation_uri: https://rmagick.github.io/
143
142
  changelog_uri: https://github.com/rmagick/rmagick/blob/main/CHANGELOG.md
144
- post_install_message:
143
+ rubygems_mfa_required: 'true'
145
144
  rdoc_options: []
146
145
  require_paths:
147
146
  - lib
@@ -158,8 +157,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
158
157
  version: '0'
159
158
  requirements:
160
159
  - ImageMagick 6.8.9 or later
161
- rubygems_version: 3.5.9
162
- signing_key:
160
+ rubygems_version: 3.6.2
163
161
  specification_version: 4
164
162
  summary: Ruby binding to ImageMagick
165
163
  test_files: []