This repository has been archived by the owner on Apr 14, 2021. It is now read-only.
-
-
Notifications
You must be signed in to change notification settings - Fork 2k
Allow files other than Gemfile.lock to be opened in definition specs #6834
Merged
Conversation
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
hsbt
approved these changes
Dec 9, 2018
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It makes rspec example portable.
@bundlerbot r+ |
ghost
pushed a commit
that referenced
this pull request
Dec 9, 2018
6834: Allow files other than Gemfile.lock to be opened in definition specs r=hsbt a=segiddins ### What was the end-user problem that led to this PR? The problem was the specs are brittle. ### What was your diagnosis of the problem? My diagnosis was we should assume code can open other files. ### What is your fix for the problem, implemented in this PR? My fix allows other files to be opened, and only raises when opening the file under test. Co-authored-by: Samuel Giddins <segiddins@segiddins.me>
Build succeeded |
ghost
deleted the
segiddins/allow-rubygems-to-open-files
branch
December 9, 2018 23:18
hsbt
pushed a commit
that referenced
this pull request
Dec 10, 2018
6834: Allow files other than Gemfile.lock to be opened in definition specs r=hsbt a=segiddins ### What was the end-user problem that led to this PR? The problem was the specs are brittle. ### What was your diagnosis of the problem? My diagnosis was we should assume code can open other files. ### What is your fix for the problem, implemented in this PR? My fix allows other files to be opened, and only raises when opening the file under test. Co-authored-by: Samuel Giddins <segiddins@segiddins.me> (cherry picked from commit cca1f63)
@colby-swandale Can you backport this into 2-0-stable branch? This needs to be rubygems change that is https://github.com/rubygems/rubygems/blob/master/lib/rubygems/stub_specification.rb#L114 |
colby-swandale
added a commit
that referenced
this pull request
Dec 11, 2018
hsbt
pushed a commit
that referenced
this pull request
Jan 4, 2019
6834: Allow files other than Gemfile.lock to be opened in definition specs r=hsbt a=segiddins ### What was the end-user problem that led to this PR? The problem was the specs are brittle. ### What was your diagnosis of the problem? My diagnosis was we should assume code can open other files. ### What is your fix for the problem, implemented in this PR? My fix allows other files to be opened, and only raises when opening the file under test. Co-authored-by: Samuel Giddins <segiddins@segiddins.me> (cherry picked from commit cca1f63)
colby-swandale
added a commit
that referenced
this pull request
Feb 10, 2019
* 2-0-stable: (43 commits) remove path that i copied from my personal computer Auto merge of #6586 - bundler:segiddins/softer-major-deprecations, r=indirect Merge #6941 Merge #6834 Version 2.0.1 with changelog update tested rubygems in travis Lower required RubyGems to 2.5 or greater Bundler 2.0 with changelog update CHANGELOG with new changes and release Merge #6856 add RubyGems v3.0.1 to rg clone task Version 2.0.0.pre.3 wih changelog update tested versions of RubyGems in travis update gemspec to require RubyGems 3.0.0 Merge #6849 Merge #6853 Revert "Version 2.0.0 with changelog" Version 2.0.0 with changelog fix breaking edge case spec Merge #6818 ...
colby-swandale
added a commit
that referenced
this pull request
Feb 12, 2019
* 2-0-stable: (43 commits) remove path that i copied from my personal computer Auto merge of #6586 - bundler:segiddins/softer-major-deprecations, r=indirect Merge #6941 Merge #6834 Version 2.0.1 with changelog update tested rubygems in travis Lower required RubyGems to 2.5 or greater Bundler 2.0 with changelog update CHANGELOG with new changes and release Merge #6856 add RubyGems v3.0.1 to rg clone task Version 2.0.0.pre.3 wih changelog update tested versions of RubyGems in travis update gemspec to require RubyGems 3.0.0 Merge #6849 Merge #6853 Revert "Version 2.0.0 with changelog" Version 2.0.0 with changelog fix breaking edge case spec Merge #6818 ...
colby-swandale
added a commit
that referenced
this pull request
Feb 18, 2019
* commit '77f4c15451aaac135d19ac5d1637981d7b05d799': (43 commits) remove path that i copied from my personal computer Auto merge of #6586 - bundler:segiddins/softer-major-deprecations, r=indirect Merge #6941 Merge #6834 Version 2.0.1 with changelog update tested rubygems in travis Lower required RubyGems to 2.5 or greater Bundler 2.0 with changelog update CHANGELOG with new changes and release Merge #6856 add RubyGems v3.0.1 to rg clone task Version 2.0.0.pre.3 wih changelog update tested versions of RubyGems in travis update gemspec to require RubyGems 3.0.0 Merge #6849 Merge #6853 Revert "Version 2.0.0 with changelog" Version 2.0.0 with changelog fix breaking edge case spec Merge #6818 ...
colby-swandale
added a commit
that referenced
this pull request
Feb 20, 2019
* 2-0-stable: (43 commits) remove path that i copied from my personal computer Auto merge of #6586 - bundler:segiddins/softer-major-deprecations, r=indirect Merge #6941 Merge #6834 Version 2.0.1 with changelog update tested rubygems in travis Lower required RubyGems to 2.5 or greater Bundler 2.0 with changelog update CHANGELOG with new changes and release Merge #6856 add RubyGems v3.0.1 to rg clone task Version 2.0.0.pre.3 wih changelog update tested versions of RubyGems in travis update gemspec to require RubyGems 3.0.0 Merge #6849 Merge #6853 Revert "Version 2.0.0 with changelog" Version 2.0.0 with changelog fix breaking edge case spec Merge #6818 ... (cherry picked from commit 77f4c15)
deivid-rodriguez
pushed a commit
that referenced
this pull request
Feb 28, 2019
* 2-0-stable: (43 commits) remove path that i copied from my personal computer Auto merge of #6586 - bundler:segiddins/softer-major-deprecations, r=indirect Merge #6941 Merge #6834 Version 2.0.1 with changelog update tested rubygems in travis Lower required RubyGems to 2.5 or greater Bundler 2.0 with changelog update CHANGELOG with new changes and release Merge #6856 add RubyGems v3.0.1 to rg clone task Version 2.0.0.pre.3 wih changelog update tested versions of RubyGems in travis update gemspec to require RubyGems 3.0.0 Merge #6849 Merge #6853 Revert "Version 2.0.0 with changelog" Version 2.0.0 with changelog fix breaking edge case spec Merge #6818 ... (cherry picked from commit 77f4c15)
deivid-rodriguez
pushed a commit
that referenced
this pull request
Mar 13, 2019
* 2-0-stable: (43 commits) remove path that i copied from my personal computer Auto merge of #6586 - bundler:segiddins/softer-major-deprecations, r=indirect Merge #6941 Merge #6834 Version 2.0.1 with changelog update tested rubygems in travis Lower required RubyGems to 2.5 or greater Bundler 2.0 with changelog update CHANGELOG with new changes and release Merge #6856 add RubyGems v3.0.1 to rg clone task Version 2.0.0.pre.3 wih changelog update tested versions of RubyGems in travis update gemspec to require RubyGems 3.0.0 Merge #6849 Merge #6853 Revert "Version 2.0.0 with changelog" Version 2.0.0 with changelog fix breaking edge case spec Merge #6818 ... (cherry picked from commit 77f4c15)
deivid-rodriguez
pushed a commit
that referenced
this pull request
Mar 13, 2019
* 2-0-stable: (43 commits) remove path that i copied from my personal computer Auto merge of #6586 - bundler:segiddins/softer-major-deprecations, r=indirect Merge #6941 Merge #6834 Version 2.0.1 with changelog update tested rubygems in travis Lower required RubyGems to 2.5 or greater Bundler 2.0 with changelog update CHANGELOG with new changes and release Merge #6856 add RubyGems v3.0.1 to rg clone task Version 2.0.0.pre.3 wih changelog update tested versions of RubyGems in travis update gemspec to require RubyGems 3.0.0 Merge #6849 Merge #6853 Revert "Version 2.0.0 with changelog" Version 2.0.0 with changelog fix breaking edge case spec Merge #6818 ... (cherry picked from commit 77f4c15)
deivid-rodriguez
pushed a commit
that referenced
this pull request
Mar 15, 2019
* 2-0-stable: (43 commits) remove path that i copied from my personal computer Auto merge of #6586 - bundler:segiddins/softer-major-deprecations, r=indirect Merge #6941 Merge #6834 Version 2.0.1 with changelog update tested rubygems in travis Lower required RubyGems to 2.5 or greater Bundler 2.0 with changelog update CHANGELOG with new changes and release Merge #6856 add RubyGems v3.0.1 to rg clone task Version 2.0.0.pre.3 wih changelog update tested versions of RubyGems in travis update gemspec to require RubyGems 3.0.0 Merge #6849 Merge #6853 Revert "Version 2.0.0 with changelog" Version 2.0.0 with changelog fix breaking edge case spec Merge #6818 ... (cherry picked from commit 77f4c15)
deivid-rodriguez
pushed a commit
that referenced
this pull request
Mar 20, 2019
* 2-0-stable: (43 commits) remove path that i copied from my personal computer Auto merge of #6586 - bundler:segiddins/softer-major-deprecations, r=indirect Merge #6941 Merge #6834 Version 2.0.1 with changelog update tested rubygems in travis Lower required RubyGems to 2.5 or greater Bundler 2.0 with changelog update CHANGELOG with new changes and release Merge #6856 add RubyGems v3.0.1 to rg clone task Version 2.0.0.pre.3 wih changelog update tested versions of RubyGems in travis update gemspec to require RubyGems 3.0.0 Merge #6849 Merge #6853 Revert "Version 2.0.0 with changelog" Version 2.0.0 with changelog fix breaking edge case spec Merge #6818 ... (cherry picked from commit 77f4c15)
This pull request was closed.
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
What was the end-user problem that led to this PR?
The problem was the specs are brittle.
What was your diagnosis of the problem?
My diagnosis was we should assume code can open other files.
What is your fix for the problem, implemented in this PR?
My fix allows other files to be opened, and only raises when opening the file under test.