ecm-blockchain-api 1.1.6 → 1.1.8

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: b19841c19115cc0a803beefff3b8bfc174ba04e5d2b66282a8b8274943f18249
4
- data.tar.gz: f6e843b9c81713c3bb88a25e8a7519d82a54c02ac34d7846a91c4c5c38dc2988
3
+ metadata.gz: 4a0d9c54185579e9500645702be42ac44d43715ac5a49536dbddf9dd1d063341
4
+ data.tar.gz: 295f595d27f551a07180d18408e5f8a84403648322e443a365bbda647b71cf32
5
5
  SHA512:
6
- metadata.gz: 52bdb5a37be1e8877a3108bc8a63023a5a9b2ba7eeac3ec0cfdb05dad073b0b76f0257a21b7f01304b1f9f54c4c56e0364e8a8672b439f3a05a1bc06179dc63d
7
- data.tar.gz: ec36f29e7e649e163ae7a9d73314c466d36bf5183dc23a3fe9bb4b23c3114f1c0cb3e8ce2fe0dde71e1e95228b3827b8bf4858b68f7b14ef6c740a2d6790e77b
6
+ metadata.gz: 62ee2791f1d5518bd4a514654b3d150eec5fb14960c09e19259d5ff9afaa7bcea793d71d2ac6a4b78d21e4e51134172822bc4f5e1705d6a5b6ef74fd2984d646
7
+ data.tar.gz: d50fd9c87e569c50693e11b3397f1202f6010b9246426f48361229a895d5a6e3e88e7115f7d958f2bbba998381b6f6d361abfb40b4249355c369fd94fa5028a6
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- ecm-blockchain-api (1.1.5)
4
+ ecm-blockchain-api (1.1.6)
5
5
  activemodel (~> 7.0, >= 7.0.4.3)
6
6
  httparty (~> 0.22.0)
7
7
 
@@ -154,7 +154,7 @@ CHECKSUMS
154
154
  csv (3.3.5)
155
155
  diff-lcs (1.6.2)
156
156
  drb (2.2.3)
157
- ecm-blockchain-api (1.1.5)
157
+ ecm-blockchain-api (1.1.6)
158
158
  factory_bot (6.5.6)
159
159
  faker (3.5.3)
160
160
  hashdiff (1.2.1)
@@ -11,7 +11,7 @@ module ECMBlockchain
11
11
 
12
12
  def timestamp(identity, data)
13
13
  verify_file(data)
14
- asset(request( :post, "/#{identity}#{ASSET_URL}/document_timestamp", data ))
14
+ file(request( :post, "/#{identity}#{ASSET_URL}/document_timestamp", data ))
15
15
  end
16
16
 
17
17
  # def batch_create(identity, data)
@@ -44,6 +44,10 @@ module ECMBlockchain
44
44
  verify_asset(asset_data)
45
45
  end
46
46
 
47
+ def file(file_data)
48
+ verify_file(file_data)
49
+ end
50
+
47
51
  def verify_asset(asset)
48
52
  ECMBlockchain::AssetModel.verify(asset)
49
53
  end
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module ECMBlockchain
4
- VERSION = "1.1.6"
4
+ VERSION = "1.1.8"
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ecm-blockchain-api
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.1.6
4
+ version: 1.1.8
5
5
  platform: ruby
6
6
  authors:
7
7
  - Wardy