Browse files

Cleaner gem deps

  • Loading branch information...
1 parent ac7873c commit c524d729604fc2fd97dd8ddcdaab47e3439a369a @mperham mperham committed Jan 22, 2011
Showing with 13 additions and 17 deletions.
  1. +1 −15 Gemfile
  2. +12 −2 mysql2.gemspec
View
16 Gemfile
@@ -1,17 +1,3 @@
source :rubygems
-gemspec
-
-group :test do
- gem 'eventmachine'
- gem 'rake-compiler', "~> 0.7.1"
- gem 'rspec'
-end
-
-group :benchmark do
- gem 'activerecord'
- gem 'mysql'
- gem 'do_mysql'
- gem 'sequel'
- gem 'faker'
-end
+gemspec
View
14 mysql2.gemspec
@@ -2,8 +2,7 @@
# DO NOT EDIT THIS FILE DIRECTLY
# Instead, edit Jeweler::Tasks in Rakefile, and run the gemspec command
# -*- encoding: utf-8 -*-
-$LOAD_PATH << File.dirname(__FILE__) + '/lib'
-require 'mysql2/version'
+require './lib/mysql2/version'
Gem::Specification.new do |s|
s.name = %q{mysql2}
@@ -22,5 +21,16 @@ Gem::Specification.new do |s|
s.rubygems_version = %q{1.3.7}
s.summary = %q{A simple, fast Mysql library for Ruby, binding to libmysql}
s.test_files = `git ls-files spec examples`.split("\n")
+
+ # tests
+ s.add_development_dependency 'eventmachine'
+ s.add_development_dependency 'rake-compiler', "~> 0.7.1"
+ s.add_development_dependency 'rspec'
+ # benchmarks
+ s.add_development_dependency 'activerecord'
+ s.add_development_dependency 'mysql'
+ s.add_development_dependency 'do_mysql'
+ s.add_development_dependency 'sequel'
+ s.add_development_dependency 'faker'
end

0 comments on commit c524d72

Please sign in to comment.