rmagick 5.4.4 → 6.0.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (68) hide show
  1. checksums.yaml +4 -4
  2. data/.devcontainer/ImageMagick6/devcontainer.json +1 -1
  3. data/.devcontainer/devcontainer.json +1 -1
  4. data/.github/workflows/ci.yml +41 -31
  5. data/.gitignore +1 -0
  6. data/.rubocop.yml +36 -9
  7. data/.rubocop_todo.yml +369 -187
  8. data/CHANGELOG.md +77 -0
  9. data/Gemfile +14 -0
  10. data/README.md +3 -3
  11. data/Rakefile +12 -1
  12. data/before_install_linux.sh +1 -11
  13. data/before_install_osx.sh +5 -7
  14. data/ext/RMagick/extconf.rb +58 -68
  15. data/ext/RMagick/rmagick.h +7 -12
  16. data/ext/RMagick/rmdraw.cpp +10 -20
  17. data/ext/RMagick/rmfill.cpp +4 -4
  18. data/ext/RMagick/rmilist.cpp +10 -2
  19. data/ext/RMagick/rmimage.cpp +342 -344
  20. data/ext/RMagick/rminfo.cpp +22 -21
  21. data/ext/RMagick/rmkinfo.cpp +5 -18
  22. data/ext/RMagick/rmmain.cpp +42 -91
  23. data/ext/RMagick/rmmontage.cpp +5 -5
  24. data/ext/RMagick/rmpixel.cpp +3 -3
  25. data/ext/RMagick/rmutil.cpp +58 -89
  26. data/lib/rmagick/version.rb +3 -3
  27. data/lib/rmagick.rb +1 -1
  28. data/lib/rmagick_internal.rb +111 -103
  29. data/lib/rvg/container.rb +3 -3
  30. data/lib/rvg/embellishable.rb +7 -3
  31. data/lib/rvg/misc.rb +15 -15
  32. data/lib/rvg/rvg.rb +6 -6
  33. data/lib/rvg/stretchable.rb +2 -2
  34. data/lib/rvg/stylable.rb +2 -2
  35. data/lib/rvg/transformable.rb +1 -1
  36. data/lib/rvg/units.rb +1 -0
  37. data/rmagick.gemspec +2 -15
  38. data/sig/rmagick/_draw_common_methods.rbs +64 -0
  39. data/sig/rmagick/_image_common_methods.rbs +387 -0
  40. data/sig/rmagick/draw.rbs +38 -0
  41. data/sig/rmagick/draw_attribute.rbs +28 -0
  42. data/sig/rmagick/enum.rbs +820 -0
  43. data/sig/rmagick/error.rbs +11 -0
  44. data/sig/rmagick/fill.rbs +21 -0
  45. data/sig/rmagick/geometry.rbs +14 -0
  46. data/sig/rmagick/image.rbs +196 -0
  47. data/sig/rmagick/image_list.rbs +183 -0
  48. data/sig/rmagick/iptc.rbs +101 -0
  49. data/sig/rmagick/kernel_info.rbs +12 -0
  50. data/sig/rmagick/optional_method_arguments.rbs +10 -0
  51. data/sig/rmagick/pixel.rbs +46 -0
  52. data/sig/rmagick/struct.rbs +90 -0
  53. data/sig/rmagick.rbs +43 -0
  54. data/sig/rvg/clippath.rbs +34 -0
  55. data/sig/rvg/container.rbs +78 -0
  56. data/sig/rvg/deep_equal.rbs +48 -0
  57. data/sig/rvg/describable.rbs +30 -0
  58. data/sig/rvg/embellishable.rbs +226 -0
  59. data/sig/rvg/misc.rbs +145 -0
  60. data/sig/rvg/paint.rbs +55 -0
  61. data/sig/rvg/pathdata.rbs +77 -0
  62. data/sig/rvg/rvg.rbs +125 -0
  63. data/sig/rvg/stretchable.rbs +56 -0
  64. data/sig/rvg/stylable.rbs +66 -0
  65. data/sig/rvg/text.rbs +118 -0
  66. data/sig/rvg/transformable.rbs +59 -0
  67. data/sig/rvg/units.rbs +33 -0
  68. metadata +38 -134
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rmagick
3
3
  version: !ruby/object:Gem::Version
