magro 0.6.1 → 0.6.2

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 461bbd071fe195f5edc86daf605b89b021aa97a8164a060e2239f9c7eef57b77
4
- data.tar.gz: 0dc546f4643257704deb3e31dbdf1d2dd0dc42405d35386babcab59c3ab618aa
3
+ metadata.gz: 94d97619f616e6af0901a6c50f80d66ffeef0254c021a6cb4d6fcc729a11d4a2
4
+ data.tar.gz: 76343ddddc441d51203bd56bb6801da506c5907498045e9ccd80edc6da3e7d31
5
5
  SHA512:
6
- metadata.gz: 19756e1ccb2b703de929a8c589e249442ae8901c12d095a8a9976c8e8c49593a55a6ba1267a1696cacbcbb15dc6a4d210cee11362854f8c72181a54ecb10f24a
7
- data.tar.gz: 89695893f37e8e69cc2470a7e09f0b064f447df4293773218104b91a95a59033395d72f2a0b12bf1b83858841e3cefa7e8958c67206d2969f063bda411837260
6
+ metadata.gz: adc486b81f8410c7e5ad14f9c4ca94bb908f2d9911fca3dd40776bee5287371644006dc10d7df4d4c7d8486f535a2d9b1679fc99ea238b2734dfb461b1b09e11
7
+ data.tar.gz: b6e7883ba24394d44dbf92e7bfa00ff6afe9bcf1ad3ab78268439eebd795822f62033cc1bc4c3d0066f846ead61b743f101c309b3af536ae3110fc515842e214
data/CHANGELOG.md CHANGED
@@ -1,3 +1,7 @@
1
+ # 0.6.2
2
+
3
+ - Fix build failure with Xcode 14 and Ruby 3.1.x.
4
+
1
5
  # 0.6.1
2
6
 
3
7
  - Refactor codes and configs with RuboCop.
data/README.md CHANGED
@@ -39,6 +39,10 @@ Or install it yourself as:
39
39
 
40
40
  $ gem install magro
41
41
 
42
+ If you use homebrew on Apple M1 mac, specify the homebrew installation directory:
43
+
44
+ $ gem install magro -- --with-opt-dir=/opt/homebrew
45
+
42
46
  ## Documentation
43
47
 
44
48
  - [Magro API Documentation](https://yoshoku.github.io/magro/doc/)
data/ext/magro/extconf.rb CHANGED
@@ -20,6 +20,12 @@ if RUBY_PLATFORM =~ /mswin|cygwin|mingw/
20
20
  abort 'libnarray.a not found.' unless have_library('narray', 'nary_new')
21
21
  end
22
22
 
23
+ if RUBY_PLATFORM.match?(/darwin/) && Gem::Version.new('3.1.0') <= Gem::Version.new(RUBY_VERSION)
24
+ if try_link('int main(void){return 0;}', '-Wl,-undefined,dynamic_lookup')
25
+ $LDFLAGS << ' -Wl,-undefined,dynamic_lookup'
26
+ end
27
+ end
28
+
23
29
  abort 'setjmp.h not found.' unless have_header('setjmp.h')
24
30
  abort 'png.h not found.' unless have_header('png.h')
25
31
  abort 'libpng not found.' unless have_library('png')
data/lib/magro/version.rb CHANGED
@@ -3,5 +3,5 @@
3
3
  # Magro is an image processing library in Ruby.
4
4
  module Magro
5
5
  # The version of Magro you are using.
6
- VERSION = '0.6.1'
6
+ VERSION = '0.6.2'
7
7
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: magro
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.6.1
4
+ version: 0.6.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - yoshoku
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2022-06-18 00:00:00.000000000 Z
11
+ date: 2022-11-27 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: numo-narray
@@ -75,7 +75,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
75
75
  - !ruby/object:Gem::Version
76
76
  version: '0'
77
77
  requirements: []
78
- rubygems_version: 3.2.33
78
+ rubygems_version: 3.3.26
79
79
  signing_key:
80
80
  specification_version: 4
81
81
  summary: Magro is a minimal image processing library for Ruby.