2010-06-13 16:36:59 -04:00
|
|
|
# to be evaluated within the context of a Gemspec or a Gemfile
|
|
|
|
|
|
|
|
# It's ridiculous that Bundler can't sync up with .gemspec files for
|
|
|
|
# development dependencies. Until it can, make sure to keep these
|
|
|
|
# two blocks parallel.
|
|
|
|
if Object.const_defined?(:Bundler) && Bundler.const_defined?(:Dsl) && self.kind_of?(Bundler::Dsl)
|
|
|
|
group :development do
|
|
|
|
gem 'rake'
|
|
|
|
gem 'mg', '~> 0.0.8'
|
|
|
|
gem 'rspec', '~> 1.3.0'
|
2010-08-10 16:04:19 -04:00
|
|
|
gem 'webmock', '~> 1.3.3'
|
2010-06-13 16:36:59 -04:00
|
|
|
gem 'rack-test', '~> 0.5.4'
|
2010-06-18 20:46:54 -04:00
|
|
|
gem 'json', '~> 1.4.3' # multi_json implementation
|
2010-06-13 16:36:59 -04:00
|
|
|
end
|
|
|
|
else #gemspec
|
|
|
|
gem.add_development_dependency 'rake'
|
|
|
|
gem.add_development_dependency 'mg', '~> 0.0.8'
|
|
|
|
gem.add_development_dependency 'rspec', '~> 1.3.0'
|
2010-08-10 16:04:19 -04:00
|
|
|
gem.add_development_dependency 'webmock', '~> 1.3.3'
|
2010-06-13 16:36:59 -04:00
|
|
|
gem.add_development_dependency 'rack-test', '~> 0.5.4'
|
2010-06-18 20:46:54 -04:00
|
|
|
gem.add_development_dependency 'json', '~> 1.4.3' # multi_json implementation
|
2010-06-13 16:36:59 -04:00
|
|
|
end
|