# frozen_string_literal: true lib = File.expand_path('lib', __dir__) $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib) require 'time_distance/version' Gem::Specification.new do |spec| spec.name = 'time_distance' spec.version = TimeDistance::VERSION spec.authors = ['Igor Malinovskiy'] spec.email = ['igor.malinovskiy@netfixllc.org'] spec.summary = 'Time distance in words' spec.description = 'This gem provides precise time distance between dates' spec.homepage = 'https://github.com/psyipm/time_distance' spec.license = 'MIT' spec.files = `git ls-files -z`.split("\x0").reject do |f| f.match(%r{^(test|spec|features)/}) end spec.bindir = 'exe' spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) } spec.require_paths = ['lib'] spec.add_development_dependency 'bundler', '~> 1.15' spec.add_development_dependency 'rake', '~> 10.0' spec.add_development_dependency 'rspec', '~> 3.0' spec.add_dependency 'activesupport', '>= 4.0' end