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: 57694fa460a8dc14cd5cf795a644b8ead2b36ff3fc42350df8c0f5a5823add3c
4
- data.tar.gz: 7c423ce9e8329ec468495d3de143b6db3ed2e4d6725f1aaea575753b320f6858
3
+ metadata.gz: 4dd177c85c560cc54c99970b9f7bba447ac49b407edd4f92c3bf19eba003a4d6
4
+ data.tar.gz: 1567126c937dc4cdaa090c3617a091f63980da34d09452250d7d76518c48d80d
5
5
  SHA512:
6
- metadata.gz: 0c3793b958aa5448ffee467b986350b1ace3349ed870008131da91b637fd52123c29e3f72dfb1d14cb22fb4a39ebb4aae2f98d65af473c0f81110cdde12d0d40
7
- data.tar.gz: c76cc61e4e370ed4ab51101774ae5c9d54b11ce962836e095b7a800656821f4abf42eb66083fc3c5728a35aa53cccae413f4fbc074b8fb57d8517a741d9abbe9
6
+ metadata.gz: 8d6f225251275ffe58c79f2b812647de21fd5b7522da704901bb23b30906f5137d7a4c5160ab4ef97be1ce4669c1b3258f9366279746171599ae17148d732f0d
7
+ data.tar.gz: e0043cc3f281b3e658b653823b0e338c78221b7f4797d8e51e3485206de84bdd02ed6b002b0e490f5609bc8e2322369ca5cdfbfcc30922ea990722a484d44cca
data/config/plok.yml ADDED
@@ -0,0 +1,9 @@
1
+ development:
2
+ modules:
3
+ - flexible_content
4
+ - snippets
5
+ - settings
6
+ - queued_tasks
7
+ - email_templates
8
+ - pages
9
+ - redirects
@@ -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
@@ -0,0 +1,7 @@
1
+ class AddIndexToQueuedTaskWeight < ActiveRecord::Migration[6.1]
2
+ def change
3
+ return if index_exists?(:queued_tasks, :weight)
4
+
5
+ add_index :queued_tasks, :weight
6
+ end
7
+ end
data/lib/plok/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module Plok
2
- VERSION = '0.2.11'
2
+ VERSION = '0.2.12'
3
3
  end
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.11
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-04-01 00:00:00.000000000 Z
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.3.9
123
+ rubygems_version: 3.2.28
121
124
  signing_key:
122
125
  specification_version: 4
123
126
  summary: CMS basics