orthoses-rails 1.13.1 → 1.13.2
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/lib/orthoses/active_support/delegation.rb +2 -1
- data/lib/orthoses/rails/version.rb +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 14aa53003c671444040de9fb882f3cfa49f054b9dd8458634ed87f00c62e2431
|
4
|
+
data.tar.gz: e313dc30b80f2392485b998d6bad549283f56d2cfb73bc9866345463b95519a2
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: f390bfea2f2562b5b4759dddc63e96765cdbdde2f0394010c181b3367780ccfa4aeb98d0f8244b4850466461d31c974b3b06834266855a49e7aefeead30148ed
|
7
|
+
data.tar.gz: ff5608bf9c323bffc16370256a97a291e66d351feb191ef8e3d230819cc1e0c35747912425a894af99b1598581b343935ea151ddb4f9e6de6fab56a1a2735267
|
@@ -129,7 +129,8 @@ module Orthoses
|
|
129
129
|
return [:multi, member.overloads.map { |o| o.method_type }]
|
130
130
|
else
|
131
131
|
method_type = member.overloads.map(&:method_type).find do |method_type|
|
132
|
-
|
132
|
+
is_untyped_function = defined?(RBS::Types::UntypedFunction) && method_type.type.is_a?(RBS::Types::UntypedFunction)
|
133
|
+
is_untyped_function || (method_type.type.required_positionals.empty? && method_type.type.required_keywords.empty?)
|
133
134
|
end
|
134
135
|
next unless method_type
|
135
136
|
return [:single, method_type.type.return_type]
|
metadata
CHANGED
@@ -1,13 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: orthoses-rails
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.13.
|
4
|
+
version: 1.13.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- ksss
|
8
8
|
bindir: exe
|
9
9
|
cert_chain: []
|
10
|
-
date:
|
10
|
+
date: 1980-01-02 00:00:00.000000000 Z
|
11
11
|
dependencies:
|
12
12
|
- !ruby/object:Gem::Dependency
|
13
13
|
name: orthoses
|
@@ -93,7 +93,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
93
93
|
- !ruby/object:Gem::Version
|
94
94
|
version: '0'
|
95
95
|
requirements: []
|
96
|
-
rubygems_version: 3.6.
|
96
|
+
rubygems_version: 3.6.9
|
97
97
|
specification_version: 4
|
98
98
|
summary: Orthoses middleware collection for Ruby on Rails
|
99
99
|
test_files: []
|