easy_flow 0.32.0 → 0.32.1

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: f39983d44d79fa66e7653155f28047e98682f5616094e8d0c39a32886d28840b
4
- data.tar.gz: e09d1ff30083f204c5232277464a3410f0d997b4ff8915bf60d7bf94eade8e65
3
+ metadata.gz: f7d99a72a402a80fbee862575e5258e4f4f00d2596146e1937ddf9a29d7ad2fc
4
+ data.tar.gz: dce5023f80e0fb23335b811d3918b47c64885263bf0d9fb926f780c2c37459e3
5
5
  SHA512:
6
- metadata.gz: 0bcf5519e082d0895d22d53e9b628ed989a4259529839be64ad7cf0fac26121a430dc7cf45ef656ba8332826b7591f45f90b6c65e7c87e4175b59026d3b081aa
7
- data.tar.gz: 7cf0777451486e714be4ebea1c4983d2c9fb6915ecfb88fffb7db7a5673ca32ebf4aca21e62f82dc39e6b6cf206fd5056cad131eb2c065994488149993a9451b
6
+ metadata.gz: 23a3a16314eee051dbc7d0c3820bfea95d435a754a574302692192fde954d8f28e9a4caf32724cd15e9670d90c3cbd080e526c42f761d92f6d7b4ee622c36be4
7
+ data.tar.gz: 1553ec0e69ca6e332ba9d4dcff984acdcb399bbdee59b29e484ac37865d8e3365395199f04a8cf5674ace12570baf63cebd13e3775e87cdc056ae0304e2bf23b
@@ -1,4 +1,6 @@
1
1
  class RemoveKindFromEasyFlowDefinitions < ActiveRecord::Migration[8.1]
2
+ disable_ddl_transaction!
3
+
2
4
  def up
3
5
  remove_column :easy_flow_definitions, :kind, if_exists: true
4
6
  end
@@ -1,3 +1,3 @@
1
1
  module EasyFlow
2
- VERSION = "0.32.0"
2
+ VERSION = "0.32.1"
3
3
  end
@@ -113,7 +113,7 @@ A Rails engine for flows an admin draws on a canvas and a visitor runs one step
113
113
  - After install, check that an End step selected on the canvas shows an output setting. An admin fills it in on each End step, and it needs no migration and no setting in the initializer.
114
114
  - After publishing a flow with a checklist, check that a visitor can tick several answers and go on, and that a checklist marked required refuses to go on with nothing ticked.
115
115
  - After upgrading easy_flow, run `bin/rails easy_flow:install:migrations` again and then `bin/rails db:migrate`. Only migrations the app does not already have are copied.
116
- - A flow has no kind. An app upgrading from a version that stored one stops setting `kind` on `EasyFlow::Definition` before upgrading, since setting it raises `ActiveModel::UnknownAttributeError`, and removes any use of the `scored` and `guide` scopes and the `scored?` and `guide?` methods. It deploys the upgraded gem first, then runs `bin/rails easy_flow:install:migrations` and `bin/rails db:migrate` in a later deploy, since a process of the earlier version cannot create a flow once the column is dropped. An app using alembic runs alembic's migration moving flows onto easy_flow on the earlier easy_flow version first.
116
+ - A flow has no kind. An app upgrading from a version that stored one stops setting `kind` on `EasyFlow::Definition` before upgrading, since setting it raises `ActiveModel::UnknownAttributeError`, and removes any use of the `scored` and `guide` scopes and the `scored?` and `guide?` methods. It deploys the upgraded gem first, then runs `bin/rails easy_flow:install:migrations` and `bin/rails db:migrate` in a later deploy, since a process of the earlier version cannot create a flow once the column is dropped. An app using alembic runs alembic's migration moving flows onto easy_flow on the earlier easy_flow version first. An app on SQLite that copied this migration from 0.32.0 adds `disable_ddl_transaction!` as the first line inside the class of its copy before running it, since that copy deletes rows in other tables that reference flows and the install command does not replace a copy the app already has.
117
117
  - After setting a host's `owner_method`, check that two different owners each see only their own flows on `<mount path>/manage/flows`.
118
118
  - After install, check that a Condition step placed on the canvas, once its earlier step is picked, offers that step's outputs, a comparison of "is" or "is not", and the answers of the output picked. It is named after that step, the comparison and the answer, decides a true or false result, and needs no setting in the initializer beyond being listed in a host's `offers` when that host sets `offers`.
119
119
  - After install, check that a Count step placed on the canvas, once its earlier step and answer are picked, is named "Count" followed by that step and that answer. It needs no setting in the initializer beyond being listed in a host's `offers` when that host sets `offers`.
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: easy_flow
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.32.0
4
+ version: 0.32.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - tylercschneider