sqlite_fts 0.1.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 ADDED
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA256:
3
+ metadata.gz: ba82fe71af5c6f59c5a5eb96567803686fdcb6a9da92ebc20a0ccdf3277f1453
4
+ data.tar.gz: a6e030879929282a17865445445f372fa52def8475553d7dc0512cf47743afc5
5
+ SHA512:
6
+ metadata.gz: db0663110e62f29088e543dc853752d2259f1be763d42cc5f1dffb5b6fe71a85082756b8ac43c936807654e2cae0eaa435b275e68cba6a7ecb1a4d5d84f2a456
7
+ data.tar.gz: ee02f4a14a3fde26a252c2004dbb78bec63fb3743c5ddb12090c09841bcf99c352c7fcdaa679bb71b08d91f6391771c8af13dce8e49c78f862ba5f5e17268a9c
data/MIT-LICENSE ADDED
@@ -0,0 +1,20 @@
1
+ Copyright Niklas Haeusele
2
+
3
+ Permission is hereby granted, free of charge, to any person obtaining
4
+ a copy of this software and associated documentation files (the
5
+ "Software"), to deal in the Software without restriction, including
6
+ without limitation the rights to use, copy, modify, merge, publish,
7
+ distribute, sublicense, and/or sell copies of the Software, and to
8
+ permit persons to whom the Software is furnished to do so, subject to
9
+ the following conditions:
10
+
11
+ The above copyright notice and this permission notice shall be
12
+ included in all copies or substantial portions of the Software.
13
+
14
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
15
+ EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
16
+ MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
17
+ NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
18
+ LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
19
+ OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
20
+ WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
data/README.md ADDED
@@ -0,0 +1,31 @@
1
+ # SqliteFts
2
+
3
+ Provides all the missing pieces to support the SQLite FTS.
4
+
5
+ ## TODOs
6
+
7
+ - [ ] Support Virtual Tables and Shadow tables in schema.rb/structure.sql
8
+ - [ ] Support creating a virtual table in a migration
9
+ - [ ] Support `Record.search('abc')`
10
+ - [ ] Upstream all ActiveRecord related code
11
+
12
+ ## Installation
13
+
14
+ Add this line to your application's Gemfile:
15
+
16
+ ```ruby
17
+ gem "sqlite_fts"
18
+ ```
19
+
20
+ And then execute:
21
+ ```bash
22
+ $ bundle
23
+ ```
24
+
25
+ ## Contributing
26
+
27
+ Contribution directions go here.
28
+
29
+ ## License
30
+
31
+ The gem is available as open source under the terms of the [MIT License](https://opensource.org/licenses/MIT).
data/Rakefile ADDED
@@ -0,0 +1,3 @@
1
+ require "bundler/setup"
2
+
3
+ require "bundler/gem_tasks"
@@ -0,0 +1,4 @@
1
+ module SqliteFts
2
+ class Railtie < ::Rails::Railtie
3
+ end
4
+ end
@@ -0,0 +1,3 @@
1
+ module SqliteFts
2
+ VERSION = "0.1.0"
3
+ end
data/lib/sqlite_fts.rb ADDED
@@ -0,0 +1,6 @@
1
+ require "sqlite_fts/version"
2
+ require "sqlite_fts/railtie"
3
+
4
+ module SqliteFts
5
+ # Your code goes here...
6
+ end
@@ -0,0 +1,4 @@
1
+ # desc "Explaining what the task does"
2
+ # task :sqlite_fts do
3
+ # # Task goes here
4
+ # end
metadata ADDED
@@ -0,0 +1,66 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: sqlite_fts
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.1.0
5
+ platform: ruby
6
+ authors:
7
+ - Niklas Häusele
8
+ autorequire:
9
+ bindir: bin
10
+ cert_chain: []
11
+ date: 2024-01-08 00:00:00.000000000 Z
12
+ dependencies:
13
+ - !ruby/object:Gem::Dependency
14
+ name: rails
15
+ requirement: !ruby/object:Gem::Requirement
16
+ requirements:
17
+ - - ">="
18
+ - !ruby/object:Gem::Version
19
+ version: 7.1.2
20
+ type: :runtime
21
+ prerelease: false
22
+ version_requirements: !ruby/object:Gem::Requirement
23
+ requirements:
24
+ - - ">="
25
+ - !ruby/object:Gem::Version
26
+ version: 7.1.2
27
+ description: All the missing glue to use the SQLite FTS
28
+ email:
29
+ - niklas.haeusele@hey.com
30
+ executables: []
31
+ extensions: []
32
+ extra_rdoc_files: []
33
+ files:
34
+ - MIT-LICENSE
35
+ - README.md
36
+ - Rakefile
37
+ - lib/sqlite_fts.rb
38
+ - lib/sqlite_fts/railtie.rb
39
+ - lib/sqlite_fts/version.rb
40
+ - lib/tasks/sqlite_fts_tasks.rake
41
+ homepage: https://www.github.com/codergeek121/sqlite_fts
42
+ licenses:
43
+ - MIT
44
+ metadata:
45
+ homepage_uri: https://www.github.com/codergeek121/sqlite_fts
46
+ source_code_uri: https://www.github.com/codergeek121/sqlite_fts
47
+ post_install_message:
48
+ rdoc_options: []
49
+ require_paths:
50
+ - lib
51
+ required_ruby_version: !ruby/object:Gem::Requirement
52
+ requirements:
53
+ - - ">="
54
+ - !ruby/object:Gem::Version
55
+ version: '0'
56
+ required_rubygems_version: !ruby/object:Gem::Requirement
57
+ requirements:
58
+ - - ">="
59
+ - !ruby/object:Gem::Version
60
+ version: '0'
61
+ requirements: []
62
+ rubygems_version: 3.5.3
63
+ signing_key:
64
+ specification_version: 4
65
+ summary: Rails plugin to support SQLite FTS
66
+ test_files: []