litestack 0.2.6 → 0.4.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (46) hide show
  1. checksums.yaml +4 -4
  2. data/BENCHMARKS.md +11 -0
  3. data/CHANGELOG.md +19 -0
  4. data/Gemfile +2 -0
  5. data/README.md +1 -1
  6. data/assets/event_page.png +0 -0
  7. data/assets/index_page.png +0 -0
  8. data/assets/topic_page.png +0 -0
  9. data/bench/bench_jobs_rails.rb +1 -1
  10. data/bench/bench_jobs_raw.rb +1 -1
  11. data/bench/uljob.rb +1 -1
  12. data/lib/action_cable/subscription_adapter/litecable.rb +1 -11
  13. data/lib/active_support/cache/litecache.rb +1 -1
  14. data/lib/generators/litestack/install/templates/database.yml +5 -1
  15. data/lib/litestack/liteboard/liteboard.rb +172 -35
  16. data/lib/litestack/liteboard/views/index.erb +52 -20
  17. data/lib/litestack/liteboard/views/layout.erb +189 -38
  18. data/lib/litestack/liteboard/views/litecable.erb +118 -0
  19. data/lib/litestack/liteboard/views/litecache.erb +144 -0
  20. data/lib/litestack/liteboard/views/litedb.erb +168 -0
  21. data/lib/litestack/liteboard/views/litejob.erb +151 -0
  22. data/lib/litestack/litecable.rb +27 -37
  23. data/lib/litestack/litecable.sql.yml +1 -1
  24. data/lib/litestack/litecache.rb +7 -18
  25. data/lib/litestack/litedb.rb +17 -2
  26. data/lib/litestack/litejob.rb +2 -3
  27. data/lib/litestack/litejobqueue.rb +51 -48
  28. data/lib/litestack/litemetric.rb +46 -69
  29. data/lib/litestack/litemetric.sql.yml +14 -12
  30. data/lib/litestack/litemetric_collector.sql.yml +4 -4
  31. data/lib/litestack/litequeue.rb +9 -20
  32. data/lib/litestack/litescheduler.rb +84 -0
  33. data/lib/litestack/litesearch/index.rb +230 -0
  34. data/lib/litestack/litesearch/model.rb +178 -0
  35. data/lib/litestack/litesearch/schema.rb +193 -0
  36. data/lib/litestack/litesearch/schema_adapters/backed_adapter.rb +147 -0
  37. data/lib/litestack/litesearch/schema_adapters/basic_adapter.rb +128 -0
  38. data/lib/litestack/litesearch/schema_adapters/contentless_adapter.rb +17 -0
  39. data/lib/litestack/litesearch/schema_adapters/standalone_adapter.rb +33 -0
  40. data/lib/litestack/litesearch/schema_adapters.rb +9 -0
  41. data/lib/litestack/litesearch.rb +37 -0
  42. data/lib/litestack/litesupport.rb +55 -125
  43. data/lib/litestack/version.rb +1 -1
  44. data/lib/litestack.rb +2 -1
  45. data/lib/sequel/adapters/litedb.rb +3 -2
  46. metadata +20 -3
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: litestack
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.6
4
+ version: 0.4.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Mohamed Hassan
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2023-07-16 00:00:00.000000000 Z
11
+ date: 2023-10-11 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: sqlite3
@@ -109,12 +109,15 @@ files:
109
109
  - README.md
110
110
  - Rakefile
111
111
  - WHYLITESTACK.md
112
+ - assets/event_page.png
113
+ - assets/index_page.png
112
114
  - assets/litecable_logo_teal.png
113
115
  - assets/litecache_logo_teal.png
114
116
  - assets/litedb_logo_teal.png
115
117
  - assets/litejob_logo_teal.png
116
118
  - assets/litestack_logo_teal.png
117
119
  - assets/litestack_logo_teal_large.png
120
+ - assets/topic_page.png
118
121
  - bench/bench.rb
119
122
  - bench/bench_cache_rails.rb
120
123
  - bench/bench_cache_raw.rb
@@ -138,6 +141,10 @@ files:
138
141
  - lib/litestack/liteboard/views/event.erb
139
142
  - lib/litestack/liteboard/views/index.erb
140
143
  - lib/litestack/liteboard/views/layout.erb
144
+ - lib/litestack/liteboard/views/litecable.erb
145
+ - lib/litestack/liteboard/views/litecache.erb
146
+ - lib/litestack/liteboard/views/litedb.erb
147
+ - lib/litestack/liteboard/views/litejob.erb
141
148
  - lib/litestack/liteboard/views/topic.erb
142
149
  - lib/litestack/litecable.rb
143
150
  - lib/litestack/litecable.sql.yml
@@ -152,6 +159,16 @@ files:
152
159
  - lib/litestack/litemetric_collector.sql.yml
153
160
  - lib/litestack/litequeue.rb
154
161
  - lib/litestack/litequeue.sql.yml
162
+ - lib/litestack/litescheduler.rb
163
+ - lib/litestack/litesearch.rb
164
+ - lib/litestack/litesearch/index.rb
165
+ - lib/litestack/litesearch/model.rb
166
+ - lib/litestack/litesearch/schema.rb
167
+ - lib/litestack/litesearch/schema_adapters.rb
168
+ - lib/litestack/litesearch/schema_adapters/backed_adapter.rb
169
+ - lib/litestack/litesearch/schema_adapters/basic_adapter.rb
170
+ - lib/litestack/litesearch/schema_adapters/contentless_adapter.rb
171
+ - lib/litestack/litesearch/schema_adapters/standalone_adapter.rb
155
172
  - lib/litestack/litesupport.rb
156
173
  - lib/litestack/railtie.rb
157
174
  - lib/litestack/version.rb
@@ -184,7 +201,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
184
201
  - !ruby/object:Gem::Version
185
202
  version: '0'
186
203
  requirements: []
187
- rubygems_version: 3.4.17
204
+ rubygems_version: 3.4.20
188
205
  signing_key:
189
206
  specification_version: 4
190
207
  summary: A SQLite based, lightning fast, super efficient and dead simple to setup