Module: Toolshed

Defined in:
lib/toolshed.rb,
lib/toolshed/cli.rb,
lib/toolshed/base.rb,
lib/toolshed/error.rb,
lib/toolshed/client.rb,
lib/toolshed/git/git.rb,
lib/toolshed/version.rb,
lib/toolshed/git/github.rb,
lib/toolshed/commands/push_branch.rb,
lib/toolshed/ticket_tracking/jira.rb,
lib/toolshed/time_tracking/harvest.rb,
lib/toolshed/commands/create_branch.rb,
lib/toolshed/commands/delete_branch.rb,
lib/toolshed/commands/list_branches.rb,
lib/toolshed/commands/checkout_branch.rb,
lib/toolshed/commands/ticket_information.rb,
lib/toolshed/time_tracking/time_tracking.rb,
lib/toolshed/commands/create_pull_request.rb,
lib/toolshed/commands/update_ticket_status.rb,
lib/toolshed/commands/create_ticket_comment.rb,
lib/toolshed/commands/get_daily_time_update.rb,
lib/toolshed/ticket_tracking/pivotal_tracker.rb,
lib/toolshed/ticket_tracking/ticket_tracking.rb,
lib/toolshed/commands/create_pivotal_tracker_note.rb,
lib/toolshed/commands/update_pivotal_tracker_story_status.rb

Defined Under Namespace

Modules: Commands, Git, TicketTracking, TimeTracking Classes: AuthenticationFailed, Base, CLI, Client, CommandNotFound, Error, RecordExists, RecordNotFoundError

Constant Summary collapse

BLANK_REGEX =
/\S+/
VERSION =
"1.0.0"

Class Method Summary collapse

Class Method Details

.deprecate(message = nil) ⇒ void

This method returns an undefined value.

Echoes a deprecation warning message.

Parameters:

  • message (String) (defaults to: nil)

    The message to display.



20
21
22
23
# File 'lib/toolshed.rb', line 20

def self.deprecate(message = nil)
  message ||= "You are using deprecated behavior which will be removed from the next major or minor release."
  warn("DEPRECATION WARNING: #{message}")
end