mirror of
https://github.com/ditkrg/workflower-1.git
synced 2026-01-22 22:06:48 +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 failure tracking
|
||||||
.rspec_status
|
.rspec_status
|
||||||
|
|
||||||
|
.byebug_history
|
||||||
23
Gemfile.lock
23
Gemfile.lock
@ -1,24 +1,24 @@
|
|||||||
PATH
|
PATH
|
||||||
remote: .
|
remote: .
|
||||||
specs:
|
specs:
|
||||||
workflower (0.1.0)
|
workflower (0.1.1)
|
||||||
activesupport (>= 5.0.0.1)
|
activesupport (>= 6.0.0)
|
||||||
|
|
||||||
GEM
|
GEM
|
||||||
remote: https://rubygems.org/
|
remote: https://rubygems.org/
|
||||||
specs:
|
specs:
|
||||||
activesupport (5.2.4.5)
|
activesupport (7.0.1)
|
||||||
concurrent-ruby (~> 1.0, >= 1.0.2)
|
concurrent-ruby (~> 1.0, >= 1.0.2)
|
||||||
i18n (>= 0.7, < 2)
|
i18n (>= 1.6, < 2)
|
||||||
minitest (~> 5.1)
|
minitest (>= 5.1)
|
||||||
tzinfo (~> 1.1)
|
tzinfo (~> 2.0)
|
||||||
ast (2.4.2)
|
ast (2.4.2)
|
||||||
byebug (11.1.3)
|
byebug (11.1.3)
|
||||||
concurrent-ruby (1.1.8)
|
concurrent-ruby (1.1.9)
|
||||||
diff-lcs (1.4.4)
|
diff-lcs (1.4.4)
|
||||||
i18n (1.8.9)
|
i18n (1.8.11)
|
||||||
concurrent-ruby (~> 1.0)
|
concurrent-ruby (~> 1.0)
|
||||||
minitest (5.14.4)
|
minitest (5.14.2)
|
||||||
parallel (1.20.1)
|
parallel (1.20.1)
|
||||||
parser (3.0.0.0)
|
parser (3.0.0.0)
|
||||||
ast (~> 2.4.1)
|
ast (~> 2.4.1)
|
||||||
@ -51,9 +51,8 @@ GEM
|
|||||||
rubocop-ast (1.4.1)
|
rubocop-ast (1.4.1)
|
||||||
parser (>= 2.7.1.5)
|
parser (>= 2.7.1.5)
|
||||||
ruby-progressbar (1.11.0)
|
ruby-progressbar (1.11.0)
|
||||||
thread_safe (0.3.6)
|
tzinfo (2.0.4)
|
||||||
tzinfo (1.2.9)
|
concurrent-ruby (~> 1.0)
|
||||||
thread_safe (~> 0.1)
|
|
||||||
unicode-display_width (1.7.0)
|
unicode-display_width (1.7.0)
|
||||||
|
|
||||||
PLATFORMS
|
PLATFORMS
|
||||||
|
|||||||
@ -2,8 +2,6 @@
|
|||||||
|
|
||||||
require "workflower"
|
require "workflower"
|
||||||
require "workflow_source"
|
require "workflow_source"
|
||||||
require "byebug"
|
|
||||||
|
|
||||||
class DummyFeature
|
class DummyFeature
|
||||||
attr_accessor :workflow_id, :workflow_state, :sequence
|
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.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.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.license = "MIT"
|
||||||
spec.required_ruby_version = Gem::Requirement.new(">= 2.5.0")
|
spec.required_ruby_version = Gem::Requirement.new(">= 2.5.0")
|
||||||
|
|
||||||
@ -30,8 +30,8 @@ Gem::Specification.new do |spec|
|
|||||||
spec.require_paths = ["lib"]
|
spec.require_paths = ["lib"]
|
||||||
|
|
||||||
# Uncomment to register a new dependency of your gem
|
# Uncomment to register a new dependency of your gem
|
||||||
spec.add_dependency "activesupport", ">= 5.0.0.1"
|
spec.add_dependency "activesupport", ">= 6.0.0"
|
||||||
spec.add_development_dependency "active_support"
|
# spec.add_development_dependency "active_support", ">= 6.0.0"
|
||||||
spec.add_development_dependency "byebug"
|
spec.add_development_dependency "byebug"
|
||||||
|
|
||||||
# For more information and examples about making a new gem, checkout our
|
# For more information and examples about making a new gem, checkout our
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user