trusty-cms 7.0.10 → 7.0.11
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile.lock +1 -1
- data/app/controllers/page_status_controller.rb +2 -1
- data/lib/trusty_cms/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 449fe5133cb47597ee1a6088a2104532570912d8741e5d6b59b486b4ed74a470
|
4
|
+
data.tar.gz: 41500d82c661b36dd039d5157029f25a1695b85b5aff10f57a92e8931bdb0be5
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: cd847aa08fbda487d3ef6e216858ac4f643e15291ed52e03c4f4a2a545a48459e2ef55a289b3773b7b416cfac6fd97940a80857514888952e095ccf3d8100849
|
7
|
+
data.tar.gz: e383a81c109eff12e51d99d09b9afb1a28af22fd5d6bc78741921ccba4257e4d70643b6361c2b7c7ead11e717bd1529b8cef04d0ff5c80f21650a49089c07758
|
data/Gemfile.lock
CHANGED
@@ -32,7 +32,8 @@ class PageStatusController < ApplicationController
|
|
32
32
|
|
33
33
|
pages.each do |page|
|
34
34
|
page_id = page.id
|
35
|
-
|
35
|
+
published_at = page.published_at
|
36
|
+
if published_at && published_at <= Time.now
|
36
37
|
page.update(status_id: Status[:published].id)
|
37
38
|
updated_pages << page_id
|
38
39
|
else
|
data/lib/trusty_cms/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: trusty-cms
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 7.0.
|
4
|
+
version: 7.0.11
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- TrustyCms CMS dev team
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2025-01-
|
11
|
+
date: 2025-01-20 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: activestorage-validator
|