rbs_draper 0.1.2 → 0.1.3

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: 7d2bfcf84e0f5af5a65871e40710100241df8232a871e7794f3f52be4637f41a
4
- data.tar.gz: 3402cdab07e8e6b782c8230108232dfc60f3ab3b719ba3f160b9158c32237f49
3
+ metadata.gz: 04a25d9a1afb7ef89b810010ec0d31ca211e130ebebee773dfb5e5268624ad99
4
+ data.tar.gz: 97dc5e93239065b05cd1979623d99c40f4b530ac3b022a2d1d19d4b6c2b1948d
5
5
  SHA512:
6
- metadata.gz: 236ba1a705da99b87bbeb5bf3eab2df035cf1701a390fb3b70db428529e052613b75123ccde23f06b1c40056443cc7043defa06c58ff32621aba59d7e54b3aab
7
- data.tar.gz: 5ed785300e261837ab808217eeca0a0a438cbd3d07b2bd8c3dc70632b56ff53e7f0db552745e76d5f93e88e907e4e3fddbc20fc22f393d56ad00403118f6751b
6
+ metadata.gz: 8596d05ca36e6850e3f5c58620ea262a9a2561d6d350cfe3d1b56f83b071414faf9080cd37005c5ebddb80029421baf2fbdc6660821710eec296aa1628401d53
7
+ data.tar.gz: c8b75eac9e00a7e3a51b0eabb2239182797ad86722d51f365c4943c4015d97f0493535f1ff3a014ce58fbeba274bb791e566513d684be65ff38d8042dfdc171b
data/.rubocop.yml CHANGED
@@ -1,5 +1,5 @@
1
1
  AllCops:
2
- TargetRubyVersion: 3.0
2
+ TargetRubyVersion: 2.7
3
3
 
4
4
  Style/Documentation:
5
5
  Enabled: false
data/Gemfile CHANGED
@@ -7,7 +7,7 @@ gemspec
7
7
 
8
8
  gem "rake", "~> 13.0"
9
9
 
10
- gem "rubocop", "~> 1.52"
10
+ gem "rubocop", "~> 1.55"
11
11
 
12
12
  group :development do
13
13
  gem "rspec", require: false
data/Gemfile.lock CHANGED
@@ -1,36 +1,38 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- rbs_draper (0.1.2)
4
+ rbs_draper (0.1.3)
5
5
  draper
6
+ fileutils
7
+ rbs
6
8
  rbs_rails
7
9
 
8
10
  GEM
9
11
  remote: https://rubygems.org/
10
12
  specs:
11
- actionpack (7.0.5)
12
- actionview (= 7.0.5)
13
- activesupport (= 7.0.5)
13
+ actionpack (7.0.6)
14
+ actionview (= 7.0.6)
15
+ activesupport (= 7.0.6)
14
16
  rack (~> 2.0, >= 2.2.4)
15
17
  rack-test (>= 0.6.3)
16
18
  rails-dom-testing (~> 2.0)
17
19
  rails-html-sanitizer (~> 1.0, >= 1.2.0)
18
- actionview (7.0.5)
19
- activesupport (= 7.0.5)
20
+ actionview (7.0.6)
21
+ activesupport (= 7.0.6)
20
22
  builder (~> 3.1)
21
23
  erubi (~> 1.4)
22
24
  rails-dom-testing (~> 2.0)
23
25
  rails-html-sanitizer (~> 1.1, >= 1.2.0)
24
- activemodel (7.0.5)
25
- activesupport (= 7.0.5)
26
+ activemodel (7.0.6)
27
+ activesupport (= 7.0.6)
26
28
  activemodel-serializers-xml (1.0.2)
27
29
  activemodel (> 5.x)
28
30
  activesupport (> 5.x)
29
31
  builder (~> 3.1)
30
- activerecord (7.0.5)
31
- activemodel (= 7.0.5)
32
- activesupport (= 7.0.5)
33
- activesupport (7.0.5)
32
+ activerecord (7.0.6)
33
+ activemodel (= 7.0.6)
34
+ activesupport (= 7.0.6)
35
+ activesupport (7.0.6)
34
36
  concurrent-ruby (~> 1.0, >= 1.0.2)
35
37
  i18n (>= 1.6, < 2)
36
38
  minitest (>= 5.1)
@@ -40,7 +42,7 @@ GEM
40
42
  coderay (1.1.3)
41
43
  concurrent-ruby (1.2.2)
