searchcraft 0.4.0 → 0.4.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (90) hide show
  1. checksums.yaml +4 -4
  2. data/.gem_rbs_collection/actionpack/6.0/.rbs_meta.yaml +9 -0
  3. data/.gem_rbs_collection/actionpack/6.0/actioncontroller.rbs +127 -0
  4. data/.gem_rbs_collection/actionpack/6.0/actionpack-generated.rbs +12094 -0
  5. data/.gem_rbs_collection/actionpack/6.0/patch.rbs +93 -0
  6. data/.gem_rbs_collection/actionview/6.0/.rbs_meta.yaml +9 -0
  7. data/.gem_rbs_collection/actionview/6.0/actionview-generated.rbs +10768 -0
  8. data/.gem_rbs_collection/actionview/6.0/patch.rbs +64 -0
  9. data/.gem_rbs_collection/activemodel/7.0/.rbs_meta.yaml +9 -0
  10. data/.gem_rbs_collection/activemodel/7.0/activemodel-7.0.rbs +1 -0
  11. data/.gem_rbs_collection/activemodel/7.0/activemodel-generated.rbs +4319 -0
  12. data/.gem_rbs_collection/activemodel/7.0/manifest.yaml +12 -0
  13. data/.gem_rbs_collection/activemodel/7.0/patch.rbs +20 -0
  14. data/.gem_rbs_collection/activerecord/7.0/.rbs_meta.yaml +9 -0
  15. data/.gem_rbs_collection/activerecord/7.0/activerecord-7.0.rbs +21 -0
  16. data/.gem_rbs_collection/activerecord/7.0/activerecord-generated.rbs +24943 -0
  17. data/.gem_rbs_collection/activerecord/7.0/activerecord.rbs +563 -0
  18. data/.gem_rbs_collection/activerecord/7.0/manifest.yaml +12 -0
  19. data/.gem_rbs_collection/activerecord/7.0/patch.rbs +41 -0
  20. data/.gem_rbs_collection/activerecord/7.0/railties.rbs +120 -0
  21. data/.gem_rbs_collection/activesupport/7.0/.rbs_meta.yaml +9 -0
  22. data/.gem_rbs_collection/activesupport/7.0/activesupport-7.0.rbs +51 -0
  23. data/.gem_rbs_collection/activesupport/7.0/activesupport-generated.rbs +12672 -0
  24. data/.gem_rbs_collection/activesupport/7.0/activesupport.rbs +237 -0
  25. data/.gem_rbs_collection/activesupport/7.0/manifest.yaml +14 -0
  26. data/.gem_rbs_collection/activesupport/7.0/patch.rbs +89 -0
  27. data/.gem_rbs_collection/ast/2.4/.rbs_meta.yaml +9 -0
  28. data/.gem_rbs_collection/ast/2.4/ast.rbs +73 -0
  29. data/.gem_rbs_collection/concurrent-ruby/1.1/.rbs_meta.yaml +9 -0
  30. data/.gem_rbs_collection/concurrent-ruby/1.1/executor.rbs +26 -0
  31. data/.gem_rbs_collection/concurrent-ruby/1.1/promises.rbs +249 -0
  32. data/.gem_rbs_collection/concurrent-ruby/1.1/utility/processor_counter.rbs +5 -0
  33. data/.gem_rbs_collection/i18n/1.10/.rbs_meta.yaml +9 -0
  34. data/.gem_rbs_collection/i18n/1.10/backend.rbs +269 -0
  35. data/.gem_rbs_collection/i18n/1.10/i18n.rbs +117 -0
  36. data/.gem_rbs_collection/listen/3.2/.rbs_meta.yaml +9 -0
  37. data/.gem_rbs_collection/listen/3.2/listen.rbs +25 -0
  38. data/.gem_rbs_collection/listen/3.2/listener.rbs +24 -0
  39. data/.gem_rbs_collection/nokogiri/1.11/.rbs_meta.yaml +9 -0
  40. data/.gem_rbs_collection/nokogiri/1.11/nokogiri.rbs +2332 -0
  41. data/.gem_rbs_collection/nokogiri/1.11/patch.rbs +4 -0
  42. data/.gem_rbs_collection/rack/2.2/.rbs_meta.yaml +9 -0
  43. data/.gem_rbs_collection/rack/2.2/manifest.yaml +3 -0
  44. data/.gem_rbs_collection/rack/2.2/rack.rbs +1433 -0
  45. data/.gem_rbs_collection/rails-dom-testing/2.0/.rbs_meta.yaml +9 -0
  46. data/.gem_rbs_collection/rails-dom-testing/2.0/rails-dom-testing.rbs +55 -0
  47. data/.gem_rbs_collection/railties/6.0/.rbs_meta.yaml +9 -0
  48. data/.gem_rbs_collection/railties/6.0/manifest.yaml +2 -0
  49. data/.gem_rbs_collection/railties/6.0/patch.rbs +56 -0
  50. data/.gem_rbs_collection/railties/6.0/railties-generated.rbs +4858 -0
  51. data/.gem_rbs_collection/rainbow/3.0/.rbs_meta.yaml +9 -0
  52. data/.gem_rbs_collection/rainbow/3.0/global.rbs +7 -0
  53. data/.gem_rbs_collection/rainbow/3.0/presenter.rbs +209 -0
  54. data/.gem_rbs_collection/rainbow/3.0/rainbow.rbs +5 -0
  55. data/.gem_rbs_collection/rake/13.0/.rbs_meta.yaml +9 -0
  56. data/.gem_rbs_collection/rake/13.0/manifest.yaml +2 -0
  57. data/.gem_rbs_collection/rake/13.0/rake.rbs +28 -0
  58. data/.gem_rbs_collection/thor/1.2/.rbs_meta.yaml +9 -0
  59. data/.gem_rbs_collection/thor/1.2/manifest.yaml +7 -0
  60. data/.gem_rbs_collection/thor/1.2/thor.rbs +15 -0
  61. data/.overcommit.yml +10 -27
  62. data/.standard.yml +1 -1
  63. data/CHANGELOG.md +18 -3
  64. data/README.md +85 -1
  65. data/lib/searchcraft/annotate.rb +0 -2
  66. data/lib/searchcraft/builder.rb +5 -2
  67. data/lib/searchcraft/configuration.rb +19 -0
  68. data/lib/searchcraft/depends_on.rb +5 -12
  69. data/lib/searchcraft/dump_schema.rb +0 -2
  70. data/lib/searchcraft/model.rb +34 -32
  71. data/lib/searchcraft/text_search.rb +31 -0
  72. data/lib/searchcraft/version.rb +1 -1
  73. data/lib/searchcraft/view_hash_store.rb +2 -1
  74. data/lib/searchcraft.rb +2 -1
  75. data/rbs_collection.lock.yaml +174 -0
  76. data/rbs_collection.yaml +21 -0
  77. data/sig/ext/misc.rbs +33 -0
  78. data/sig/manifest.yaml +5 -0
  79. data/sig/searchcraft/annotate.rbs +7 -0
  80. data/sig/searchcraft/builder.rbs +58 -0
  81. data/sig/searchcraft/configuration.rbs +31 -0
  82. data/sig/searchcraft/depends_on.rbs +17 -0
  83. data/sig/searchcraft/dump_schema.rbs +5 -0
  84. data/sig/searchcraft/model.rbs +19 -0
  85. data/sig/searchcraft/railtie.rbs +5 -0
  86. data/sig/searchcraft/text_search.rbs +11 -0
  87. data/sig/searchcraft/view_hash_store.rbs +17 -0
  88. data/sig/searchcraft.rbs +17 -1
  89. metadata +86 -14
  90. data/Rakefile +0 -14
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: searchcraft
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.4.0
4
+ version: 0.4.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Dr Nic Williams
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2023-10-23 00:00:00.000000000 Z
11
+ date: 2023-10-31 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activerecord
@@ -25,33 +25,33 @@ dependencies:
25
25
  - !ruby/object:Gem::Version
