rmagick 6.1.2 → 6.1.3

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: 96745ee737289beea230f6938180f10253f9690f28c21a03b07ea7df164e5846
4
- data.tar.gz: 8351b6da6dda4c130f02dbb277d51eb3fe7ba36bd79b01808fd01c35a2c94fc0
3
+ metadata.gz: 8727d63370f3301d1003b3289cb4f7d4d51053866c665fdf209fece0ff3a2cd5
4
+ data.tar.gz: 42f684f58bacb86862a11b9d37cd061846860b5cec169e267a42f4a815d424d1
5
5
  SHA512:
6
- metadata.gz: aaa120df0f261f860032f3246e6545e3bbe410dfe9af5ed4b9f134d0ac486f4fb39f7c1e5dcb0812b18fdd1ac58a4ebb19607165cdf9d4accbeae652adbc08b9
7
- data.tar.gz: d93e71faffdbf46febc6f26701fac9fa87e2f48ab683aab3333455388a17bc7ebe8da23875cf37844e53b38530b5d6429e489cf392bb12b773184857f3e4fcf2
6
+ metadata.gz: 8fe89adf4ce1c080090ab6b762dd7978a73615aadcef2be75340eab407c866d3c7bd9129f037f4c3d4ccc522494e15cfed2af9f8c3cb28f64d088492949f1d32
7
+ data.tar.gz: ce107ad02c27ce449d81d9640028a0be798fc8e916ae638321f22c05f59b06e3073777c5b89bb73360fdc52f909fb64ddb75a5c4510cb994a69757805ae639ba
@@ -4,7 +4,7 @@
4
4
  "dockerfile": "../Dockerfile",
5
5
  "args": {
6
6
  "RUBY_VERSION": "3.3.3",
7
- "IMAGEMAGICK_VERSION": "6.9.13-25"
7
+ "IMAGEMAGICK_VERSION": "6.9.13-27"
8
8
  }
9
9
  },
10
10
  "onCreateCommand": "/setup/setup-repo.sh"
@@ -4,7 +4,7 @@
4
4
  "dockerfile": "Dockerfile",
5
5
  "args": {
6
6
  "RUBY_VERSION": "3.3.3",
7
- "IMAGEMAGICK_VERSION": "7.1.1-47"
7
+ "IMAGEMAGICK_VERSION": "7.1.2-1"
8
8
  }
9
9
  },
10
10
  "onCreateCommand": "/setup/setup-repo.sh"
@@ -46,6 +46,7 @@ jobs:
46
46
  runs-on: ubuntu-22.04
47
47
  timeout-minutes: 20
48
48
  strategy:
49
+ fail-fast: false
49
50
  matrix:
50
51
  ruby-version: ['3.0']
51
52
  imagemagick-version:
@@ -79,11 +80,12 @@ jobs:
79
80
  runs-on: ubuntu-latest
80
81
  timeout-minutes: 20
81
82
  strategy:
83
+ fail-fast: false
82
84
  matrix:
83
85
  ruby-version: ['3.0', '3.1', '3.2', '3.3', '3.4']
84
86
  imagemagick-version:
85
- - { full: 6.9.13-25, major-minor: '6.9' }
86
- - { full: 7.1.1-47, major-minor: '7.1' }
87
+ - { full: 6.9.13-27, major-minor: '6.9' }
88
+ - { full: 7.1.2-1, major-minor: '7.1' }
87
89
 
88
90
  name: Linux, Ruby ${{ matrix.ruby-version }}, IM ${{ matrix.imagemagick-version.major-minor }}
89
91
  steps:
@@ -112,11 +114,12 @@ jobs:
112
114
  runs-on: macos-latest
113
115
  timeout-minutes: 20
114
116
  strategy:
117
+ fail-fast: false
115
118
  matrix:
116
119
  ruby-version: ['3.0', '3.1', '3.2', '3.3', '3.4']
117
120
  imagemagick-version:
118
- - { full: 6.9.13-25, major-minor: '6.9' }
119
- - { full: 7.1.1-47, major-minor: '7.1' }
121
+ - { full: 6.9.13-27, major-minor: '6.9' }
122
+ - { full: 7.1.2-1, major-minor: '7.1' }
120
123
 
121
124
  name: macOS, Ruby ${{ matrix.ruby-version }}, IM ${{ matrix.imagemagick-version.major-minor }}
122
125
  steps:
@@ -144,21 +147,22 @@ jobs:
144
147
  runs-on: ${{ matrix.os.target }}
145
148
  timeout-minutes: 20
146
149
  strategy:
150
+ fail-fast: false
147
151
  matrix:
148
152
  ruby-version: ['3.4']
149
153
  imagemagick-version:
150
- - { full: 6.9.13-25, major-minor: '6.9' }
151
- - { full: 7.1.1-47, major-minor: '7.1' }
154
+ - { full: 6.9.13-27, major-minor: '6.9' }
155
+ - { full: 7.1.2-1, major-minor: '7.1' }
152
156
  os:
153
157
  - { target: windows-latest, arch: 'x64' }
154
158
  - { target: windows-11-arm, arch: 'arm64' }
155
159
  exclude:
156
160
  # ImageMagick 6 has not provided ARM binary. Ref. https://legacy.imagemagick.org/archive/binaries/
157
- - imagemagick-version: { full: 6.9.13-25, major-minor: '6.9' }
161
+ - imagemagick-version: { full: 6.9.13-27, major-minor: '6.9' }
158
162
  os: { target: windows-11-arm, arch: 'arm64' }
159
163
 
160
164
  env:
161
- bundled_im_dir: ${{ matrix.os.arch == 'x64' && 'C:\Program Files\ImageMagick-7.1.1-Q16-HDRI' || 'C:\Program Files (x86)\ImageMagick-7.1.1-Q16-HDRI' }}
165
+ bundled_im_dir: ${{ matrix.os.arch == 'x64' && 'C:\Program Files\ImageMagick-7.1.2-Q16-HDRI' || 'C:\Program Files (x86)\ImageMagick-7.1.2-Q16-HDRI' }}
162
166
  install_im_dir: C:\ImageMagick
163
167
 
164
168
  name: MSWin ${{ matrix.os.arch }}, Ruby ${{ matrix.ruby-version }}, IM ${{ matrix.imagemagick-version.major-minor }}
data/CHANGELOG.md CHANGED
@@ -3,6 +3,12 @@
3
3
  All notable changes to this project are documented in this file.
4
4
  This project adheres to [Semantic Versioning](http://semver.org/).
5
5
 
6
+ ## RMagick 6.1.3
7
+
8
+ Bug Fixes
9
+
10
+ - Fixed an error with ImageMagick 7.1.2 on Windows when saving images using file descriptor (#1699)
11
+
6
12
  ## RMagick 6.1.2
7
13
 
8
14
  Improvements
@@ -289,6 +289,7 @@ module RMagick
289
289
  $defs.push('-DIMAGEMAGICK_7=1') if im_version_at_least?('7.0.0')
290
290
  $defs.push('-DIMAGEMAGICK_GREATER_THAN_EQUAL_7_0_8=1') if im_version_at_least?('7.0.8')
291
291
  $defs.push('-DIMAGEMAGICK_GREATER_THAN_EQUAL_7_0_10=1') if im_version_at_least?('7.0.10')
292
+ $defs.push('-DIMAGEMAGICK_GREATER_THAN_EQUAL_7_1_2=1') if im_version_at_least?('7.1.2')
292
293
 
293
294
  create_header
294
295
  end
@@ -1204,7 +1204,7 @@ ImageList_write(VALUE self, VALUE file)
1204
1204
  rb_io_check_writable(fptr);
1205
1205
 
1206
1206
  add_format_prefix(info, rm_io_path(file));
1207
- #if defined(_WIN32)
1207
+ #if defined(_WIN32) && !defined(IMAGEMAGICK_GREATER_THAN_EQUAL_7_1_2)
1208
1208
  SetImageInfoFile(info, NULL);
1209
1209
  #else
1210
1210
  SetImageInfoFile(info, rb_io_stdio_file(fptr));
@@ -15949,7 +15949,7 @@ Image_write(VALUE self, VALUE file)
15949
15949
  rb_io_check_writable(fptr);
15950
15950
 
15951
15951
  add_format_prefix(info, rm_io_path(file));
15952
- #if defined(_WIN32)
15952
+ #if defined(_WIN32) && !defined(IMAGEMAGICK_GREATER_THAN_EQUAL_7_1_2)
15953
15953
  SetImageInfoFile(info, NULL);
15954
15954
  #else
15955
15955
  SetImageInfoFile(info, rb_io_stdio_file(fptr));
@@ -1,7 +1,7 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Magick
4
- VERSION = '6.1.2'
4
+ VERSION = '6.1.3'
5
5
  MIN_RUBY_VERSION = '3.0.0'
6
6
  MIN_IM_VERSION = '6.8.9'
7
7
  end
@@ -1236,6 +1236,7 @@ module Magick
1236
1236
  class ImageList
1237
1237
  include Comparable
1238
1238
  include Enumerable
1239
+
1239
1240
  attr_reader :scene
1240
1241
 
1241
1242
  private
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: 6.1.2
4
+ version: 6.1.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Tim Hunter