42
44
  crass (1.0.6)
43
- csv (3.2.6)
45
+ csv (3.2.7)
44
46
  diff-lcs (1.5.0)
45
47
  draper (4.0.2)
46
48
  actionpack (>= 5.0)
@@ -64,7 +66,7 @@ GEM
64
66
  crass (~> 1.0.2)
65
67
  nokogiri (>= 1.12.0)
66
68
  method_source (1.0.0)
67
- minitest (5.18.0)
69
+ minitest (5.19.0)
68
70
  nokogiri (1.15.2-x86_64-darwin)
69
71
  racc (~> 1.4)
70
72
  nokogiri (1.15.2-x86_64-linux)
@@ -80,15 +82,16 @@ GEM
80
82
  rack (2.2.7)
81
83
  rack-test (2.1.0)
82
84
  rack (>= 1.3)
83
- rails-dom-testing (2.0.3)
84
- activesupport (>= 4.2.0)
85
+ rails-dom-testing (2.1.1)
86
+ activesupport (>= 5.0.0)
87
+ minitest
85
88
  nokogiri (>= 1.6)
86
89
  rails-html-sanitizer (1.6.0)
87
90
  loofah (~> 2.21)
88
91
  nokogiri (~> 1.14)
89
- railties (7.0.5)
90
- actionpack (= 7.0.5)
91
- activesupport (= 7.0.5)
92
+ railties (7.0.6)
93
+ actionpack (= 7.0.6)
94
+ activesupport (= 7.0.6)
92
95
  method_source
93
96
  rake (>= 12.2)
94
97
  thor (~> 1.0)
@@ -98,14 +101,14 @@ GEM
98
101
  rb-fsevent (0.11.2)
99
102
  rb-inotify (0.10.1)
100
103
  ffi (~> 1.0)
101
- rbs (3.1.0)
104
+ rbs (3.1.3)
102
105
  rbs_rails (0.12.0)
103
106
  parser
104
107
  rbs (>= 1)
105
108
  regexp_parser (2.8.1)
106
109
  request_store (1.5.1)
107
110
  rack (>= 1.4)
108
- rexml (3.2.5)
111
+ rexml (3.2.6)
109
112
  rspec (3.12.0)
110
113
  rspec-core (~> 3.12.0)
111
114
  rspec-expectations (~> 3.12.0)
@@ -122,14 +125,15 @@ GEM
122
125
  diff-lcs (>= 1.2.0, < 2.0)
123
126
  rspec-support (~> 3.12.0)
124
127
  rspec-support (3.12.0)
125
- rubocop (1.52.1)
128
+ rubocop (1.55.0)
126
129
  json (~> 2.3)
130
+ language_server-protocol (>= 3.17.0)
127
131
  parallel (~> 1.10)
128
132
  parser (>= 3.2.2.3)
129
133
  rainbow (>= 2.2.2, < 4.0)
130
134
  regexp_parser (>= 1.8, < 3.0)
131
135
  rexml (>= 3.2.5, < 4.0)
132
- rubocop-ast (>= 1.28.0, < 2.0)
136
+ rubocop-ast (>= 1.28.1, < 2.0)
133
137
  ruby-progressbar (~> 1.7)
134
138
  unicode-display_width (>= 2.4.0, < 3.0)
135
139
  rubocop-ast (1.29.0)
@@ -137,9 +141,9 @@ GEM
137
141
  ruby-progressbar (1.13.0)
138
142
  ruby2_keywords (0.0.5)
139
143
  securerandom (0.2.2)
140
- steep (1.4.0)
144
+ steep (1.5.2)
141
145
  activesupport (>= 5.1)
142
- concurrent-ruby (>= 1.2.2)
146
+ concurrent-ruby (>= 1.1.10)
143
147
  csv (>= 3.0.9)
144
148
  fileutils (>= 1.1.0)
145
149
  json (>= 2.1.0)
@@ -148,7 +152,7 @@ GEM
148
152
  logger (>= 1.3.0)
149
153
  parser (>= 3.1)
150
154
  rainbow (>= 2.2.2, < 4.0)
151
- rbs (>= 2.8.0)
155
+ rbs (>= 3.1.0)
152
156
  securerandom (>= 0.1)
153
157
  strscan (>= 1.0.0)
154
158
  terminal-table (>= 2, < 4)
@@ -162,6 +166,7 @@ GEM
162
166
  zeitwerk (2.6.8)
163
167
 
164
168
  PLATFORMS
