-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathworkdays.gemspec
More file actions
36 lines (30 loc) · 1.48 KB
/
workdays.gemspec
File metadata and controls
36 lines (30 loc) · 1.48 KB
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
# coding: utf-8
# frozen_string_literal: true
lib = File.expand_path("../lib", __FILE__)
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
require "workdays/version"
Gem::Specification.new do |spec|
spec.name = "workdays"
spec.version = Workdays::VERSION
spec.authors = ["Julien Roger"]
spec.email = ["jroger@abletribe.com"]
spec.summary = "A hard-working collection of methods to make calculating " \
"working dates easier."
spec.description = "Provides a number of convenience methods to simplify " \
"calculating dates while respecting non-working days. Uses the " \
"Holiday gem so that holiday schedules can be localized and " \
"customized."
spec.homepage = "https://github.com/julienroger/workdays"
spec.license = "MIT"
spec.files = Dir.glob("{bin,lib}/**/*") + %w[LICENSE README.md]
spec.executables = spec.files.grep(%r{^bin/}) { |f| File.basename(f) }
spec.test_files = spec.files.grep(%r{^spec/}) { |f| File.basename(f) }
spec.require_paths = ["lib"]
spec.add_dependency("activesupport", ">= 4.2.8")
spec.add_dependency("holidays")
spec.add_development_dependency "bundler", "~> 1.13"
spec.add_development_dependency "rake", "~> 12.0"
spec.add_development_dependency "rspec", "~> 3.6"
spec.add_development_dependency "rubocop", "~> 0.49"
spec.add_development_dependency "rubocop-rspec", "~> 1.15"
end