tanshuku 0.0.18 → 0.0.19

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: 5fd8f19194d9833955c4dddc0671365169b09764324daa7b4ddc44a878869f22
4
- data.tar.gz: 5689b47d61bdffe1378872f4771b1518b88810b61aab8ee61770278e7c61e993
3
+ metadata.gz: 0ed630fab007e97649b1a2517683823bf23c4fef612c21bbd87e31f8e34647b5
4
+ data.tar.gz: c2d9fa9e3e3f173fd69ccaf5826ce4e9cc0adea43729410fda75c0d10d6e60da
5
5
  SHA512:
6
- metadata.gz: c14701fe4468278495a0499cc9362a6143c80ab73790407b499b2b6ee018aabe32b2b5eef43090620e725d8988c5ffa5a8fb7f5be3d640cef59bf4091d5d1ecd
7
- data.tar.gz: 2aa7417b14b055c3e5677a27661e0757f62661a8130c5315b68ecb1b5c087a8e76371c7b61bfa7cec87915dff623c5fde9980959763aa42febbc445707d680d6
6
+ metadata.gz: c38c594c794df3292bea69efe4446b12a5cb8ce807abcc967e1bc93d2bc1910c41a5d57caa24a465737991277c6523f78a455dbd8ec32d669276f6f7f7bfb06e
7
+ data.tar.gz: b30d56b5b4fb085f59a0cb4e2c51a9bf661dfae892a6d349138b14a374b7233777341e8f9914d13f2d121e06caee0534ca56c6552e24db8779494a6b1118b360
@@ -7,7 +7,8 @@ module Tanshuku
7
7
  #
8
8
  # @api private
9
9
  class InstallGenerator < Rails::Generators::Base
10
- source_root File.expand_path("../templates", __dir__)
10
+ # Assign `_ = __dir__` because Steep reports `__dir__` which can be a `nil` but I don’t want to care about that.
11
+ source_root File.expand_path("../templates", _ = __dir__)
11
12
 
12
13
  # Generates a configuration file +config/initializers/tanshuku.rb+.
13
14
  #
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Tanshuku
4
- VERSION = "0.0.18"
4
+ VERSION = "0.0.19"
5
5
  end
@@ -2,7 +2,7 @@
2
2
  sources:
3
3
  - type: git
4
4
  name: ruby/gem_rbs_collection
5
- revision: 12631190e75c631eca0908ecc8c03bcfd78c0c99
5
+ revision: 87fba082504c606c03edf724cdf2e119bcd46c8c
6
6
  remote: https://github.com/ruby/gem_rbs_collection.git
7
7
  repo_dir: gems
8
8
  path: ".gem_rbs_collection"
@@ -12,7 +12,7 @@ gems:
12
12
  source:
13
13
  type: git
14
14
  name: ruby/gem_rbs_collection
15
- revision: 12631190e75c631eca0908ecc8c03bcfd78c0c99
15
+ revision: 87fba082504c606c03edf724cdf2e119bcd46c8c
16
16
  remote: https://github.com/ruby/gem_rbs_collection.git
17
17
  repo_dir: gems
18
18
  - name: actionpack
@@ -20,7 +20,7 @@ gems:
20
20
  source:
21
21
  type: git
22
22
  name: ruby/gem_rbs_collection
23
- revision: 12631190e75c631eca0908ecc8c03bcfd78c0c99
23
+ revision: 87fba082504c606c03edf724cdf2e119bcd46c8c
24
24
  remote: https://github.com/ruby/gem_rbs_collection.git
25
25
  repo_dir: gems
26
26
  - name: actionview
@@ -28,7 +28,7 @@ gems:
28
28
  source:
29
29
  type: git
30
30
  name: ruby/gem_rbs_collection
31
- revision: 12631190e75c631eca0908ecc8c03bcfd78c0c99
31
+ revision: 87fba082504c606c03edf724cdf2e119bcd46c8c
32
32
  remote: https://github.com/ruby/gem_rbs_collection.git
