my_help 0.7.0 → 0.7.1

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 78430acb2bc6f65ff113d7a47b2f5fdf2b551e01
4
- data.tar.gz: 84abb9edb126223e9f3fa7b27dc56a8d43a8fe30
3
+ metadata.gz: 329496bbae92a57e90f94b719ddd2be82e2ef5d3
4
+ data.tar.gz: 813ed1f72d37fa2d93c529ed7eea68340373d1ca
5
5
  SHA512:
6
- metadata.gz: b8a75b42b847175b05a95d0283f1cab34678b0785a45bb22c6db56ba1830c17a49d717ea2bea3f6064afb3cbc14b997a2eeb12a50285ad68938681e2919a3e5f
7
- data.tar.gz: 0d8a81bc080f5291a64646f2eab576e76f73293d53a40b903d231655310b21dd156a1489cc4d5b4d55c3b1f98d1bf09d1c7e3d08d99a6218e6fdb2566ac24666
6
+ metadata.gz: ec29d078e2e359b1b207359f83eb1ee2bcc844fab35995f97e3c42936904cd31f71e33f0ef9ff16603f6fe205c6bb160a03f4caa5e33f2a705a77bf1175bf602
7
+ data.tar.gz: 994d20e42858e1df0192f6b91efc8df0c3f5da0b037c961e4065824ac0d35d6eeef6cf66c5d542ff2867a4dcc67a3e6daa5c86cbd0a899441bddfb5168506d9b
data/bin/my_help CHANGED
@@ -15,7 +15,6 @@ desc 'list all helps, specific HELP, or item'
15
15
  arg_name 'HELP_NAME, ITEM'
16
16
  command :list do |c|
17
17
  c.action do |global_options,options,args|
18
- p args
19
18
  file, item = args
20
19
  if file.nil?
21
20
  $control.list_all
@@ -31,8 +30,7 @@ desc 'edit HELP_NAME help'
31
30
  arg_name 'HELP_NAME'
32
31
  command :edit do |c|
33
32
  c.action do |global_options,options,args|
34
- p args
35
- $control.edit_help(args[0])
33
+ $control.edit_help(args[0])
36
34
  end
37
35
  end
38
36
 
@@ -30,7 +30,6 @@ module MyHelp
30
30
  def select_item(help, item)
31
31
  o_key = ''
32
32
  help.each_pair do |key, cont|
33
- p key
34
33
  next if key==:license or key==:head
35
34
  if cont[:opts][:short] == item or cont[:opts][:long] == item
36
35
  o_key = key
@@ -1,3 +1,3 @@
1
1
  module MyHelp
2
- VERSION = "0.7.0"
2
+ VERSION = "0.7.1"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: my_help
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.7.0
4
+ version: 0.7.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Your Name Here