perch 0.2.4 → 0.2.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. data/bin/ha-gen +2 -2
  2. metadata +1 -1
data/bin/ha-gen CHANGED
@@ -22,7 +22,7 @@ OptionParser.new do |opts|
22
22
  @length = value
23
23
  end
24
24
 
25
- opts.on("-a", "--fun")
25
+ opts.on("-a", "--fun") do
26
26
  @fun = true
27
27
  end
28
28
 
@@ -38,7 +38,7 @@ OptionParser.new do |opts|
38
38
  begin
39
39
  opts.parse!
40
40
  if @fun
41
- Password.generate_fun
41
+ puts Password.generate_fun
42
42
  else
43
43
  puts @length ? Password.generate(@length) : Password.generate
44
44
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: perch
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.4
4
+ version: 0.2.5
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors: