-
Notifications
You must be signed in to change notification settings - Fork 5
/
days360.gemspec
24 lines (21 loc) · 1.12 KB
/
days360.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
# coding: utf-8
lib = File.expand_path('../lib', __FILE__)
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
require 'days360/version'
Gem::Specification.new do |spec|
spec.name = "days360"
spec.version = Days360::VERSION
spec.authors = ["Michael Prilop"]
spec.email = ["[email protected]"]
spec.summary = %q{number of days between two dates based on the 360 day year}
spec.description = %q{Calculates the difference in days between two dates. The calculation is based on the 360 day year used in interest calculations. Different methods are provided. The default method aims to be fully compatible to Excel/Calc based calculations.}
spec.homepage = "https://github.com/tamaloa/days360"
spec.license = "MIT"
spec.files = `git ls-files`.split($/)
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.add_development_dependency "bundler"
spec.add_development_dependency "rake"
spec.add_development_dependency "test-unit"
end