alembic 0.5.0 → 0.6.0
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:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 22fc670649f7009174b0a84e4e4e1955a621067d57854f2e40ab53a03da936f2
|
|
4
|
+
data.tar.gz: 88491c8e1d8a05a1697815fdbd86a4b75a5f668c1ba6c69a28a2c7422c8fdb74
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 51e80d156b5b4d17ca07f5deda996b49f75433fe1914d764afd4dfab6391af7b89cac91dbf619e5642c664a1f0f76ca116a0c5d6eff712b63974ccfd21672e78
|
|
7
|
+
data.tar.gz: 3f83888a0602046971637c593a6950586bd29fc1075aa66d0eb6485197101c23215a197281e8dde0680483cdee9086a92bb9344d8f1ebdab4ab734f1e7dd9146
|
|
@@ -21,7 +21,7 @@ module Alembic
|
|
|
21
21
|
|
|
22
22
|
def update
|
|
23
23
|
details = params.require(:flow)
|
|
24
|
-
summaries = Flow::Summaries.new(flow_host.flows.
|
|
24
|
+
summaries = Flow::Summaries.new(flow_host.flows.find_by_public_code!(params[:id]))
|
|
25
25
|
summaries.describe(details[:summary]) unless details[:summary].nil?
|
|
26
26
|
summaries.start_on(owned_pages.find_by(id: details[:intro_page_id])) unless details[:intro_page_id].nil?
|
|
27
27
|
summaries.finish_on(owned_pages.find_by(id: details[:summary_page_id])) unless details[:summary_page_id].nil?
|
|
@@ -9,6 +9,7 @@ class MoveFlowsOntoEasyFlow < ActiveRecord::Migration[8.1]
|
|
|
9
9
|
|
|
10
10
|
class Definition < ActiveRecord::Base
|
|
11
11
|
self.table_name = "easy_flow_definitions"
|
|
12
|
+
has_public_code
|
|
12
13
|
end
|
|
13
14
|
|
|
14
15
|
class OldVersion < ActiveRecord::Base
|
|
@@ -17,6 +18,7 @@ class MoveFlowsOntoEasyFlow < ActiveRecord::Migration[8.1]
|
|
|
17
18
|
|
|
18
19
|
class Version < ActiveRecord::Base
|
|
19
20
|
self.table_name = "easy_flow_versions"
|
|
21
|
+
has_public_code
|
|
20
22
|
end
|
|
21
23
|
|
|
22
24
|
class OldRun < ActiveRecord::Base
|
|
@@ -25,6 +27,7 @@ class MoveFlowsOntoEasyFlow < ActiveRecord::Migration[8.1]
|
|
|
25
27
|
|
|
26
28
|
class Run < ActiveRecord::Base
|
|
27
29
|
self.table_name = "easy_flow_runs"
|
|
30
|
+
has_public_code
|
|
28
31
|
end
|
|
29
32
|
|
|
30
33
|
class SummaryVersion < ActiveRecord::Base
|
data/lib/alembic/version.rb
CHANGED
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: alembic
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.
|
|
4
|
+
version: 0.6.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- tylercschneider
|
|
@@ -57,14 +57,14 @@ dependencies:
|
|
|
57
57
|
requirements:
|
|
58
58
|
- - "~>"
|
|
59
59
|
- !ruby/object:Gem::Version
|
|
60
|
-
version: '0.
|
|
60
|
+
version: '0.24'
|
|
61
61
|
type: :runtime
|
|
62
62
|
prerelease: false
|
|
63
63
|
version_requirements: !ruby/object:Gem::Requirement
|
|
64
64
|
requirements:
|
|
65
65
|
- - "~>"
|
|
66
66
|
- !ruby/object:Gem::Version
|
|
67
|
-
version: '0.
|
|
67
|
+
version: '0.24'
|
|
68
68
|
description: Alembic builds and runs data-driven interactive diagnostics — scored
|
|
69
69
|
assessments and branching guides — that place a visitor on an outcome and capture
|
|
70
70
|
the result. A runtime engine plus a UI builder.
|