sorbet_view 0.9.0 → 0.10.0

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: 9c2ae4076cb67912742330814009284544e9512784736da7292cb78fdb3d6851
4
- data.tar.gz: e4a85ac11cf36124c99e2747780ab70b0a5bab5c9acb519e4a0361b5862006d2
3
+ metadata.gz: 41c3eee158110367848eab26fd2e0bc169806678664ea99bb94b49083fcfc93f
4
+ data.tar.gz: ea6261a8eb56f156c0ef3e2ad2f1701264575b4824406fd4913e93dcbe8d0d8b
5
5
  SHA512:
6
- metadata.gz: ccdd78b73f78f645da6d825a0e80e3c5b6f00bcddfcd165eb88f9ed116ea8cd423298a817625a611002856c61e7c27c0376974ec44e6de3f061bf49455f230c7
7
- data.tar.gz: 24fa609e7bdf9244c7bd62d431541a9ab298f926cf0cc0b87e9387aa66b09d2488d2b62e9915e951076c34e0118e08c27b98910935e754b8c124e6971471d11a
6
+ metadata.gz: 80bfaf727683a34e03ba64fce914073843ac0f4846a83844eebb3c96dd6a33e00e5bcab1450e7b6105530bb05221240798c111d78a9278f7a041014c9a8f12d0
7
+ data.tar.gz: bc2fd0b074a08b29b704cc2cf618a0a8d4546309f4915cf9c3644b3167af046ac1b78530be21bf9971dfb54b2ae726b246e3930d592b0e5eb5a47f27eb5b46c5
@@ -115,9 +115,8 @@ module SorbetView
115
115
  def resolve_controller_view(path, ruby_path, config)
116
116
  new(
117
117
  class_name: "SorbetView::Generated::#{path_to_class_name(path, config)}",
118
- superclass: nil,
118
+ superclass: '::ActionView::Base',
119
119
  includes: [
120
- '::ActionView::Helpers',
121
120
  '::ApplicationController::HelperMethods',
122
121
  *config.extra_includes
123
122
  ],
@@ -130,9 +129,8 @@ module SorbetView
130
129
  def resolve_mailer_view(path, ruby_path, config)
131
130
  new(
132
131
  class_name: "SorbetView::Generated::#{path_to_class_name(path, config)}",
133
- superclass: nil,
132
+ superclass: '::ActionView::Base',
134
133
  includes: [
135
- '::ActionView::Helpers',
136
134
  '::ActionMailer::Base',
137
135
  *config.extra_includes
138
136
  ],
@@ -145,9 +143,8 @@ module SorbetView
145
143
  def resolve_layout(path, ruby_path, config)
146
144
  new(
147
145
  class_name: "SorbetView::Generated::#{path_to_class_name(path, config)}",
148
- superclass: nil,
146
+ superclass: '::ActionView::Base',
149
147
  includes: [
150
- '::ActionView::Helpers',
151
148
  '::ApplicationController::HelperMethods',
152
149
  *config.extra_includes
153
150
  ],
@@ -160,9 +157,8 @@ module SorbetView
160
157
  def resolve_partial(path, ruby_path, config)
161
158
  new(
162
159
  class_name: "SorbetView::Generated::#{path_to_class_name(path, config)}",
163
- superclass: nil,
160
+ superclass: '::ActionView::Base',
164
161
  includes: [
165
- '::ActionView::Helpers',
166
162
  '::ApplicationController::HelperMethods',
167
163
  *config.extra_includes
168
164
  ],
@@ -2,5 +2,5 @@
2
2
  # frozen_string_literal: true
3
3
 
4
4
  module SorbetView
5
- VERSION = '0.9.0'
5
+ VERSION = '0.10.0'
6
6
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: sorbet_view
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.9.0
4
+ version: 0.10.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - kazuma