diff --git a/periodicity.gemspec b/periodicity.gemspec index 677bf7e..bf67b3b 100644 --- a/periodicity.gemspec +++ b/periodicity.gemspec @@ -1,14 +1,22 @@ # -*- encoding: utf-8 -*- require File.expand_path('../lib/periodicity/version', __FILE__) -Gem::Specification.new do |gem| - gem.name = 'periodicity' - gem.version = Periodicity::VERSION +Gem::Specification.new do |s| + s.name = "periodicity" + s.version = Periodicity::VERSION + s.authors = ["Dzmitry Plashchynski"] + s.email = ["plashchynski@gmail.com"] + s.homepage = "https://github.com/plashchynski/periodicity" gem.description = gem.summary = "Job scheduler for Rails" - gem.authors = ["Dzmitry Plashchynski"] - gem.email = "plashchynski@gmail.com" - gem.files = `git ls-files`.split("\n") - gem.require_paths = ["lib"] - gem.homepage = "https://github.com/plashchynski/periodicity" - gem.license = "Apache-2.0" + + s.required_rubygems_version = ">= 1.3.6" + s.rubyforge_project = "periodicity" + + s.add_runtime_dependency "activejob" + s.add_development_dependency "bundler", ">= 1.0.0" + s.add_development_dependency "rspec" + + s.files = `git ls-files`.split("\n") + s.executables = `git ls-files`.split("\n").map{|f| f =~ /^bin\/(.*)/ ? $1 : nil}.compact + s.require_path = 'lib' end