diff options
author | 2015-03-14 17:04:40 +0100 | |
---|---|---|
committer | 2015-03-14 17:04:40 +0100 | |
commit | 0d4ad2f09bf5f9aa6bbfd9affd2df3265cf3173b (patch) | |
tree | a2ba04281b381eb1e69d27ac0af63bace8118f1c | |
parent | Fix vulnerable/unaffected version order (diff) | |
download | security-0d4ad2f09bf5f9aa6bbfd9affd2df3265cf3173b.tar.gz security-0d4ad2f09bf5f9aa6bbfd9affd2df3265cf3173b.tar.bz2 security-0d4ad2f09bf5f9aa6bbfd9affd2df3265cf3173b.zip |
Correct ze math.
-rw-r--r-- | lib/glsa_repository.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/glsa_repository.rb b/lib/glsa_repository.rb index ee1096b..9fe571a 100644 --- a/lib/glsa_repository.rb +++ b/lib/glsa_repository.rb @@ -44,7 +44,7 @@ class GLSARepository end def latest(n = 10) - @latest[0..n].map {|id| @advisories[id] } + @latest[0...n].map {|id| @advisories[id] } end def[](id) |