Skip to content

Commit

Permalink
Merge pull request #153 from danielbayerlein/ruby-version
Browse files Browse the repository at this point in the history
Looks good to me, thanks!
  • Loading branch information
JCook21 committed Dec 24, 2016
2 parents f0e11ab + a6194df commit 21b4e34
Show file tree
Hide file tree
Showing 5 changed files with 10 additions and 13 deletions.
5 changes: 2 additions & 3 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
language: ruby
rvm:
- 2.1.0
- 2.0.0
- 1.9.3
- 2.3.3
- 2.2.6
sudo: false
2 changes: 1 addition & 1 deletion Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ gem "thor", ">= 0.14.0"
# Include everything needed to run rake, tests, features, etc.
group :development do
gem "rake", ">= 0.8.7"
gem "rspec", "~> 3.1.0"
gem "rspec", "~> 3.5.0"
gem "guard"
gem "guard-rspec"
gem "rb-readline", "~> 0.5.0"
Expand Down
7 changes: 3 additions & 4 deletions README.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -164,12 +164,11 @@ and castle

Homesick is tested on the following Ruby versions:

* 1.9.3
* 2.0.0
* 2.1.0
* 2.2.6
* 2.3.3

## Note on Patches/Pull Requests

* Fork the project.
* Make your feature addition or bug fix.
* Add tests for it. This is important so I don't break it in a future version unintentionally.
Expand Down
7 changes: 3 additions & 4 deletions homesick.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ Gem::Specification.new do |s|
if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then
s.add_runtime_dependency(%q<thor>, [">= 0.14.0"])
s.add_development_dependency(%q<rake>, [">= 0.8.7"])
s.add_development_dependency(%q<rspec>, ["~> 3.1.0"])
s.add_development_dependency(%q<rspec>, ["~> 3.5.0"])
s.add_development_dependency(%q<guard>, [">= 0"])
s.add_development_dependency(%q<guard-rspec>, [">= 0"])
s.add_development_dependency(%q<rb-readline>, ["~> 0.5.0"])
Expand All @@ -66,7 +66,7 @@ Gem::Specification.new do |s|
else
s.add_dependency(%q<thor>, [">= 0.14.0"])
s.add_dependency(%q<rake>, [">= 0.8.7"])
s.add_dependency(%q<rspec>, ["~> 3.1.0"])
s.add_dependency(%q<rspec>, ["~> 3.5.0"])
s.add_dependency(%q<guard>, [">= 0"])
s.add_dependency(%q<guard-rspec>, [">= 0"])
s.add_dependency(%q<rb-readline>, ["~> 0.5.0"])
Expand All @@ -79,7 +79,7 @@ Gem::Specification.new do |s|
else
s.add_dependency(%q<thor>, [">= 0.14.0"])
s.add_dependency(%q<rake>, [">= 0.8.7"])
s.add_dependency(%q<rspec>, ["~> 3.1.0"])
s.add_dependency(%q<rspec>, ["~> 3.5.0"])
s.add_dependency(%q<guard>, [">= 0"])
s.add_dependency(%q<guard-rspec>, [">= 0"])
s.add_dependency(%q<rb-readline>, ["~> 0.5.0"])
Expand All @@ -90,4 +90,3 @@ Gem::Specification.new do |s|
s.add_dependency(%q<rubocop>, [">= 0"])
end
end

2 changes: 1 addition & 1 deletion spec/homesick_cli_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -146,7 +146,7 @@

it 'throws an exception when trying to clone a malformed uri like malformed' do
expect(homesick).not_to receive(:git_clone)
expect { homesick.clone 'malformed' }.to raise_error
expect { homesick.clone 'malformed' }.to raise_error(RuntimeError)
end

it 'clones a github repo' do
Expand Down

0 comments on commit 21b4e34

Please sign in to comment.