-
-
Notifications
You must be signed in to change notification settings - Fork 108
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Remove deprecated TravisCI config - this is currently a noop. * Remove MRI 1.8.7 support * Remove MRI 1.9 support * Remove MRI 2.0.0 support * Remove MRI 2.1 support * Remove MRI 2.2 support * Remove rbx-3 from TravisCI matrix - it doesn't even install.
- Loading branch information
1 parent
c4af859
commit 92d5134
Showing
14 changed files
with
32 additions
and
108 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,25 +1,14 @@ | ||
sudo: false | ||
|
||
before_install: gem install bundler | ||
|
||
rvm: | ||
- 1.8.7-head | ||
- 1.9.3-p551 | ||
- 2.0.0-p648 | ||
- 2.1.10 | ||
- 2.2.9 | ||
- 2.3.6 | ||
- 2.4.3 | ||
- 2.5.0 | ||
- rbx-3 | ||
- jruby-19mode | ||
- ruby-head | ||
- jruby-head | ||
|
||
matrix: | ||
fast_finish: true | ||
allow_failures: | ||
- rvm: rbx-3 | ||
- rvm: jruby-19mode | ||
- rvm: ruby-head | ||
- rvm: jruby-head |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -251,28 +251,28 @@ | |
end | ||
|
||
context "relative path handling" do | ||
before { stub_const('RUBY_VERSION', '1.8.7') } | ||
before { stub_const('RUBY_VERSION', '2.3.0') } | ||
|
||
context "in :path option" do | ||
it "handles dot path" do | ||
gemfile = Appraisal::Gemfile.new | ||
gemfile.gem "bacon", :path => "." | ||
|
||
expect(gemfile.to_s).to eq %(gem "bacon", :path => "../") | ||
expect(gemfile.to_s).to eq %(gem "bacon", path: "../") | ||
end | ||
|
||
it "handles relative path" do | ||
gemfile = Appraisal::Gemfile.new | ||
gemfile.gem "bacon", :path => "../bacon" | ||
|
||
expect(gemfile.to_s).to eq %(gem "bacon", :path => "../../bacon") | ||
expect(gemfile.to_s).to eq %(gem "bacon", path: "../../bacon") | ||
end | ||
|
||
it "handles absolute path" do | ||
gemfile = Appraisal::Gemfile.new | ||
gemfile.gem "bacon", :path => "/tmp" | ||
|
||
expect(gemfile.to_s).to eq %(gem "bacon", :path => "/tmp") | ||
expect(gemfile.to_s).to eq %(gem "bacon", path: "/tmp") | ||
end | ||
end | ||
|
||
|
@@ -281,29 +281,29 @@ | |
gemfile = Appraisal::Gemfile.new | ||
gemfile.gem "bacon", :git => "." | ||
|
||
expect(gemfile.to_s).to eq %(gem "bacon", :git => "../") | ||
expect(gemfile.to_s).to eq %(gem "bacon", git: "../") | ||
end | ||
|
||
it "handles relative git path" do | ||
gemfile = Appraisal::Gemfile.new | ||
gemfile.gem "bacon", :git => "../bacon" | ||
|
||
expect(gemfile.to_s).to eq %(gem "bacon", :git => "../../bacon") | ||
expect(gemfile.to_s).to eq %(gem "bacon", git: "../../bacon") | ||
end | ||
|
||
it "handles absolute git path" do | ||
gemfile = Appraisal::Gemfile.new | ||
gemfile.gem "bacon", :git => "/tmp" | ||
|
||
expect(gemfile.to_s).to eq %(gem "bacon", :git => "/tmp") | ||
expect(gemfile.to_s).to eq %(gem "bacon", git: "/tmp") | ||
end | ||
|
||
it "handles git uri" do | ||
gemfile = Appraisal::Gemfile.new | ||
gemfile.gem "bacon", :git => "[email protected]:bacon/bacon.git" | ||
|
||
expect(gemfile.to_s). | ||
to eq %(gem "bacon", :git => "[email protected]:bacon/bacon.git") | ||
to eq %(gem "bacon", git: "[email protected]:bacon/bacon.git") | ||
end | ||
end | ||
|
||
|
@@ -414,20 +414,20 @@ | |
gemfile = Appraisal::Gemfile.new | ||
gemfile.gemspec :path => "." | ||
|
||
expect(gemfile.to_s).to eq %(gemspec :path => "../") | ||
expect(gemfile.to_s).to eq %(gemspec path: "../") | ||
end | ||
end | ||
end | ||
|
||
context "git_source support" do | ||
before { stub_const('RUBY_VERSION', '1.8.7') } | ||
before { stub_const('RUBY_VERSION', '2.3.0') } | ||
|
||
it "stores git_source declaration and apply it as git option" do | ||
gemfile = Appraisal::Gemfile.new | ||
gemfile.git_source(:custom_source) { |repo| "path/#{repo}" } | ||
gemfile.gem "bacon", :custom_source => "bacon_pancake" | ||
|
||
expect(gemfile.to_s).to eq %(gem "bacon", :git => "../path/bacon_pancake") | ||
expect(gemfile.to_s).to eq %(gem "bacon", git: "../path/bacon_pancake") | ||
end | ||
end | ||
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters