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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 4a1249f19677451a2a8ea63ead2957a42a26b2145f8657b9d3d395510e05010e
4
- data.tar.gz: 25c67378daf94b6b180495a89d45dafa47e32e17e11e9580a2f1e317e8fe505b
3
+ metadata.gz: 77e314322b7c7f2f840f2db440b87e1ea4112f7cba940505c8d310c27fd397a3
4
+ data.tar.gz: 17e626fd04f58c419afdcc070437054dfdafaaecbe434d76cbedf0835afe80f1
5
5
  SHA512:
6
- metadata.gz: 550604781f74fb7b64718f8b60a4dc61364759907541ecdac8904f6ef61c95b5db3ac7e02dd7c90be8b73f8058a0525ed20087f083638c69f7c2f6ae3bd00f19
7
- data.tar.gz: 9336d1d700fdb8834b36e8fa7b31ee4e8cac67b08279e764954421dc7769490bc145824e71ef255bc597e976b5ca58ad15e1edb482cfe402f412f89ebef8dab8
6
+ metadata.gz: 903ab3bc2acdfe836586bd78f0d69de4537da28075eb6570a7c62b057682ed63260d16e496c4f062677950bbf76ee34fb44e0c0706792a19fa3cff4ff04e0417
7
+ data.tar.gz: a788265d1b1cf1bd0780e0fd00dd4b02558f73edcde3b59ac3b275c5d3defc54db3bac3e269e962b98c94eff07ffcc806d241058f545deb974b7be109dea47bb
@@ -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 'state_machine'
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 StateMachine::InvalidTransition do |exception|
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') }
@@ -1,5 +1,5 @@
1
1
  require 'yajl'
2
- require 'state_machine'
2
+ require 'state_machines-activerecord'
3
3
  require 'state_machine_job'
4
4
  require 'paperclip'
5
5
  require 'aws-sdk'
@@ -1,3 +1,3 @@
1
1
  module Pageflow
2
- VERSION = '13.0.0.beta2'.freeze
2
+ VERSION = '13.0.0.beta3'.freeze
3
3
  end
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.beta2
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: state_machine
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: '1.2'
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: '1.2'
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: '2.0'
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: '2.0'
124
+ version: '3.0'
125
125
  - !ruby/object:Gem::Dependency
126
126
  name: paperclip
127
127
  requirement: !ruby/object:Gem::Requirement