169
+ x86_64-darwin-19
165
170
  x86_64-darwin-21
166
171
  x86_64-linux
167
172
 
@@ -172,8 +177,8 @@ DEPENDENCIES
172
177
  rbs_draper!
173
178
  rspec
174
179
  rspec-daemon
175
- rubocop (~> 1.52)
180
+ rubocop (~> 1.55)
176
181
  steep
177
182
 
178
183
  BUNDLED WITH
179
- 2.4.13
184
+ 2.4.4
data/Steepfile CHANGED
@@ -3,10 +3,9 @@
3
3
  D = Steep::Diagnostic
4
4
 
5
5
  target :lib do
6
- signature "sig"
6
+ signature "sig", "lib/rbs_draper/sig"
7
7
 
8
- check "lib" # Directory name
9
- check "Gemfile" # File name
8
+ check "lib"
10
9
 
11
- configure_code_diagnostics(D::Ruby.lenient) # `lenient` diagnostics setting
10
+ configure_code_diagnostics(D::Ruby.lenient)
12
11
  end
@@ -30,7 +30,7 @@ module RbsDraper
30
30
  def klass_decl
31
31
  <<~RBS
32
32
  #{header}
33
- def object: () -> #{klass.name.sub(/Decorator$/, "")}
33
+ def object: () -> #{klass.name.to_s.sub(/Decorator$/, "")}
34
34
 
35
35
  #{method_decls}
36
36
  #{footer}
@@ -76,7 +76,7 @@ module RbsDraper
76
76
  end
77
77
 
78
78
  def decorated_class
79
- type_name = RBS::TypeName(klass.name.sub(/Decorator$/, "")).absolute!
79
+ type_name = RBS::TypeName(klass.name.to_s.sub(/Decorator$/, "")).absolute!
80
80
  @decorated_class ||= rbs_builder.build_instance(type_name)
81
81
  rescue StandardError
82
82
  nil
@@ -85,8 +85,11 @@ module RbsDraper
85
85
  def delegated_methods
86
86
  return [] unless klass.ancestors.include? ::Draper::AutomaticDelegation
87
87
 
88
- decorated_class.methods.keys.sort.filter_map do |name|
89
- method = decorated_class.methods[name]
88
+ decorated_klass = decorated_class
89
+ return [] unless decorated_klass
90
+
91
+ decorated_klass.methods.keys.sort.filter_map do |name|
92
+ method = decorated_klass.methods[name]
90
93
  next if %w[::Object ::BasicObject ::Kernel].include? method.defined_in.to_s
91
94
 
92
95
  [name, method] if method.accessibility == :public
@@ -57,7 +57,7 @@ module RbsDraper
57
57
  Rails.application.eager_load!
58
58
 
59
59
  RbsDraper::Decoratable.all.each do |klass|
60
- path = signature_root_dir / "app/models/#{klass.name.underscore}.rbs"
60
+ path = signature_root_dir / "app/models/#{klass.name.to_s.underscore}.rbs"
61
61
  path.dirname.mkpath
62
62
  rbs = RbsDraper::Decoratable.class_to_rbs(klass)
63
63
  path.write rbs if rbs
@@ -1,5 +1,6 @@
1
1
  module Draper
2
2
  module Decoratable
3
+ def self.decorator_class: () -> singleton(Decorator)
3
4
  def decorated?: () -> bool
4
5
  def decorated_with?: (untyped decorator_class) -> bool
5
6
  end
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module RbsDraper
4
- VERSION = "0.1.2"
4
+ VERSION = "0.1.3"
5
5
  end
@@ -2,7 +2,7 @@
2
2
  sources:
3
3
  - type: git
4
4
  name: ruby/gem_rbs_collection
5
- revision: 280d44d7671abfa909f2966fbef94bca5be082de
5
+ revision: 9612e5e67697153dcc7464c01115db44d29b1e34
6
6
  remote: https://github.com/ruby/gem_rbs_collection.git
7
7
  repo_dir: gems
8
8
  path: ".gem_rbs_collection"
@@ -16,7 +16,7 @@ gems:
16
16
  source:
17
17
  type: git
18
18
  name: ruby/gem_rbs_collection
19
- revision: 280d44d7671abfa909f2966fbef94bca5be082de
19
+ revision: 9612e5e67697153dcc7464c01115db44d29b1e34
20
20
  remote: https://github.com/ruby/gem_rbs_collection.git
21
21
  repo_dir: gems
