Skip to content

Commit

Permalink
Clean up gemspec.
Browse files Browse the repository at this point in the history
  • Loading branch information
Gabe Berke-Williams committed Feb 8, 2012
1 parent b63e389 commit 6e7e4ee
Showing 1 changed file with 33 additions and 37 deletions.
70 changes: 33 additions & 37 deletions factory_girl.gemspec
Original file line number Diff line number Diff line change
@@ -1,41 +1,37 @@
$LOAD_PATH << File.join(File.dirname(__FILE__), 'lib')
$LOAD_PATH << File.expand_path("../lib", __FILE__)
require 'factory_girl/version'
Gem::Specification.new do |s|
s.name = %q{factory_girl}
s.version = FactoryGirl::VERSION
s.summary = %q{factory_girl provides a framework and DSL for defining and
using model instance factories.}
s.description = %q{factory_girl provides a framework and DSL for defining and
using factories - less error-prone, more explicit, and
all-around easier to work with than fixtures.}

all_files = %x{git ls-files}.split("\n").reject {|file| file =~ /gemspec/ }

s.files = all_files.reject {|file| file =~ /^(spec|features|cucumber|gemfiles|Appraisals)/ }
s.test_files = all_files.select {|file| file =~ /^(spec|features|cucumber|gemfiles|Appraisals)/ }

s.require_path = 'lib'
s.required_ruby_version = Gem::Requirement.new(">= 1.8.7")

s.authors = ["Joe Ferris"]
s.email = %q{jferris@thoughtbot.com}
s.homepage = "https://github.com/thoughtbot/factory_girl"

s.add_dependency("activesupport", ">= 2.3.9")

s.add_development_dependency("rspec", "~> 2.0")
s.add_development_dependency("cucumber", "~> 1.0.0")
s.add_development_dependency("timecop")
s.add_development_dependency("rcov")
s.add_development_dependency("aruba")
s.add_development_dependency("mocha")
s.add_development_dependency("bourne")
s.add_development_dependency("appraisal", "~> 0.3.8")
s.add_development_dependency("sqlite3-ruby")
s.add_development_dependency("yard")
s.add_development_dependency("bluecloth")

s.platform = Gem::Platform::RUBY
s.rubygems_version = %q{1.2.0}
Gem::Specification.new do |s|
s.name = %q{factory_girl}
s.version = FactoryGirl::VERSION
s.summary = %q{factory_girl provides a framework and DSL for defining and
using model instance factories.}
s.description = %q{factory_girl provides a framework and DSL for defining and
using factories - less error-prone, more explicit, and
all-around easier to work with than fixtures.}

s.files = `git ls-files`.split("\n")
s.test_files = `git ls-files -- Appraisals {spec,features,gemfiles}/*`.split("\n")

s.require_paths = ['lib']
s.required_ruby_version = Gem::Requirement.new(">= 1.8.7")

s.authors = ["Joe Ferris"]
s.email = %q{jferris@thoughtbot.com}
s.homepage = "https://github.com/thoughtbot/factory_girl"

s.add_dependency("activesupport", ">= 2.3.9")

s.add_development_dependency("rspec", "~> 2.0")
s.add_development_dependency("cucumber", "~> 1.0.0")
s.add_development_dependency("timecop")
s.add_development_dependency("rcov")
s.add_development_dependency("aruba")
s.add_development_dependency("mocha")
s.add_development_dependency("bourne")
s.add_development_dependency("appraisal", "~> 0.3.8")
s.add_development_dependency("sqlite3-ruby")
s.add_development_dependency("yard")
s.add_development_dependency("bluecloth")
end

0 comments on commit 6e7e4ee

Please sign in to comment.