Score calculating Ruby Gem
Switch branches/tags
Nothing to show
Clone or download
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
ext/score_suffix #12: Interrupt busy thread Nov 24, 2018
lib/zold #20 parse_text and to_text removed Dec 8, 2018
test/zold #20 parse_text and to_text removed Dec 8, 2018
.0pdd.yml #1 moved Nov 4, 2018
.gitattributes #1 moved Nov 4, 2018
.gitignore #2: Fast score mining (c++) Nov 6, 2018
.pdd #1 moved Nov 4, 2018
.rubocop.yml #11 tested Nov 24, 2018
.rultor.yml #1 moved Nov 4, 2018
.simplecov #1 moved Nov 4, 2018
.travis.yml Add ruby 2.4.5 to .travis Nov 30, 2018
Gemfile #1 moved Nov 4, 2018
LICENSE.txt #1 moved Nov 4, 2018
README.md #4 doc Nov 12, 2018
Rakefile #2: Fast score mining (c++) Nov 6, 2018
appveyor.yml #2: Fix appveyor and rultor build Nov 13, 2018
zold-score.gemspec #11 tested Nov 24, 2018

README.md

Donate via Zerocracy

EO principles respected here Managed by Zerocracy DevOps By Rultor.com We recommend RubyMine

Build Status Build status PDD status Gem Version Test Coverage

Here is the White Paper.

Join our Telegram group to discuss it all live.

The license is MIT.

This small Ruby Gem calculates the score for Zold nodes.

To calculate a new Score you create an object first:

score = Zold::Score.new(
  host: 'example.com',
  port: 4096,
  invoice: 'MYPREFIX@ffffffffffffffff',
  strength: 6
)

This score has zero value and the strength of six. Then you just ask it to calculate the next score:

n = score.next

That's it.

This project is actively used in our main Ruby repo.

How to contribute

Read these guidelines. Make sure you build is green before you contribute your pull request. You will need to have Ruby 2.3+ and Bundler installed. Then:

$ bundle update
$ rake

If it's clean and you don't see any error messages, submit your pull request.