mahoro 0.4 → 0.5
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 +5 -5
- data/GNUmakefile +2 -2
- data/README +4 -7
- data/ext/mahoro/mahoro.c +4 -6
- data/mahoro.gemspec +4 -6
- metadata +13 -14
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
|
-
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
2
|
+
SHA256:
|
3
|
+
metadata.gz: 6f781dc6f6d182640a1402cc0573caa54f5106138c60b1ec4d64ab531a18aae1
|
4
|
+
data.tar.gz: 4e6a98eeb54000f75ce5d577658588349f5b53e5cafcca7ac252fa54cfc123da
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 6a88d25c8fb0be009275f8f394ba17c7aea1383deaf2bc9d9122ae6c9a25e7a367ecab9fd5c6f8be4c3ebcbf21bd515177be97bed892e95e0b7307290ff7f763
|
7
|
+
data.tar.gz: 149fb41476fb214e4752d2bcc1e29a8a885b9bae47c93948b2ac9ad5fc30bb95cb35531cd5163c5acbc79a400a6fab21b3c4b37e2651185fc409e5a34cedebc7
|
data/GNUmakefile
CHANGED
data/README
CHANGED
@@ -5,12 +5,9 @@ This can be used in place of calling the file(1) command in Ruby scripts.
|
|
5
5
|
Shu-yu Guo is the original author but all maintenance is handled by
|
6
6
|
Eric Wong nowadays.
|
7
7
|
|
8
|
-
documentation:
|
9
|
-
source: git clone
|
10
|
-
cgit web viewer:
|
11
|
-
|
8
|
+
documentation: https://yhbt.net/mahoro/API
|
9
|
+
source: git clone https://yhbt.net/mahoro.git
|
10
|
+
cgit web viewer: https://yhbt.net/mahoro.git/
|
11
|
+
public inbox: mahoro@public-inbox.org (plain-text only, please)
|
12
12
|
maintainer: Eric Wong <normalperson@yhbt.net>
|
13
13
|
libmagic: https://en.wikipedia.org/wiki/Libmagic
|
14
|
-
|
15
|
-
Feel free to contact Eric Wong privately via plain-text email if you're not
|
16
|
-
comfortable with the public mailing list.
|
data/ext/mahoro/mahoro.c
CHANGED
@@ -391,17 +391,15 @@ void Init_mahoro(void)
|
|
391
391
|
* https://en.wikipedia.org/wiki/Libmagic
|
392
392
|
*
|
393
393
|
* Source code is available via git:
|
394
|
-
* git clone
|
394
|
+
* git clone https://yhbt.net/mahoro.git
|
395
395
|
*
|
396
396
|
* And viewable with a web browser via cgit:
|
397
|
-
*
|
397
|
+
* https://yhbt.net/mahoro.git
|
398
398
|
*
|
399
399
|
* Eric Wong is the current maintainer of Mahoro.
|
400
400
|
* Plain-text comments, questions, bug reports, patches and
|
401
|
-
* pull requests are all highly welcome on the public
|
402
|
-
* mahoro@
|
403
|
-
*
|
404
|
-
* You may contact Eric privately at normalperson@yhbt.net
|
401
|
+
* pull requests are all highly welcome on the public inbox:
|
402
|
+
* mahoro@public-inbox.org
|
405
403
|
*
|
406
404
|
* Please generate patches using the "git format-patch" command.
|
407
405
|
* Use of "git send-email" to send a patch is recommended.
|
data/mahoro.gemspec
CHANGED
@@ -1,9 +1,7 @@
|
|
1
|
-
ENV["VERSION"] or abort "VERSION= must be specified"
|
2
|
-
|
3
1
|
Gem::Specification.new do |s|
|
4
2
|
s.name = %q{mahoro}
|
5
|
-
s.version = ENV[
|
6
|
-
s.homepage = "
|
3
|
+
s.version = (ENV['VERSION'] || '0.5').dup
|
4
|
+
s.homepage = "https://yhbt.net/mahoro/README"
|
7
5
|
s.authors = [ "Shu-yu Guo", "Eric Wong" ]
|
8
6
|
s.description = %{
|
9
7
|
An interface to libmagic to determine file types using "magic" numbers.
|
@@ -11,8 +9,8 @@ This can be used in place of calling the file(1) command in Ruby scripts.
|
|
11
9
|
Shu-yu Guo is the original author but all maintenance is handled by
|
12
10
|
Eric Wong nowadays.
|
13
11
|
|
14
|
-
source:
|
15
|
-
documentation:
|
12
|
+
source: https://yhbt.net/mahoro.git/
|
13
|
+
documentation: https://yhbt.net/mahoro/
|
16
14
|
}.strip
|
17
15
|
s.email = %q{normalperson@yhbt.net}
|
18
16
|
s.files = `git ls-files`.split(/\n/)
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: mahoro
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: '0.
|
4
|
+
version: '0.5'
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Shu-yu Guo
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date:
|
12
|
+
date: 2020-02-22 00:00:00.000000000 Z
|
13
13
|
dependencies: []
|
14
14
|
description: |-
|
15
15
|
An interface to libmagic to determine file types using "magic" numbers.
|
@@ -17,8 +17,8 @@ description: |-
|
|
17
17
|
Shu-yu Guo is the original author but all maintenance is handled by
|
18
18
|
Eric Wong nowadays.
|
19
19
|
|
20
|
-
source:
|
21
|
-
documentation:
|
20
|
+
source: https://yhbt.net/mahoro.git/
|
21
|
+
documentation: https://yhbt.net/mahoro/
|
22
22
|
email: normalperson@yhbt.net
|
23
23
|
executables: []
|
24
24
|
extensions:
|
@@ -26,7 +26,7 @@ extensions:
|
|
26
26
|
extra_rdoc_files:
|
27
27
|
- ext/mahoro/mahoro.c
|
28
28
|
files:
|
29
|
-
- .gitignore
|
29
|
+
- ".gitignore"
|
30
30
|
- GNUmakefile
|
31
31
|
- INSTALL
|
32
32
|
- README
|
@@ -40,31 +40,30 @@ files:
|
|
40
40
|
- setup.rb
|
41
41
|
- test/test_mahoro.rb
|
42
42
|
- www/.gitignore
|
43
|
-
homepage:
|
43
|
+
homepage: https://yhbt.net/mahoro/README
|
44
44
|
licenses:
|
45
45
|
- Public Domain
|
46
46
|
metadata: {}
|
47
47
|
post_install_message:
|
48
48
|
rdoc_options:
|
49
|
-
- --exclude
|
50
|
-
-
|
51
|
-
- --exclude
|
52
|
-
-
|
49
|
+
- "--exclude"
|
50
|
+
- "\\.o"
|
51
|
+
- "--exclude"
|
52
|
+
- "\\.so"
|
53
53
|
require_paths:
|
54
54
|
- lib
|
55
55
|
required_ruby_version: !ruby/object:Gem::Requirement
|
56
56
|
requirements:
|
57
|
-
- -
|
57
|
+
- - ">="
|
58
58
|
- !ruby/object:Gem::Version
|
59
59
|
version: '0'
|
60
60
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
61
61
|
requirements:
|
62
|
-
- -
|
62
|
+
- - ">="
|
63
63
|
- !ruby/object:Gem::Version
|
64
64
|
version: '0'
|
65
65
|
requirements: []
|
66
|
-
|
67
|
-
rubygems_version: 2.0.2
|
66
|
+
rubygems_version: 3.1.0.pre3
|
68
67
|
signing_key:
|
69
68
|
specification_version: 4
|
70
69
|
summary: An interface to libmagic
|