searchcraft 0.4.0 → 0.4.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.gem_rbs_collection/actionpack/6.0/.rbs_meta.yaml +9 -0
- data/.gem_rbs_collection/actionpack/6.0/actioncontroller.rbs +127 -0
- data/.gem_rbs_collection/actionpack/6.0/actionpack-generated.rbs +12094 -0
- data/.gem_rbs_collection/actionpack/6.0/patch.rbs +93 -0
- data/.gem_rbs_collection/actionview/6.0/.rbs_meta.yaml +9 -0
- data/.gem_rbs_collection/actionview/6.0/actionview-generated.rbs +10768 -0
- data/.gem_rbs_collection/actionview/6.0/patch.rbs +64 -0
- data/.gem_rbs_collection/activemodel/7.0/.rbs_meta.yaml +9 -0
- data/.gem_rbs_collection/activemodel/7.0/activemodel-7.0.rbs +1 -0
- data/.gem_rbs_collection/activemodel/7.0/activemodel-generated.rbs +4319 -0
- data/.gem_rbs_collection/activemodel/7.0/manifest.yaml +12 -0
- data/.gem_rbs_collection/activemodel/7.0/patch.rbs +20 -0
- data/.gem_rbs_collection/activerecord/7.0/.rbs_meta.yaml +9 -0
- data/.gem_rbs_collection/activerecord/7.0/activerecord-7.0.rbs +21 -0
- data/.gem_rbs_collection/activerecord/7.0/activerecord-generated.rbs +24943 -0
- data/.gem_rbs_collection/activerecord/7.0/activerecord.rbs +563 -0
- data/.gem_rbs_collection/activerecord/7.0/manifest.yaml +12 -0
- data/.gem_rbs_collection/activerecord/7.0/patch.rbs +41 -0
- data/.gem_rbs_collection/activerecord/7.0/railties.rbs +120 -0
- data/.gem_rbs_collection/activesupport/7.0/.rbs_meta.yaml +9 -0
- data/.gem_rbs_collection/activesupport/7.0/activesupport-7.0.rbs +51 -0
- data/.gem_rbs_collection/activesupport/7.0/activesupport-generated.rbs +12672 -0
- data/.gem_rbs_collection/activesupport/7.0/activesupport.rbs +237 -0
- data/.gem_rbs_collection/activesupport/7.0/manifest.yaml +14 -0
- data/.gem_rbs_collection/activesupport/7.0/patch.rbs +89 -0
- data/.gem_rbs_collection/ast/2.4/.rbs_meta.yaml +9 -0
- data/.gem_rbs_collection/ast/2.4/ast.rbs +73 -0
- data/.gem_rbs_collection/concurrent-ruby/1.1/.rbs_meta.yaml +9 -0
- data/.gem_rbs_collection/concurrent-ruby/1.1/executor.rbs +26 -0
- data/.gem_rbs_collection/concurrent-ruby/1.1/promises.rbs +249 -0
- data/.gem_rbs_collection/concurrent-ruby/1.1/utility/processor_counter.rbs +5 -0
- data/.gem_rbs_collection/i18n/1.10/.rbs_meta.yaml +9 -0
- data/.gem_rbs_collection/i18n/1.10/backend.rbs +269 -0
- data/.gem_rbs_collection/i18n/1.10/i18n.rbs +117 -0
- data/.gem_rbs_collection/listen/3.2/.rbs_meta.yaml +9 -0
- data/.gem_rbs_collection/listen/3.2/listen.rbs +25 -0
- data/.gem_rbs_collection/listen/3.2/listener.rbs +24 -0
- data/.gem_rbs_collection/nokogiri/1.11/.rbs_meta.yaml +9 -0
- data/.gem_rbs_collection/nokogiri/1.11/nokogiri.rbs +2332 -0
- data/.gem_rbs_collection/nokogiri/1.11/patch.rbs +4 -0
- data/.gem_rbs_collection/rack/2.2/.rbs_meta.yaml +9 -0
- data/.gem_rbs_collection/rack/2.2/manifest.yaml +3 -0
- data/.gem_rbs_collection/rack/2.2/rack.rbs +1433 -0
- data/.gem_rbs_collection/rails-dom-testing/2.0/.rbs_meta.yaml +9 -0
- data/.gem_rbs_collection/rails-dom-testing/2.0/rails-dom-testing.rbs +55 -0
- data/.gem_rbs_collection/railties/6.0/.rbs_meta.yaml +9 -0
- data/.gem_rbs_collection/railties/6.0/manifest.yaml +2 -0
- data/.gem_rbs_collection/railties/6.0/patch.rbs +56 -0
- data/.gem_rbs_collection/railties/6.0/railties-generated.rbs +4858 -0
- data/.gem_rbs_collection/rainbow/3.0/.rbs_meta.yaml +9 -0
- data/.gem_rbs_collection/rainbow/3.0/global.rbs +7 -0
- data/.gem_rbs_collection/rainbow/3.0/presenter.rbs +209 -0
- data/.gem_rbs_collection/rainbow/3.0/rainbow.rbs +5 -0
- data/.gem_rbs_collection/rake/13.0/.rbs_meta.yaml +9 -0
- data/.gem_rbs_collection/rake/13.0/manifest.yaml +2 -0
- data/.gem_rbs_collection/rake/13.0/rake.rbs +28 -0
- data/.gem_rbs_collection/thor/1.2/.rbs_meta.yaml +9 -0
- data/.gem_rbs_collection/thor/1.2/manifest.yaml +7 -0
- data/.gem_rbs_collection/thor/1.2/thor.rbs +15 -0
- data/.overcommit.yml +10 -27
- data/.standard.yml +1 -1
- data/CHANGELOG.md +18 -3
- data/README.md +85 -1
- data/lib/searchcraft/annotate.rb +0 -2
- data/lib/searchcraft/builder.rb +5 -2
- data/lib/searchcraft/configuration.rb +19 -0
- data/lib/searchcraft/depends_on.rb +5 -12
- data/lib/searchcraft/dump_schema.rb +0 -2
- data/lib/searchcraft/model.rb +34 -32
- data/lib/searchcraft/text_search.rb +31 -0
- data/lib/searchcraft/version.rb +1 -1
- data/lib/searchcraft/view_hash_store.rb +2 -1
- data/lib/searchcraft.rb +2 -1
- data/rbs_collection.lock.yaml +174 -0
- data/rbs_collection.yaml +21 -0
- data/sig/ext/misc.rbs +33 -0
- data/sig/manifest.yaml +5 -0
- data/sig/searchcraft/annotate.rbs +7 -0
- data/sig/searchcraft/builder.rbs +58 -0
- data/sig/searchcraft/configuration.rbs +31 -0
- data/sig/searchcraft/depends_on.rbs +17 -0
- data/sig/searchcraft/dump_schema.rbs +5 -0
- data/sig/searchcraft/model.rbs +19 -0
- data/sig/searchcraft/railtie.rbs +5 -0
- data/sig/searchcraft/text_search.rbs +11 -0
- data/sig/searchcraft/view_hash_store.rbs +17 -0
- data/sig/searchcraft.rbs +17 -1
- metadata +86 -14
- data/Rakefile +0 -14
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: f97a2c7a55d3ccc12f032416b977dd1628285f9e1b1f64b5fe690d57f5086acb
|
4
|
+
data.tar.gz: 42f521f0a114fe21a88165632919d2c2a7fb74fd2dd35b6a7dd3fedba58daed2
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: ada2ebc9f32ab873bde7c313465fd4711f8416bd25409b0eef66530bdf48e12b58e514a6e26197db5cf6e32fbd2bc9c4a3074bc662423f99e5c701daf6390283
|
7
|
+
data.tar.gz: 41c3d14649b1ffb1e90428c81727758c03c91d1deae80f6e6b2c0f04bba68f57d28ce0da5eeb6234fadf5b7525e56a785ffc4de311af9aa35d0d3edf77b44c0f
|
@@ -0,0 +1,127 @@
|
|
1
|
+
module ActionController
|
2
|
+
interface _API_and_Base
|
3
|
+
def session: () -> untyped
|
4
|
+
def flash: () -> untyped
|
5
|
+
end
|
6
|
+
|
7
|
+
interface _API_and_Base_singletion
|
8
|
+
def rescue_from: (*Class, ?with: Symbol | Proc) -> void
|
9
|
+
| (*Class) { (Exception) -> void } -> void
|
10
|
+
end
|
11
|
+
|
12
|
+
class Base < Metal
|
13
|
+
include _API_and_Base
|
14
|
+
extend _API_and_Base_singletion
|
15
|
+
|
16
|
+
# https://github.com/rails/rails/blob/v6.0.3.2/actionpack/lib/action_controller/base.rb#L205-L255
|
17
|
+
include AbstractController::Rendering
|
18
|
+
include AbstractController::Translation
|
19
|
+
include AbstractController::AssetPaths
|
20
|
+
include Helpers
|
21
|
+
extend Helpers::ClassMethods
|
22
|
+
extend AbstractController::Helpers::ClassMethods
|
23
|
+
include UrlFor
|
24
|
+
include Redirecting
|
25
|
+
include ActionView::Layouts
|
26
|
+
extend ::ActionView::Layouts::ClassMethods
|
27
|
+
include Rendering
|
28
|
+
extend Rendering::ClassMethods
|
29
|
+
include Renderers::All
|
30
|
+
include ConditionalGet
|
31
|
+
extend ConditionalGet::ClassMethods
|
32
|
+
include EtagWithTemplateDigest
|
33
|
+
include EtagWithFlash
|
34
|
+
include Caching
|
35
|
+
include MimeResponds
|
36
|
+
include ImplicitRender
|
37
|
+
include StrongParameters
|
38
|
+
include ParameterEncoding
|
39
|
+
extend ParameterEncoding::ClassMethods
|
40
|
+
include Cookies
|
41
|
+
include Flash
|
42
|
+
extend Flash::ClassMethods
|
43
|
+
include FormBuilder
|
44
|
+
extend FormBuilder::ClassMethods
|
45
|
+
include RequestForgeryProtection
|
46
|
+
extend RequestForgeryProtection::ClassMethods
|
47
|
+
include ContentSecurityPolicy
|
48
|
+
extend ContentSecurityPolicy::ClassMethods
|
49
|
+
include ForceSSL
|
50
|
+
extend ForceSSL::ClassMethods
|
51
|
+
include Streaming
|
52
|
+
include DataStreaming
|
53
|
+
include HttpAuthentication::Basic::ControllerMethods
|
54
|
+
extend HttpAuthentication::Basic::ControllerMethods::ClassMethods
|
55
|
+
include HttpAuthentication::Digest::ControllerMethods
|
56
|
+
include HttpAuthentication::Token::ControllerMethods
|
57
|
+
include DefaultHeaders
|
58
|
+
extend DefaultHeaders::ClassMethods
|
59
|
+
include AbstractController::Callbacks
|
60
|
+
extend AbstractController::Callbacks::ClassMethods
|
61
|
+
include Rescue
|
62
|
+
include Instrumentation
|
63
|
+
extend Instrumentation::ClassMethods
|
64
|
+
include ParamsWrapper
|
65
|
+
extend ParamsWrapper::ClassMethods
|
66
|
+
end
|
67
|
+
|
68
|
+
class API < Metal
|
69
|
+
include _API_and_Base
|
70
|
+
extend _API_and_Base_singletion
|
71
|
+
|
72
|
+
# https://github.com/rails/rails/blob/v6.0.3.2/actionpack/lib/action_controller/api.rb#L112-L145
|
73
|
+
include AbstractController::Rendering
|
74
|
+
include UrlFor
|
75
|
+
include Redirecting
|
76
|
+
include ApiRendering
|
77
|
+
include Renderers::All
|
78
|
+
include ConditionalGet
|
79
|
+
extend ConditionalGet::ClassMethods
|
80
|
+
include BasicImplicitRender
|
81
|
+
include StrongParameters
|
82
|
+
include ForceSSL
|
83
|
+
extend ForceSSL::ClassMethods
|
84
|
+
include DataStreaming
|
85
|
+
include DefaultHeaders
|
86
|
+
extend DefaultHeaders::ClassMethods
|
87
|
+
include AbstractController::Callbacks
|
88
|
+
extend AbstractController::Callbacks::ClassMethods
|
89
|
+
include Rescue
|
90
|
+
include Instrumentation
|
91
|
+
extend Instrumentation::ClassMethods
|
92
|
+
include ParamsWrapper
|
93
|
+
extend ParamsWrapper::ClassMethods
|
94
|
+
end
|
95
|
+
end
|
96
|
+
|
97
|
+
module AbstractController::Callbacks::ClassMethods
|
98
|
+
interface _BeforeActionCallback
|
99
|
+
def before: (ActionController::Base controller) -> void
|
100
|
+
end
|
101
|
+
|
102
|
+
interface _AroundActionCallback
|
103
|
+
def around: (ActionController::Base controller) { () -> void } -> void
|
104
|
+
end
|
105
|
+
|
106
|
+
interface _AfterActionCallback
|
107
|
+
def after: (ActionController::Base controller) -> void
|
108
|
+
end
|
109
|
+
|
110
|
+
type before_action_callback = Symbol | ^(instance controller) [self: instance] -> void | _BeforeActionCallback
|
111
|
+
type around_action_callback = Symbol | ^(instance controller, ^() -> void) [self: instance] -> void | _AroundActionCallback
|
112
|
+
type after_action_callback = Symbol | ^(instance controller) [self: instance] -> void | _AfterActionCallback
|
113
|
+
|
114
|
+
def before_action: (*before_action_callback) ?{ (instance controller) [self: instance] -> void } -> void
|
115
|
+
def around_action: (*around_action_callback) ?{ (instance controller, ^() -> void) [self: instance] -> void } -> void
|
116
|
+
def after_action: (*after_action_callback) ?{ (instance controller) [self: instance] -> void } -> void
|
117
|
+
def skip_before_action: (*before_action_callback) ?{ (instance controller) [self: instance] -> void } -> void
|
118
|
+
def skip_around_action: (*around_action_callback) ?{ (instance controller, ^() -> void) [self: instance] -> void } -> void
|
119
|
+
def skip_after_action: (*after_action_callback) ?{ (instance controller) [self: instance] -> void } -> void
|
120
|
+
def prepend_before_action: (*before_action_callback) ?{ (instance controller) [self: instance] -> void } -> void
|
121
|
+
def prepend_around_action: (*around_action_callback) ?{ (instance controller, ^() -> void) [self: instance] -> void } -> void
|
122
|
+
def prepend_after_action: (*after_action_callback) ?{ (instance controller) [self: instance] -> void } -> void
|
123
|
+
|
124
|
+
alias append_before_action before_action
|
125
|
+
alias append_around_action around_action
|
126
|
+
alias append_after_action after_action
|
127
|
+
end
|