reorganize Gemfile+gemspec

This commit is contained in:
Cezary Baginski 2015-06-06 13:59:13 +02:00
parent 8c31464b3f
commit 640f11615c
2 changed files with 15 additions and 7 deletions

19
Gemfile
View File

@ -1,9 +1,20 @@
source "http://rubygems.org"
# Specify your gem's dependencies in guard-puppet.gemspec
gemspec
gemspec development_group: :gem_build_tools
require 'rbconfig'
if RbConfig::CONFIG['host_os'] =~ /linux/
gem 'libnotify'
group :development do
require 'rbconfig'
if RbConfig::CONFIG['host_os'] =~ /linux/
gem 'libnotify'
end
end
group :test do
gem 'rspec', '~> 2.6.0'
gem 'mocha'
end
group :gem_build_tools do
end

View File

@ -20,7 +20,4 @@ Gem::Specification.new do |s|
s.add_dependency 'guard'
s.add_dependency 'puppet'
s.add_development_dependency 'rspec', '~> 2.6.0'
s.add_development_dependency 'mocha'
end