lastpass-ssh 1.0.5 → 1.0.6

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 (3) hide show
  1. checksums.yaml +4 -4
  2. data/bin/lastpass-ssh +1 -1
  3. metadata +1 -1
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 0b4bc4ccebae456b92cf31f6005c7e11fb1ee943
4
- data.tar.gz: b5e16031729735101302b78d7ad8bd34a0e83e8d
3
+ metadata.gz: db5929d75fa6475a9f214ced7bd63559565a4610
4
+ data.tar.gz: 565e295b4ac0f13a3f4f3afc992ba85bfd4d7448
5
5
  SHA512:
6
- metadata.gz: c73d13067ed58619ee9d7b9e6cd5f2ba6baf27de9db393e27bb82bd51c44617e3155aa08dc9c3087b85c814cc4e4addec3433da6f8bb31112488c246c43a6c7f
7
- data.tar.gz: 9477e2909c35481f14805aca07ca557828c9a19168de4b688bcd210046bb7206aba16c0ea5e8e84833162b491b7c2d5a08c376d713052fc715ae52cc9822065f
6
+ metadata.gz: af0facef4ff01d49ff7e94ec177788289486f1f48f15789a3f0b381a4b0afa1cef27cac58c6d0fef95a8b3a4f667cff7c5458a85ab442c4a49b7553b92ed861d
7
+ data.tar.gz: a547650010a8fd0f410565093ab94e924f12c760892658c6b0e2655ff3bfa9c9634d7237d3656f0ef3cfb6f83e0d25d6e0aaa3a568de97cca221ed2f7a76e0f5
@@ -61,7 +61,7 @@ else
61
61
  lines = raw_lines.split("\n").select { |l| l if l =~ /^Secure/ }[1..-1]
62
62
 
63
63
  # Check if we got anything from `lpass`
64
- if lines.length <= 0 then
64
+ if lines == nil or lines.length <= 0 then
65
65
  print "Something looks wrong. Maybe you don't have any Secure Notes yet?\n"
66
66
  print "In that case, take a look at lastpass-ssh README file\n"
67
67
  exit 64
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: lastpass-ssh
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.5
4
+ version: 1.0.6
5
5
  platform: ruby
6
6
  authors:
7
7
  - Wojciech Adam Koszek