26
26
  version: '0'
27
27
  - !ruby/object:Gem::Dependency
28
- name: activesupport
28
+ name: scenic
29
29
  requirement: !ruby/object:Gem::Requirement
30
30
  requirements:
31
- - - ">="
31
+ - - "~>"
32
32
  - !ruby/object:Gem::Version
33
- version: '0'
33
+ version: '1.7'
34
34
  type: :runtime
35
35
  prerelease: false
36
36
  version_requirements: !ruby/object:Gem::Requirement
37
37
  requirements:
38
- - - ">="
38
+ - - "~>"
39
39
  - !ruby/object:Gem::Version
40
- version: '0'
40
+ version: '1.7'
41
41
  - !ruby/object:Gem::Dependency
42
- name: scenic
42
+ name: activesupport
43
43
  requirement: !ruby/object:Gem::Requirement
44
44
  requirements:
45
- - - "~>"
45
+ - - ">="
46
46
  - !ruby/object:Gem::Version
47
- version: '1.7'
48
- type: :runtime
47
+ version: '0'
48
+ type: :development
49
49
  prerelease: false
50
50
  version_requirements: !ruby/object:Gem::Requirement
51
51
  requirements:
52
- - - "~>"
52
+ - - ">="
53
53
  - !ruby/object:Gem::Version
54
- version: '1.7'
54
+ version: '0'
55
55
  - !ruby/object:Gem::Dependency
56
56
  name: rake
57
57
  requirement: !ruby/object:Gem::Requirement
@@ -103,13 +103,71 @@ extensions: []
103
103
  extra_rdoc_files: []
104
104
  files:
105
105
  - ".DS_Store"
106
+ - ".gem_rbs_collection/actionpack/6.0/.rbs_meta.yaml"
107
+ - ".gem_rbs_collection/actionpack/6.0/actioncontroller.rbs"
108
+ - ".gem_rbs_collection/actionpack/6.0/actionpack-generated.rbs"
109
+ - ".gem_rbs_collection/actionpack/6.0/patch.rbs"
110
+ - ".gem_rbs_collection/actionview/6.0/.rbs_meta.yaml"
111
+ - ".gem_rbs_collection/actionview/6.0/actionview-generated.rbs"
112
+ - ".gem_rbs_collection/actionview/6.0/patch.rbs"
113
+ - ".gem_rbs_collection/activemodel/7.0/.rbs_meta.yaml"
114
+ - ".gem_rbs_collection/activemodel/7.0/activemodel-7.0.rbs"
115
+ - ".gem_rbs_collection/activemodel/7.0/activemodel-generated.rbs"
116
+ - ".gem_rbs_collection/activemodel/7.0/manifest.yaml"
117
+ - ".gem_rbs_collection/activemodel/7.0/patch.rbs"
118
+ - ".gem_rbs_collection/activerecord/7.0/.rbs_meta.yaml"
119
+ - ".gem_rbs_collection/activerecord/7.0/activerecord-7.0.rbs"
120
+ - ".gem_rbs_collection/activerecord/7.0/activerecord-generated.rbs"
121
+ - ".gem_rbs_collection/activerecord/7.0/activerecord.rbs"
122
+ - ".gem_rbs_collection/activerecord/7.0/manifest.yaml"
123
+ - ".gem_rbs_collection/activerecord/7.0/patch.rbs"
124
+ - ".gem_rbs_collection/activerecord/7.0/railties.rbs"
125
+ - ".gem_rbs_collection/activesupport/7.0/.rbs_meta.yaml"
126
+ - ".gem_rbs_collection/activesupport/7.0/activesupport-7.0.rbs"
127
+ - ".gem_rbs_collection/activesupport/7.0/activesupport-generated.rbs"
128
+ - ".gem_rbs_collection/activesupport/7.0/activesupport.rbs"
129
+ - ".gem_rbs_collection/activesupport/7.0/manifest.yaml"
130
+ - ".gem_rbs_collection/activesupport/7.0/patch.rbs"
131
+ - ".gem_rbs_collection/ast/2.4/.rbs_meta.yaml"
132
+ - ".gem_rbs_collection/ast/2.4/ast.rbs"
133
+ - ".gem_rbs_collection/concurrent-ruby/1.1/.rbs_meta.yaml"
134
+ - ".gem_rbs_collection/concurrent-ruby/1.1/executor.rbs"
135
+ - ".gem_rbs_collection/concurrent-ruby/1.1/promises.rbs"
136
+ - ".gem_rbs_collection/concurrent-ruby/1.1/utility/processor_counter.rbs"
137
+ - ".gem_rbs_collection/i18n/1.10/.rbs_meta.yaml"
138
+ - ".gem_rbs_collection/i18n/1.10/backend.rbs"
139
+ - ".gem_rbs_collection/i18n/1.10/i18n.rbs"
140
+ - ".gem_rbs_collection/listen/3.2/.rbs_meta.yaml"
141
+ - ".gem_rbs_collection/listen/3.2/listen.rbs"
142
+ - ".gem_rbs_collection/listen/3.2/listener.rbs"
143
+ - ".gem_rbs_collection/nokogiri/1.11/.rbs_meta.yaml"
144
+ - ".gem_rbs_collection/nokogiri/1.11/nokogiri.rbs"
145
+ - ".gem_rbs_collection/nokogiri/1.11/patch.rbs"
146
+ - ".gem_rbs_collection/rack/2.2/.rbs_meta.yaml"
147
+ - ".gem_rbs_collection/rack/2.2/manifest.yaml"
148
+ - ".gem_rbs_collection/rack/2.2/rack.rbs"
149
+ - ".gem_rbs_collection/rails-dom-testing/2.0/.rbs_meta.yaml"
150
+ - ".gem_rbs_collection/rails-dom-testing/2.0/rails-dom-testing.rbs"
151
+ - ".gem_rbs_collection/railties/6.0/.rbs_meta.yaml"
152
+ - ".gem_rbs_collection/railties/6.0/manifest.yaml"
153
+ - ".gem_rbs_collection/railties/6.0/patch.rbs"
154
+ - ".gem_rbs_collection/railties/6.0/railties-generated.rbs"
155
+ - ".gem_rbs_collection/rainbow/3.0/.rbs_meta.yaml"
156
+ - ".gem_rbs_collection/rainbow/3.0/global.rbs"
157
+ - ".gem_rbs_collection/rainbow/3.0/presenter.rbs"
158
+ - ".gem_rbs_collection/rainbow/3.0/rainbow.rbs"
159
+ - ".gem_rbs_collection/rake/13.0/.rbs_meta.yaml"
160
+ - ".gem_rbs_collection/rake/13.0/manifest.yaml"
161
+ - ".gem_rbs_collection/rake/13.0/rake.rbs"
162
+ - ".gem_rbs_collection/thor/1.2/.rbs_meta.yaml"
163
+ - ".gem_rbs_collection/thor/1.2/manifest.yaml"
164
+ - ".gem_rbs_collection/thor/1.2/thor.rbs"
106
165
  - ".overcommit.yml"
