Permalink
Browse files

Move gems into :development group.

This avoids unnecessary gem installation
on Travis CI.
  • Loading branch information...
netzpirat committed Jun 29, 2012
1 parent 906057c commit 03abd70beadc4a3c2d7e4f994117432e24d1890f
Showing with 21 additions and 23 deletions.
  1. +2 −0 .travis.yml
  2. +19 −21 Gemfile
  3. +0 −2 guard.gemspec
View
@@ -1,3 +1,5 @@
+language: ruby
+bundler_args: --without development
rvm:
- 1.8.7
- 1.9.2
View
40 Gemfile
@@ -3,32 +3,30 @@ source :rubygems
gemspec
gem 'rake'
+gem 'listen', :github => 'guard/listen'
-platform :ruby_19 do
- gem 'coolline'
-end
+# The development group will no be
+# installed on Travis CI.
+#
+group :development do
-unless defined?(JRUBY_VERSION)
+ gem 'pry'
+ gem 'yard'
gem 'redcarpet'
-end
-
-group :guard do
gem 'guard-ronn'
-end
+ platform :ruby_19 do
+ gem 'coolline'
+ end
-require 'rbconfig'
+ require 'rbconfig'
-if RbConfig::CONFIG['target_os'] =~ /darwin/i
- gem 'growl', :require => false
-elsif RbConfig::CONFIG['target_os'] =~ /linux/i
- gem 'libnotify', '~> 0.7.1', :require => false
-elsif RbConfig::CONFIG['target_os'] =~ /mswin|mingw/i
- gem 'win32console', :require => false
- gem 'rb-notifu', '>= 0.0.4', :require => false
+ if RbConfig::CONFIG['target_os'] =~ /darwin/i
+ gem 'growl', :require => false
+ elsif RbConfig::CONFIG['target_os'] =~ /linux/i
+ gem 'libnotify', '~> 0.7.1', :require => false
+ elsif RbConfig::CONFIG['target_os'] =~ /mswin|mingw/i
+ gem 'win32console', :require => false
+ gem 'rb-notifu', '>= 0.0.4', :require => false
+ end
end
-
-
-gem 'listen', :github => 'guard/listen'
-gem 'guard-rspec'
-
View
@@ -21,8 +21,6 @@ Gem::Specification.new do |s|
s.add_development_dependency 'bundler'
s.add_development_dependency 'rspec', '~> 2.10.0'
s.add_development_dependency 'guard-rspec', '~> 1.1.0'
- s.add_development_dependency 'yard'
- s.add_development_dependency 'pry'
s.files = Dir.glob('{bin,images,lib}/**/*') + %w[CHANGELOG.md LICENSE man/guard.1 man/guard.1.html README.md]
s.executable = 'guard'

0 comments on commit 03abd70

Please sign in to comment.