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

erikhuda / thor
92%
master: 95%

Build:
Build:
LAST BUILD BRANCH: replace_set_usage_with_arrays
DEFAULT BRANCH: master
Repo Added 21 Jun 2013 06:15PM UTC
Files 30
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

LAST BUILD ON BRANCH fix-disable_class_options
branch: fix-disable_class_options
CHANGE BRANCH
x
Reset
  • fix-disable_class_options
  • check_default_type
  • debug-config
  • fix-build
  • master
  • test-did-you-mean-not-available
  • v0.19.0
  • v0.19.1
  • v0.19.2
  • v0.19.3
  • v0.19.4
  • v0.20.0
  • v0.20.1
  • v0.20.2
  • v0.20.3
  • v1.0.0
  • v1.0.1

pending completion
285

push

travis-ci

rafaelfranca
Add disable_required_check! and make disable the check in help

In Thor 0.19.2 it was added a new class method disable_class_options.
It was added to disable the check for required options in the help
command. This new method disabled the option parser for help, so it is
not possible to pass option to that command anymore.

That change introduced a regression and it is fixing the problem at the
wrong level. What we want is to disable the required check not the
option parsing.

So, we reverted the disable_class_options change and added a new method
disable_required_check! to disable the required check in the commands we
want.

Theoretically this is a breaking change but the disable_class_options
introduction was also a breaking change so it is better to revert it and
fix the problem at the correct place.

Related with #462 and #363.

19 of 19 new or added lines in 4 files covered. (100.0%)

2040 of 2217 relevant lines covered (92.02%)

466.84 hits per line

Relevant lines Covered
Build:
Build:
2217 RELEVANT LINES 2040 COVERED LINES
466.84 HITS PER LINE
Source Files on fix-disable_class_options
  • List 0
  • Changed 0
  • Source Changed 0
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line

Recent builds

Builds Branch Commit Type Ran Committer Via Coverage
285 fix-disable_class_options Add disable_required_check! and make disable the check in help In Thor 0.19.2 it was added a new class method disable_class_options. It was added to disable the check for required options in the help command. This new method disabled the option p... push 13 Feb 2017 12:45AM UTC rafaelfranca travis-ci pending completion  
See All Builds (617)
  • Repo on GitHub
  • CI Project
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

© 2025 Coveralls, Inc