rmagick 4.1.0 → 4.1.1
Sign up to get free protection for your applications and to get access to all the features.
Potentially problematic release.
This version of rmagick might be problematic. Click here for more details.
- checksums.yaml +4 -4
- data/.github/ISSUE_TEMPLATE.md +16 -0
- data/.github/workflows/ci.yml +10 -10
- data/CHANGELOG.md +6 -0
- data/before_install_osx.sh +1 -0
- data/ext/RMagick/rmimage.c +14 -5
- data/ext/RMagick/rmutil.c +1 -3
- data/lib/rmagick/version.rb +1 -1
- metadata +3 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: c5638d3e358ce6dbfdaad27ad6f3a8cbb04a3268e7111be2ab789c2f2252ee8b
|
4
|
+
data.tar.gz: 6e1d9519cd2457071b665deb5c8365ecf9abd3d6bd0fbf187b37435a425d2a7c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 752fbabb75ffa6fd6c78bdc3ea40e4605d960d8bbcaeb1040f7594dcb4f474cb613b33e3cfe06fce7f7fdd0f272b999f85cf89d3037a3e9ac5b2e3f0cb66848b
|
7
|
+
data.tar.gz: ceaf487faba530d128138f980d192eef6e79e5814cd2d4ad25d8cd3c1166b49374f10c0dbc6110c11994a9f43e7d4812b207368c14467deda355661ab9a975b5
|
@@ -0,0 +1,16 @@
|
|
1
|
+
### Description
|
2
|
+
<!-- A description of the bug or feature -->
|
3
|
+
|
4
|
+
### Steps to Reproduce
|
5
|
+
<!-- List of steps, sample code, failing test or link to a project that reproduces the behavior.
|
6
|
+
Make sure you place a stack trace inside a code (```) block to avoid linking unrelated issues -->
|
7
|
+
|
8
|
+
### System Configuration
|
9
|
+
<!-- Tell us about the environment where you are experiencing the bug -->
|
10
|
+
|
11
|
+
- ImageMagick version:
|
12
|
+
- RMagick version:
|
13
|
+
- Environment (Operating system, version and so on):
|
14
|
+
- Additional information:
|
15
|
+
|
16
|
+
<!-- Thanks for reporting the issue to RMagick! -->
|
data/.github/workflows/ci.yml
CHANGED
@@ -39,8 +39,8 @@ jobs:
|
|
39
39
|
imagemagick-version:
|
40
40
|
- { full: 6.7.7-10, major-minor: '6.7' }
|
41
41
|
- { full: 6.8.9-10, major-minor: '6.8' }
|
42
|
-
- { full: 6.9.11-
|
43
|
-
- { full: 7.0.10-
|
42
|
+
- { full: 6.9.11-2, major-minor: '6.9' }
|
43
|
+
- { full: 7.0.10-2, major-minor: '7.0' }
|
44
44
|
|
45
45
|
name: Linux, Ruby ${{ matrix.ruby-version }}, IM ${{ matrix.imagemagick-version.major-minor }}
|
46
46
|
steps:
|
@@ -49,9 +49,9 @@ jobs:
|
|
49
49
|
uses: actions/cache@v1
|
50
50
|
with:
|
51
51
|
path: ./build-ImageMagick
|
52
|
-
key: v1-imagemagick-${{ matrix.imagemagick-version.full }}
|
52
|
+
key: v1-linux-imagemagick-${{ matrix.imagemagick-version.full }}
|
53
53
|
restore-keys: |
|
54
|
-
v1-imagemagick-${{ matrix.imagemagick-version.full }}
|
54
|
+
v1-linux-imagemagick-${{ matrix.imagemagick-version.full }}
|
55
55
|
- name: Set up Ruby ${{ matrix.ruby-version }}
|
56
56
|
uses: ruby/setup-ruby@master
|
57
57
|
with:
|
@@ -78,8 +78,8 @@ jobs:
|
|
78
78
|
matrix:
|
79
79
|
ruby-version: [2.6, 2.7]
|
80
80
|
imagemagick-version:
|
81
|
-
- { full: 6.9.11-
|
82
|
-
- { full: 7.0.10-
|
81
|
+
- { full: 6.9.11-2, major-minor: '6.9' }
|
82
|
+
- { full: 7.0.10-2, major-minor: '7.0' }
|
83
83
|
|
84
84
|
name: macOS, Ruby ${{ matrix.ruby-version }}, IM ${{ matrix.imagemagick-version.major-minor }}
|
85
85
|
steps:
|
@@ -92,7 +92,7 @@ jobs:
|
|
92
92
|
restore-keys: |
|
93
93
|
v1-macos-imagemagick-${{ matrix.imagemagick-version.full }}
|
94
94
|
- name: Set up Ruby ${{ matrix.ruby-version }}
|
95
|
-
uses:
|
95
|
+
uses: ruby/setup-ruby@master
|
96
96
|
with:
|
97
97
|
ruby-version: ${{ matrix.ruby-version }}
|
98
98
|
- name: Update/Install packages
|
@@ -115,11 +115,11 @@ jobs:
|
|
115
115
|
timeout-minutes: 10
|
116
116
|
strategy:
|
117
117
|
matrix:
|
118
|
-
ruby-version: [2.3, 2.4, 2.5, 2.6]
|
118
|
+
ruby-version: [2.3, 2.4, 2.5, 2.6, 2.7]
|
119
119
|
imagemagick-version:
|
120
120
|
- { full: 6.8.9-10, major-minor: '6.8' }
|
121
|
-
- { full: 6.9.11-
|
122
|
-
- { full: 7.0.10-
|
121
|
+
- { full: 6.9.11-2, major-minor: '6.9' }
|
122
|
+
- { full: 7.0.10-2, major-minor: '7.0' }
|
123
123
|
name: MSWin, Ruby ${{ matrix.ruby-version }}, IM ${{ matrix.imagemagick-version.major-minor }}
|
124
124
|
steps:
|
125
125
|
- uses: actions/checkout@v2
|
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 4.1.1
|
7
|
+
|
8
|
+
Bug Fixes:
|
9
|
+
|
10
|
+
- Fix bug of signal handling internally (#1189)
|
11
|
+
|
6
12
|
## RMagick 4.1.0
|
7
13
|
|
8
14
|
Improvements:
|
data/before_install_osx.sh
CHANGED
@@ -15,6 +15,7 @@ if [ ! -v IMAGEMAGICK_VERSION ]; then
|
|
15
15
|
exit 1
|
16
16
|
fi
|
17
17
|
|
18
|
+
export HOMEBREW_NO_AUTO_UPDATE=true
|
18
19
|
brew install wget pkg-config ghostscript freetype jpeg little-cms2 libomp libpng libtiff libtool libxml2 zlib webp
|
19
20
|
|
20
21
|
export LDFLAGS="-L/usr/local/opt/libxml2/lib -L/usr/local/opt/zlib/li"
|
data/ext/RMagick/rmimage.c
CHANGED
@@ -11049,7 +11049,7 @@ file_arg_rescue(VALUE arg, VALUE raised_exc ATTRIBUTE_UNUSED)
|
|
11049
11049
|
* @see array_from_images
|
11050
11050
|
*/
|
11051
11051
|
|
11052
|
-
#if
|
11052
|
+
#if defined(__APPLE__)
|
11053
11053
|
void sig_handler(int sig ATTRIBUTE_UNUSED)
|
11054
11054
|
{
|
11055
11055
|
}
|
@@ -11097,14 +11097,23 @@ rd_image(VALUE class ATTRIBUTE_UNUSED, VALUE file, reader_t reader)
|
|
11097
11097
|
|
11098
11098
|
exception = AcquireExceptionInfo();
|
11099
11099
|
|
11100
|
-
#if
|
11101
|
-
|
11100
|
+
#if defined(__APPLE__)
|
11101
|
+
struct sigaction act, oldact;
|
11102
|
+
act.sa_handler = sig_handler;
|
11103
|
+
act.sa_flags = SA_RESTART;
|
11104
|
+
if (sigaction(SIGCHLD, &act, &oldact) < 0)
|
11105
|
+
{
|
11106
|
+
rb_sys_fail("sigaction");
|
11107
|
+
}
|
11102
11108
|
#endif
|
11103
11109
|
|
11104
11110
|
images = (reader)(info, exception);
|
11105
11111
|
|
11106
|
-
#if
|
11107
|
-
|
11112
|
+
#if defined(__APPLE__)
|
11113
|
+
if (sigaction(SIGCHLD, &oldact, NULL) < 0)
|
11114
|
+
{
|
11115
|
+
rb_sys_fail("sigaction");
|
11116
|
+
}
|
11108
11117
|
#endif
|
11109
11118
|
|
11110
11119
|
rm_check_exception(exception, images, DestroyOnError);
|
data/ext/RMagick/rmutil.c
CHANGED
@@ -359,7 +359,6 @@ rm_percentage(VALUE arg, double max)
|
|
359
359
|
{
|
360
360
|
double pct;
|
361
361
|
char *end;
|
362
|
-
int not_num;
|
363
362
|
|
364
363
|
if (!rm_check_num2dbl(arg))
|
365
364
|
{
|
@@ -503,7 +502,6 @@ rm_fuzz_to_dbl(VALUE fuzz_arg)
|
|
503
502
|
{
|
504
503
|
double fuzz;
|
505
504
|
char *end;
|
506
|
-
int not_num;
|
507
505
|
|
508
506
|
if (!rm_check_num2dbl(fuzz_arg))
|
509
507
|
{
|
@@ -927,7 +925,7 @@ rm_get_property(const Image *img, const char *property)
|
|
927
925
|
* No Ruby usage (internal function)
|
928
926
|
*
|
929
927
|
* @param image the image
|
930
|
-
* @param property the property name
|
928
|
+
* @param property the property name
|
931
929
|
* @param value the property value
|
932
930
|
* @return true if successful, otherwise false
|
933
931
|
*/
|
data/lib/rmagick/version.rb
CHANGED
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: 4.1.
|
4
|
+
version: 4.1.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Tim Hunter
|
@@ -11,7 +11,7 @@ authors:
|
|
11
11
|
autorequire:
|
12
12
|
bindir: bin
|
13
13
|
cert_chain: []
|
14
|
-
date: 2020-03-
|
14
|
+
date: 2020-03-27 00:00:00.000000000 Z
|
15
15
|
dependencies:
|
16
16
|
- !ruby/object:Gem::Dependency
|
17
17
|
name: pry
|
@@ -134,6 +134,7 @@ extra_rdoc_files: []
|
|
134
134
|
files:
|
135
135
|
- ".codeclimate.yml"
|
136
136
|
- ".editorconfig"
|
137
|
+
- ".github/ISSUE_TEMPLATE.md"
|
137
138
|
- ".github/workflows/ci.yml"
|
138
139
|
- ".gitignore"
|
139
140
|
- ".rspec"
|