ruby-magic 0.5.5 → 0.6.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +6 -0
- data/README.md +2 -2
- data/dependencies.yml +1 -1
- data/ext/magic/extconf.rb +9 -1
- data/lib/magic/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: 98a9a0fb729dd8712aa15b564abaad47d28da005d3b66060b3e20fc9386da446
|
4
|
+
data.tar.gz: 86d563eee76e957a624499a5cb9866b7df371074dfac9389c66db5fb95960441
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 9da91dd007a7a06570a2de4ca0694d8e825fce083d22c879066f6a23538a165321d10145e67dabedffb47c12425d7e87d3904362a0e0b2b6c8381586bde83a3c
|
7
|
+
data.tar.gz: db546632084213ce1a9e1f65ee93083d9d2b97997428cdb6d6f97e0294dd4a0e63fc0b0f6d01af1a1e988df3364fc9f0a5631dcd18f8cad050babbcf8022895b
|
data/CHANGELOG.md
CHANGED
data/README.md
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
# File Magic in Ruby
|
2
2
|
|
3
|
-
[![Gem Version](
|
4
|
-
[![License](
|
3
|
+
[![Gem Version](http://badge.fury.io/rb/ruby-magic.svg)](http://badge.fury.io/rb/ruby-magic)
|
4
|
+
[![License](http://img.shields.io/badge/License-Apache%202.0-blue.svg)](http://opensource.org/licenses/Apache-2.0)
|
5
5
|
|
6
6
|
## Introduction
|
7
7
|
|
data/dependencies.yml
CHANGED
@@ -3,7 +3,7 @@ libmagic:
|
|
3
3
|
sha256: "3751c7fba8dbc831cb8d7cc8aff21035459b8ce5155ef8b0880a27d028475f3b"
|
4
4
|
# Manually verified checksum:
|
5
5
|
#
|
6
|
-
# $ gpg --verify file-5.
|
6
|
+
# $ gpg --verify file-5.44.tar.gz.asc file-5.44.tar.gz
|
7
7
|
# gpg: Signature made Tue 27 Dec 2022 03:27:03 JST
|
8
8
|
# gpg: using DSA key BE04995BA8F90ED0C0C176C471112AB16CB33B3A
|
9
9
|
# gpg: Good signature from "Christos Zoulas (personal key) <christos@zoulas.com>" [unknown]
|
data/ext/magic/extconf.rb
CHANGED
@@ -34,6 +34,9 @@ MAGIC_HELP_MESSAGE = <<~HELP
|
|
34
34
|
--enable-cross-build
|
35
35
|
Enable cross-build mode. (You probably do not want to set this manually.)
|
36
36
|
|
37
|
+
--with-magic-flags=<flags>
|
38
|
+
Build libmagic with these configure flags (such as --disable-zstdlib)
|
39
|
+
|
37
40
|
Flags only used when using system libraries:
|
38
41
|
|
39
42
|
Related to libmagic:
|
@@ -101,12 +104,17 @@ def process_recipe(name, version, static_p, cross_p)
|
|
101
104
|
end
|
102
105
|
end
|
103
106
|
|
104
|
-
|
107
|
+
configure_options = [
|
105
108
|
"--disable-silent-rules",
|
106
109
|
"--disable-dependency-tracking",
|
107
110
|
"--enable-fsect-man5"
|
108
111
|
]
|
109
112
|
|
113
|
+
libmagic_flags = with_config('magic-flags')
|
114
|
+
configure_options += libmagic_flags.split(' ') if libmagic_flags
|
115
|
+
|
116
|
+
recipe.configure_options = configure_options
|
117
|
+
|
110
118
|
if static_p
|
111
119
|
recipe.configure_options += [
|
112
120
|
"--disable-shared",
|
data/lib/magic/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: ruby-magic
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.6.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Krzysztof Wilczyński
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2023-
|
11
|
+
date: 2023-03-14 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: mini_portile2
|
@@ -89,7 +89,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
89
89
|
- !ruby/object:Gem::Version
|
90
90
|
version: '0'
|
91
91
|
requirements: []
|
92
|
-
rubygems_version: 3.4.
|
92
|
+
rubygems_version: 3.4.7
|
93
93
|
signing_key:
|
94
94
|
specification_version: 4
|
95
95
|
summary: File Magic in Ruby
|