Permalink
Browse files

Moved development dependencies into Gemfile

  • Loading branch information...
1 parent b1a54d4 commit a7c0af8ae86466f023ff2d7e365d1c0ff2d12003 @bcardarella bcardarella committed Oct 8, 2011
Showing with 8 additions and 7 deletions.
  1. +8 −0 Gemfile
  2. +0 −7 client_side_validations.gemspec
View
@@ -2,3 +2,11 @@ source "http://rubygems.org"
# Specify your gem's dependencies in client_side_validations.gemspec
gemspec
+
+ruby_minor_version = RUBY_VERSION.split('.')[1].to_i
+if ruby_minor_version == 8
+ gem 'minitest'
+ gem 'ruby-debug'
+elsif ruby_minor_version == 9
+ gem 'ruby-debug19'
+end
@@ -25,11 +25,4 @@ Gem::Specification.new do |s|
s.add_development_dependency 'thin'
s.add_development_dependency 'json'
- ruby_minor_version = RUBY_VERSION.split('.')[1].to_i
- if ruby_minor_version == 8
- s.add_development_dependency 'minitest'
- s.add_development_dependency 'ruby-debug'
- elsif ruby_minor_version == 9
- s.add_development_dependency 'ruby-debug19'
- end
end

0 comments on commit a7c0af8

Please sign in to comment.