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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: a5a3f680362b68b275708ea32ebd9700b921e2dd1d3216392b5f645e5f8a077c
4
- data.tar.gz: 8ac64189ef03727863075560f34e7d86c94003ace5fba3881a802b2a4f85a3d8
3
+ metadata.gz: c5638d3e358ce6dbfdaad27ad6f3a8cbb04a3268e7111be2ab789c2f2252ee8b
4
+ data.tar.gz: 6e1d9519cd2457071b665deb5c8365ecf9abd3d6bd0fbf187b37435a425d2a7c
5
5
  SHA512:
6
- metadata.gz: f9b28137370eefdc3131e81681671062be851ec683f3faf387d76f2af7ccfada7eb55a361d30172d491a20ad1a44554815ac3c4220cc8a21dfa5146fbc763d46
7
- data.tar.gz: 5893af6874461d876eb7133f57d0a9d5bc141f3bb271e65a74619ac957b75da6e13c0a7b148c494bf2075816346cb2424d97e3f900fe1bc827931160df30c5ba
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! -->
@@ -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-0, major-minor: '6.9' }
43
- - { full: 7.0.10-0, major-minor: '7.0' }
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-0, major-minor: '6.9' }
82
- - { full: 7.0.10-0, major-minor: '7.0' }
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: eregon/use-ruby-action@master
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-0, major-minor: '6.9' }
122
- - { full: 7.0.10-0, major-minor: '7.0' }
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
@@ -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:
@@ -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"
@@ -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 !defined(_WIN32)
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 !defined(_WIN32)
11101
- signal(SIGCHLD, sig_handler);
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 !defined(_WIN32)
11107
- signal(SIGCHLD, SIG_DFL);
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);
@@ -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
  */
@@ -1,5 +1,5 @@
1
1
  module Magick
2
- VERSION = '4.1.0'
2
+ VERSION = '4.1.1'
3
3
  MIN_RUBY_VERSION = '2.3.0'
4
4
  MIN_IM_VERSION = '6.7.7'
5
5
  end
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.0
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-22 00:00:00.000000000 Z
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"