22
22
  - name: actionview
@@ -24,7 +24,7 @@ gems:
24
24
  source:
25
25
  type: git
26
26
  name: ruby/gem_rbs_collection
27
- revision: 280d44d7671abfa909f2966fbef94bca5be082de
27
+ revision: 9612e5e67697153dcc7464c01115db44d29b1e34
28
28
  remote: https://github.com/ruby/gem_rbs_collection.git
29
29
  repo_dir: gems
30
30
  - name: activemodel
@@ -32,7 +32,7 @@ gems:
32
32
  source:
33
33
  type: git
34
34
  name: ruby/gem_rbs_collection
35
- revision: 280d44d7671abfa909f2966fbef94bca5be082de
35
+ revision: 9612e5e67697153dcc7464c01115db44d29b1e34
36
36
  remote: https://github.com/ruby/gem_rbs_collection.git
37
37
  repo_dir: gems
38
38
  - name: activerecord
@@ -40,7 +40,7 @@ gems:
40
40
  source:
41
41
  type: git
42
42
  name: ruby/gem_rbs_collection
43
- revision: 280d44d7671abfa909f2966fbef94bca5be082de
43
+ revision: 9612e5e67697153dcc7464c01115db44d29b1e34
44
44
  remote: https://github.com/ruby/gem_rbs_collection.git
45
45
  repo_dir: gems
46
46
  - name: activesupport
@@ -48,7 +48,7 @@ gems:
48
48
  source:
49
49
  type: git
50
50
  name: ruby/gem_rbs_collection
51
- revision: 280d44d7671abfa909f2966fbef94bca5be082de
51
+ revision: 9612e5e67697153dcc7464c01115db44d29b1e34
52
52
  remote: https://github.com/ruby/gem_rbs_collection.git
53
53
  repo_dir: gems
54
54
  - name: ast
@@ -56,7 +56,7 @@ gems:
56
56
  source:
57
57
  type: git
58
58
  name: ruby/gem_rbs_collection
59
- revision: 280d44d7671abfa909f2966fbef94bca5be082de
59
+ revision: 9612e5e67697153dcc7464c01115db44d29b1e34
60
60
  remote: https://github.com/ruby/gem_rbs_collection.git
61
61
  repo_dir: gems
62
62
  - name: cgi
@@ -68,19 +68,23 @@ gems:
68
68
  source:
69
69
  type: git
70
70
  name: ruby/gem_rbs_collection
71
- revision: 280d44d7671abfa909f2966fbef94bca5be082de
71
+ revision: 9612e5e67697153dcc7464c01115db44d29b1e34
72
72
  remote: https://github.com/ruby/gem_rbs_collection.git
73
73
  repo_dir: gems
74
74
  - name: date
75
75
  version: '0'
76
76
  source:
77
77
  type: stdlib
78
+ - name: fileutils
79
+ version: '0'
80
+ source:
81
+ type: stdlib
78
82
  - name: i18n
79
83
  version: '1.10'
80
84
  source:
81
85
  type: git
82
86
  name: ruby/gem_rbs_collection
83
- revision: 280d44d7671abfa909f2966fbef94bca5be082de
87
+ revision: 9612e5e67697153dcc7464c01115db44d29b1e34
84
88
  remote: https://github.com/ruby/gem_rbs_collection.git
85
89
  repo_dir: gems
86
90
  - name: json
@@ -108,7 +112,7 @@ gems:
108
112
  source:
109
113
  type: git
110
114
  name: ruby/gem_rbs_collection
111
- revision: 280d44d7671abfa909f2966fbef94bca5be082de
115
+ revision: 9612e5e67697153dcc7464c01115db44d29b1e34
112
116
  remote: https://github.com/ruby/gem_rbs_collection.git
113
117
  repo_dir: gems
114
118
  - name: optparse
@@ -120,7 +124,7 @@ gems:
120
124
  source:
121
125
  type: git
122
126
  name: ruby/gem_rbs_collection
123
- revision: 280d44d7671abfa909f2966fbef94bca5be082de
127
+ revision: 9612e5e67697153dcc7464c01115db44d29b1e34
124
128
  remote: https://github.com/ruby/gem_rbs_collection.git
125
129
  repo_dir: gems
126
130
  - name: pathname
@@ -132,7 +136,7 @@ gems:
132
136
  source:
133
137
  type: git
134
138
  name: ruby/gem_rbs_collection
