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 +4 -4
- data/CHANGELOG.md +4 -0
- data/README.md +4 -0
- data/ext/magro/extconf.rb +6 -0
- data/lib/magro/version.rb +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 94d97619f616e6af0901a6c50f80d66ffeef0254c021a6cb4d6fcc729a11d4a2
|
4
|
+
data.tar.gz: 76343ddddc441d51203bd56bb6801da506c5907498045e9ccd80edc6da3e7d31
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: adc486b81f8410c7e5ad14f9c4ca94bb908f2d9911fca3dd40776bee5287371644006dc10d7df4d4c7d8486f535a2d9b1679fc99ea238b2734dfb461b1b09e11
|
7
|
+
data.tar.gz: b6e7883ba24394d44dbf92e7bfa00ff6afe9bcf1ad3ab78268439eebd795822f62033cc1bc4c3d0066f846ead61b743f101c309b3af536ae3110fc515842e214
|
data/CHANGELOG.md
CHANGED
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
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.
|
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-
|
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.
|
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.
|