$:.push File.expand_path("../lib", __FILE__)
require "paul_revere/version"

Gem::Specification.new do |s|
  s.name        = "paul_revere"
  s.version     = PaulRevere::VERSION.dup
  s.licenses    = ["MIT"]
  s.platform    = Gem::Platform::RUBY
  s.authors     = `git shortlog -ns | cut -c8-`.split("\n")
  s.email       = "support@thoughtbot.com"
  s.homepage    = "https://github.com/thoughtbot/paul_revere"
  s.summary     = "Simple announcement plugin to include `one off` style announcements in Rails web apps."
  s.description = "Paul Revere provides a model and helper methods to do one-off style announcements."

  s.files         = `git ls-files`.split("\n")
  s.test_files    = `git ls-files -- {test,spec,features}/*`.split("\n")
  s.executables   = `git ls-files -- bin/*`.split("\n").map{ |f| File.basename(f) }
  s.require_paths = ["lib"]

  s.add_dependency("rails", "~> 4.0")

  s.add_development_dependency("rspec-rails", "~> 3.1")
  s.add_development_dependency("sqlite3", "~> 1.3")
  s.add_development_dependency("appraisal", "~> 1.0")
  s.add_development_dependency("generator_spec", "~> 0.9")
  s.add_development_dependency("factory_girl_rails", "~> 4.5")
  s.add_development_dependency("jasmine", "~> 2.2")
end
