pageflow 13.0.0.beta2 → 13.0.0.beta3
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 +9 -0
- data/README.md +0 -3
- data/app/controllers/pageflow/application_controller.rb +2 -2
- data/lib/pageflow/engine.rb +1 -1
- data/lib/pageflow/version.rb +1 -1
- metadata +6 -6
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 77e314322b7c7f2f840f2db440b87e1ea4112f7cba940505c8d310c27fd397a3
|
4
|
+
data.tar.gz: 17e626fd04f58c419afdcc070437054dfdafaaecbe434d76cbedf0835afe80f1
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 903ab3bc2acdfe836586bd78f0d69de4537da28075eb6570a7c62b057682ed63260d16e496c4f062677950bbf76ee34fb44e0c0706792a19fa3cff4ff04e0417
|
7
|
+
data.tar.gz: a788265d1b1cf1bd0780e0fd00dd4b02558f73edcde3b59ac3b275c5d3defc54db3bac3e269e962b98c94eff07ffcc806d241058f545deb974b7be109dea47bb
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,14 @@
|
|
1
1
|
# CHANGELOG
|
2
2
|
|
3
|
+
### Version 13.0.0.beta3
|
4
|
+
|
5
|
+
2018-07-31
|
6
|
+
|
7
|
+
[Compare changes](https://github.com/codevise/pageflow/compare/v13.0.0.beta2...v13.0.0.beta3)
|
8
|
+
|
9
|
+
- Breaking change: Migrate to state_machines gem
|
10
|
+
([#981](https://github.com/codevise/pageflow/pull/981))
|
11
|
+
|
3
12
|
### Version 13.0.0.beta2
|
4
13
|
|
5
14
|
2018-07-31
|
data/README.md
CHANGED
@@ -92,9 +92,6 @@ for details.
|
|
92
92
|
# Gemfile
|
93
93
|
gem 'pageflow', '~> X.Y.Z'
|
94
94
|
|
95
|
-
# Required for Rails 4.2 compatibility
|
96
|
-
gem 'state_machine', git: 'https://github.com/codevise/state_machine.git'
|
97
|
-
|
98
95
|
# The install generator sets up Resque as Active Job backend
|
99
96
|
gem 'resque', '~> 1.25'
|
100
97
|
gem 'resque-scheduler', '~> 2.5'
|
@@ -1,5 +1,5 @@
|
|
1
1
|
require 'cancan'
|
2
|
-
require '
|
2
|
+
require 'state_machines'
|
3
3
|
|
4
4
|
module Pageflow
|
5
5
|
class ApplicationController < ActionController::Base
|
@@ -43,7 +43,7 @@ module Pageflow
|
|
43
43
|
end
|
44
44
|
end
|
45
45
|
|
46
|
-
rescue_from
|
46
|
+
rescue_from StateMachines::InvalidTransition do |exception|
|
47
47
|
debug_log_with_backtrace(exception)
|
48
48
|
respond_to do |format|
|
49
49
|
format.html { redirect_to main_app.admin_root_path, :alert => t('pageflow.invalid_transition') }
|
data/lib/pageflow/engine.rb
CHANGED
data/lib/pageflow/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
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.beta3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Codevise Solutions Ltd
|
@@ -95,33 +95,33 @@ dependencies:
|
|
95
95
|
- !ruby/object:Gem::Version
|
96
96
|
version: '1.10'
|
97
97
|
- !ruby/object:Gem::Dependency
|
98
|
-
name:
|
98
|
+
name: state_machines-activerecord
|
99
99
|
requirement: !ruby/object:Gem::Requirement
|
100
100
|
requirements:
|
101
101
|
- - "~>"
|
102
102
|
- !ruby/object:Gem::Version
|
103
|
-
version:
|
103
|
+
version: 0.5.1
|
104
104
|
type: :runtime
|
105
105
|
prerelease: false
|
106
106
|
version_requirements: !ruby/object:Gem::Requirement
|
107
107
|
requirements:
|
108
108
|
- - "~>"
|
109
109
|
- !ruby/object:Gem::Version
|
110
|
-
version:
|
110
|
+
version: 0.5.1
|
111
111
|
- !ruby/object:Gem::Dependency
|
112
112
|
name: state_machine_job
|
113
113
|
requirement: !ruby/object:Gem::Requirement
|
114
114
|
requirements:
|
115
115
|
- - "~>"
|
116
116
|
- !ruby/object:Gem::Version
|
117
|
-
version: '
|
117
|
+
version: '3.0'
|
118
118
|
type: :runtime
|
119
119
|
prerelease: false
|
120
120
|
version_requirements: !ruby/object:Gem::Requirement
|
121
121
|
requirements:
|
122
122
|
- - "~>"
|
123
123
|
- !ruby/object:Gem::Version
|
124
|
-
version: '
|
124
|
+
version: '3.0'
|
125
125
|
- !ruby/object:Gem::Dependency
|
126
126
|
name: paperclip
|
127
127
|
requirement: !ruby/object:Gem::Requirement
|