-
Notifications
You must be signed in to change notification settings - Fork 5
/
typesafe_enum.gemspec
36 lines (28 loc) · 1.34 KB
/
typesafe_enum.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
# frozen_string_literal: true
lib = File.expand_path('lib', __dir__)
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
require 'uri'
require 'typesafe_enum/module_info'
Gem::Specification.new do |spec|
spec.name = TypesafeEnum::ModuleInfo::NAME
spec.version = TypesafeEnum::ModuleInfo::VERSION
spec.authors = ['David Moles']
spec.email = ['[email protected]']
spec.summary = 'Typesafe enum pattern for Ruby'
spec.description = 'A gem that implements the typesafe enum pattern in Ruby'
spec.license = 'MIT'
spec.homepage = 'https://github.com/dmolesUC/typesafe_enum'
spec.files = `git ls-files -z`.split("\x0")
spec.executables = spec.files.grep(%r{^bin/}) { |f| File.basename(f) }
spec.test_files = spec.files.grep(%r{^(test|spec|features)/})
spec.require_paths = ['lib']
spec.required_ruby_version = '>= 2.7'
spec.add_development_dependency 'ci_reporter_rspec', '~> 1.0'
spec.add_development_dependency 'colorize', '~> 0.8'
spec.add_development_dependency 'rake', '~> 13.0'
spec.add_development_dependency 'rspec', '~> 3.9'
spec.add_development_dependency 'rubocop', '0.91'
spec.add_development_dependency 'simplecov', '~> 0.18'
spec.add_development_dependency 'simplecov-console', '~> 0.7'
spec.add_development_dependency 'yard', '~> 0.9', '>= 0.9.12'
end