Skip to content

Commit ed6ea3b

Browse files
committed
workflow 3.0 Drop support for Ruby 2.6 and older
1 parent 55b8e6c commit ed6ea3b

File tree

4 files changed

+10
-27
lines changed

4 files changed

+10
-27
lines changed

.github/workflows/test.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ jobs:
1414
strategy:
1515
fail-fast: false
1616
matrix:
17-
ruby: [2.4, 2.5, 2.6, 2.7, 3.0, 3.1]
17+
ruby: [2.7, 3.0, 3.1]
1818
steps:
1919
- name: Checkout code
2020
uses: actions/checkout@v3

README.adoc

Lines changed: 7 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -16,15 +16,6 @@ at http://rubygems.org/gems/workflow : select a version (optional,
1616
default is latest release), click "Documentation" link. When reading on
1717
github.com, the README refers to the upcoming release.
1818

19-
**Note: Workflow 2.0 is a major refactoring of the library.
20-
For different options/troubleshooting using it with your Rails application see
21-
link:#activerecord[State persistence with ActiveRecord].**
22-
23-
Note for contributors: it looks like github closed all the pull requests after
24-
I had changed the default branch on 2019-01-12. Please check the new refactored
25-
workflow 2.0, complementing workflow-activerecord and recreate your pull
26-
request if needed.
27-
2819
toc::[]
2920

3021
What is workflow?
@@ -522,24 +513,16 @@ end
522513
Changelog
523514
---------
524515
525-
### New in the version 2.0.2
526-
527-
* finalize extraction of persistence adapters, remove remodel adapter
516+
=== New in the version 3.0.0
528517
529-
### New in the version 2.0.1
518+
* gh-228 Support for Ruby 3 keyword args, provided by @agirling
519+
* retire Ruby 2.6 since it has reached end of live; please use workflow 2.x, if you still depend on that Ruby version
520+
* gh-229 Switch from travis CI to GihHub actions for continuous integration
530521
531-
* retire Ruby 2.3 since it has reached end of live
532-
* fix #213 ruby-graphiz warnings
522+
### New in the versions 2.x
533523
534-
### New in the version 2.0.0
535-
536-
* extract Rails/ActiveRecord integration into a separate gem
524+
* extract persistence adapters, Rails/ActiveRecord integration is now a separate gem
537525
workflow-activerecord
538-
* Remodel integration removed - needs to be a separate gem
539-
540-
Special thanks to https://github.com/voltechs[voltechs] for implementing
541-
Rails 5 support and helping to revive `workflow`!
542-
543526
544527
Support, Participation
545528
----------------------
@@ -569,7 +552,7 @@ integration with https://github.com/activeadmin/activeadmin[ActiveAdmin].
569552

570553
Author: Vladimir Dobriakov, <https://infrastructure-as-code.de>
571554

572-
Copyright (c) 2010-2019 Vladimir Dobriakov and Contributors
555+
Copyright (c) 2010-2022 Vladimir Dobriakov and Contributors
573556

574557
Copyright (c) 2008-2009 Vodafone
575558

lib/workflow/version.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
module Workflow
2-
VERSION = "2.0.2"
2+
VERSION = "3.0.0"
33
end

workflow.gemspec

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ Gem::Specification.new do |gem|
2727
"README.markdown"
2828
]
2929

30-
gem.required_ruby_version = '>= 2.3'
30+
gem.required_ruby_version = '>= 2.7'
3131
gem.add_development_dependency 'rdoc', '~> 6.1'
3232
gem.add_development_dependency 'bundler', '~> 2.0'
3333
gem.add_development_dependency 'mocha', '~> 1.8'

0 commit comments

Comments
 (0)