ruby-magic 0.5.0 → 0.5.1

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: 8f6fd376f0f6b9df5dd11ad1165a4c060a7391ae626feb57356782cb97ca3db0
4
- data.tar.gz: 9c583624bee1a090a4098ea9ff6526d414efe624b437738a19f3f7a7b7895b82
3
+ metadata.gz: 49995e9eaf536f28411e9bca1a123e289b0dc6524777a89f7dc2a188b6aef232
4
+ data.tar.gz: bc10edcf3d4040c6f296b3d4a18d9b9edbe17ede78bb5494a63e4a4d918ac030
5
5
  SHA512:
6
- metadata.gz: 190f13b5566e31b180f32b1f83b970998a6a95018d3cf71055d31f22de30ccf6e18221223dfe9a7826b53063300036cdabb501670ae09af95b175f6dd5b1e41e
7
- data.tar.gz: add7827d9a2663a612f9b5d486efa9fe4eb064aadf67f62ed314d8d173f5dfd172ae9851640ff9d01fe55031bb2810758fabcdf69643148bfb7a1259ef8bbef8
6
+ metadata.gz: de67c912769a81ac193bfa945fcd01db92381515d3c94b4c36f8b0403d960c85adf13b8dd60974ecb5fc0c833fa9fd194e9a2443f9cf4262768123fc5333f8e7
7
+ data.tar.gz: 4e499947b2aa1606500c3ab7f0aea7fb91e828f0cc0821e9f2b647be0cf3d3e9d53667ff577e1e7e14c315952473637708ef8da53681b5293a26a96aaf722746
checksums.yaml.gz.sig CHANGED
@@ -1,3 +1,4 @@
1
- ;Cd���}�����=1�O.���\~�Z#���%��:&hWm�T<���o����v߅]���\Vg��p�/�cL9��Y@_\_Ά?�ynHM$�[���<qy�ۓ��
2
- 1���+��j�,�߯� l����*U���}�����gp���QOU�d�
3
- ^V�,*}cJa�;�po�� �ݎ ��}�<�x���gX��] S�9����ƥ?.����O�OS|�4a 4ދ5���m���Fa=��g���,��#�a�^�to��&��K�Y��0[B��߅���A G���qoۑ���s4�^�E���C����/z�D$�&�l_��3��؟�=�,#c��!��'��'C���z�H��
1
+ C���ȵz�+2�O���]R̢�TJ;�cM���цdT0/EaAKw}#�2�@љ]
2
+ >���ǎ��{ȶ��f@�8z ���I���#v(�~�La2����:��Ӛca�����#Nh�3�#lAs��`���s���D���2�[�]zv���&2�82&{��U��_LL2�d���LS5���2|��ž������|Km�������jp
3
+ nW&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
- $LIBS += " " + pkg_config('libmagic', 'libs --static')
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
@@ -4,7 +4,7 @@ class Magic
4
4
  #
5
5
  # Current version of _Magic_.
6
6
  #
7
- VERSION = '0.5.0'.freeze
7
+ VERSION = '0.5.1'.freeze
8
8
 
9
9
  class << self
10
10
  #
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.0
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-10-01 00:00:00.000000000 Z
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