33
33
  repo_dir: gems
34
34
  - name: activejob
@@ -36,7 +36,7 @@ gems:
36
36
  source:
37
37
  type: git
38
38
  name: ruby/gem_rbs_collection
39
- revision: 12631190e75c631eca0908ecc8c03bcfd78c0c99
39
+ revision: 87fba082504c606c03edf724cdf2e119bcd46c8c
40
40
  remote: https://github.com/ruby/gem_rbs_collection.git
41
41
  repo_dir: gems
42
42
  - name: activemodel
@@ -44,7 +44,7 @@ gems:
44
44
  source:
45
45
  type: git
46
46
  name: ruby/gem_rbs_collection
47
- revision: 12631190e75c631eca0908ecc8c03bcfd78c0c99
47
+ revision: 87fba082504c606c03edf724cdf2e119bcd46c8c
48
48
  remote: https://github.com/ruby/gem_rbs_collection.git
49
49
  repo_dir: gems
50
50
  - name: activerecord
@@ -52,7 +52,7 @@ gems:
52
52
  source:
53
53
  type: git
54
54
  name: ruby/gem_rbs_collection
55
- revision: 12631190e75c631eca0908ecc8c03bcfd78c0c99
55
+ revision: 87fba082504c606c03edf724cdf2e119bcd46c8c
56
56
  remote: https://github.com/ruby/gem_rbs_collection.git
57
57
  repo_dir: gems
58
58
  - name: activestorage
@@ -60,7 +60,7 @@ gems:
60
60
  source:
61
61
  type: git
62
62
  name: ruby/gem_rbs_collection
63
- revision: 12631190e75c631eca0908ecc8c03bcfd78c0c99
63
+ revision: 87fba082504c606c03edf724cdf2e119bcd46c8c
64
64
  remote: https://github.com/ruby/gem_rbs_collection.git
65
65
  repo_dir: gems
66
66
  - name: activesupport
@@ -68,7 +68,7 @@ gems:
68
68
  source:
69
69
  type: git
70
70
  name: ruby/gem_rbs_collection
71
- revision: 12631190e75c631eca0908ecc8c03bcfd78c0c99
71
+ revision: 87fba082504c606c03edf724cdf2e119bcd46c8c
72
72
  remote: https://github.com/ruby/gem_rbs_collection.git
73
73
  repo_dir: gems
74
74
  - name: cgi
@@ -80,7 +80,7 @@ gems:
80
80
  source:
81
81
  type: git
82
82
  name: ruby/gem_rbs_collection
83
- revision: 12631190e75c631eca0908ecc8c03bcfd78c0c99
83
+ revision: 87fba082504c606c03edf724cdf2e119bcd46c8c
84
84
  remote: https://github.com/ruby/gem_rbs_collection.git
85
85
  repo_dir: gems
86
86
  - name: date
@@ -96,7 +96,7 @@ gems:
96
96
  source:
97
97
  type: git
98
98
  name: ruby/gem_rbs_collection
99
- revision: 12631190e75c631eca0908ecc8c03bcfd78c0c99
99
+ revision: 87fba082504c606c03edf724cdf2e119bcd46c8c
100
100
  remote: https://github.com/ruby/gem_rbs_collection.git
101
101
  repo_dir: gems
102
102
  - name: i18n
@@ -104,7 +104,7 @@ gems:
104
104
  source:
105
105
  type: git
106
106
  name: ruby/gem_rbs_collection
107
- revision: 12631190e75c631eca0908ecc8c03bcfd78c0c99
107
+ revision: 87fba082504c606c03edf724cdf2e119bcd46c8c
108
108
  remote: https://github.com/ruby/gem_rbs_collection.git
109
109
  repo_dir: gems
110
110
  - name: logger
@@ -116,7 +116,7 @@ gems:
116
116
  source:
117
117
  type: git
118
118
  name: ruby/gem_rbs_collection
