rails_twirp 0.13.0 → 0.13.2

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: 6af836779332d2bcf1810379884b7ef9e219f63e81b2972b501a45ae1880f1cb
4
- data.tar.gz: b0a967815e9326fa7889fdf1f3ec77b08f835921b8a919cee5cc95150407aa20
3
+ metadata.gz: 46c49b6df28547639b8c56395dfb5c9f327a4ec4b0c2b73b14cdf6b6594f1e17
4
+ data.tar.gz: f232e0c6f6eac4d4034050cf6cc38a8c6bdfa6a77b260fe54a2d4473a0512350
5
5
  SHA512:
6
- metadata.gz: 139e2f8517c0e1b2664b0d264d4722ebdc74fde78bfdb9724ea03d31d80ab99eec66a304a25bfaec23e17ed032b5396406742993ebabc2fc464c3eea338dd5bd
7
- data.tar.gz: 4df604dc7f1772238a2ea95b3e573aa352b354a58a92f9caa157add1889ba59dd95d8bbab9283dbf9632b807514c28fc21eca913b03f0bb254d57eadfbef200b
6
+ metadata.gz: e788cdd4ca43c5524ecc34f3dd43dbbbf7081689e0154133def3fcefd92955a46a3aa5abe280a44b51faef30b630f651bdcdbb00b5cade1194e83d969ddfac95
7
+ data.tar.gz: 1bb844a44698a1a9d1c85f80a555191f8ce5d43a8212e5629b4bdd657b3f908a37b6b50a65d1f28913015bfb477d984c40a09a6a4ba3bf86b20f0da4914c89ae
data/.standard.yml CHANGED
@@ -1,4 +1,3 @@
1
1
  ignore:
2
- - 'test/dummy/proto/*'
3
2
  - '**/*':
4
3
  - Lint/RescueException
data/CHANGELOG.md CHANGED
@@ -1,3 +1,10 @@
1
+ ### 0.13.2
2
+ * revert - include `test/` folder in a final gem distribution
3
+
4
+ ### 0.13.1
5
+ * Don't include `test/` folder in a final gem distribution
6
+ * Format dummy app code with standardrb
7
+
1
8
  ### 0.13.0
2
9
  * Adding #controller_name methods to Metal/Base controller (used for instrumentation)
3
10
  * Include `ActionController::Caching` with Base controller/helpers
@@ -1,3 +1,3 @@
1
1
  module RailsTwirp
2
- VERSION = "0.13.0"
2
+ VERSION = "0.13.2"
3
3
  end
data/rails_twirp.gemspec CHANGED
@@ -12,6 +12,6 @@ Gem::Specification.new do |spec|
12
12
  spec.files = `git ls-files`.split("\n")
13
13
 
14
14
  spec.add_dependency "rails", ">= 6.1.3"
15
- spec.add_dependency "twirp", ">= 1.7.2", "~> 1.9.0"
15
+ spec.add_dependency "twirp", ">= 1.9", "< 1.11"
16
16
  spec.required_ruby_version = ">= 3"
17
17
  end
@@ -1,3 +1,3 @@
1
1
  pb.cache! "rpc-#{@rpc_name}", expire_in: 1.minute do
2
- pb.rpc_name @rpc_name
2
+ pb.rpc_name @rpc_name
3
3
  end
@@ -1,10 +1,10 @@
1
1
  # Generated by the protocol buffer compiler. DO NOT EDIT!
2
2
  # source: api.proto
3
3
 
4
- require 'google/protobuf'
4
+ require "google/protobuf"
5
5
 
6
6
  Google::Protobuf::DescriptorPool.generated_pool.build do
7
- add_file("api.proto", :syntax => :proto3) do
7
+ add_file("api.proto", syntax: :proto3) do
8
8
  add_message "dummy.api.PingRequest" do
9
9
  optional :name, :string, 1
10
10
  end
@@ -1,21 +1,21 @@
1
1
  # Code generated by protoc-gen-twirp_ruby 1.8.0, DO NOT EDIT.
2
- require 'twirp'
3
- require_relative 'api_pb.rb'
2
+ require "twirp"
3
+ require_relative "api_pb"
4
4
 
5
5
  module RPC
6
6
  module DummyAPI
7
7
  class DummyService < Twirp::Service
8
- package 'dummy.api'
9
- service 'Dummy'
10
- rpc :Ping, PingRequest, PingResponse, :ruby_method => :ping
11
- rpc :PingRender, PingRequest, PingResponse, :ruby_method => :ping_render
12
- rpc :PingTemplate, PingRequest, PingResponse, :ruby_method => :ping_template
13
- rpc :ErrorResponse, PingRequest, PingResponse, :ruby_method => :error_response
14
- rpc :RaiseError, PingRequest, PingResponse, :ruby_method => :raise_error
15
- rpc :UncaughtError, PingRequest, PingResponse, :ruby_method => :uncaught_error
16
- rpc :BeforeError, PingRequest, PingResponse, :ruby_method => :before_error
17
- rpc :Nested, PingRequest, PingResponse, :ruby_method => :nested
18
- rpc :RpcNameCheck, RpcNameCheckRequest, RpcNameCheckResponse, :ruby_method => :rpc_name_check
8
+ package "dummy.api"
9
+ service "Dummy"
10
+ rpc :Ping, PingRequest, PingResponse, ruby_method: :ping
11
+ rpc :PingRender, PingRequest, PingResponse, ruby_method: :ping_render
12
+ rpc :PingTemplate, PingRequest, PingResponse, ruby_method: :ping_template
13
+ rpc :ErrorResponse, PingRequest, PingResponse, ruby_method: :error_response
14
+ rpc :RaiseError, PingRequest, PingResponse, ruby_method: :raise_error
15
+ rpc :UncaughtError, PingRequest, PingResponse, ruby_method: :uncaught_error
16
+ rpc :BeforeError, PingRequest, PingResponse, ruby_method: :before_error
17
+ rpc :Nested, PingRequest, PingResponse, ruby_method: :nested
18
+ rpc :RpcNameCheck, RpcNameCheckRequest, RpcNameCheckResponse, ruby_method: :rpc_name_check
19
19
  end
20
20
 
21
21
  class DummyClient < Twirp::Client
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rails_twirp
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.13.0
4
+ version: 0.13.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Bouke van der Bijl
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2023-01-24 00:00:00.000000000 Z
11
+ date: 2023-01-25 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails
@@ -30,20 +30,20 @@ dependencies:
30
30
  requirements:
31
31
  - - ">="
32
32
  - !ruby/object:Gem::Version
33
- version: 1.7.2
34
- - - "~>"
33
+ version: '1.9'
34
+ - - "<"
35
35
  - !ruby/object:Gem::Version
36
- version: 1.9.0
36
+ version: '1.11'
37
37
  type: :runtime
38
38
  prerelease: false
39
39
  version_requirements: !ruby/object:Gem::Requirement
40
40
  requirements:
41
41
  - - ">="
42
42
  - !ruby/object:Gem::Version
43
- version: 1.7.2
44
- - - "~>"
43
+ version: '1.9'
44
+ - - "<"
45
45
  - !ruby/object:Gem::Version
46
- version: 1.9.0
46
+ version: '1.11'
47
47
  description:
48
48
  email:
49
49
  - bouke@cheddar.me