From 6b93b7ca400f23ac18433e3d3b20457057bd7b90 Mon Sep 17 00:00:00 2001 From: Andrew Kreps Date: Tue, 1 Mar 2016 11:34:14 -0800 Subject: [PATCH] Adding help text. --- lib/lita/handlers/onewheel_halfstaff.rb | 6 ++++-- lita-onewheel-halfstaff.gemspec | 2 +- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/lib/lita/handlers/onewheel_halfstaff.rb b/lib/lita/handlers/onewheel_halfstaff.rb index e962075..2e81a6c 100644 --- a/lib/lita/handlers/onewheel_halfstaff.rb +++ b/lib/lita/handlers/onewheel_halfstaff.rb @@ -6,11 +6,13 @@ module Handlers class OnewheelHalfstaff < Handler route /^half(staff|mast)$/, :get_flag_status, - command: true + command: true, + help: {'halfstaff' => 'Get any current half staff information from flagsexpress.com.'} route /^half(staff|mast) history$/, :get_history, - command: true + command: true, + help: {'halfstaff history' => 'Get the wikipedia history of lowering the flag to half staff(mast).'} def get_flag_status(response) flag_data = get_flag_data diff --git a/lita-onewheel-halfstaff.gemspec b/lita-onewheel-halfstaff.gemspec index eed0b4b..2938d69 100644 --- a/lita-onewheel-halfstaff.gemspec +++ b/lita-onewheel-halfstaff.gemspec @@ -1,6 +1,6 @@ Gem::Specification.new do |spec| spec.name = 'lita-onewheel-halfstaff' - spec.version = '0.1.0' + spec.version = '0.1.1' spec.authors = ['Andrew Kreps'] spec.email = ['andrew.kreps@gmail.com'] spec.description = %q{View the current US flag half-staff status.}