plok 0.2.11 → 0.2.12
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:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 4dd177c85c560cc54c99970b9f7bba447ac49b407edd4f92c3bf19eba003a4d6
|
|
4
|
+
data.tar.gz: 1567126c937dc4cdaa090c3617a091f63980da34d09452250d7d76518c48d80d
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 8d6f225251275ffe58c79f2b812647de21fd5b7522da704901bb23b30906f5137d7a4c5160ab4ef97be1ce4669c1b3258f9366279746171599ae17148d732f0d
|
|
7
|
+
data.tar.gz: e0043cc3f281b3e658b653823b0e338c78221b7f4797d8e51e3485206de84bdd02ed6b002b0e490f5609bc8e2322369ca5cdfbfcc30922ea990722a484d44cca
|
data/config/plok.yml
ADDED
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
class AddLogIndexesToCategoryTypeAndId < ActiveRecord::Migration[6.1]
|
|
2
|
+
def change
|
|
3
|
+
add_index :logs, :category unless index_exists?(:logs, :category)
|
|
4
|
+
add_index :logs, :loggable_type unless index_exists?(:logs, :loggable_type)
|
|
5
|
+
add_index :logs, :loggable_id unless index_exists?(:logs, :loggable_id)
|
|
6
|
+
end
|
|
7
|
+
end
|
data/lib/plok/version.rb
CHANGED
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: plok
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.2.
|
|
4
|
+
version: 0.2.12
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Davy Hellemans
|
|
@@ -9,7 +9,7 @@ authors:
|
|
|
9
9
|
autorequire:
|
|
10
10
|
bindir: bin
|
|
11
11
|
cert_chain: []
|
|
12
|
-
date: 2022-
|
|
12
|
+
date: 2022-05-12 00:00:00.000000000 Z
|
|
13
13
|
dependencies:
|
|
14
14
|
- !ruby/object:Gem::Dependency
|
|
15
15
|
name: rails
|
|
@@ -83,6 +83,7 @@ files:
|
|
|
83
83
|
- app/models/concerns/plok/loggable.rb
|
|
84
84
|
- app/models/log.rb
|
|
85
85
|
- app/models/queued_task.rb
|
|
86
|
+
- config/plok.yml
|
|
86
87
|
- config/routes.rb
|
|
87
88
|
- db/migrate/20211008130809_create_plok_logs.rb
|
|
88
89
|
- db/migrate/20211015141837_create_plok_queued_tasks.rb
|
|
@@ -90,6 +91,8 @@ files:
|
|
|
90
91
|
- db/migrate/20211119103846_add_attempts_to_queued_tasks.rb
|
|
91
92
|
- db/migrate/20211119123900_add_index_to_queued_tasks_locked.rb
|
|
92
93
|
- db/migrate/20211203103118_add_file_to_logs.rb
|
|
94
|
+
- db/migrate/20220512141814_add_log_indexes_to_category_type_and_id.rb
|
|
95
|
+
- db/migrate/20220512142356_add_index_to_queued_task_weight.rb
|
|
93
96
|
- lib/plok.rb
|
|
94
97
|
- lib/plok/engine.rb
|
|
95
98
|
- lib/plok/version.rb
|
|
@@ -117,7 +120,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
117
120
|
- !ruby/object:Gem::Version
|
|
118
121
|
version: '0'
|
|
119
122
|
requirements: []
|
|
120
|
-
rubygems_version: 3.
|
|
123
|
+
rubygems_version: 3.2.28
|
|
121
124
|
signing_key:
|
|
122
125
|
specification_version: 4
|
|
123
126
|
summary: CMS basics
|