/
date_to_word.gemspec
25 lines (24 loc) · 1.05 KB
/
date_to_word.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
# coding: utf-8
lib = File.expand_path('../lib', __FILE__)
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
require 'date_to_word/version'
Gem::Specification.new do |spec|
spec.name = "date_to_word"
spec.version = DateToWord::VERSION
spec.authors = ["Nidhin Nambiar"]
spec.email = ["dnidhin5@gmail.com"]
spec.summary = %q{ruby gem to convert date in to words}
spec.description = %q{Using date_to_word gem it is possible to convert ruby date object into words}
spec.license = "MIT"
spec.homepage = "http://nidhin.me"
if spec.respond_to?(:metadata)
spec.metadata['allowed_push_host'] = "https://rubygems.org"
else
raise "RubyGems 2.0 or newer is required to protect against public gem pushes."
end
spec.files = `git ls-files -z`.split("\x0").reject { |f| f.match(%r{^(test|spec|features)/}) }
spec.bindir = "exe"
spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
spec.require_paths = ["lib"]
spec.required_ruby_version = ">= 2.0"
end