4
- version: 5.4.4
4
+ version: 6.0.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Tim Hunter
@@ -11,22 +11,8 @@ authors:
11
11
  autorequire:
12
12
  bindir: bin
13
13
  cert_chain: []
14
- date: 2024-02-15 00:00:00.000000000 Z
14
+ date: 2024-05-02 00:00:00.000000000 Z
15
15
  dependencies:
16
- - !ruby/object:Gem::Dependency
17
- name: pkg-config
18
- requirement: !ruby/object:Gem::Requirement
19
- requirements:
20
- - - "~>"
21
- - !ruby/object:Gem::Version
22
- version: '1.4'
23
- type: :runtime
24
- prerelease: false
25
- version_requirements: !ruby/object:Gem::Requirement
26
- requirements:
27
- - - "~>"
28
- - !ruby/object:Gem::Version
29
- version: '1.4'
30
16
  - !ruby/object:Gem::Dependency
31
17
  name: observer
32
18
  requirement: !ruby/object:Gem::Requirement
@@ -42,131 +28,19 @@ dependencies:
42
28
  - !ruby/object:Gem::Version
43
29
  version: '0.1'
44
30
  - !ruby/object:Gem::Dependency
45
- name: pry
46
- requirement: !ruby/object:Gem::Requirement
47
- requirements:
48
- - - "~>"
49
- - !ruby/object:Gem::Version
50
- version: '0.14'
51
- type: :development
52
- prerelease: false
53
- version_requirements: !ruby/object:Gem::Requirement
54
- requirements:
55
- - - "~>"
56
- - !ruby/object:Gem::Version
57
- version: '0.14'
58
- - !ruby/object:Gem::Dependency
59
- name: rake-compiler
60
- requirement: !ruby/object:Gem::Requirement
61
- requirements:
62
- - - "~>"
63
- - !ruby/object:Gem::Version
64
- version: '1.0'
65
- type: :development
66
- prerelease: false
67
- version_requirements: !ruby/object:Gem::Requirement
68
- requirements:
69
- - - "~>"
70
- - !ruby/object:Gem::Version
71
- version: '1.0'
72
- - !ruby/object:Gem::Dependency
73
- name: rspec
74
- requirement: !ruby/object:Gem::Requirement
75
- requirements:
76
- - - "~>"
77
- - !ruby/object:Gem::Version
78
- version: '3.8'
79
- type: :development
80
- prerelease: false
81
- version_requirements: !ruby/object:Gem::Requirement
82
- requirements:
83
- - - "~>"
84
- - !ruby/object:Gem::Version
85
- version: '3.8'
86
- - !ruby/object:Gem::Dependency
87
- name: rspec_junit_formatter
88
- requirement: !ruby/object:Gem::Requirement
89
- requirements:
90
- - - "~>"
91
- - !ruby/object:Gem::Version
92
- version: 0.6.0
93
- type: :development
94
- prerelease: false
95
- version_requirements: !ruby/object:Gem::Requirement
96
- requirements:
97
- - - "~>"
98
- - !ruby/object:Gem::Version
99
- version: 0.6.0
100
- - !ruby/object:Gem::Dependency
101
- name: rubocop
102
- requirement: !ruby/object:Gem::Requirement
103
- requirements:
104
- - - "~>"
105
- - !ruby/object:Gem::Version
106
- version: 0.81.0
107
- type: :development
108
- prerelease: false
109
- version_requirements: !ruby/object:Gem::Requirement
110
- requirements:
111
- - - "~>"
112
- - !ruby/object:Gem::Version
113
- version: 0.81.0
114
- - !ruby/object:Gem::Dependency
115
- name: rubocop-rspec
116
- requirement: !ruby/object:Gem::Requirement
117
- requirements:
118
- - - "~>"
119
- - !ruby/object:Gem::Version
120
- version: 1.38.1
121
- type: :development
122
- prerelease: false
123
- version_requirements: !ruby/object:Gem::Requirement
124
- requirements:
125
- - - "~>"
126
- - !ruby/object:Gem::Version
127
- version: 1.38.1
128
- - !ruby/object:Gem::Dependency
129
- name: rubocop-performance
130
- requirement: !ruby/object:Gem::Requirement
131
- requirements:
132
- - - "~>"
133
- - !ruby/object:Gem::Version
134
- version: 1.5.2
135
- type: :development
136
- prerelease: false
137
- version_requirements: !ruby/object:Gem::Requirement
138
- requirements:
139
- - - "~>"
140
- - !ruby/object:Gem::Version
141
- version: 1.5.2
142
- - !ruby/object:Gem::Dependency
143
- name: simplecov
144
- requirement: !ruby/object:Gem::Requirement
145
- requirements:
146
- - - "~>"
147
- - !ruby/object:Gem::Version
148
- version: 0.16.1
149
- type: :development
150
- prerelease: false
151
- version_requirements: !ruby/object:Gem::Requirement
152
- requirements:
153
- - - "~>"
154
- - !ruby/object:Gem::Version
155
- version: 0.16.1
156
- - !ruby/object:Gem::Dependency
157
- name: yard
31
+ name: pkg-config
158
32
  requirement: !ruby/object:Gem::Requirement
