Project

koodmeeter

0.0
No release in over 3 years
Low commit activity in last 3 years
koodmeeter is a port of koodmeeter.js password strength score tool.
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Development

~> 0.8
~> 2.12
~> 10.4
~> 3.2
~> 0.2

Runtime

~> 1.8
 Project Readme

koodmeeter Build Status Gem Version Coverage Status

koodmeeter (codemeter) is a password strength score tool.

  • Supported Ruby versions:
    • 2.2.2 (recommended)
    • 2.2.1
    • 2.1.0
    • 2.0.0

If you need just a JavaScript version, check koodmeeter.js.

Usage

# Returns number representing password strength score:
#   0 - lowest
#   5 - highest
Koodmeeter.check('mypassword')

Optionally, minimum chars option can be used, affecting score:

# Returns 0, since "mypassword" is less than 12 chars
Koodmeeter.check('mypassword', 12)

Contributing

Bug reports, suggestions

  • File all your issues, feature requests here
  • If filing a bug report, follow the convention of Steps to reproduce / What happens? / What should happen?
  • If you're a developer, write a failing test instead of a bug report and send a Pull Request

Code

  1. Fork it ( https://github.com/[my-github-username]/koodmeeter/fork )
  2. Create your feature branch (git checkout -b my-new-feature)
  3. Develop your feature by concepts of TDD. Run guard in parallel to automatically run your tests
  4. Commit your changes (git commit -am 'Add some feature')
  5. Push to the branch (git push origin my-new-feature)
  6. Create a new Pull Request

License

Copyright © 2015 Ain Tohvri. Licensed under GPLv3.