From a83d3362d5523e1098da8a4890ad9d3d15b9d820 Mon Sep 17 00:00:00 2001 From: Angel Aviel Domaoan Date: Wed, 12 Jan 2022 09:27:00 +0000 Subject: [PATCH] Add `state_machines` gem --- Gemfile | 2 ++ Gemfile.lock | 14 ++++++++++++++ 2 files changed, 16 insertions(+) diff --git a/Gemfile b/Gemfile index 93c1d01..5647b19 100644 --- a/Gemfile +++ b/Gemfile @@ -77,6 +77,8 @@ gem "public_uid" gem "kaminari" gem "nokogiri", ">= 1.12.0" gem "nokogiri-styles" +gem "state_machines", github: "state-machines/state_machines" +gem "state_machines-activerecord" # Security gem "cancancan", "~> 1.17.0" diff --git a/Gemfile.lock b/Gemfile.lock index ae988aa..cc46fc2 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -1,3 +1,9 @@ +GIT + remote: https://github.com/state-machines/state_machines.git + revision: 6a9bb977e0b599eef49fc1fea31b12af113905da + specs: + state_machines (0.5.0) + GEM remote: https://rubygems.org/ specs: @@ -274,6 +280,12 @@ GEM actionpack (>= 5.2) activesupport (>= 5.2) sprockets (>= 3.0.0) + state_machines-activemodel (0.8.0) + activemodel (>= 5.1) + state_machines (>= 0.5.0) + state_machines-activerecord (0.8.0) + activerecord (>= 5.1) + state_machines-activemodel (>= 0.8.0) stimulus_reflex (3.4.1) cable_ready (>= 4.5) nokogiri @@ -369,6 +381,8 @@ DEPENDENCIES selenium-webdriver sentry-ruby (~> 4.8) spring + state_machines! + state_machines-activerecord stimulus_reflex strong_migrations sunspot (~> 2.5.0)