• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

octokit / octokit.rb / 1102
99%

Build:
DEFAULT BRANCH: master
Ran 26 Jun 2016 08:49PM UTC
Jobs 3
Files 115
Run time 9s
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

pending completion
1102

Pull #770

travis-ci

web-flow
Add `Client.lock_issue` and `Client.unlock_issue`

With the recent finalizing of the API endpoints to lock and unlock
issues, we should include that functionality in Octokit.rb. This patch
adds two methods to lock or unlock an issue. Because the corresponding
API endpoints return a 204 NO CONTENT on success, we just coerce the
response into a Boolean for the Octokit methods.

Signed-off-by: David Celis <me@davidcel.is>
Pull Request #770: Add `Client.lock_issue` and `Client.unlock_issue`

12 of 12 new or added lines in 2 files covered. (100.0%)

5274 of 5319 relevant lines covered (99.15%)

378.91 hits per line

Uncovered Changes

Lines Coverage ∆ File
4
100.0
spec/octokit/client/issues_spec.rb
2
100.0
lib/octokit/client/issues.rb
Jobs
ID Job ID Ran Files Coverage
3 1102.3 (2.0) 26 Jun 2016 08:50PM UTC 0
99.15
Travis Job 1102.3
4 1102.4 (2.1) 26 Jun 2016 08:49PM UTC 0
99.15
Travis Job 1102.4
5 1102.5 (2.2) 26 Jun 2016 08:49PM UTC 0
99.15
Travis Job 1102.5
Source Files on build 1102
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #1102
  • Pull Request #770
  • PR Base - master (#1101)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc