multicodecs 0.2.0 → 0.2.1

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.
@@ -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', '~> 10.0'
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.2.0
4
+ version: 0.2.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Derk-Jan Karrenbeld
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2019-07-11 00:00:00.000000000 Z
11
+ date: 2020-11-20 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: '10.0'
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: '10.0'
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,7 @@ extra_rdoc_files: []
63
63
  files:
64
64
  - ".gitignore"
65
65
  - ".travis.yml"
66
+ - CHANGELOG.md
66
67
  - Gemfile
67
68
  - README.md
68
69
  - Rakefile