From 21f6466529491723465c43b10f47110fd4c8d4e6 Mon Sep 17 00:00:00 2001 From: Michael Bumann Date: Sat, 10 Jul 2021 00:08:40 +0200 Subject: [PATCH] Update google-protobuf dependency that works with latest ruby versions --- Gemfile.lock | 6 +++--- README.md | 5 +---- lnrpc.gemspec | 2 +- 3 files changed, 5 insertions(+), 8 deletions(-) diff --git a/Gemfile.lock b/Gemfile.lock index cba4155..a15220b 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -1,8 +1,8 @@ PATH remote: . specs: - lnrpc (0.11.1) - google-protobuf (>= 3.12) + lnrpc (0.13.0) + google-protobuf (>= 3.15.7) grpc (>= 1.28.0) GEM @@ -40,4 +40,4 @@ DEPENDENCIES rspec (~> 3.0) BUNDLED WITH - 2.1.4 + 2.2.23 diff --git a/README.md b/README.md index fb4cc1f..b6148b0 100644 --- a/README.md +++ b/README.md @@ -5,13 +5,10 @@ a [gRPC](https://grpc.io/) client for [LND, the Lightning Network Daemon](https: ## Installation -Note: there is still an GRPC/protobuf [issue with Ruby 2.7](https://github.com/protocolbuffers/protobuf/issues/7070). -So lnrpc requires Ruby < 2.7. - Add this line to your application's Gemfile: ```ruby -gem 'lnrpc', '~> 0.11.0' +gem 'lnrpc', '~> 0.13.0' ``` lnrpc follows the lnd versioning, thus it is recommended to specify the exact version you need for your lnd node as dependency (see [#Versioning](#Versioning)). diff --git a/lnrpc.gemspec b/lnrpc.gemspec index 86d7c26..97a985e 100644 --- a/lnrpc.gemspec +++ b/lnrpc.gemspec @@ -30,5 +30,5 @@ Gem::Specification.new do |spec| spec.add_development_dependency "rspec", "~> 3.0" spec.add_dependency "grpc", ">= 1.28.0" - spec.add_dependency "google-protobuf", ">=3.12" + spec.add_dependency "google-protobuf", ">=3.15.7" end