lightning-invoice 0.1.4 → 0.1.5

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: c5fb7e66b69c9bfb71f10cc6527f34a2ef00ca59960256cea84e6fe7359ba5ef
4
- data.tar.gz: 592564e048824ac484286f191126c5d10c1c8d1f2bd75eb203882463d6c0c2ca
3
+ metadata.gz: 07294e1f3a179583d93731224cff55e1e10d3fe9b37f2c95c7b32cc630af7514
4
+ data.tar.gz: 8a9710118a7766608fcbae57fd413454d8d71fa67bf9b73580cd5c692ce3a1ff
5
5
  SHA512:
6
- metadata.gz: 4533da37df5d1148c5ee9fc223be627bf116bb51f152194fec37dab1a57ace59e689f600151f30b3984bab4a753e8a3f1992cb1a1241341cc9c735d7421866b7
7
- data.tar.gz: dfcfbe3d8059b6779362d7fb73d138e69066b6544d75583c915348ef3bac41e94e081dd258a3ec1a15f7d14084d18f2d44f82b077ea87dfbad592a948065c2cb
6
+ metadata.gz: f0589c91382f85a56e676c0598bbfe84277d0bc3e726e707238b956b764ee64d042a13d8e6e716bd27d074026f55b96fec037d3c4b6409ef5d0daf41bfcd0f4f
7
+ data.tar.gz: 5532b3df35dac4c76499b274880a6e5978a18d14ab2dab8974543e6ae2214c1a247d30db3c9ba3352bb0aa356b92e4d9b92b929dafce8cf4b33ede0651a15000
@@ -55,6 +55,11 @@ module Lightning
55
55
  self
56
56
  end
57
57
 
58
+ def ==(obj)
59
+ return false unless obj.is_a? Message
60
+ to_bech32 == obj.to_bech32
61
+ end
62
+
58
63
  private
59
64
 
60
65
  def to_human_string
@@ -1,5 +1,5 @@
1
1
  module Lightning
2
2
  module Invoice
3
- VERSION = "0.1.4"
3
+ VERSION = '0.1.5'
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: lightning-invoice
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.4
4
+ version: 0.1.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Hajime Yamaguchi
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2018-12-13 00:00:00.000000000 Z
11
+ date: 2019-04-30 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -119,8 +119,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
119
119
  - !ruby/object:Gem::Version
120
120
  version: '0'
121
121
  requirements: []
122
- rubyforge_project:
123
- rubygems_version: 2.7.6
122
+ rubygems_version: 3.0.3
124
123
  signing_key:
125
124
  specification_version: 4
126
125
  summary: 'Ruby implementation of the Lightning Network Invoice Protocol (BOLT #11).'