Skip to content

Commit

Permalink
make tests run locally without random gems
Browse files Browse the repository at this point in the history
  • Loading branch information
grosser committed May 7, 2019
1 parent 3ea2003 commit 0ae5456
Show file tree
Hide file tree
Showing 5 changed files with 20 additions and 2 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -4,3 +4,4 @@
/doc
/pkg
.idea
Gemfile.lock
2 changes: 1 addition & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
after_script:
- rake travis:after -t
before_script:
- gem install hoe-travis --no-document
- gem install hoe-travis hoe-bundler --no-document
- rake travis:before -t
language: ruby
notifications:
Expand Down
13 changes: 13 additions & 0 deletions Gemfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
# -*- ruby -*-

# DO NOT EDIT THIS FILE. Instead, edit Rakefile, and run `rake bundler:gemfile`.

source "https://rubygems.org/"

gem "connection_pool", "~>2.2"

gem "minitest", "~>5.11", :group => [:development, :test]
gem "rdoc", ">=4.0", "<7", :group => [:development, :test]
gem "hoe", "~>3.17", :group => [:development, :test]

# vim: syntax=ruby
3 changes: 3 additions & 0 deletions Manifest.txt
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
.autotest
.bundle/config
.gemtest
.travis.yml
Gemfile
Gemfile.lock
History.txt
Manifest.txt
README.rdoc
Expand Down
3 changes: 2 additions & 1 deletion Rakefile
Original file line number Diff line number Diff line change
@@ -1,11 +1,12 @@
# -*- ruby -*-

require 'rubygems'
require 'hoe'
require 'hoe/bundler'

Hoe.plugin :git
Hoe.plugin :minitest
Hoe.plugin :travis
Hoe.plugin :bundler

Hoe.spec 'net-http-persistent' do
developer 'Eric Hodel', '[email protected]'
Expand Down

0 comments on commit 0ae5456

Please sign in to comment.