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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
- SHA1:
3
- metadata.gz: 8e34a0f3eb2e9f8f9cebd7e149fc91188fe75cd8
4
- data.tar.gz: b47106cf51c0f7aedab8a471c292f90684a301e0
2
+ SHA256:
3
+ metadata.gz: 6f781dc6f6d182640a1402cc0573caa54f5106138c60b1ec4d64ab531a18aae1
4
+ data.tar.gz: 4e6a98eeb54000f75ce5d577658588349f5b53e5cafcca7ac252fa54cfc123da
5
5
  SHA512:
6
- metadata.gz: d64e5576704b93552e4f89b2712ae9890862df5e3ed479ecd8d3d2906765e2db263e1ca7f2f85e563043550b4aacaad98013240498b60cf6d2f977ba8448b48b
7
- data.tar.gz: d3a9f511611377d7561751d317a015a9ad964245731d15ea130453db0ac2143c90fe4db68a1652d0cb222b0d0a91927f6a7657fa0038e1c71341c9e5bd5a8aa4
6
+ metadata.gz: 6a88d25c8fb0be009275f8f394ba17c7aea1383deaf2bc9d9122ae6c9a25e7a367ecab9fd5c6f8be4c3ebcbf21bd515177be97bed892e95e0b7307290ff7f763
7
+ data.tar.gz: 149fb41476fb214e4752d2bcc1e29a8a885b9bae47c93948b2ac9ad5fc30bb95cb35531cd5163c5acbc79a400a6fab21b3c4b37e2651185fc409e5a34cedebc7
@@ -57,7 +57,7 @@ package: $(gem) $(tgz)
57
57
 
58
58
  RSYNC = rsync
59
59
  publish_doc: all
60
- $(RSYNC) --delete --exclude .gitignore -av \
61
- www/ dcvr:/srv/bogomips/mahoro/
60
+ $(RSYNC) --exclude .gitignore -av \
61
+ www/ yhbt.net:/srv/yhbt/mahoro/
62
62
 
63
63
  .PHONY: publish_doc package
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: http://bogomips.org/mahoro/API
9
- source: git clone git://bogomips.org/mahoro.git
10
- cgit web viewer: http://bogomips.org/mahoro.git/
11
- mailing list: mahoro@librelist.org (plain-text only, please)
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.
@@ -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 git://bogomips.org/mahoro.git
394
+ * git clone https://yhbt.net/mahoro.git
395
395
  *
396
396
  * And viewable with a web browser via cgit:
397
- * http://bogomips.org/mahoro.git
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 mailing list:
402
- * mahoro@librelist.org
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.
@@ -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["VERSION"].dup
6
- s.homepage = "http://bogomips.org/mahoro/README"
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: http://bogomips.org/mahoro.git/
15
- documentation: http://bogomips.org/mahoro/
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'
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: 2013-04-05 00:00:00.000000000 Z
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: http://bogomips.org/mahoro.git/
21
- documentation: http://bogomips.org/mahoro/
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: http://bogomips.org/mahoro/README
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
- - \.o
51
- - --exclude
52
- - \.so
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
- rubyforge_project: mahoro
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