filecoin 0.4.0 → 0.4.1
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/CHANGELOG.md +1 -1
- data/Gemfile.lock +2 -2
- data/lib/filecoin/types/power_claim.rb +2 -0
- data/lib/filecoin/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 185556f6d03bd6858803601aab3f5f72ea57fc3c333c0c4c696e29dc7b369bfc
|
|
4
|
+
data.tar.gz: c567b975353ad80b3ee562ed9a30e51732e2b0bf57ae8c3bce496368a9c60184
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: e3a6e78f1ab87af72d7f58c934dbd730dee355d1de974598d7c1bf6cfead7f3a3c7a43003817d5aba9b033ca0ec1cecd22d32b6674aa95a4152dcf111328e20b
|
|
7
|
+
data.tar.gz: 2476b07654e3762bebebb159525a54f519840239af9d1d7b7a5d4e1b174e099db5adbc06caaa113453a63788e4aa3c73b621cca23738990273470cc20e96a56e
|
data/CHANGELOG.md
CHANGED
data/Gemfile.lock
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
PATH
|
|
2
2
|
remote: .
|
|
3
3
|
specs:
|
|
4
|
-
filecoin (0.4.
|
|
4
|
+
filecoin (0.4.1)
|
|
5
5
|
dry-struct (~> 1.0)
|
|
6
6
|
|
|
7
7
|
GEM
|
|
@@ -25,7 +25,7 @@ GEM
|
|
|
25
25
|
concurrent-ruby (~> 1.0)
|
|
26
26
|
dry-equalizer (0.3.0)
|
|
27
27
|
dry-inflector (0.2.0)
|
|
28
|
-
dry-logic (1.0.
|
|
28
|
+
dry-logic (1.0.8)
|
|
29
29
|
concurrent-ruby (~> 1.0)
|
|
30
30
|
dry-core (~> 0.2)
|
|
31
31
|
dry-equalizer (~> 0.2)
|
|
@@ -12,6 +12,8 @@ module Filecoin
|
|
|
12
12
|
|
|
13
13
|
extend ClassMethods
|
|
14
14
|
|
|
15
|
+
attr_reader :quality_adjusted_power, :raw_byte_power
|
|
16
|
+
|
|
15
17
|
# raw_byte_power: Sum of raw byte power for a miner's (or of all miners') sectors
|
|
16
18
|
# quality_adjusted_power: Sum of quality adjusted power for a miner's (or of all miners') sectors.
|
|
17
19
|
def initialize(quality_adjusted_power:, raw_byte_power:)
|
data/lib/filecoin/version.rb
CHANGED
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: filecoin
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.4.
|
|
4
|
+
version: 0.4.1
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Pedro Costa
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: exe
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2020-
|
|
11
|
+
date: 2020-10-08 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: dry-struct
|