gemspec, add pending specs

This commit is contained in:
Ben Mabey 2009-03-04 21:48:20 -07:00
parent 79086c4748
commit 0b39edc8a4
4 changed files with 41 additions and 10 deletions

1
.gitignore vendored
View file

@ -1,3 +1,4 @@
*.sw? *.sw?
.DS_Store .DS_Store
coverage coverage
pkg

View file

@ -8,6 +8,7 @@ begin
s.email = "ben@benmabey.com" s.email = "ben@benmabey.com"
s.homepage = "http://github.com/bmabey/database_cleaner" s.homepage = "http://github.com/bmabey/database_cleaner"
s.description = "TODO" s.description = "TODO"
s.files = FileList["[A-Z]*.*", "{examples,lib,features,spec}/**/*", "Rakefile", "cucumber.yml"]
s.authors = ["Ben Mabey"] s.authors = ["Ben Mabey"]
end end
rescue LoadError rescue LoadError

29
database_cleaner.gemspec Normal file
View file

@ -0,0 +1,29 @@
# -*- encoding: utf-8 -*-
Gem::Specification.new do |s|
s.name = %q{database_cleaner}
s.version = "0.0.1"
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
s.authors = ["Ben Mabey"]
s.date = %q{2009-03-04}
s.description = %q{TODO}
s.email = %q{ben@benmabey.com}
s.files = ["VERSION.yml", "examples/features", "examples/features/example.feature", "examples/features/step_definitions", "examples/features/step_definitions/example_steps.rb", "examples/features/support", "examples/features/support/env.rb", "examples/lib", "examples/lib/activerecord.rb", "lib/database_cleaner", "lib/database_cleaner/active_record", "lib/database_cleaner/active_record/transaction.rb", "lib/database_cleaner/active_record/truncation.rb", "lib/database_cleaner/configuration.rb", "lib/database_cleaner/cucumber.rb", "lib/database_cleaner/data_mapper", "lib/database_cleaner/data_mapper/transaction.rb", "lib/database_cleaner.rb", "features/cleaning.feature", "features/step_definitions", "features/step_definitions/database_cleaner_steps.rb", "features/support", "features/support/env.rb", "spec/database_cleaner", "spec/database_cleaner/active_record", "spec/database_cleaner/active_record/truncation_spec.rb", "spec/database_cleaner/configuration_spec.rb", "spec/spec.opts", "spec/spec_helper.rb", "Rakefile", "cucumber.yml"]
s.has_rdoc = true
s.homepage = %q{http://github.com/bmabey/database_cleaner}
s.rdoc_options = ["--inline-source", "--charset=UTF-8"]
s.require_paths = ["lib"]
s.rubygems_version = %q{1.3.1}
s.summary = %q{TODO}
if s.respond_to? :specification_version then
current_version = Gem::Specification::CURRENT_SPECIFICATION_VERSION
s.specification_version = 2
if Gem::Version.new(Gem::RubyGemsVersion) >= Gem::Version.new('1.2.0') then
else
end
else
end
end

View file

@ -1,15 +1,15 @@
require File.dirname(__FILE__) + '/../../spec_helper' require File.dirname(__FILE__) + '/../../spec_helper'
require 'database_cleaner/active_record/truncation' require 'database_cleaner/active_record/truncation'
require 'active_record' require 'active_record'
#module ActiveRecord module ActiveRecord
#module ConnectionAdapters module ConnectionAdapters
#[MysqlAdapter, SQLite3Adapter].each do |adapter| [MysqlAdapter, SQLite3Adapter].each do |adapter|
#describe adapter, "#truncate_table" do describe adapter, "#truncate_table" do
#it "should truncate the table" it "should truncate the table"
#end end
#end end
#end end
#end end
module DatabaseCleaner module DatabaseCleaner
module ActiveRecord module ActiveRecord