135
- revision: 280d44d7671abfa909f2966fbef94bca5be082de
139
+ revision: 9612e5e67697153dcc7464c01115db44d29b1e34
136
140
  remote: https://github.com/ruby/gem_rbs_collection.git
137
141
  repo_dir: gems
138
142
  - name: rails-dom-testing
@@ -140,7 +144,7 @@ gems:
140
144
  source:
141
145
  type: git
142
146
  name: ruby/gem_rbs_collection
143
- revision: 280d44d7671abfa909f2966fbef94bca5be082de
147
+ revision: 9612e5e67697153dcc7464c01115db44d29b1e34
144
148
  remote: https://github.com/ruby/gem_rbs_collection.git
145
149
  repo_dir: gems
146
150
  - name: railties
@@ -148,7 +152,7 @@ gems:
148
152
  source:
149
153
  type: git
150
154
  name: ruby/gem_rbs_collection
151
- revision: 280d44d7671abfa909f2966fbef94bca5be082de
155
+ revision: 9612e5e67697153dcc7464c01115db44d29b1e34
152
156
  remote: https://github.com/ruby/gem_rbs_collection.git
153
157
  repo_dir: gems
154
158
  - name: rainbow
@@ -156,11 +160,11 @@ gems:
156
160
  source:
157
161
  type: git
158
162
  name: ruby/gem_rbs_collection
159
- revision: 280d44d7671abfa909f2966fbef94bca5be082de
163
+ revision: 9612e5e67697153dcc7464c01115db44d29b1e34
160
164
  remote: https://github.com/ruby/gem_rbs_collection.git
161
165
  repo_dir: gems
162
166
  - name: rbs
163
- version: 3.1.0
167
+ version: 3.1.3
164
168
  source:
165
169
  type: rubygems
166
170
  - name: rbs_rails
@@ -176,9 +180,13 @@ gems:
176
180
  source:
177
181
  type: git
178
182
  name: ruby/gem_rbs_collection
179
- revision: 280d44d7671abfa909f2966fbef94bca5be082de
183
+ revision: 9612e5e67697153dcc7464c01115db44d29b1e34
180
184
  remote: https://github.com/ruby/gem_rbs_collection.git
181
185
  repo_dir: gems
186
+ - name: securerandom
187
+ version: '0'
188
+ source:
189
+ type: stdlib
182
190
  - name: singleton
183
191
  version: '0'
184
192
  source:
data/rbs_draper.gemspec CHANGED
@@ -12,7 +12,7 @@ Gem::Specification.new do |spec|
12
12
  spec.description = "A RBS files generator for Draper decorators"
13
13
  spec.homepage = "https://github.com/tk0miya/rbs_draper"
14
14
  spec.license = "MIT"
15
- spec.required_ruby_version = ">= 3.0"
15
+ spec.required_ruby_version = ">= 2.7"
16
16
 
17
17
  spec.metadata["homepage_uri"] = spec.homepage
18
18
  spec.metadata["source_code_uri"] = spec.homepage
@@ -28,6 +28,8 @@ Gem::Specification.new do |spec|
28
28
  spec.require_paths = ["lib"]
29
29
 
30
30
  spec.add_dependency "draper"
31
+ spec.add_dependency "fileutils"
32
+ spec.add_dependency "rbs"
31
33
  spec.add_dependency "rbs_rails"
32
34
 
33
35
  # For more information and examples about making a new gem, check out our
@@ -1,13 +1,13 @@
1
1
  module RbsDraper
2
2
  module Decoratable
3
- def self.all: () -> Array[Class]
4
- def self.class_to_rbs: (Class klass) -> String
3
+ def self.all: () -> Array[singleton(Draper::Decoratable)]
4
+ def self.class_to_rbs: (singleton(Draper::Decoratable) klass) -> String
5
5
 
6
6
  class Generator
7
- attr_reader klass: Class
7
+ attr_reader klass: singleton(Draper::Decoratable)
8
8
  attr_reader klass_name: String
9
9
 
10
- def initialize: (Class klass) -> void
10
+ def initialize: (singleton(Draper::Decoratable) klass) -> void
11
11
  def generate: () -> String
12
12
 
13
13
  private
@@ -1,16 +1,16 @@
1
1
  module RbsDraper
2
2
  module Decorator
3
- def self.class_to_rbs: (Class klass, RBS::DefinitionBuilder rbs_builder) -> String?
3
+ def self.class_to_rbs: (singleton(Draper::Decorator) klass, RBS::DefinitionBuilder rbs_builder) -> String?
4
4
 
