tezos_client 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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 725a3f4be32e4f23f291c0abb15ad9671bff432a3b00f4f149fbad9c8cadf007
4
- data.tar.gz: 21864905eeb5b701357551ee410c88f2e24832b31f53a1d811b0025f6410248d
3
+ metadata.gz: 46ed335e425ed73c260d946303db2c18422cc446c938a3e0d386591058692ccf
4
+ data.tar.gz: 47210c2b24fefe92c408f1e1e05c6466eab719fbca394cbb636958efb08d6fce
5
5
  SHA512:
6
- metadata.gz: 810cdd1ea762452c662bac91752c53b60756ad780989c58fa488fcb056d9907b4ac76e37907bbdb0fe7e40398badf686aa8f229033b5c53ec7a27bf07c389b9e
7
- data.tar.gz: 39b1a9bfefda07893cab407b5abdd9835603473098e6db4828847c9265358b11833e3ed160c91db6f50d0f6d52a659f38242d243a1cbc2ea112f0fccab71683e
6
+ metadata.gz: 128df332ac3f2f29150eb324594856a0c91b7a5194c222782bfdf2a56b953bb1d5d21e9969dc7fc3e69853809518fbeb806941ad361a47b44c1d9b66ee4b3d6b
7
+ data.tar.gz: fb412b5a3bad46ddbcbb52b99ab56d6068700bb4eb621854ff389a672c97a6b3b323e2abb87c8b0a2eb42cb5025fa1df82f7261aa76574b6efad48232c42c82f
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- tezos_client (0.4.0)
4
+ tezos_client (0.4.1)
5
5
  activesupport (~> 5.2.0)
6
6
  base58 (~> 0.2.3)
7
7
  bip_mnemonic (~> 0.0.2)
@@ -2,19 +2,16 @@
2
2
 
3
3
  class TezosClient
4
4
  class RpcRequestFailure < Exception
5
- include Logger
6
5
 
7
6
  attr_reader :status_code
8
7
  attr_reader :error
9
- attr_reader :formatted_response
10
8
 
11
9
  def initialize(error:, url:, status_code:)
12
10
  @status_code = status_code
13
11
  @error = error
14
- @formatted_response = formatted_response
15
12
 
16
13
  if @message.nil?
17
- @message = "#{url} failed with status #{status_code}:\n #{tezos_contents_log(formatted_response)}"
14
+ @message = "#{url} failed with status #{status_code}:\n #{error}"
18
15
  end
19
16
 
20
17
  super @message
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  class TezosClient
4
- VERSION = "0.4.0"
4
+ VERSION = "0.4.1"
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: tezos_client
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
  - Pierre Michard