119
- revision: 12631190e75c631eca0908ecc8c03bcfd78c0c99
119
+ revision: 87fba082504c606c03edf724cdf2e119bcd46c8c
120
120
  remote: https://github.com/ruby/gem_rbs_collection.git
121
121
  repo_dir: gems
122
122
  - name: minitest
@@ -136,7 +136,7 @@ gems:
136
136
  source:
137
137
  type: git
138
138
  name: ruby/gem_rbs_collection
139
- revision: 12631190e75c631eca0908ecc8c03bcfd78c0c99
139
+ revision: 87fba082504c606c03edf724cdf2e119bcd46c8c
140
140
  remote: https://github.com/ruby/gem_rbs_collection.git
141
141
  repo_dir: gems
142
142
  - name: rack
@@ -144,7 +144,7 @@ gems:
144
144
  source:
145
145
  type: git
146
146
  name: ruby/gem_rbs_collection
147
- revision: 12631190e75c631eca0908ecc8c03bcfd78c0c99
147
+ revision: 87fba082504c606c03edf724cdf2e119bcd46c8c
148
148
  remote: https://github.com/ruby/gem_rbs_collection.git
149
149
  repo_dir: gems
150
150
  - name: rails-dom-testing
@@ -152,7 +152,7 @@ gems:
152
152
  source:
153
153
  type: git
154
154
  name: ruby/gem_rbs_collection
155
- revision: 12631190e75c631eca0908ecc8c03bcfd78c0c99
155
+ revision: 87fba082504c606c03edf724cdf2e119bcd46c8c
156
156
  remote: https://github.com/ruby/gem_rbs_collection.git
157
157
  repo_dir: gems
158
158
  - name: railties
@@ -160,7 +160,7 @@ gems:
160
160
  source:
161
161
  type: git
162
162
  name: ruby/gem_rbs_collection
163
- revision: 12631190e75c631eca0908ecc8c03bcfd78c0c99
163
+ revision: 87fba082504c606c03edf724cdf2e119bcd46c8c
164
164
  remote: https://github.com/ruby/gem_rbs_collection.git
165
165
  repo_dir: gems
166
166
  - name: securerandom
@@ -104,7 +104,7 @@ module Tanshuku
104
104
  include GeneratedAttributeMethods
105
105
 
106
106
  def self.shorten: (String original_url, ?namespace: String, ?url_options: Hash[String | Symbol, untyped]) -> String
107
- def self.find_by_url: (String url, ?namespace: String) -> ActiveRecord::Base?
107
+ def self.find_by_url: (String url, ?namespace: String) -> Tanshuku::Url?
108
108
  def self.normalize_url: (String url) -> String
109
109
  def self.hash_url: (String url, ?namespace: String) -> String
110
110
  def self.generate_key: -> String
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: tanshuku
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.18
4
+ version: 0.0.19
5
5
  platform: ruby
6
6
  authors:
7
7
  - kg8m
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2023-05-12 00:00:00.000000000 Z
11
+ date: 2023-06-25 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: addressable
@@ -72,7 +72,6 @@ files:
72
72
  - sig/lib/tanshuku/configuration.rbs
73
73
  - sig/lib/tanshuku/engine.rbs
74
74
  - sig/lib/tanshuku/version.rbs
75
- - steep_expectations.yml
76
75
  homepage: https://github.com/kg8m/tanshuku
77
76
  licenses:
78
77
  - MIT
@@ -1,19 +0,0 @@
1
- ---
2
- - file: lib/generators/tanshuku/install_generator.rb
3
- diagnostics:
4
- - range:
5
- start:
6
- line: 10
7
- character: 49
8
- end:
9
- line: 10
10
- character: 56
11
- severity: ERROR
12
- message: |-
13
- Cannot pass a value of type `(::String | nil)` as an argument of type `(::string | ::_ToPath)`
14
- (::String | nil) <: (::string | ::_ToPath)
15
- nil <: (::string | ::_ToPath)
16
- nil <: ::string
17
- nil <: (::String | ::_ToStr)
18
- nil <: ::String
19
- code: Ruby::ArgumentTypeMismatch