grpc-rest 0.1.7 → 0.1.10

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: 8851853946d82493dd832a39be201f3b5b0bc5e70c7837e9be7a3db4d1d30460
4
- data.tar.gz: a44a3d29c174df98af07cc91693127fbfc8e6a5c42b282bb7119573af53e5d28
3
+ metadata.gz: 7cd53f44aee783542e52eb72b647d8070a88038ae5248fda1ede02ad8c9d9fea
4
+ data.tar.gz: 883a2f69f05b0e40e895fa3bd4a82f571c722ca5a2099862d767ac60ebf6ce85
5
5
  SHA512:
6
- metadata.gz: dfa0ed32f96706a4d8e6b0bfccc72d2e0d018f64fa4e5e87372bc3527c7b7521d8b1aecc48520df695dda54ac717cc5d7440319ea767c075204464d1965c668c
7
- data.tar.gz: bbaa98db8d37ec4b91325438422fa1681fc0a35186f3c3e427cd1cb933bceaba7f806fe9cbf4269f4bdbd7315bbe1870b28aae14f4c1d59294dc974333652c4c
6
+ metadata.gz: 1e252cbb74d82d8730141ac33c7284d5db40cb759c1ad5f0a19b66e2d8317c27c3678244af019f7865d97a908243c5dbd6d709f5213657868ff042cc000414e2
7
+ data.tar.gz: 31478108c117b7db638bc7b75908c07aaf67664cfe8ae6d229ddc15e5c96a701e8cdb156d72ea5412e8a27e931a85981cff884afe93986c785db4b044925dc25
data/CHANGELOG CHANGED
@@ -7,7 +7,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
7
7
 
8
8
  ## UNRELEASED
9
9
 
10
- # 0.1.7 - 2024-04-09
10
+ # 0.1.10 - 2024-04-06
11
+ - Fix incorrect decoding of enum descriptors.
12
+
13
+ # 0.1.9 - 2024-04-09
11
14
  - Added tests.
12
15
  - Fixed some bugs around path globbing.
13
16
 
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- grpc-rest (0.1.6)
4
+ grpc-rest (0.1.9)
5
5
  grpc
6
6
  rails (>= 6.0)
7
7
 
data/README.md CHANGED
@@ -125,7 +125,7 @@ Rails.application.routes.draw do
125
125
  draw(:grpc) # Add this line
126
126
  end
127
127
  ```
128
-
128
+
129
129
  ## Caveats
130
130
 
131
131
  This gem does not currently support the full path expression capabilities of grpc-gateway or the Google [http proto](https://github.com/googleapis/googleapis/blob/master/google/api/http.proto). It only supports very basic single wildcard globbing (`*`). Contributions are welcome for more complex cases if they are needed.
@@ -1,3 +1,3 @@
1
1
  module GrpcRest
2
- VERSION = "0.1.7"
2
+ VERSION = "0.1.10"
3
3
  end
data/lib/grpc_rest.rb CHANGED
@@ -41,6 +41,7 @@ module GrpcRest
41
41
  field = descriptor.name
42
42
  val = params[field]
43
43
  next if val.nil?
44
+ next if descriptor.subtype.is_a?(Google::Protobuf::EnumDescriptor)
44
45
 
45
46
  case descriptor.subtype&.name
46
47
  when 'google.protobuf.Struct'
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: grpc-rest
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.7
4
+ version: 0.1.10
5
5
  platform: ruby
6
6
  authors:
7
7
  - Daniel Orner
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2024-04-09 00:00:00.000000000 Z
11
+ date: 2024-05-06 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: grpc