protobuf-cucumber 3.10.6 → 3.10.7
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/protobuf/message.rb +1 -1
- data/lib/protobuf/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: e41726f108cc73083cf188a2997d7650e078bd2937aacc25786dfed436070e88
|
4
|
+
data.tar.gz: 174470b2b60f9122466726ab6f1c7e8c41596392da429d08ce4280badaa37ef2
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 9acdeea06bc6883cd72df58dcf2f9309ffe3d728ab56d3b19611e1c764c7422d0cd90c4256040ac9c19ee22ad935e03f139953c0dd5cfcb2a86de86fff0ce2b1
|
7
|
+
data.tar.gz: c9b92ea42b796401e6613155d6ce2dd1f72165825db039f839548bcd7be38ec01707fbc634bf02514ff8de7ae87df4ad170181063e16551c600fc423b016d8fb
|
data/lib/protobuf/message.rb
CHANGED
@@ -174,7 +174,7 @@ module Protobuf
|
|
174
174
|
value
|
175
175
|
end
|
176
176
|
|
177
|
-
if proto3 && (hashed_value.nil? || value == field.default)
|
177
|
+
if proto3 && (hashed_value.nil? || value == field.class.default)
|
178
178
|
result.delete(field.name)
|
179
179
|
else
|
180
180
|
key = proto3 ? field.name.to_s.camelize(:lower).to_sym : field.name
|
data/lib/protobuf/version.rb
CHANGED