protobuf_transpiler 1.2.0 → 1.2.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGELOG.md +6 -0
- data/lib/protobuf_transpiler/version.rb +1 -1
- data/lib/protobuf_transpiler.rb +1 -2
- 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: 20754c27d8404a21f0da999f3b9eb467675a1f2472904a17f595a1d260149a90
|
4
|
+
data.tar.gz: 4a209b0b59af9d83ef12b668b3e74e4e625986d03fe7b6234856e115024dfd8a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 97c6c15666065321e1f94e9cf701944469810e46e2ad542b393dff75c9f7d269279733c7edb356cfabc870ede84699a3b0b291500a602354c48d01afc609e89d
|
7
|
+
data.tar.gz: ce4412c335df7c09e1bd65a1d6e2a5ae032651776b9776006195ad633d139f1aa20c48f1d8c69361cd26d644c2aa554802cf45d745d4819e1f4b6c2b2f231be1
|
data/CHANGELOG.md
CHANGED
@@ -8,12 +8,18 @@
|
|
8
8
|
### Bug fixes
|
9
9
|
)-->
|
10
10
|
|
11
|
+
## 1.2.1 2025-04-10
|
12
|
+
### Bug fixes
|
13
|
+
- fixed NoMethodError that would happen when the module in which the stubs contained constants beyond the ones defined by the stubs
|
14
|
+
|
11
15
|
## 1.2.0 2025-04-10
|
16
|
+
### New features
|
12
17
|
- generate task can create an initializer that allows the generated stubs to work with zeitwerk
|
13
18
|
- added possibility to specify stubs path for generate task
|
14
19
|
- added possibility to specify stubs path for annotate task
|
15
20
|
|
16
21
|
## 1.1.3 2025-02-28
|
22
|
+
### Bug fixes
|
17
23
|
- remove rails versions constraints, keep only dependency
|
18
24
|
|
19
25
|
## 1.1.2 2023-11-20
|
data/lib/protobuf_transpiler.rb
CHANGED
@@ -158,8 +158,7 @@ module ProtobufTranspiler
|
|
158
158
|
end
|
159
159
|
|
160
160
|
def module_annotations mod
|
161
|
-
ignore_errors(NameError, NoMethodError) { mod.const_get('Service') }
|
162
|
-
&.sort
|
161
|
+
ignore_errors(NameError, NoMethodError) { mod.const_get('Service')&.sort }
|
163
162
|
&.map { |_, d| "\t#{d.name}(#{d.input}): #{d.output}" }
|
164
163
|
&.prepend(mod.name.to_s)
|
165
164
|
&.join "\n"
|