hyperledger-fabric-sdk 0.1.3 → 0.1.6

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: e31d83126f446cce1abbc7eb0c32012b21d19191eae04258fb2459d7fc58348b
4
- data.tar.gz: 31accaab02d6f790cb03e608f13b67bb6f87b93a3ab1614b43052bd9c3dbb8a1
3
+ metadata.gz: 2b34e15db74e65f1b196a66317ca6500ca6276a136023d1490b92a15c7662242
4
+ data.tar.gz: 07ce3499cdcae589bb108cfda0800d3b5495e302d6f1827ff3fb716864cbc25a
5
5
  SHA512:
6
- metadata.gz: 12229bdfa187eff68f7396ea3dad73b7d2eb9016a1ebadcd62412f0848ae49810e9826d6873497bb4b02931803568e41f611802a1771aac28f0327a3198eb7a4
7
- data.tar.gz: 991bd9d73597272dc555fbc524c3c077e78e7f751035418f4e0753199c1b149172baac5720d59a8d6e6fe73687534627bc691ef9ab091ebba85703550f3f777b
6
+ metadata.gz: 34766df4323f03cb653a835198b4adaa7c44dc71d33bc997fc0fa0168d3e7a9ef57fcdbca69c22a0ead29e688db3ae5e4b1ee42c5962332c853b7e12c854a267
7
+ data.tar.gz: 4732705f81d87a24f31d0f93bf29c9fea5ec43d9587e26fbba75eb66836876b6d32c61f219c3a317734ebfb60488b14a050e5b1300195e389e8b5906f31b1972
data/Gemfile.lock CHANGED
@@ -1,12 +1,12 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- hyperledger-fabric-sdk (0.1.3)
4
+ hyperledger-fabric-sdk (0.1.4)
5
5
  digest-sha3 (~> 1.1)
6
6
  faraday (~> 0.17)
7
7
  faraday_middleware (~> 0.13)
8
+ google-protobuf (~> 3.10)
8
9
  grpc (~> 1.25)
9
- rainbow (~> 3.0)
10
10
 
11
11
  GEM
12
12
  remote: https://rubygems.org/
@@ -16,14 +16,13 @@ GEM
16
16
  multipart-post (>= 1.2, < 3)
17
17
  faraday_middleware (0.13.1)
18
18
  faraday (>= 0.7.4, < 1.0)
19
- google-protobuf (3.10.1-universal-darwin)
19
+ google-protobuf (3.11.0)
20
20
  googleapis-common-protos-types (1.0.4)
21
21
  google-protobuf (~> 3.0)
22
- grpc (1.25.0-universal-darwin)
22
+ grpc (1.25.0)
23
23
  google-protobuf (~> 3.8)
24
24
  googleapis-common-protos-types (~> 1.0)
25
25
  multipart-post (2.1.1)
26
- rainbow (3.0.0)
27
26
  rake (10.5.0)
28
27
 
29
28
  PLATFORMS
data/lib/fabric.rb CHANGED
File without changes
@@ -68,8 +68,8 @@ module Fabric
68
68
  end
69
69
 
70
70
  def logging(section, message = {})
71
- logger.info section.to_s.upcase.colorize(:yellow),
72
- message.to_s.colorize(:blue)
71
+ logger.info section.to_s.upcase,
72
+ message.to_s
73
73
  end
74
74
  end
75
75
  end
data/lib/fabric/client.rb CHANGED
@@ -120,8 +120,8 @@ module Fabric
120
120
  end
121
121
 
122
122
  def logging(section, message = {})
123
- logger.info section.to_s.upcase.colorize(:yellow),
124
- message.to_s.colorize(:blue)
123
+ logger.info section.to_s.upcase,
124
+ message.to_s
125
125
  end
126
126
  end
127
127
  end
File without changes
File without changes
File without changes
File without changes
@@ -1,8 +1,6 @@
1
1
  module Fabric
2
2
  class FabricLogger
3
3
  LOGGER_TAG = 'HYPERLEDGER FABRIC'.freeze
4
- # Rainbow().green
5
- # .colorize(:green)
6
4
  FILTERED_MASK = '[FILTERED]'.freeze
7
5
 
8
6
  attr_reader :logger, :filters
File without changes
@@ -27,9 +27,9 @@ module Fabric
27
27
  private
28
28
 
29
29
  def logging(section, message)
30
- logger.debug section.to_s.upcase.colorize(:yellow),
31
- url.colorize(:red),
32
- message.to_s.colorize(:blue)
30
+ logger.debug section.to_s.upcase,
31
+ url,
32
+ message.to_s
33
33
  end
34
34
  end
35
35
  end
data/lib/fabric/peer.rb CHANGED
@@ -29,9 +29,9 @@ module Fabric
29
29
  private
30
30
 
31
31
  def logging(section, message)
32
- logger.debug section.to_s.upcase.colorize(:yellow),
33
- url.colorize(:red),
34
- message.to_s.colorize(:blue)
32
+ logger.debug section.to_s.upcase,
33
+ url,
34
+ message.to_s
35
35
  end
36
36
  end
37
37
  end
data/lib/fabric/queue.rb CHANGED
File without changes
File without changes
data/lib/fabric_ca.rb CHANGED
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
@@ -1,10 +1,2 @@
1
- # require 'rubygems'
2
- # require 'rainbow'
3
- # require 'faraday_middleware'
4
- # require 'faraday'
5
- # require 'grpc'
6
- # require 'digest-sha3'
7
- # require 'logger'
8
-
9
1
  require_relative 'fabric'
10
2
  require_relative 'fabric_ca'
metadata CHANGED
@@ -1,30 +1,17 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: hyperledger-fabric-sdk
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.3
4
+ version: 0.1.6
5
5
  platform: ruby
6
6
  authors:
7
7
  - Alexandr Kirshin(kirshin)
8
8
  - "(qiusugang)"
9
+ - Bryan Padron(djlazz3)
9
10
  autorequire:
10
11
  bindir: bin
11
12
  cert_chain: []
12
13
  date: 2019-11-12 00:00:00.000000000 Z
13
14
  dependencies:
14
- - !ruby/object:Gem::Dependency
15
- name: rainbow
16
- requirement: !ruby/object:Gem::Requirement
17
- requirements:
18
- - - "~>"
19
- - !ruby/object:Gem::Version
20
- version: '3.0'
21
- type: :runtime
22
- prerelease: false
23
- version_requirements: !ruby/object:Gem::Requirement
24
- requirements:
25
- - - "~>"
26
- - !ruby/object:Gem::Version
27
- version: '3.0'
28
15
  - !ruby/object:Gem::Dependency
29
16
  name: faraday_middleware
30
17
  requirement: !ruby/object:Gem::Requirement