zold-score 0.3.3 → 0.3.4

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 3e8e3611ae87c09e55eb4f6ca4d9f2480d8247bae57009ec55cf4d3cdc44f097
4
- data.tar.gz: 785e1f097278534c39d6bfad528138f0b16ee84041c27962dfdaebf81ef9b6b7
3
+ metadata.gz: bc8bc53e8775df93481fb2ab2f06f57a359e1afbf02a7fbaab819ae01e055a17
4
+ data.tar.gz: ef6b9058b2a56cfdc66d59c9eb02f474db228de82dd4c33ad3bf1962e0ff9fae
5
5
  SHA512:
6
- metadata.gz: 0b1e6c40f46bdcb1149ebca1b95e30806535d25257410ca6d98ed30d2d8d1ae2a73e079d4c5960f9d3bced6058b4c7d890f80d2297d848afc2865ac44ff082ff
7
- data.tar.gz: 12822784b61069fbec36a2258658e4fb5536a67878eeb31b3e555aeac8a8a80b149c94bc275a9df6d6338d4ef3c4efe34711486eb85b6412d3a17ded0565357b
6
+ metadata.gz: 9eb3d24322a6de5d5c133d8d379fe55aeb250adbf9f85c89d5bfceb3757d56361de1849a13bb8aa39f84b4b5e3c3d3a1db490386d6e7e411e51dfcb81dfed08e
7
+ data.tar.gz: 4357042ffebe3175e6b1f97391a52fff38d47aa069a9f729bf0a688a5321e97a3507fd59752c519ed5b53465764e3f2ded82d56ce9b5f8801a9647e194cb6017
data/lib/zold/score.rb CHANGED
@@ -41,8 +41,12 @@ require 'time'
41
41
  module Zold
42
42
  # Score
43
43
  class Score
44
- # Default strength for the entire system, in production mode.
45
- STRENGTH = 6
44
+ # Default strength for the entire system, in production mode. The larger
45
+ # the number, the more difficult it is to find the next score for
46
+ # a node. If the number if too small, the values of the score will be
47
+ # big and the amount of data to be transferred from node to node will
48
+ # increase. The number is set empirically.
49
+ STRENGTH = 7
46
50
 
47
51
  attr_reader :time, :host, :port, :invoice, :suffixes, :strength, :created
48
52
 
data/zold-score.gemspec CHANGED
@@ -27,7 +27,7 @@ Gem::Specification.new do |s|
27
27
  s.rubygems_version = '2.2'
28
28
  s.required_ruby_version = '>=2.3'
29
29
  s.name = 'zold-score'
30
- s.version = '0.3.3'
30
+ s.version = '0.3.4'
31
31
  s.license = 'MIT'
32
32
  s.summary = 'Zold score'
33
33
  s.description = 'Score calculating Ruby Gem for Zold'
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: zold-score
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.3
4
+ version: 0.3.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Yegor Bugayenko
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2018-11-28 00:00:00.000000000 Z
11
+ date: 2018-11-30 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: codecov