glueby 0.6.0 → 0.6.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: 6dfda968fd96c80d2e47dafcaba138721e4250a45193e3091e05f37816a2da5c
4
- data.tar.gz: 53cb96baec24e35afb9a271496009b034bea26c013b1cc4aab6ee306acbfe3de
3
+ metadata.gz: 2b053cde5755947020d018939a4efa0a042e830232aff3e4d2a4a4a9b53caa54
4
+ data.tar.gz: 5fcfb3f983b687f6942901d7f56c9f70a5123b97e0f5eb313d3a011632824f76
5
5
  SHA512:
6
- metadata.gz: eb7e3fd70fdf180ef3442f269fba947a542986a588b12dac8ad42a5fb2e54b3ee97955c63ae16a6739105475834ad61de27fe6989e0a7fb2d045dcd0a9ad746e
7
- data.tar.gz: 3ddc3b8eaab504a46337222577613082e44f6a8d047aa80b7084ea9030c39432fc9b763bf7cde25b3f2d122a49441411e327912215bd070d073349631bc9f421
6
+ metadata.gz: 440cd7203e5d411dc0aca3571e2eaa14b2c2ef85ca97d9ed60c7b9099d206dc9d4fbaa4dfb65190ddcc9fc71bbb57555abc42cde5cf2d3319fa4c8c18f3b70cf
7
+ data.tar.gz: 4dac9b8cb1a8a6670e8ee0458f467c66c91994b103e8d9513bbbfb926c27f9b0541de4bdfe12085edb58b1ac9f761775abf88f3dcb93ab43f9ba17ad0c96f840
@@ -16,6 +16,11 @@ module Glueby
16
16
  super(wallet_id: attributes[:wallet_id], content_hash: @content_hash,
17
17
  prefix: attributes[:prefix] ? attributes[:prefix] : '', status: :init, timestamp_type: attributes[:timestamp_type] || :simple)
18
18
  end
19
+
20
+ # Return true if timestamp type is 'trackable' and output in timestamp transaction has not been spent yet, otherwise return false.
21
+ def latest
22
+ trackable?
23
+ end
19
24
  end
20
25
  end
21
26
  end
@@ -1,3 +1,3 @@
1
1
  module Glueby
2
- VERSION = "0.6.0"
2
+ VERSION = "0.6.1"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: glueby
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.6.0
4
+ version: 0.6.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - azuchi
8
- autorequire:
8
+ autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2021-12-08 00:00:00.000000000 Z
11
+ date: 2021-12-09 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tapyrus
@@ -147,7 +147,7 @@ metadata:
147
147
  homepage_uri: https://github.com/chaintope/glueby
148
148
  source_code_uri: https://github.com/chaintope/glueby
149
149
  changelog_uri: https://github.com/chaintope/glueby
150
- post_install_message:
150
+ post_install_message:
151
151
  rdoc_options: []
152
152
  require_paths:
153
153
  - lib
@@ -163,7 +163,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
163
163
  version: '0'
164
164
  requirements: []
165
165
  rubygems_version: 3.2.3
166
- signing_key:
166
+ signing_key:
167
167
  specification_version: 4
168
168
  summary: A Ruby library of smart contracts that can be used on Tapyrus.
169
169
  test_files: []