Skip to content

Commit

Permalink
Reorganize development and test dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
sferik committed Dec 21, 2012
1 parent 3235411 commit a7718c1
Show file tree
Hide file tree
Showing 3 changed files with 24 additions and 19 deletions.
1 change: 1 addition & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
bundler_args: --without development
language: ruby
rvm:
- rbx-18mode
Expand Down
9 changes: 7 additions & 2 deletions Gemfile
Original file line number Diff line number Diff line change
@@ -1,7 +1,12 @@
source 'https://rubygems.org'

platforms :jruby do
gem 'jruby-openssl', '~> 0.7'
gem 'rake'
gem 'yard'
gem 'jruby-openssl', :platforms => :jruby

group :test do
gem 'rspec'
gem 'webmock'
end

gemspec
33 changes: 16 additions & 17 deletions gems.gemspec
Original file line number Diff line number Diff line change
@@ -1,21 +1,20 @@
# encoding: utf-8
require File.expand_path('../lib/gems/version', __FILE__)

Gem::Specification.new do |gem|
gem.add_development_dependency 'kaminari'
gem.add_development_dependency 'rake'
gem.add_development_dependency 'rspec'
gem.add_development_dependency 'simplecov'
gem.add_development_dependency 'webmock'
gem.add_development_dependency 'yard'
gem.authors = ["Erik Michaels-Ober"]
gem.description = %q{Ruby wrapper for the RubyGems.org API}
gem.email = ['[email protected]']
gem.files = `git ls-files`.split("\n")
gem.homepage = 'https://github.com/rubygems/gems'
gem.name = 'gems'
gem.require_paths = ['lib']
gem.summary = gem.description
gem.test_files = `git ls-files -- {test,spec,features}/*`.split("\n")
gem.version = Gems::VERSION
Gem::Specification.new do |spec|
spec.add_development_dependency 'kaminari'
spec.add_development_dependency 'simplecov'
spec.authors = ["Erik Michaels-Ober"]
spec.description = %q{Ruby wrapper for the RubyGems.org API}
spec.email = ['[email protected]']
spec.files = `git ls-files`.split("\n")
spec.files = %w(.yardopts CONTRIBUTING.md LICENSE.md README.md Rakefile gems.gemspec)
spec.files += Dir.glob("lib/**/*.rb")
spec.files += Dir.glob("spec/**/*")
spec.homepage = 'https://github.com/rubygems/gems'
spec.name = 'gems'
spec.require_paths = ['lib']
spec.summary = spec.description
spec.test_files = Dir.glob("spec/**/*")
spec.version = Gems::VERSION
end

0 comments on commit a7718c1

Please sign in to comment.