lib = File.expand_path("../lib", __FILE__) $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib) Gem::Specification.new do |spec| spec.name = "administrate-field-unixtime" spec.version = "0.0.3" spec.authors = ["potato2003"] spec.email = ["potato2003@gmail.com"] spec.summary = "simple plugin in order to be able to view and edit unixtime as human-editable format within Administrate." spec.description = spec.summary spec.homepage = "https://github.com/potato2003/administrate-field-unixtime" spec.licenses = ['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_runtime_dependency 'administrate' spec.add_runtime_dependency 'rails', '>= 5.0' spec.add_development_dependency "rake", "~> 10.0" spec.add_development_dependency "rspec", "~> 3.0" end