From 9fdfd45f55c7acac00c79b8102338ec836e80fd6 Mon Sep 17 00:00:00 2001 From: Ernesto Tagwerker Date: Fri, 2 Jan 2015 17:14:04 -0300 Subject: [PATCH] Removed jeweler from the gem. --- Gemfile | 3 +-- Gemfile.lock | 9 +-------- Rakefile | 18 +----------------- database_cleaner.gemspec | 21 +++------------------ 4 files changed, 6 insertions(+), 45 deletions(-) diff --git a/Gemfile b/Gemfile index f842dde9..2d9843d4 100755 --- a/Gemfile +++ b/Gemfile @@ -1,4 +1,4 @@ -source "http://rubygems.org" +source "https://rubygems.org" # TODO: move these to the gemspec... group :development, :test do @@ -6,7 +6,6 @@ group :development, :test do gem "ruby-debug", :platform => :ruby_18 gem "ruby-debug19", :platform => :ruby_19 gem "bundler" - gem "jeweler" gem "json_pure" diff --git a/Gemfile.lock b/Gemfile.lock index 0cf2098a..51faf4cf 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -1,5 +1,5 @@ GEM - remote: http://rubygems.org/ + remote: https://rubygems.org/ specs: abstract (1.0.0) actionpack (3.0.0) @@ -117,7 +117,6 @@ GEM json (>= 1.7.6) gherkin (2.11.6-java) json (>= 1.7.6) - git (1.2.8) guard (1.8.3) formatador (>= 0.2.4) listen (~> 1.3) @@ -132,11 +131,6 @@ GEM multi_xml (>= 0.5.2) httpclient (2.5.3.3) i18n (0.4.2) - jeweler (1.8.4) - bundler (~> 1.0) - git (>= 1.2.5) - rake - rdoc json (1.8.1) json (1.8.1-java) json_pure (1.8.1) @@ -279,7 +273,6 @@ DEPENDENCIES dm-migrations dm-sqlite-adapter guard-rspec - jeweler json_pure mongo_ext mongo_mapper diff --git a/Rakefile b/Rakefile index e4376141..63e0df94 100644 --- a/Rakefile +++ b/Rakefile @@ -3,26 +3,10 @@ require "bundler" Bundler.setup require 'rake' - -begin - require 'jeweler' - Jeweler::Tasks.new do |s| - s.name = "database_cleaner" - s.summary = %Q{Strategies for cleaning databases. Can be used to ensure a clean state for testing.} - s.email = "ben@benmabey.com" - s.homepage = "http://github.com/bmabey/database_cleaner" - s.description = "Strategies for cleaning databases. Can be used to ensure a clean state for testing." - s.files = FileList["[A-Z]*.*", "{examples,lib,features,spec}/**/*", "Rakefile", "cucumber.yml"] - s.authors = ["Ben Mabey"] - # s.licence = 'MIT' - end -rescue LoadError - puts "Jeweler not available. Install it with: sudo gem install technicalpickles-jeweler -s http://gems.github.com" -end - require 'rspec/core' require 'rspec/core/rake_task' RSpec::Core::RakeTask.new(:spec) do |spec| + spec.pattern = FileList['spec/**/*_spec.rb'] end diff --git a/database_cleaner.gemspec b/database_cleaner.gemspec index 28371c93..4e4e548d 100644 --- a/database_cleaner.gemspec +++ b/database_cleaner.gemspec @@ -1,9 +1,3 @@ -# Generated by jeweler -# DO NOT EDIT THIS FILE DIRECTLY -# Instead, edit Jeweler::Tasks in Rakefile, and run 'rake gemspec' -# -*- encoding: utf-8 -*- -# stub: database_cleaner 1.4.0 ruby lib - Gem::Specification.new do |s| s.name = "database_cleaner" s.version = "1.4.0" @@ -11,7 +5,7 @@ Gem::Specification.new do |s| s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version= s.require_paths = ["lib"] s.authors = ["Ben Mabey"] - s.date = "2014-12-22" + s.date = "2015-01-02" s.description = "Strategies for cleaning databases. Can be used to ensure a clean state for testing." s.email = "ben@benmabey.com" s.extra_rdoc_files = [ @@ -29,14 +23,8 @@ Gem::Specification.new do |s| "cucumber.yml", "examples/Gemfile", "examples/Gemfile.lock", - "examples/config/database.yml", "examples/config/database.yml.example", "examples/config/redis.yml", - "examples/db/activerecord_one.db", - "examples/db/activerecord_two.db", - "examples/db/datamapper_default.db", - "examples/db/datamapper_one.db", - "examples/db/datamapper_two.db", "examples/db/sqlite_databases_go_here", "examples/features/example.feature", "examples/features/example_multiple_db.feature", @@ -57,6 +45,7 @@ Gem::Specification.new do |s| "examples/lib/neo4j_models.rb", "examples/lib/ohm_models.rb", "examples/lib/redis_models.rb", + "examples/lib/sequel_models.rb", "features/cleaning.feature", "features/cleaning_default_strategy.feature", "features/cleaning_multiple_dbs.feature", @@ -151,7 +140,7 @@ Gem::Specification.new do |s| "spec/support/data_mapper/sqlite3_setup.rb" ] s.homepage = "http://github.com/bmabey/database_cleaner" - s.rubygems_version = "2.4.3" + s.rubygems_version = "2.4.5" s.summary = "Strategies for cleaning databases. Can be used to ensure a clean state for testing." if s.respond_to? :specification_version then @@ -162,7 +151,6 @@ Gem::Specification.new do |s| s.add_development_dependency(%q, [">= 0"]) s.add_development_dependency(%q, [">= 0"]) s.add_development_dependency(%q, [">= 0"]) - s.add_development_dependency(%q, [">= 0"]) s.add_development_dependency(%q, [">= 0"]) s.add_development_dependency(%q, [">= 0"]) s.add_development_dependency(%q, [">= 0"]) @@ -189,7 +177,6 @@ Gem::Specification.new do |s| s.add_dependency(%q, [">= 0"]) s.add_dependency(%q, [">= 0"]) s.add_dependency(%q, [">= 0"]) - s.add_dependency(%q, [">= 0"]) s.add_dependency(%q, [">= 0"]) s.add_dependency(%q, [">= 0"]) s.add_dependency(%q, [">= 0"]) @@ -217,7 +204,6 @@ Gem::Specification.new do |s| s.add_dependency(%q, [">= 0"]) s.add_dependency(%q, [">= 0"]) s.add_dependency(%q, [">= 0"]) - s.add_dependency(%q, [">= 0"]) s.add_dependency(%q, [">= 0"]) s.add_dependency(%q, [">= 0"]) s.add_dependency(%q, [">= 0"]) @@ -241,4 +227,3 @@ Gem::Specification.new do |s| s.add_dependency(%q, [">= 0"]) end end -