107
166
  - ".standard.yml"
108
167
  - CHANGELOG.md
109
168
  - CODE_OF_CONDUCT.md
110
169
  - LICENSE.txt
111
170
  - README.md
112
- - Rakefile
113
171
  - lib/search_craft.rb
114
172
  - lib/searchcraft.rb
115
173
  - lib/searchcraft/annotate.rb
@@ -119,11 +177,25 @@ files:
119
177
  - lib/searchcraft/dump_schema.rb
120
178
  - lib/searchcraft/model.rb
121
179
  - lib/searchcraft/railtie.rb
180
+ - lib/searchcraft/text_search.rb
122
181
  - lib/searchcraft/version.rb
123
182
  - lib/searchcraft/view_hash_store.rb
124
183
  - lib/tasks/builders.rake
125
184
  - lib/tasks/refresh.rake
185
+ - rbs_collection.lock.yaml
186
+ - rbs_collection.yaml
187
+ - sig/ext/misc.rbs
188
+ - sig/manifest.yaml
126
189
  - sig/searchcraft.rbs
190
+ - sig/searchcraft/annotate.rbs
191
+ - sig/searchcraft/builder.rbs
192
+ - sig/searchcraft/configuration.rbs
193
+ - sig/searchcraft/depends_on.rbs
194
+ - sig/searchcraft/dump_schema.rbs
195
+ - sig/searchcraft/model.rbs
196
+ - sig/searchcraft/railtie.rbs
197
+ - sig/searchcraft/text_search.rbs
198
+ - sig/searchcraft/view_hash_store.rbs
127
199
  homepage: https://github.com/drnic/searchcraft
128
200
  licenses:
129
201
  - MIT
data/Rakefile DELETED
@@ -1,14 +0,0 @@
1
- # frozen_string_literal: true
2
-
3
- require "bundler/gem_tasks"
4
- require "rake/testtask"
5
-
6
- Rake::TestTask.new(:test) do |t|
7
- t.libs << "test"
8
- t.libs << "lib"
9
- t.test_files = FileList["test/**/test_*.rb"]
10
- end
11
-
12
- require "standard/rake"
13
-
14
- task default: %i[test standard]