libmagic_rb 0.1.2.pre.alpha → 0.1.2.pre.beta
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
- data/README.md +39 -8
- data/lib/libmagic_rb/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 2f249db73a864f2f290165eb9dc8d943f8016e25d202e0a592754418510f4110
|
|
4
|
+
data.tar.gz: c3026e23ac5e7ed0416b0c7e0694982baed1b7f78ec95f3845a5e616076b88b1
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: '065198fe056d97dd295fd472697e0b1dcdef27dee5a995eca8718035beb64bf8b2ed3ca7eff6c6fd4462efcb6892f4f05ed33d8139872a193e2d2296c2e138e1'
|
|
7
|
+
data.tar.gz: 6a85f647db0401541b18cebdb2020518a3d8421c4e15452f0d47bab17808f8ad950aba613e3d7188b610034f3f3e58ca86b0e53d45939ed7709942630e2f4523
|
data/README.md
CHANGED
|
@@ -17,31 +17,62 @@ You also need Ruby > 1.9.0 in order to run this gem.
|
|
|
17
17
|
|
|
18
18
|
With that info in mind, let's continue to the installation part for your Linux distributions...
|
|
19
19
|
|
|
20
|
-
#### Arch / Manjaro / Archlabs & other Arch
|
|
20
|
+
#### Arch / Manjaro / Archlabs / Garuda Linux / Hefftor Linux & other Arch Based Linux
|
|
21
21
|
|
|
22
22
|
```
|
|
23
|
-
# pacman -S file gcc make
|
|
23
|
+
# pacman -S ruby file gcc make --needed
|
|
24
24
|
```
|
|
25
25
|
|
|
26
|
-
#### Debian / Ubuntu / Linux Mint / RaspberryPi OS & other Debian
|
|
26
|
+
#### Debian / Ubuntu / Linux Mint / Deepin / Pop!_OS / RaspberryPi OS & other Debian Based Linux
|
|
27
27
|
|
|
28
28
|
```
|
|
29
|
-
# apt install libmagic-dev ruby-dev gcc make
|
|
29
|
+
# apt install ruby libmagic-dev ruby-dev gcc make
|
|
30
30
|
```
|
|
31
31
|
|
|
32
|
-
#### Fedora / Amazon Linux / CentOS & Other RedHat
|
|
32
|
+
#### Fedora / Amazon Linux / CentOS & Other RedHat Based Linux
|
|
33
33
|
|
|
34
34
|
```
|
|
35
|
-
# yum install file-devel ruby-devel gcc make
|
|
35
|
+
# yum install ruby file-devel ruby-devel gcc make
|
|
36
36
|
```
|
|
37
37
|
|
|
38
38
|
#### OpenSUSE
|
|
39
39
|
|
|
40
40
|
```
|
|
41
|
-
zypper in ruby ruby-devel file-devel gcc make
|
|
41
|
+
# zypper in ruby ruby-devel file-devel gcc make
|
|
42
42
|
```
|
|
43
43
|
|
|
44
|
-
|
|
44
|
+
#### Gentoo
|
|
45
|
+
|
|
46
|
+
There are already make, and magic.h available for Gentoo. You just need Ruby:
|
|
47
|
+
|
|
48
|
+
```
|
|
49
|
+
# emerge --ask dev-lang/ruby
|
|
50
|
+
```
|
|
51
|
+
|
|
52
|
+
#### DragonflyBSD / FreeBSD
|
|
53
|
+
|
|
54
|
+
Versions upto 0.1.2 is tested on DragonflyBSD (Version 6.0-SYNTH).
|
|
55
|
+
|
|
56
|
+
```
|
|
57
|
+
# pkg install ruby devel/ruby-gems gcc gmake
|
|
58
|
+
```
|
|
59
|
+
|
|
60
|
+
#### MacOS
|
|
61
|
+
|
|
62
|
+
You can install libmagic with homebrew:
|
|
63
|
+
|
|
64
|
+
```
|
|
65
|
+
$ brew install libmagic
|
|
66
|
+
|
|
67
|
+
# if the link is already created is going to fail, don't worry about that
|
|
68
|
+
$ brew link libmagic
|
|
69
|
+
```
|
|
70
|
+
|
|
71
|
+
[ Source: [ eparreno/gist:1845561 ](https://gist.github.com/eparreno/1845561) ]
|
|
72
|
+
|
|
73
|
+
#### Windows
|
|
74
|
+
|
|
75
|
+
Windows is currently not tested, hence the support is unknown.
|
|
45
76
|
|
|
46
77
|
## Installation
|
|
47
78
|
|
data/lib/libmagic_rb/version.rb
CHANGED
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: libmagic_rb
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.1.2.pre.
|
|
4
|
+
version: 0.1.2.pre.beta
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Cybergizer
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: exe
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2021-
|
|
11
|
+
date: 2021-09-05 00:00:00.000000000 Z
|
|
12
12
|
dependencies: []
|
|
13
13
|
description: Check filetype with libmagic
|
|
14
14
|
email:
|