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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 5ae36cca017f8dc92d448d3312284e2462934a87b522675684d3e987e53e1029
4
- data.tar.gz: 781b649dd1a6dcace6b68e9fea32efb5699c63008af53106f4a4b081b0b103ea
3
+ metadata.gz: 20754c27d8404a21f0da999f3b9eb467675a1f2472904a17f595a1d260149a90
4
+ data.tar.gz: 4a209b0b59af9d83ef12b668b3e74e4e625986d03fe7b6234856e115024dfd8a
5
5
  SHA512:
6
- metadata.gz: f9eedd08deb9598d3d6a978e57549ae8472e8129021e3d5d7a775c301b4198633c999c376ef6356755d358530e695b056e1c0a6d08b1601a650ae6d60c90dd15
7
- data.tar.gz: 4fcd0154d6e585a43331d65e6077689abeacd7abafeabf4f6689c65cb56aacbff99b96be5d73606ab939e2bd06e8dfa058bd60731c5696c0f2fdf55dc5137086
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
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module ProtobufTranspiler
4
- VERSION = '1.2.0'
4
+ VERSION = '1.2.1'
5
5
  end
@@ -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"
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: protobuf_transpiler
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.2.0
4
+ version: 1.2.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Moku S.r.l.