pageflow 13.0.0.beta1 → 13.0.0.beta2
Sign up to get free protection for your applications and to get access to all the features.
Potentially problematic release.
This version of pageflow might be problematic. Click here for more details.
- checksums.yaml +4 -4
- data/CHANGELOG.md +14 -1
- data/README.md +1 -1
- data/app/models/pageflow/null_user.rb +4 -0
- data/app/models/pageflow/revision.rb +4 -6
- data/lib/generators/pageflow/resque/templates/resque.rb +3 -0
- data/lib/pageflow/version.rb +1 -1
- metadata +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 4a1249f19677451a2a8ea63ead2957a42a26b2145f8657b9d3d395510e05010e
|
4
|
+
data.tar.gz: 25c67378daf94b6b180495a89d45dafa47e32e17e11e9580a2f1e317e8fe505b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 550604781f74fb7b64718f8b60a4dc61364759907541ecdac8904f6ef61c95b5db3ac7e02dd7c90be8b73f8058a0525ed20087f083638c69f7c2f6ae3bd00f19
|
7
|
+
data.tar.gz: 9336d1d700fdb8834b36e8fa7b31ee4e8cac67b08279e764954421dc7769490bc145824e71ef255bc597e976b5ca58ad15e1edb482cfe402f412f89ebef8dab8
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,18 @@
|
|
1
1
|
# CHANGELOG
|
2
2
|
|
3
|
+
### Version 13.0.0.beta2
|
4
|
+
|
5
|
+
2018-07-31
|
6
|
+
|
7
|
+
[Compare changes](https://github.com/codevise/pageflow/compare/v13.0.0.beta1...v13.0.0.beta2)
|
8
|
+
|
9
|
+
- Require resque in initializer
|
10
|
+
([#980](https://github.com/codevise/pageflow/pull/980))
|
11
|
+
- Use `ar_after_transaction` 0.5
|
12
|
+
([#979](https://github.com/codevise/pageflow/pull/979))
|
13
|
+
- Fix handling of null object in presence validation
|
14
|
+
([#978](https://github.com/codevise/pageflow/pull/978))
|
15
|
+
|
3
16
|
### Version 13.0.0.beta1
|
4
17
|
|
5
18
|
2018-07-30
|
@@ -33,7 +46,7 @@
|
|
33
46
|
|
34
47
|
gem 'resque', '~> 1.25'
|
35
48
|
gem 'resque-scheduler', '~> 2.5'
|
36
|
-
gem 'ar_after_transaction', '~> 0.
|
49
|
+
gem 'ar_after_transaction', '~> 0.5.0'
|
37
50
|
gem 'redis', '~> 3.0'
|
38
51
|
gem 'redis-namespace', '~> 1.5'
|
39
52
|
|
data/README.md
CHANGED
@@ -98,7 +98,7 @@ for details.
|
|
98
98
|
# The install generator sets up Resque as Active Job backend
|
99
99
|
gem 'resque', '~> 1.25'
|
100
100
|
gem 'resque-scheduler', '~> 2.5'
|
101
|
-
gem 'ar_after_transaction', '~> 0.
|
101
|
+
gem 'ar_after_transaction', '~> 0.5.0'
|
102
102
|
gem 'redis', '~> 3.0'
|
103
103
|
gem 'redis-namespace', '~> 1.5'
|
104
104
|
|
@@ -43,13 +43,11 @@ module Pageflow
|
|
43
43
|
scope :user_snapshots, -> { where(snapshot_type: 'user') }
|
44
44
|
scope :auto_snapshots, -> { where(snapshot_type: 'auto') }
|
45
45
|
|
46
|
-
validates :entry, :
|
46
|
+
validates :entry, presence: true
|
47
|
+
validates :creator, presence: true, if: :published?
|
47
48
|
|
48
|
-
|
49
|
-
|
50
|
-
|
51
|
-
validate :published_until_unchanged, :if => :published_until_was_in_past?
|
52
|
-
validate :published_until_blank, :if => :published_at_blank?
|
49
|
+
validate :published_until_unchanged, if: :published_until_was_in_past?
|
50
|
+
validate :published_until_blank, if: :published_at_blank?
|
53
51
|
|
54
52
|
def main_storyline_chapters
|
55
53
|
main_storyline = storylines.first
|
data/lib/pageflow/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: pageflow
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 13.0.0.
|
4
|
+
version: 13.0.0.beta2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Codevise Solutions Ltd
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2018-07-
|
11
|
+
date: 2018-07-31 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rails
|
@@ -526,14 +526,14 @@ dependencies:
|
|
526
526
|
requirements:
|
527
527
|
- - "~>"
|
528
528
|
- !ruby/object:Gem::Version
|
529
|
-
version: 0.
|
529
|
+
version: 0.5.0
|
530
530
|
type: :development
|
531
531
|
prerelease: false
|
532
532
|
version_requirements: !ruby/object:Gem::Requirement
|
533
533
|
requirements:
|
534
534
|
- - "~>"
|
535
535
|
- !ruby/object:Gem::Version
|
536
|
-
version: 0.
|
536
|
+
version: 0.5.0
|
537
537
|
- !ruby/object:Gem::Dependency
|
538
538
|
name: redis
|
539
539
|
requirement: !ruby/object:Gem::Requirement
|