Permalink
Browse files

Use bundler to release gem instead of jeweler

  • Loading branch information...
1 parent 4464a95 commit e0765b696525508926dc852ab9ff46c53b72fa0f @mnoack mnoack committed Nov 23, 2016
View
@@ -11,7 +11,7 @@ doc
.bundle
*.lock
-# jeweler
+# gem
pkg
# mac os specific
View
@@ -9,7 +9,6 @@ group :development, :test do
end
group :development do
- gem 'jeweler'
gem 'appraisal'
gem 'simplecov', :require => false
end
View
@@ -2,23 +2,7 @@ require 'rubygems'
require 'rake'
require 'rspec/core/rake_task'
-begin
- require 'jeweler'
- Jeweler::Tasks.new do |gem|
- gem.name = 'activerecord-nulldb-adapter'
- gem.summary = %Q{The Null Object pattern as applied to ActiveRecord database adapters}
- gem.description = %Q{A database backend that translates database interactions into no-ops. Using NullDB enables you to test your model business logic - including after_save hooks - without ever touching a real database.}
- gem.email = "myron.marston@gmail.com"
- gem.homepage = "http://github.com/nulldb/nulldb"
- gem.authors = ["Avdi Grimm", "Myron Marston"]
- gem.rubyforge_project = "nulldb"
- gem.license = "MIT"
-
- # gem is a Gem::Specification... see http://www.rubygems.org/read/chapter/20 for additional settings
- end
- Jeweler::GemcutterTasks.new
-rescue LoadError
-end
+require 'bundler/gem_tasks'
RSpec::Core::RakeTask.new(:spec)
task :default => :spec
@@ -1,8 +1,4 @@
-# Generated by jeweler
-# DO NOT EDIT THIS FILE DIRECTLY
-# Instead, edit Jeweler::Tasks in Rakefile, and run 'rake gemspec'
-# -*- encoding: utf-8 -*-
-# stub: activerecord-nulldb-adapter 0.3.5 ruby lib
+# coding: utf-8
Gem::Specification.new do |s|
s.name = "activerecord-nulldb-adapter"
@@ -33,15 +29,13 @@ Gem::Specification.new do |s|
s.add_development_dependency(%q<spec>, [">= 0"])
s.add_development_dependency(%q<rspec>, [">= 1.2.9"])
s.add_development_dependency(%q<rake>, [">= 0"])
- s.add_development_dependency(%q<jeweler>, [">= 0"])
s.add_development_dependency(%q<appraisal>, [">= 0"])
s.add_development_dependency(%q<simplecov>, [">= 0"])
else
s.add_dependency(%q<activerecord>, [">= 2.0.0"])
s.add_dependency(%q<spec>, [">= 0"])
s.add_dependency(%q<rspec>, [">= 1.2.9"])
s.add_dependency(%q<rake>, [">= 0"])
- s.add_dependency(%q<jeweler>, [">= 0"])
s.add_dependency(%q<appraisal>, [">= 0"])
s.add_dependency(%q<simplecov>, [">= 0"])
end
@@ -50,7 +44,6 @@ Gem::Specification.new do |s|
s.add_dependency(%q<spec>, [">= 0"])
s.add_dependency(%q<rspec>, [">= 1.2.9"])
s.add_dependency(%q<rake>, [">= 0"])
- s.add_dependency(%q<jeweler>, [">= 0"])
s.add_dependency(%q<appraisal>, [">= 0"])
s.add_dependency(%q<simplecov>, [">= 0"])
end
@@ -12,7 +12,6 @@ group :development, :test do
end
group :development do
- gem "jeweler"
gem "appraisal"
gem "simplecov", :require => false
end
@@ -11,7 +11,6 @@ group :development, :test do
end
group :development do
- gem "jeweler"
gem "appraisal"
gem "simplecov", :require => false
end
@@ -11,7 +11,6 @@ group :development, :test do
end
group :development do
- gem "jeweler"
gem "appraisal"
gem "simplecov", :require => false
end
@@ -11,7 +11,6 @@ group :development, :test do
end
group :development do
- gem "jeweler"
gem "appraisal"
gem "simplecov", :require => false
end
@@ -11,7 +11,6 @@ group :development, :test do
end
group :development do
- gem "jeweler"
gem "appraisal"
gem "simplecov", :require => false
end
@@ -11,7 +11,6 @@ group :development, :test do
end
group :development do
- gem "jeweler"
gem "appraisal"
gem "simplecov", :require => false
end
@@ -11,7 +11,6 @@ group :development, :test do
end
group :development do
- gem "jeweler"
gem "appraisal"
gem "simplecov", :require => false
end
@@ -11,7 +11,6 @@ group :development, :test do
end
group :development do
- gem "jeweler"
gem "appraisal"
gem "simplecov", :require => false
end

0 comments on commit e0765b6

Please sign in to comment.