mirror of
https://github.com/ditkrg/workflower.git
synced 2026-01-22 14:17:11 +00:00
Upgrades to active support 5 and removes byebug
This commit is contained in:
parent
298de997d6
commit
a49ba0ff56
@ -1,41 +0,0 @@
|
||||
c
|
||||
nil.blank?
|
||||
q
|
||||
options&.[](:conditions).empty?
|
||||
options&.[](:conditions).blank?
|
||||
options&.[](:conditions)
|
||||
options&.[](:conditions).nil?
|
||||
c
|
||||
options[:source].nil?
|
||||
options[:source]
|
||||
options
|
||||
options[:source]
|
||||
options[:source].methods
|
||||
options[:source].blank?
|
||||
options[:source].empty?
|
||||
options[:source]
|
||||
q
|
||||
options.empty?
|
||||
options.methods
|
||||
options.to_h.blank?
|
||||
options.to_h
|
||||
options.methods
|
||||
options
|
||||
{}.blank?
|
||||
options.present?
|
||||
options.blank?
|
||||
options
|
||||
c
|
||||
attrs
|
||||
c
|
||||
attrs
|
||||
attrs["workflow_state"]
|
||||
attrs[:workflow_state]
|
||||
attrs
|
||||
c
|
||||
@current_sequence
|
||||
item
|
||||
c
|
||||
n
|
||||
item
|
||||
@transitions
|
||||
2
.gitignore
vendored
2
.gitignore
vendored
@ -9,3 +9,5 @@
|
||||
|
||||
# rspec failure tracking
|
||||
.rspec_status
|
||||
|
||||
.byebug_history
|
||||
23
Gemfile.lock
23
Gemfile.lock
@ -1,24 +1,24 @@
|
||||
PATH
|
||||
remote: .
|
||||
specs:
|
||||
workflower (0.1.0)
|
||||
activesupport (>= 5.0.0.1)
|
||||
workflower (0.1.1)
|
||||
activesupport (>= 6.0.0)
|
||||
|
||||
GEM
|
||||
remote: https://rubygems.org/
|
||||
specs:
|
||||
activesupport (5.2.4.5)
|
||||
activesupport (7.0.1)
|
||||
concurrent-ruby (~> 1.0, >= 1.0.2)
|
||||
i18n (>= 0.7, < 2)
|
||||
minitest (~> 5.1)
|
||||
tzinfo (~> 1.1)
|
||||
i18n (>= 1.6, < 2)
|
||||
minitest (>= 5.1)
|
||||
tzinfo (~> 2.0)
|
||||
ast (2.4.2)
|
||||
byebug (11.1.3)
|
||||
concurrent-ruby (1.1.8)
|
||||
concurrent-ruby (1.1.9)
|
||||
diff-lcs (1.4.4)
|
||||
i18n (1.8.9)
|
||||
i18n (1.8.11)
|
||||
concurrent-ruby (~> 1.0)
|
||||
minitest (5.14.4)
|
||||
minitest (5.14.2)
|
||||
parallel (1.20.1)
|
||||
parser (3.0.0.0)
|
||||
ast (~> 2.4.1)
|
||||
@ -51,9 +51,8 @@ GEM
|
||||
rubocop-ast (1.4.1)
|
||||
parser (>= 2.7.1.5)
|
||||
ruby-progressbar (1.11.0)
|
||||
thread_safe (0.3.6)
|
||||
tzinfo (1.2.9)
|
||||
thread_safe (~> 0.1)
|
||||
tzinfo (2.0.4)
|
||||
concurrent-ruby (~> 1.0)
|
||||
unicode-display_width (1.7.0)
|
||||
|
||||
PLATFORMS
|
||||
|
||||
@ -2,8 +2,6 @@
|
||||
|
||||
require "workflower"
|
||||
require "workflow_source"
|
||||
require "byebug"
|
||||
|
||||
class DummyFeature
|
||||
attr_accessor :workflow_id, :workflow_state, :sequence
|
||||
|
||||
|
||||
@ -10,7 +10,7 @@ Gem::Specification.new do |spec|
|
||||
|
||||
spec.summary = "A state-machine library that handles state management"
|
||||
spec.description = "Using a finite state machine algorith, this gem allows to handle state of an entity with ease."
|
||||
spec.homepage = "https://github.com/broosk1993/workflower"
|
||||
spec.homepage = "https://github.com/ditkrg/workflower"
|
||||
spec.license = "MIT"
|
||||
spec.required_ruby_version = Gem::Requirement.new(">= 2.5.0")
|
||||
|
||||
@ -30,8 +30,8 @@ Gem::Specification.new do |spec|
|
||||
spec.require_paths = ["lib"]
|
||||
|
||||
# Uncomment to register a new dependency of your gem
|
||||
spec.add_dependency "activesupport", ">= 5.0.0.1"
|
||||
spec.add_development_dependency "active_support"
|
||||
spec.add_dependency "activesupport", ">= 6.0.0"
|
||||
# spec.add_development_dependency "active_support", ">= 6.0.0"
|
||||
spec.add_development_dependency "byebug"
|
||||
|
||||
# For more information and examples about making a new gem, checkout our
|
||||
|
||||
Loading…
Reference in New Issue
Block a user