Skip to content
This repository has been archived by the owner on Apr 14, 2021. It is now read-only.

Create quality check spec for leftover debugging/development mechanisms #4463

Merged
merged 1 commit into from
May 10, 2016
Merged

Create quality check spec for leftover debugging/development mechanisms #4463

merged 1 commit into from
May 10, 2016

Conversation

RochesterinNYC
Copy link
Contributor

Example mechanisms that are screened for:

failing_lines = []

File.readlines(filename).each_with_index do |line, number|
failing_lines << number + 1 if line =~ /binding\.pry/ || line =~ /sleep\s*\(?\d+/ ||
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

can we collapse this into a single regexp?

@RochesterinNYC
Copy link
Contributor Author

Good call. Broke it into a more readable multi-line regex.

@segiddins
Copy link
Member

@homu r+

@homu
Copy link
Contributor

homu commented May 9, 2016

📌 Commit d1eafee has been approved by segiddins

homu added a commit that referenced this pull request May 9, 2016
…echanisms, r=segiddins

Create quality check spec for leftover debugging/development mechanisms

Example mechanisms that are screened for:
- `sleep`
- `binding.pry`
- `debugger`
- focused `rspec` tests via `fit`

- Related to discussion at #4439 (comment)
@homu
Copy link
Contributor

homu commented May 9, 2016

⌛ Testing commit d1eafee with merge e167039...

Example mechanisms:
- sleep
- binding.pry
- debugger
- focused rspec tests via fit
@RochesterinNYC
Copy link
Contributor Author

Fixed the formatting rubocop error and re-ran the flaky Travis build job.

@segiddins
Copy link
Member

@homu r+

@homu
Copy link
Contributor

homu commented May 10, 2016

📌 Commit c359410 has been approved by segiddins

@homu homu merged commit c359410 into rubygems:master May 10, 2016
homu added a commit that referenced this pull request May 10, 2016
…echanisms, r=segiddins

Create quality check spec for leftover debugging/development mechanisms

Example mechanisms that are screened for:
- `sleep`
- `binding.pry`
- `debugger`
- focused `rspec` tests via `fit`

- Related to discussion at #4439 (comment)
@homu
Copy link
Contributor

homu commented May 10, 2016

⚡ Test exempted - status

@coilysiren coilysiren modified the milestone: Release Archive Sep 22, 2016
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants