onboardable 1.2.1 → 1.2.2
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 +4 -4
- data/CHANGELOG.md +4 -0
- data/Gemfile.lock +3 -3
- data/lib/onboardable/list/builder.rb +3 -3
- data/lib/onboardable/version.rb +1 -1
- data/onboardable.gemspec +1 -1
- metadata +4 -10
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 894b017b45b6b272a764dfd1ea6185c971ccabcbeee82ae0a195d41a0593b3af
|
4
|
+
data.tar.gz: f1a678edd9967f4e31d87f25cabd9d3da88c34a2c651a14c19e5881c13ac6b1c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b41f0070e487e5b687f31275da0a274e849f4758fcf539c60dfa91366b75885bcc9f91532002aa98919247fd184565c5f4fe43752b7fc087315c4bac36baa79d
|
7
|
+
data.tar.gz: 698e56a7902c725a3eb6062d3deb68874e18f854b025cd1cfbed7bd6dc0187034761d31c049c7d35febfe9f15adf3238a57f45adb3ce2d442070e6160ece637f
|
data/CHANGELOG.md
CHANGED
data/Gemfile.lock
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
PATH
|
2
2
|
remote: .
|
3
3
|
specs:
|
4
|
-
onboardable (1.2.
|
4
|
+
onboardable (1.2.2)
|
5
5
|
|
6
6
|
GEM
|
7
7
|
remote: https://rubygems.org/
|
@@ -56,7 +56,7 @@ GEM
|
|
56
56
|
rubocop-ast (>= 1.31.1, < 2.0)
|
57
57
|
rubocop-rake (0.6.0)
|
58
58
|
rubocop (~> 1.0)
|
59
|
-
rubocop-rspec (2.
|
59
|
+
rubocop-rspec (2.30.0)
|
60
60
|
rubocop (~> 1.40)
|
61
61
|
rubocop-capybara (~> 2.17)
|
62
62
|
rubocop-factory_bot (~> 2.22)
|
@@ -84,7 +84,7 @@ DEPENDENCIES
|
|
84
84
|
rubocop (~> 1.64, >= 1.64.1)
|
85
85
|
rubocop-performance (~> 1.21)
|
86
86
|
rubocop-rake (~> 0.6.0)
|
87
|
-
rubocop-rspec (~> 2.
|
87
|
+
rubocop-rspec (~> 2.30)
|
88
88
|
simplecov (~> 0.22.0)
|
89
89
|
|
90
90
|
BUNDLED WITH
|
@@ -38,9 +38,9 @@ module Onboardable
|
|
38
38
|
|
39
39
|
# Constructs a new List object from the steps added to the builder.
|
40
40
|
#
|
41
|
-
# @param current_step_name [String
|
41
|
+
# @param current_step_name [String] The name of the current step.
|
42
42
|
# @return [Base] A new List object initialized with the steps and the specified current step.
|
43
|
-
def build(current_step_name)
|
43
|
+
def build(current_step_name = nil)
|
44
44
|
Base.new(convert_to_steps!, convert_to_step!(current_step_name || current_step.name))
|
45
45
|
end
|
46
46
|
|
@@ -56,7 +56,7 @@ module Onboardable
|
|
56
56
|
steps[name] = step
|
57
57
|
end
|
58
58
|
|
59
|
-
step.tap { self.current_step
|
59
|
+
step.tap { self.current_step ||= step }
|
60
60
|
end
|
61
61
|
|
62
62
|
# Assigns a hash of steps to the builder.
|
data/lib/onboardable/version.rb
CHANGED
data/onboardable.gemspec
CHANGED
@@ -44,7 +44,7 @@ Gem::Specification.new do |spec|
|
|
44
44
|
spec.add_development_dependency 'rubocop', '~> 1.64', '>= 1.64.1'
|
45
45
|
spec.add_development_dependency 'rubocop-performance', '~> 1.21'
|
46
46
|
spec.add_development_dependency 'rubocop-rake', '~> 0.6.0'
|
47
|
-
spec.add_development_dependency 'rubocop-rspec', '~> 2.
|
47
|
+
spec.add_development_dependency 'rubocop-rspec', '~> 2.30'
|
48
48
|
spec.add_development_dependency 'simplecov', '~> 0.22.0'
|
49
49
|
|
50
50
|
spec.metadata['rubygems_mfa_required'] = 'true'
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: onboardable
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.2.
|
4
|
+
version: 1.2.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Artem Skrynnyk
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2024-06-
|
11
|
+
date: 2024-06-03 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rake
|
@@ -98,20 +98,14 @@ dependencies:
|
|
98
98
|
requirements:
|
99
99
|
- - "~>"
|
100
100
|
- !ruby/object:Gem::Version
|
101
|
-
version: '2.
|
102
|
-
- - ">="
|
103
|
-
- !ruby/object:Gem::Version
|
104
|
-
version: 2.29.2
|
101
|
+
version: '2.30'
|
105
102
|
type: :development
|
106
103
|
prerelease: false
|
107
104
|
version_requirements: !ruby/object:Gem::Requirement
|
108
105
|
requirements:
|
109
106
|
- - "~>"
|
110
107
|
- !ruby/object:Gem::Version
|
111
|
-
version: '2.
|
112
|
-
- - ">="
|
113
|
-
- !ruby/object:Gem::Version
|
114
|
-
version: 2.29.2
|
108
|
+
version: '2.30'
|
115
109
|
- !ruby/object:Gem::Dependency
|
116
110
|
name: simplecov
|
117
111
|
requirement: !ruby/object:Gem::Requirement
|