multicodecs 0.2.0 → 1.0.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.gitignore +9 -9
- data/.travis.yml +7 -7
- data/.vscode/settings.json +7 -0
- data/CHANGELOG.md +28 -0
- data/Gemfile +4 -4
- data/README.md +143 -145
- data/Rakefile +22 -22
- data/bin/console +15 -15
- data/bin/setup +8 -8
- data/lib/multicodecs/bare.rb +8 -4
- data/lib/multicodecs/registry.rb +38 -3
- data/lib/multicodecs/version.rb +5 -5
- data/lib/multicodecs.rb +9 -9
- data/lib/table.csv +586 -423
- data/multicodecs.gemspec +48 -48
- metadata +10 -8
data/multicodecs.gemspec
CHANGED
@@ -1,48 +1,48 @@
|
|
1
|
-
# frozen_string_literal: true
|
2
|
-
|
3
|
-
lib = File.expand_path('lib', __dir__)
|
4
|
-
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
|
5
|
-
require 'multicodecs/version'
|
6
|
-
|
7
|
-
Gem::Specification.new do |spec|
|
8
|
-
spec.name = 'multicodecs'
|
9
|
-
spec.version = Multicodecs::VERSION
|
10
|
-
spec.authors = ['Derk-Jan Karrenbeld']
|
11
|
-
spec.email = ['derk-jan+github@karrenbeld.info']
|
12
|
-
|
13
|
-
spec.summary = 'Ruby implementation of the multicodec specification'
|
14
|
-
spec.description = %q(
|
15
|
-
This gem provides a PORO of the multicodec table for use with other
|
16
|
-
multiformat ruby gems.
|
17
|
-
).strip
|
18
|
-
spec.homepage = 'https://github.com/SleeplessByte/ruby-multicodec'
|
19
|
-
|
20
|
-
# Prevent pushing this gem to RubyGems.org. To allow pushes either set the
|
21
|
-
# 'allowed_push_host' to allow pushing to a single host or delete this section
|
22
|
-
# to allow pushing to any host.
|
23
|
-
if spec.respond_to?(:metadata)
|
24
|
-
spec.metadata['homepage_uri'] = spec.homepage
|
25
|
-
spec.metadata['source_code_uri'] = 'https://github.com/SleeplessByte/ruby-multicodec'
|
26
|
-
spec.metadata['changelog_uri'] = spec.metadata['source_code_uri'] +
|
27
|
-
'/blog/master/CHANGELOG.md'
|
28
|
-
else
|
29
|
-
raise 'RubyGems 2.0 or newer is required to protect against ' \
|
30
|
-
'public gem pushes.'
|
31
|
-
end
|
32
|
-
|
33
|
-
# Specify which files should be added to the gem when it is released.
|
34
|
-
# The `git ls-files -z` loads the files in the RubyGem that have been added
|
35
|
-
# into git.
|
36
|
-
spec.files = Dir.chdir(File.expand_path(__dir__)) do
|
37
|
-
`git ls-files -z`.split("\x0").reject do |f|
|
38
|
-
f.match(%r{^(test|spec|features)/})
|
39
|
-
end
|
40
|
-
end
|
41
|
-
spec.bindir = 'exe'
|
42
|
-
spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
|
43
|
-
spec.require_paths = ['lib']
|
44
|
-
|
45
|
-
spec.add_development_dependency 'bundler', '~> 2'
|
46
|
-
spec.add_development_dependency 'minitest', '~> 5.0'
|
47
|
-
spec.add_development_dependency 'rake', '~>
|
48
|
-
end
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
lib = File.expand_path('lib', __dir__)
|
4
|
+
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
|
5
|
+
require 'multicodecs/version'
|
6
|
+
|
7
|
+
Gem::Specification.new do |spec|
|
8
|
+
spec.name = 'multicodecs'
|
9
|
+
spec.version = Multicodecs::VERSION
|
10
|
+
spec.authors = ['Derk-Jan Karrenbeld']
|
11
|
+
spec.email = ['derk-jan+github@karrenbeld.info']
|
12
|
+
|
13
|
+
spec.summary = 'Ruby implementation of the multicodec specification'
|
14
|
+
spec.description = %q(
|
15
|
+
This gem provides a PORO of the multicodec table for use with other
|
16
|
+
multiformat ruby gems.
|
17
|
+
).strip
|
18
|
+
spec.homepage = 'https://github.com/SleeplessByte/ruby-multicodec'
|
19
|
+
|
20
|
+
# Prevent pushing this gem to RubyGems.org. To allow pushes either set the
|
21
|
+
# 'allowed_push_host' to allow pushing to a single host or delete this section
|
22
|
+
# to allow pushing to any host.
|
23
|
+
if spec.respond_to?(:metadata)
|
24
|
+
spec.metadata['homepage_uri'] = spec.homepage
|
25
|
+
spec.metadata['source_code_uri'] = 'https://github.com/SleeplessByte/ruby-multicodec'
|
26
|
+
spec.metadata['changelog_uri'] = spec.metadata['source_code_uri'] +
|
27
|
+
'/blog/master/CHANGELOG.md'
|
28
|
+
else
|
29
|
+
raise 'RubyGems 2.0 or newer is required to protect against ' \
|
30
|
+
'public gem pushes.'
|
31
|
+
end
|
32
|
+
|
33
|
+
# Specify which files should be added to the gem when it is released.
|
34
|
+
# The `git ls-files -z` loads the files in the RubyGem that have been added
|
35
|
+
# into git.
|
36
|
+
spec.files = Dir.chdir(File.expand_path(__dir__)) do
|
37
|
+
`git ls-files -z`.split("\x0").reject do |f|
|
38
|
+
f.match(%r{^(test|spec|features)/})
|
39
|
+
end
|
40
|
+
end
|
41
|
+
spec.bindir = 'exe'
|
42
|
+
spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
|
43
|
+
spec.require_paths = ['lib']
|
44
|
+
|
45
|
+
spec.add_development_dependency 'bundler', '~> 2'
|
46
|
+
spec.add_development_dependency 'minitest', '~> 5.0'
|
47
|
+
spec.add_development_dependency 'rake', '~> 13.0'
|
48
|
+
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: multicodecs
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 1.0.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Derk-Jan Karrenbeld
|
8
|
-
autorequire:
|
8
|
+
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2024-12-03 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|
@@ -44,14 +44,14 @@ dependencies:
|
|
44
44
|
requirements:
|
45
45
|
- - "~>"
|
46
46
|
- !ruby/object:Gem::Version
|
47
|
-
version: '
|
47
|
+
version: '13.0'
|
48
48
|
type: :development
|
49
49
|
prerelease: false
|
50
50
|
version_requirements: !ruby/object:Gem::Requirement
|
51
51
|
requirements:
|
52
52
|
- - "~>"
|
53
53
|
- !ruby/object:Gem::Version
|
54
|
-
version: '
|
54
|
+
version: '13.0'
|
55
55
|
description: |-
|
56
56
|
This gem provides a PORO of the multicodec table for use with other
|
57
57
|
multiformat ruby gems.
|
@@ -63,6 +63,8 @@ extra_rdoc_files: []
|
|
63
63
|
files:
|
64
64
|
- ".gitignore"
|
65
65
|
- ".travis.yml"
|
66
|
+
- ".vscode/settings.json"
|
67
|
+
- CHANGELOG.md
|
66
68
|
- Gemfile
|
67
69
|
- README.md
|
68
70
|
- Rakefile
|
@@ -80,7 +82,7 @@ metadata:
|
|
80
82
|
homepage_uri: https://github.com/SleeplessByte/ruby-multicodec
|
81
83
|
source_code_uri: https://github.com/SleeplessByte/ruby-multicodec
|
82
84
|
changelog_uri: https://github.com/SleeplessByte/ruby-multicodec/blog/master/CHANGELOG.md
|
83
|
-
post_install_message:
|
85
|
+
post_install_message:
|
84
86
|
rdoc_options: []
|
85
87
|
require_paths:
|
86
88
|
- lib
|
@@ -95,8 +97,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
95
97
|
- !ruby/object:Gem::Version
|
96
98
|
version: '0'
|
97
99
|
requirements: []
|
98
|
-
rubygems_version: 3.
|
99
|
-
signing_key:
|
100
|
+
rubygems_version: 3.5.4
|
101
|
+
signing_key:
|
100
102
|
specification_version: 4
|
101
103
|
summary: Ruby implementation of the multicodec specification
|
102
104
|
test_files: []
|