From 0d8b1238645584891d237619b0e99ab50c25a144 Mon Sep 17 00:00:00 2001 From: Mauro George Date: Wed, 31 Dec 2014 10:52:23 -0200 Subject: [PATCH] Move gems from Gemfile to gemspec --- Gemfile | 24 ++---------------------- awesome_print.gemspec | 2 ++ gemfiles/mongoid_3.1.gemfile | 5 ----- gemfiles/rails_3.2.gemfile | 5 ----- gemfiles/rails_4.0.gemfile | 5 ----- gemfiles/rails_4.1.gemfile | 5 ----- gemfiles/rails_4.2.gemfile | 5 ----- 7 files changed, 4 insertions(+), 47 deletions(-) diff --git a/Gemfile b/Gemfile index 2aa9854..69c261a 100644 --- a/Gemfile +++ b/Gemfile @@ -1,24 +1,4 @@ source 'https://rubygems.org' + +# Specify your gem's dependencies in awesome_print.gemspec gemspec - -group :development do - - gem 'sqlite3' - - # MongoMapper extension - # ##################### - # * cannot be enabled at the same time as mongoid - # gem 'mongo_mapper', '~> 0.13.0' - # gem 'bson_ext' - - # Nokogiri extension - # ################## - gem 'nokogiri', '>= 1.6.5' - - # Ripple extension - # ################ - # - # * Ripple is abandoned http://basho.com/tag/ripple-client-apis/ - # * Ripple is not currently compatible with Rails 4 - # gem 'ripple', '~> 0.9.5' -end diff --git a/awesome_print.gemspec b/awesome_print.gemspec index 7c118d9..a614b80 100644 --- a/awesome_print.gemspec +++ b/awesome_print.gemspec @@ -26,4 +26,6 @@ Gem::Specification.new do |s| s.add_development_dependency "rspec", ">= 3.0.0" s.add_development_dependency "appraisal" s.add_development_dependency "fakefs", ">= 0.2.1" + s.add_development_dependency 'sqlite3' + s.add_development_dependency 'nokogiri', '>= 1.6.5' end diff --git a/gemfiles/mongoid_3.1.gemfile b/gemfiles/mongoid_3.1.gemfile index e946ba2..667e914 100644 --- a/gemfiles/mongoid_3.1.gemfile +++ b/gemfiles/mongoid_3.1.gemfile @@ -6,9 +6,4 @@ gem "activesupport", "~> 3.2.0" gem "activerecord", "~> 3.2.0" gem "mongoid", "~> 3.1.0" -group :development do - gem "sqlite3" - gem "nokogiri", ">= 1.6.5" -end - gemspec :path => "../" diff --git a/gemfiles/rails_3.2.gemfile b/gemfiles/rails_3.2.gemfile index fbbb4de..916640a 100644 --- a/gemfiles/rails_3.2.gemfile +++ b/gemfiles/rails_3.2.gemfile @@ -6,9 +6,4 @@ gem "activesupport", "~> 3.2.0" gem "activerecord", "~> 3.2.0" gem "mongoid", "~> 3.0.0" -group :development do - gem "sqlite3" - gem "nokogiri", ">= 1.6.5" -end - gemspec :path => "../" diff --git a/gemfiles/rails_4.0.gemfile b/gemfiles/rails_4.0.gemfile index 2e7f5ed..a1189d8 100644 --- a/gemfiles/rails_4.0.gemfile +++ b/gemfiles/rails_4.0.gemfile @@ -5,9 +5,4 @@ source "https://rubygems.org" gem "activesupport", "~> 4.0.0" gem "activerecord", "~> 4.0.0" -group :development do - gem "sqlite3" - gem "nokogiri", ">= 1.6.5" -end - gemspec :path => "../" diff --git a/gemfiles/rails_4.1.gemfile b/gemfiles/rails_4.1.gemfile index a36972d..fc6f153 100644 --- a/gemfiles/rails_4.1.gemfile +++ b/gemfiles/rails_4.1.gemfile @@ -7,9 +7,4 @@ gem "actionview", "~> 4.1.0" gem "activerecord", "~> 4.1.0" gem "mongoid", "~> 4.0.0" -group :development do - gem "sqlite3" - gem "nokogiri", ">= 1.6.5" -end - gemspec :path => "../" diff --git a/gemfiles/rails_4.2.gemfile b/gemfiles/rails_4.2.gemfile index 7130e17..3d3a1a1 100644 --- a/gemfiles/rails_4.2.gemfile +++ b/gemfiles/rails_4.2.gemfile @@ -7,9 +7,4 @@ gem "actionview", "~> 4.2.0" gem "activerecord", "~> 4.2.0" gem "mongoid", "~> 4.0.0" -group :development do - gem "sqlite3" - gem "nokogiri", ">= 1.6.5" -end - gemspec :path => "../"