filecoin 0.4.0 → 0.4.1

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: 7159b291af21ca88add75488b10ac6700be6abbbde528b04aa880efa208ba480
4
- data.tar.gz: 21f88799b03a576802cb03bd00b1680615c86b5fb2557b68bbe1fb729c0f8fc2
3
+ metadata.gz: 185556f6d03bd6858803601aab3f5f72ea57fc3c333c0c4c696e29dc7b369bfc
4
+ data.tar.gz: c567b975353ad80b3ee562ed9a30e51732e2b0bf57ae8c3bce496368a9c60184
5
5
  SHA512:
6
- metadata.gz: 5d719cd23a5178285a70ffc2589fa14fe56c39aefed45cef6398faa5a7d7b6271ea7e2d6bac21ed89b1234f48bcdabe293dbce1b7d540f3863e221ccaeefb102
7
- data.tar.gz: 5d6d6a5e5c81ce3fab7373edf35c9d2a2e69784f7f512043a8508ea1e3c501fafb5fdff5e8565dc63f43689c8524bb52936af98f85c18c2816c4d71e0599b66f
6
+ metadata.gz: e3a6e78f1ab87af72d7f58c934dbd730dee355d1de974598d7c1bf6cfead7f3a3c7a43003817d5aba9b033ca0ec1cecd22d32b6674aa95a4152dcf111328e20b
7
+ data.tar.gz: 2476b07654e3762bebebb159525a54f519840239af9d1d7b7a5d4e1b174e099db5adbc06caaa113453a63788e4aa3c73b621cca23738990273470cc20e96a56e
@@ -10,7 +10,7 @@ The format is based on [Keep a Changelog], and this project adheres to
10
10
  Unreleased
11
11
  ----------
12
12
 
13
- _Coming soon_
13
+ - Expose attribute readers for `PowerClaim` objects.
14
14
 
15
15
 
16
16
  v0.4.0 - 2020-09-18
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- filecoin (0.4.0)
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.7)
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:)
@@ -1,3 +1,3 @@
1
1
  module Filecoin
2
- VERSION = "0.4.0".freeze
2
+ VERSION = "0.4.1".freeze
3
3
  end
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.0
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-09-18 00:00:00.000000000 Z
11
+ date: 2020-10-08 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: dry-struct