defi 1.0.0 → 1.1.0

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
  SHA1:
3
- metadata.gz: 38416c6df3c1017284dfbe5be1d314969ac67f6e
4
- data.tar.gz: 3805c971f5a8dfb3f66102c33b842bfa0d9db6f1
3
+ metadata.gz: bd670eb72743b5d15a14bf5296572c08247ff4e9
4
+ data.tar.gz: 761e910a92007920e6cfe1f2c6c51d31d981b870
5
5
  SHA512:
6
- metadata.gz: 6028440baaebc9b458bb4f8b67afc6cd4b9519e062bed335e83681f98487a944835ce13bda1c920b5c30a1ae84f5543753e126004f13ac4a0a0cc7a365adc0c6
7
- data.tar.gz: 93c549751bd490f91271907305166def77e9d90ad728b35fab6b745a985833ca12394de1a795c8a1f87eb9561b98f3be369fed73efdad9f52233f02ae37ad481
6
+ metadata.gz: d07fd9ec60fa581879cdca326c5b59c19ac84a62c1ec660a0de95a5e2ea483cd0579747942ab82823c420b04a68fa4c3f6f5f96b4e0cfa3ca22620babadbd471
7
+ data.tar.gz: f11e6f704bde2aeb5c3aec5792d6864ca998fffa315e308436e138f8fc5428cfb10a20a6155a1a0c669f1119f3aa5a4a553e32560e243c3a8baa22ace4daf074
checksums.yaml.gz.sig CHANGED
Binary file
data.tar.gz.sig CHANGED
Binary file
data/README.md CHANGED
@@ -63,8 +63,8 @@ built Gem they can be used for basic integrity verification purposes.
63
63
  The checksum of a file can be checked using the `sha512sum` command. For
64
64
  example:
65
65
 
66
- $ sha512sum pkg/defi-0.1.0.gem
67
- a1bf7c28d86ef4f412a9294b4fc40d613ffdb6bc3a0410144d927fa95ba718e1ce7ac20e21845e99860529ad91f231e6436c4730e2ee1f6a13519476be207545 pkg/defi-0.1.0.gem
66
+ $ sha512sum pkg/defi-1.0.0.gem
67
+ c30380a253c932bbff42a36611466f2b7d59e6a1d9578a4989e7b2cfd4078cf9d64e452b0eaa055c5ab88be4816d3f366d7aa705d29bb54e2db9f75d21f36cf7 pkg/defi-1.0.0.gem
68
68
 
69
69
  ## Versioning
70
70
 
data/VERSION.semver CHANGED
@@ -1 +1 @@
1
- 1.0.0
1
+ 1.1.0
@@ -0,0 +1 @@
1
+ c30380a253c932bbff42a36611466f2b7d59e6a1d9578a4989e7b2cfd4078cf9d64e452b0eaa055c5ab88be4816d3f366d7aa705d29bb54e2db9f75d21f36cf7
@@ -23,5 +23,17 @@ module Defi
23
23
  def to(object)
24
24
  object.public_send(@method, *@args)
25
25
  end
26
+
27
+ # Properties of the challenge.
28
+ #
29
+ # @api public
30
+ #
31
+ # @return [Hash] The properties of the challenge.
32
+ def to_h
33
+ {
34
+ method: @method,
35
+ args: @args
36
+ }
37
+ end
26
38
  end
27
39
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: defi
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.0
4
+ version: 1.1.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Cyril Wack
@@ -136,6 +136,7 @@ files:
136
136
  - bin/setup
137
137
  - certs/gem-fixrb-public_cert.pem
138
138
  - checksum/defi-0.1.0.gem.sha512
139
+ - checksum/defi-1.0.0.gem.sha512
139
140
  - defi.gemspec
140
141
  - lib/defi.rb
141
142
  - lib/defi/challenge.rb
metadata.gz.sig CHANGED
Binary file