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

Gem::Specification.new do |s|
  s.name        = "sequenced"
  s.version     = Sequenced::VERSION
  s.authors     = ["Derrick Reimer"]
  s.licenses    = ['MIT']
  s.email       = ["derrickreimer@gmail.com"]
  s.homepage    = "https://github.com/djreimer/sequenced"
  s.summary     = "Generate scoped sequential IDs for ActiveRecord models"
  s.description = "Sequenced is a gem that generates scoped sequential IDs for ActiveRecord models."

  s.files = `git ls-files`.split("\n")
  s.test_files = Dir["test/**/*"]

  s.add_dependency "activesupport", ">= 3.0"
  s.add_dependency "activerecord", ">= 3.0"
  s.add_development_dependency "rails", ">= 3.1"
end

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

Gem::Specification.new do |s|
  s.name        = "sequenced"
  s.version     = Sequenced::VERSION
  s.authors     = ["Derrick Reimer"]
  s.licenses    = ['MIT']
  s.email       = ["derrickreimer@gmail.com"]
  s.homepage    = "https://github.com/djreimer/sequenced"
  s.summary     = "Generate scoped sequential IDs for ActiveRecord models"
  s.description = "Sequenced is a gem that generates scoped sequential IDs for ActiveRecord models."

  s.files = `git ls-files -z`.split("\x0").reject { |f| f.match(%r{^(test|spec|features)/}) }

  s.add_dependency "activesupport", ">= 3.0"
  s.add_dependency "activerecord", ">= 3.0"
  s.add_development_dependency "rails", ">= 3.1"
end

Update gemspec to exclude test assets from compiled gem
Update gemspec to exclude test assets from compiled gem

We noticed that the .gem file unnecessarily includes the test directory, including a 3 megabyte test.log file after installation. I've updated the gemspec line with the latest convention from `bundle gem`'s generator, and removed the `test_files` directive which as far as I can tell never served a purpose, as is no longer included in the gemspec reference.