159
33
  requirements:
160
34
  - - "~>"
161
35
  - !ruby/object:Gem::Version
162
- version: 0.9.24
163
- type: :development
36
+ version: '1.4'
37
+ type: :runtime
164
38
  prerelease: false
165
39
  version_requirements: !ruby/object:Gem::Requirement
166
40
  requirements:
167
41
  - - "~>"
168
42
  - !ruby/object:Gem::Version
169
- version: 0.9.24
43
+ version: '1.4'
170
44
  description: RMagick is an interface between Ruby and ImageMagick.
171
45
  email: github@benjaminfleischer.com
172
46
  executables: []
@@ -230,6 +104,36 @@ files:
230
104
  - lib/rvg/transformable.rb
231
105
  - lib/rvg/units.rb
232
106
  - rmagick.gemspec
107
+ - sig/rmagick.rbs
108
+ - sig/rmagick/_draw_common_methods.rbs
109
+ - sig/rmagick/_image_common_methods.rbs
110
+ - sig/rmagick/draw.rbs
111
+ - sig/rmagick/draw_attribute.rbs
112
+ - sig/rmagick/enum.rbs
113
+ - sig/rmagick/error.rbs
114
+ - sig/rmagick/fill.rbs
115
+ - sig/rmagick/geometry.rbs
116
+ - sig/rmagick/image.rbs
117
+ - sig/rmagick/image_list.rbs
118
+ - sig/rmagick/iptc.rbs
119
+ - sig/rmagick/kernel_info.rbs
120
+ - sig/rmagick/optional_method_arguments.rbs
121
+ - sig/rmagick/pixel.rbs
122
+ - sig/rmagick/struct.rbs
123
+ - sig/rvg/clippath.rbs
124
+ - sig/rvg/container.rbs
125
+ - sig/rvg/deep_equal.rbs
126
+ - sig/rvg/describable.rbs
127
+ - sig/rvg/embellishable.rbs
128
+ - sig/rvg/misc.rbs
129
+ - sig/rvg/paint.rbs
130
+ - sig/rvg/pathdata.rbs
131
+ - sig/rvg/rvg.rbs
132
+ - sig/rvg/stretchable.rbs
133
+ - sig/rvg/stylable.rbs
134
+ - sig/rvg/text.rbs
135
+ - sig/rvg/transformable.rbs
136
+ - sig/rvg/units.rbs
233
137
  homepage: https://github.com/rmagick/rmagick
234
138
  licenses:
235
139
  - MIT
@@ -243,14 +147,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
243
147
  requirements:
244
148
  - - ">="
245
149
  - !ruby/object:Gem::Version
246
- version: 2.3.0
150
+ version: 3.0.0
247
151
  required_rubygems_version: !ruby/object:Gem::Requirement
248
152
  requirements:
249
153
  - - ">="
250
154
  - !ruby/object:Gem::Version
251
155
  version: '0'
252
156
  requirements:
253
- - ImageMagick 6.7.7 or later
157
+ - ImageMagick 6.8.9 or later
254
158
  rubygems_version: 3.4.10
255
159
  signing_key:
256
160
  specification_version: 4