-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmm_tool.gemspec
65 lines (46 loc) · 2.31 KB
/
mm_tool.gemspec
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
# -*- encoding: utf-8 -*-
lib = File.expand_path("../lib", __FILE__)
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
require "mm_tool/version"
# We should work with any 2.0 version of Ruby, but I'm no longer testing them
# for regressions. Version 2.6.0 goes back to December 2018, and is a suitable
# minimum version.
#rb_needed = ['~> 2.0']
Gem::Specification.new do |spec|
# spec.required_ruby_version = rb_needed
spec.name = 'mm_tool'
spec.version = MmTool::VERSION
spec.authors = ['Jim Derry']
spec.email = ['balthisar@gmail.com']
spec.summary = 'Curate your movie files.'
spec.description = 'A tool for curating your movie files.'
spec.homepage = 'https://github.com/balthisar/mm_tool'
spec.license = 'MIT'
spec.platform = Gem::Platform::RUBY
# Prevent pushing this gem to RubyGems.org. To allow pushes either set the 'allowed_push_host'
# to allow pushing to a single host or delete this section to allow pushing to any host.
if spec.respond_to?(:metadata)
spec.metadata["allowed_push_host"] = 'https://rubygems.org'
spec.metadata["homepage_uri"] = spec.homepage
spec.metadata["source_code_uri"] = "https://github.com/balthisar/mm_tool"
else
raise "RubyGems 2.0 or newer is required to protect against public gem pushes."
end
# Specify which files should be added to the gem when it is released.
spec.files = `git ls-files`.split("\n").reject { |f| f == 'bin/setup' || f == 'bin/console'}
spec.test_files = `git ls-files -- {test,spec,features}/*`.split("\n")
spec.bindir = 'bin'
spec.executables = `git ls-files -- bin/*`.split("\n").reject { |f| f == 'bin/setup' || f == 'bin/console'}.map{ |f| File.basename(f) }
spec.require_paths = ['lib']
# Additional dependencies
spec.add_runtime_dependency 'tty-table', "~>0.10"
spec.add_runtime_dependency 'tty-command', "~>0.10"
spec.add_runtime_dependency 'tty-which', "~>0.4"
spec.add_runtime_dependency 'streamio-ffmpeg'
spec.add_runtime_dependency 'bytesize'
spec.add_runtime_dependency 'natural_sort', "0.3.0"
# Development dependencies
spec.add_development_dependency "bundler"
spec.add_development_dependency "rake"
spec.add_development_dependency 'git'
end