zold 0.8 → 0.9
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.
- checksums.yaml +4 -4
- data/.gitattributes +1 -0
- data/README.md +16 -8
- data/Rakefile +1 -1
- data/bin/zold +1 -1
- data/lib/zold/amount.rb +11 -3
- data/lib/zold/commands/calculate.rb +5 -0
- data/lib/zold/commands/merge.rb +2 -2
- data/lib/zold/commands/pay.rb +12 -3
- data/lib/zold/commands/taxes.rb +3 -3
- data/lib/zold/node/emission.rb +3 -2
- data/lib/zold/node/entrance.rb +3 -3
- data/lib/zold/patch.rb +2 -1
- data/lib/zold/prefixes.rb +1 -1
- data/lib/zold/score.rb +3 -0
- data/lib/zold/tax.rb +22 -6
- data/lib/zold/txn.rb +4 -3
- data/lib/zold/version.rb +1 -1
- data/lib/zold/wallet.rb +7 -1
- data/test/commands/test_diff.rb +13 -15
- data/test/commands/test_merge.rb +25 -34
- data/test/commands/test_node.rb +2 -2
- data/test/commands/test_pay.rb +5 -10
- data/test/commands/test_taxes.rb +1 -1
- data/test/fake_home.rb +59 -0
- data/test/node/test_emission.rb +4 -6
- data/test/test_amount.rb +2 -2
- data/test/test_patch.rb +7 -9
- data/test/test_prefixes.rb +3 -4
- data/test/test_tax.rb +49 -6
- data/test/test_wallet.rb +9 -34
- data/wp/.gitignore +2 -1
- data/wp/Makefile +6 -1
- data/wp/main.bib +99 -0
- data/wp/wp.pdf +0 -0
- data/wp/wp.tex +296 -145
- data/zold.gemspec +1 -1
- metadata +9 -3
data/zold.gemspec
CHANGED
@@ -36,7 +36,7 @@ Gem::Specification.new do |s|
|
|
36
36
|
s.description = 'Non-blockchain cryptocurrency'
|
37
37
|
s.authors = ['Yegor Bugayenko']
|
38
38
|
s.email = 'yegor256@gmail.com'
|
39
|
-
s.homepage = 'http://github.com/
|
39
|
+
s.homepage = 'http://github.com/yegor256/zold'
|
40
40
|
s.files = `git ls-files`.split($RS)
|
41
41
|
s.executables = s.files.grep(%r{^bin/}) { |f| File.basename(f) }
|
42
42
|
s.test_files = s.files.grep(%r{^(test|spec|features|wp)/})
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: zold
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: '0.
|
4
|
+
version: '0.9'
|
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-05-
|
11
|
+
date: 2018-05-27 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: concurrent-ruby
|
@@ -327,6 +327,7 @@ files:
|
|
327
327
|
- test/commands/test_remote.rb
|
328
328
|
- test/commands/test_show.rb
|
329
329
|
- test/commands/test_taxes.rb
|
330
|
+
- test/fake_home.rb
|
330
331
|
- test/node/fake_node.rb
|
331
332
|
- test/node/test_emission.rb
|
332
333
|
- test/node/test_entrance.rb
|
@@ -352,9 +353,11 @@ files:
|
|
352
353
|
- wp/.gitignore
|
353
354
|
- wp/Makefile
|
354
355
|
- wp/logo.png
|
356
|
+
- wp/main.bib
|
357
|
+
- wp/wp.pdf
|
355
358
|
- wp/wp.tex
|
356
359
|
- zold.gemspec
|
357
|
-
homepage: http://github.com/
|
360
|
+
homepage: http://github.com/yegor256/zold
|
358
361
|
licenses:
|
359
362
|
- MIT
|
360
363
|
metadata: {}
|
@@ -398,6 +401,7 @@ test_files:
|
|
398
401
|
- test/commands/test_remote.rb
|
399
402
|
- test/commands/test_show.rb
|
400
403
|
- test/commands/test_taxes.rb
|
404
|
+
- test/fake_home.rb
|
401
405
|
- test/node/fake_node.rb
|
402
406
|
- test/node/test_emission.rb
|
403
407
|
- test/node/test_entrance.rb
|
@@ -423,4 +427,6 @@ test_files:
|
|
423
427
|
- wp/.gitignore
|
424
428
|
- wp/Makefile
|
425
429
|
- wp/logo.png
|
430
|
+
- wp/main.bib
|
431
|
+
- wp/wp.pdf
|
426
432
|
- wp/wp.tex
|