ruby-magic 0.5.0 → 0.5.1
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 +4 -4
- checksums.yaml.gz.sig +4 -3
- data/CHANGELOG.md +28 -0
- data/ext/magic/extconf.rb +5 -1
- data/lib/magic/version.rb +1 -1
- data.tar.gz.sig +0 -0
- metadata +4 -4
- metadata.gz.sig +0 -0
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 49995e9eaf536f28411e9bca1a123e289b0dc6524777a89f7dc2a188b6aef232
|
|
4
|
+
data.tar.gz: bc10edcf3d4040c6f296b3d4a18d9b9edbe17ede78bb5494a63e4a4d918ac030
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: de67c912769a81ac193bfa945fcd01db92381515d3c94b4c36f8b0403d960c85adf13b8dd60974ecb5fc0c833fa9fd194e9a2443f9cf4262768123fc5333f8e7
|
|
7
|
+
data.tar.gz: 4e499947b2aa1606500c3ab7f0aea7fb91e828f0cc0821e9f2b647be0cf3d3e9d53667ff577e1e7e14c315952473637708ef8da53681b5293a26a96aaf722746
|
checksums.yaml.gz.sig
CHANGED
|
@@ -1,3 +1,4 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
1
|
+
�C���ȵz�+2�O���]R̢�T�J;��cM���цdT0/EaAK�w}#�2�@љ]
|
|
2
|
+
>���ǎ��{ȶ��f@�8z ���I���#v(�~�L�a2����:��Ӛca�����#Nh�3�#lAs��`���s���D���2�[�]zv���&2�82&{��U��_LL2�d���LS5���2|��������|Km�������jp�
|
|
3
|
+
n�W&zG�
|
|
4
|
+
4��OgT�k�u稥�o�j*��I��f�$�,���K�v��)�h܊w���w�V�V��A�U��E�[��O�$#����'��]*��L*�r�e���Ϥ�j�&"�z��t��͢-D�M���ȍ�����>��aGT��/K�VT!6;n�p���Ƚ@
|
data/CHANGELOG.md
CHANGED
|
@@ -7,6 +7,34 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.
|
|
|
7
7
|
|
|
8
8
|
## [Unreleased]
|
|
9
9
|
|
|
10
|
+
## [0.5.1] - 2021-11-20
|
|
11
|
+
|
|
12
|
+
### Fixed
|
|
13
|
+
|
|
14
|
+
- Check for pkg-config when building static libraries.
|
|
15
|
+
|
|
16
|
+
## [0.5.0] - 2021-09-30
|
|
17
|
+
|
|
18
|
+
### Added
|
|
19
|
+
|
|
20
|
+
- Introduce support for building native gems.
|
|
21
|
+
|
|
22
|
+
### Changed
|
|
23
|
+
|
|
24
|
+
- Relax mini_portile2 dependency.
|
|
25
|
+
- Use RB_ALLOC() over calling ruby_xmalloc() directly
|
|
26
|
+
- Address warnings reported by cppcheck.
|
|
27
|
+
- Address code style that checkpatch.pl script reported.
|
|
28
|
+
- Fix how flags are set for the open() function.
|
|
29
|
+
- Clean up type definitions.
|
|
30
|
+
- Add alias Magic::mime_type for Magic::mime.
|
|
31
|
+
- Make magic_set_flags() return void as its return value was never used.
|
|
32
|
+
|
|
33
|
+
### Fixed
|
|
34
|
+
|
|
35
|
+
- Fix truffleruby test failure
|
|
36
|
+
- Fix --use-system-libraries not working with Rake install
|
|
37
|
+
|
|
10
38
|
## [0.2.0] - 2015-03-25
|
|
11
39
|
### Added
|
|
12
40
|
|
data/ext/magic/extconf.rb
CHANGED
|
@@ -298,7 +298,11 @@ else
|
|
|
298
298
|
if static_p
|
|
299
299
|
ENV['PKG_CONFIG_PATH'] = "#{libmagic_recipe.path}/lib/pkgconfig"
|
|
300
300
|
# mkmf appends -- to the first option
|
|
301
|
-
|
|
301
|
+
pkg_config_flags = pkg_config('libmagic', 'libs --static')
|
|
302
|
+
|
|
303
|
+
raise 'Please install the `pkg-config` utility' unless pkg_config_flags
|
|
304
|
+
|
|
305
|
+
$LIBS += " " + pkg_config_flags
|
|
302
306
|
$LIBS += " " + File.join(libmagic_recipe.path, 'lib', "libmagic.#{$LIBEXT}")
|
|
303
307
|
end
|
|
304
308
|
|
data/lib/magic/version.rb
CHANGED
data.tar.gz.sig
CHANGED
|
Binary file
|
metadata
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: ruby-magic
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.5.
|
|
4
|
+
version: 0.5.1
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Krzysztof Wilczyński
|
|
8
|
-
autorequire:
|
|
8
|
+
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain:
|
|
11
11
|
- |
|
|
@@ -34,7 +34,7 @@ cert_chain:
|
|
|
34
34
|
Ozt6vfXxSzW/KfodB+0ELjlHWiFbI8w7c8Kt7/ceZGVsXTxD/f4tVWy8MmxFy3pY
|
|
35
35
|
Cpe8Kg==
|
|
36
36
|
-----END CERTIFICATE-----
|
|
37
|
-
date: 2021-
|
|
37
|
+
date: 2021-11-11 00:00:00.000000000 Z
|
|
38
38
|
dependencies:
|
|
39
39
|
- !ruby/object:Gem::Dependency
|
|
40
40
|
name: mini_portile2
|
|
@@ -107,7 +107,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
107
107
|
version: '0'
|
|
108
108
|
requirements: []
|
|
109
109
|
rubygems_version: 3.2.22
|
|
110
|
-
signing_key:
|
|
110
|
+
signing_key:
|
|
111
111
|
specification_version: 4
|
|
112
112
|
summary: File Magic in Ruby
|
|
113
113
|
test_files: []
|
metadata.gz.sig
CHANGED
|
Binary file
|