Skip to content

Commit 04be0ed

Browse files
committed
make tests run locally without random gems
1 parent 3ea2003 commit 04be0ed

File tree

5 files changed

+20
-2
lines changed

5 files changed

+20
-2
lines changed

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,3 +4,4 @@
44
/doc
55
/pkg
66
.idea
7+
/Gemfile.lock

.travis.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
after_script:
33
- rake travis:after -t
44
before_script:
5-
- gem install hoe-travis --no-document
5+
- gem install hoe-travis hoe-bundler --no-document
66
- rake travis:before -t
77
language: ruby
88
notifications:

Gemfile

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
# -*- ruby -*-
2+
3+
# DO NOT EDIT THIS FILE. Instead, edit Rakefile, and run `rake bundler:gemfile`.
4+
5+
source "https://rubygems.org/"
6+
7+
gem "connection_pool", "~>2.2"
8+
9+
gem "minitest", "~>5.11", :group => [:development, :test]
10+
gem "rdoc", ">=4.0", "<7", :group => [:development, :test]
11+
gem "hoe", "~>3.17", :group => [:development, :test]
12+
13+
# vim: syntax=ruby

Manifest.txt

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,9 @@
11
.autotest
2+
.bundle/config
23
.gemtest
34
.travis.yml
5+
Gemfile
6+
Gemfile.lock
47
History.txt
58
Manifest.txt
69
README.rdoc

Rakefile

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,12 @@
11
# -*- ruby -*-
22

3-
require 'rubygems'
43
require 'hoe'
4+
require 'hoe/bundler'
55

66
Hoe.plugin :git
77
Hoe.plugin :minitest
88
Hoe.plugin :travis
9+
Hoe.plugin :bundler
910

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

0 commit comments

Comments
 (0)