-
Notifications
You must be signed in to change notification settings - Fork 9
/
wareki.gemspec
36 lines (30 loc) · 1.25 KB
/
wareki.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 'wareki/version'
Gem::Specification.new do |spec|
spec.name = 'wareki'
spec.version = Wareki::VERSION
spec.authors = ['Tatsuki Sugiura']
spec.email = ['sugi@nemui.org']
spec.summary = 'Pure ruby library of Wareki (Japanese calendar date)'
spec.description = <<-DESC
Pure ruby library of Wareki (Japanese calendar date) that supports string parsing,
formatting, and bi-directional convertion with standard Date class.
DESC
spec.homepage = 'https://github.com/sugi/wareki'
spec.license = 'BSD'
spec.files = Dir['lib/**/*.rb'] + %w(LICENSE README.md ChangeLog)
# spec.bindir = "exe"
# spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
spec.require_paths = ['lib']
spec.add_dependency 'ya_kansuji', '> 0.0.9', '< 2.0.0'
spec.required_ruby_version = '>= 2.0.0'
if RUBY_VERSION >= '2.1.0' && !defined?(JRUBY_VERSION)
spec.add_development_dependency 'bundler', '>= 1.9'
else
spec.add_development_dependency 'bundler'
end
spec.add_development_dependency 'rake', '>= 10.0'
spec.add_development_dependency 'rspec'
end