5
5
  class Generator
6
- attr_reader klass: Class
6
+ attr_reader klass: singleton(Draper::Decorator)
7
7
  attr_reader klass_name: String
8
8
  attr_reader rbs_builder: RBS::DefinitionBuilder
9
9
 
10
10
  @decorated_class: RBS::Definition
11
11
  @user_defined_class: RBS::Definition
12
12
 
13
- def initialize: (Class klass, RBS::DefinitionBuilder rbs_builder) -> void
13
+ def initialize: (singleton(Draper::Decorator) klass, RBS::DefinitionBuilder rbs_builder) -> void
14
14
  def generate: () -> String?
15
15
 
16
16
  private
@@ -21,7 +21,7 @@ module RbsDraper
21
21
  def footer: () -> String
22
22
  def module_names: () -> Array[String]
23
23
  def decorated_class: () -> RBS::Definition?
24
- def delegated_methods: () -> Array[[Symbol, RBS::Definition]]
24
+ def delegated_methods: () -> Array[[Symbol, RBS::Definition::Method]]
25
25
  def user_defined_class: () -> RBS::Definition?
26
26
  end
27
27
  end
@@ -0,0 +1,19 @@
1
+ module Rake
2
+ class TaskLib
3
+ include Rake::DSL
4
+ end
5
+
6
+ module DSL
7
+ private
8
+
9
+ def desc: (String description) -> void
10
+ def file: (*untyped args) ?{ () -> void } -> void
11
+ def import: (*String fns) -> void
12
+ def multitask: (*untyped args) ?{ () -> void } -> void
13
+ def namespace: (?String? name) ?{ () -> void } -> void
14
+ def rule: (*untyped args) ?{ () -> void } -> void
15
+ def task: (*untyped args) ?{ () -> void } -> void
16
+ def sh: (*String cmd) ?{ (bool, Process::Status) -> void } -> void
17
+ end
18
+ end
19
+
@@ -0,0 +1,5 @@
1
+ class Thor
2
+ module Actions
3
+ def create_file: (String destination, *String? args, ?config: bool) ?{ () -> void } -> untyped
4
+ end
5
+ end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rbs_draper
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.2
4
+ version: 0.1.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Takeshi KOMIYA
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2023-06-19 00:00:00.000000000 Z
11
+ date: 2023-08-02 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: draper
@@ -24,6 +24,34 @@ dependencies:
24
24
  - - ">="
25
25
  - !ruby/object:Gem::Version
26
26
  version: '0'
27
+ - !ruby/object:Gem::Dependency
28
+ name: fileutils
29
+ requirement: !ruby/object:Gem::Requirement
30
+ requirements:
31
+ - - ">="
32
+ - !ruby/object:Gem::Version
33
+ version: '0'
34
+ type: :runtime
35
+ prerelease: false
36
+ version_requirements: !ruby/object:Gem::Requirement
37
+ requirements:
38
+ - - ">="
39
+ - !ruby/object:Gem::Version
40
+ version: '0'
41
+ - !ruby/object:Gem::Dependency
42
+ name: rbs
43
+ requirement: !ruby/object:Gem::Requirement
44
+ requirements:
45
+ - - ">="
46
+ - !ruby/object:Gem::Version
47
+ version: '0'
48
+ type: :runtime
49
+ prerelease: false
50
+ version_requirements: !ruby/object:Gem::Requirement
51
+ requirements:
52
+ - - ">="
53
+ - !ruby/object:Gem::Version
54
+ version: '0'
27
55
  - !ruby/object:Gem::Dependency
28
56
  name: rbs_rails
29
57
  requirement: !ruby/object:Gem::Requirement
@@ -70,6 +98,8 @@ files:
70
98
  - sig/rbs_draper/decoratable.rbs
71
99
  - sig/rbs_draper/decorator.rbs
72
100
  - sig/rbs_draper/rake_task.rbs
101
+ - sig/shims/rake.rbs
102
+ - sig/shims/thor.rbs
73
103
  homepage: https://github.com/tk0miya/rbs_draper
74
104
  licenses:
75
105
  - MIT
@@ -85,7 +115,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
85
115
  requirements:
86
116
  - - ">="
87
117
  - !ruby/object:Gem::Version
88
- version: '3.0'
118
+ version: '2.7'
89
119
  required_rubygems_version: !ruby/object:Gem::Requirement
90
120
  requirements:
91
121
  - - ">="