Skip to content
This repository was archived by the owner on Mar 6, 2020. It is now read-only.

Conversation

@dependabot-preview
Copy link

Updates the requirements on thor to permit the latest version.

Changelog

Sourced from thor's changelog.

1.0.0

  • Drop support to Ruby 1.8 and 1.9.

  • Deprecate relying on default exit_on_failure?.
    In preparation to make Thor commands exit when there is a failure we are deprecating
    defining a command without defining what behavior is expected when there is a failure.

    To fix the deprecation you need to define a class method called exit_on_failure? returning

    false if you want the current behavior or true if you want the new behavior.

  • Deprecate defining an option with the default value using a different type as defined in the option.

  • Allow options to be repeatable. See #674.

0.20.3

  • Support old versions of did_you_mean.

0.20.2

  • Fix did_you_mean support.

0.20.1

  • Support new versions of ERB.
  • Fix check_unknown_options! to not check the content that was not parsed, i.e. after a -- or after the first unknown with stop_on_unknown_option!
  • Add did_you_mean support.

0.20.0

  • Add check_default_type! to check if the default value of an option matches the defined type.
    It removes the warning on usage and gives the command authors the possibility to check for programming errors.

  • Add disable_required_check! to disable check for required options in some commands.
    It is a substitute of disable_class_options that was not working as intended.

  • Add inject_into_module.

0.19.4, release 2016-11-28

  • Rename Thor::Base#thor_reserved_word? to #is_thor_reserved_word?

0.19.3, release 2016-11-27

  • Output a warning instead of raising an exception when a default option value doesn't match its specified type

0.19.2, release 2016-11-26

  • Fix bug with handling of colors passed to ask (and methods like yes? and no? which it underpins)
  • Allow numeric arguments to be negative
  • Ensure that default option values are of the specified type (e.g. you can't specify "foo" as the default for a numeric option), but make symbols and strings interchangeable
  • Add Thor::Shell::Basic#indent method for intending output
  • Fix remove_command for an inherited command (see #451)
  • Allow hash arguments to only have each key provided once (see #455)
  • Allow commands to disable class options, for instance for "help" commands (see #363)
  • Do not generate a negative option (--no-no-foo) for already negative boolean options (--no-foo)
  • Improve compatibility of Thor::CoreExt::HashWithIndifferentAccess with Ruby standard library Hash
  • Allow specifying a custom binding for template evaluation (e.g. #key? and #fetch)
  • Fix support for subcommand-specific "help"s
... (truncated)
Commits

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Note: This repo was added to Dependabot recently, so you'll receive a maximum of 5 PRs for your first few update runs. Once an update run creates fewer than 5 PRs we'll remove that limit.

You can always request more updates by clicking Bump now in your Dependabot dashboard.

Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
  • @dependabot use these labels will set the current labels as the default for future PRs for this repo and language
  • @dependabot use these reviewers will set the current reviewers as the default for future PRs for this repo and language
  • @dependabot use these assignees will set the current assignees as the default for future PRs for this repo and language
  • @dependabot use this milestone will set the current milestone as the default for future PRs for this repo and language
  • @dependabot badge me will comment on this PR with code to add a "Dependabot enabled" badge to your readme

Additionally, you can set the following in your Dependabot dashboard:

  • Update frequency (including time of day and day of week)
  • Pull request limits (per update run and/or open at any time)
  • Out-of-range updates (receive only lockfile updates, if desired)
  • Security updates (receive only security updates, if desired)

Updates the requirements on [thor](https://github.com/wycats/thor) to permit the latest version.
- [Release notes](https://github.com/wycats/thor/releases)
- [Changelog](https://github.com/erikhuda/thor/blob/master/CHANGELOG.md)
- [Commits](https://github.com/wycats/thor/commits)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
@dependabot-preview dependabot-preview bot added the dependencies Pull requests that update a dependency file label Dec 16, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

dependencies Pull requests that update a dependency file

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants