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: 9ca021353e957d6825f69057128a3a92f154f048b89a2e26d94ff285f8b8a372
4
- data.tar.gz: b6767fc9d270afb8de1ddb605e7f099904c64ab77af5da56f39591d82da62151
3
+ metadata.gz: 22fc670649f7009174b0a84e4e4e1955a621067d57854f2e40ab53a03da936f2
4
+ data.tar.gz: 88491c8e1d8a05a1697815fdbd86a4b75a5f668c1ba6c69a28a2c7422c8fdb74
5
5
  SHA512:
6
- metadata.gz: 6f676f812331f3cd69ab8e8ff8c38cbabcfe66d4527ac7f8a1d18f81b7d9fa24803421ca57d3948cd8a0bbf2fd2e3de44ba7faa07484991d9975179ba31fbb9d
7
- data.tar.gz: '009c8f96d9a90ca499cb9537a2e134a30290b21610b3ceeda23c57a115dcdd60db81773818cd9357a5ca8ccb00be31478efa1327e6baa83ca808d2b4b880b439'
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.find(params[:id]))
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
@@ -1,3 +1,3 @@
1
1
  module Alembic
2
- VERSION = "0.5.0"
2
+ VERSION = "0.6.0"
3
3
  end
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.5.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.8'
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.8'
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.