dsu 3.0.2 → 3.0.4
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 +14 -0
- data/Gemfile +5 -4
- data/Gemfile.lock +39 -46
- data/README.md +2 -2
- data/lib/dsu/migration/base_service.rb +11 -2
- data/lib/dsu/migration/v20240210161248/service.rb +6 -1
- data/lib/dsu/presenters/project/list_presenter.rb +1 -1
- data/lib/dsu/version.rb +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: d3b3efbf853209848d3530f2909bf2d6c5799cd18fb418d261cee93a20a5eede
|
|
4
|
+
data.tar.gz: d6f7349342aa633f62c6c334c54539cf2d4cb3de7c3026ba60b9cd6a61bf6cc6
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: b1074651d903e6f207b97191401ff6269c2a14bf823226f8aa4123cc8500ff2e2ec16d98e4b81617a6cb0385ec2e40ba32e63082784ad9ccaccb3fe774ba67f5
|
|
7
|
+
data.tar.gz: be46afc5392a4d38bfe2b9c6100848b0782d9b6f4e8956d8b99a623e1d60fa91145c5bcb71fad85c7b63fc5d1ec3c4a81d82e7e03d0ed73f32feb1d233df362e
|
data/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,20 @@
|
|
|
2
2
|
|
|
3
3
|
All notable changes to this project will be documented in this file.
|
|
4
4
|
|
|
5
|
+
## [3.0.4] - 2024-09-08
|
|
6
|
+
|
|
7
|
+
### Changes
|
|
8
|
+
[x] Update ruby gems.
|
|
9
|
+
|
|
10
|
+
### Bug Fixes
|
|
11
|
+
[x] Fix bug that fails to install dsu for first time users.
|
|
12
|
+
|
|
13
|
+
## [3.0.3] - 2024-08-03
|
|
14
|
+
|
|
15
|
+
### Changes
|
|
16
|
+
[x] Update ruby gems.
|
|
17
|
+
[x] Update rexml gem to patch CVE.
|
|
18
|
+
|
|
5
19
|
## [3.0.2] - 2024-05-18
|
|
6
20
|
|
|
7
21
|
### Changes
|
data/Gemfile
CHANGED
|
@@ -10,10 +10,11 @@ gem 'rake', '>= 13.0', '< 14.0'
|
|
|
10
10
|
|
|
11
11
|
group :development do
|
|
12
12
|
gem 'reek', '>= 6.1', '< 7.0'
|
|
13
|
-
gem 'rubocop', '>= 1.
|
|
14
|
-
gem 'rubocop-
|
|
13
|
+
gem 'rubocop', '>= 1.65', '< 2.0'
|
|
14
|
+
gem 'rubocop-factory_bot', '~> 2.26', '>= 2.26.1'
|
|
15
|
+
gem 'rubocop-performance', '>= 1.21.1', '< 2.0'
|
|
15
16
|
gem 'rubocop-rake', '>= 0.6', '< 1.0'
|
|
16
|
-
gem 'rubocop-rspec', '
|
|
17
|
+
gem 'rubocop-rspec', '~> 3.0', '>= 3.0.3'
|
|
17
18
|
end
|
|
18
19
|
|
|
19
20
|
group :test do
|
|
@@ -22,7 +23,7 @@ group :test do
|
|
|
22
23
|
end
|
|
23
24
|
|
|
24
25
|
group :development, :test do
|
|
25
|
-
gem 'dotenv', '
|
|
26
|
+
gem 'dotenv', '~> 3.1', '>= 3.1.2'
|
|
26
27
|
gem 'factory_bot', '~> 6.3'
|
|
27
28
|
gem 'ffaker', '~> 2.21'
|
|
28
29
|
gem 'pry-byebug', '>= 3.9', '< 4.0'
|
data/Gemfile.lock
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
PATH
|
|
2
2
|
remote: .
|
|
3
3
|
specs:
|
|
4
|
-
dsu (3.0.
|
|
4
|
+
dsu (3.0.4)
|
|
5
5
|
activemodel (>= 7.0.8, < 8.0)
|
|
6
6
|
activesupport (>= 7.0.8, < 8.0)
|
|
7
7
|
colorize (>= 1.1, < 2.0)
|
|
@@ -13,9 +13,9 @@ PATH
|
|
|
13
13
|
GEM
|
|
14
14
|
remote: https://rubygems.org/
|
|
15
15
|
specs:
|
|
16
|
-
activemodel (7.1.
|
|
17
|
-
activesupport (= 7.1.
|
|
18
|
-
activesupport (7.1.
|
|
16
|
+
activemodel (7.1.4)
|
|
17
|
+
activesupport (= 7.1.4)
|
|
18
|
+
activesupport (7.1.4)
|
|
19
19
|
base64
|
|
20
20
|
bigdecimal
|
|
21
21
|
concurrent-ruby (~> 1.0, >= 1.0.2)
|
|
@@ -31,25 +31,25 @@ GEM
|
|
|
31
31
|
byebug (11.1.3)
|
|
32
32
|
coderay (1.1.3)
|
|
33
33
|
colorize (1.1.0)
|
|
34
|
-
concurrent-ruby (1.
|
|
34
|
+
concurrent-ruby (1.3.4)
|
|
35
35
|
connection_pool (2.4.1)
|
|
36
36
|
diff-lcs (1.5.1)
|
|
37
|
-
docile (1.4.
|
|
38
|
-
dotenv (
|
|
37
|
+
docile (1.4.1)
|
|
38
|
+
dotenv (3.1.2)
|
|
39
39
|
drb (2.2.1)
|
|
40
|
-
dry-configurable (1.
|
|
40
|
+
dry-configurable (1.2.0)
|
|
41
41
|
dry-core (~> 1.0, < 2)
|
|
42
42
|
zeitwerk (~> 2.6)
|
|
43
43
|
dry-core (1.0.1)
|
|
44
44
|
concurrent-ruby (~> 1.0)
|
|
45
45
|
zeitwerk (~> 2.6)
|
|
46
|
-
dry-inflector (1.
|
|
46
|
+
dry-inflector (1.1.0)
|
|
47
47
|
dry-initializer (3.1.1)
|
|
48
48
|
dry-logic (1.5.0)
|
|
49
49
|
concurrent-ruby (~> 1.0)
|
|
50
50
|
dry-core (~> 1.0, < 2)
|
|
51
51
|
zeitwerk (~> 2.6)
|
|
52
|
-
dry-schema (1.13.
|
|
52
|
+
dry-schema (1.13.4)
|
|
53
53
|
concurrent-ruby (~> 1.0)
|
|
54
54
|
dry-configurable (~> 1.0, >= 1.0.1)
|
|
55
55
|
dry-core (~> 1.0, < 2)
|
|
@@ -64,7 +64,7 @@ GEM
|
|
|
64
64
|
dry-inflector (~> 1.0)
|
|
65
65
|
dry-logic (~> 1.4)
|
|
66
66
|
zeitwerk (~> 2.6)
|
|
67
|
-
factory_bot (6.
|
|
67
|
+
factory_bot (6.5.0)
|
|
68
68
|
activesupport (>= 5.0.0)
|
|
69
69
|
ffaker (2.23.0)
|
|
70
70
|
i18n (1.14.5)
|
|
@@ -72,11 +72,11 @@ GEM
|
|
|
72
72
|
json (2.7.2)
|
|
73
73
|
language_server-protocol (3.17.0.3)
|
|
74
74
|
method_source (1.1.0)
|
|
75
|
-
minitest (5.
|
|
75
|
+
minitest (5.25.1)
|
|
76
76
|
mutex_m (0.2.0)
|
|
77
77
|
os (1.1.4)
|
|
78
|
-
parallel (1.
|
|
79
|
-
parser (3.3.
|
|
78
|
+
parallel (1.26.3)
|
|
79
|
+
parser (3.3.5.0)
|
|
80
80
|
ast (~> 2.4.1)
|
|
81
81
|
racc
|
|
82
82
|
pry (0.14.2)
|
|
@@ -85,7 +85,7 @@ GEM
|
|
|
85
85
|
pry-byebug (3.10.1)
|
|
86
86
|
byebug (~> 11.0)
|
|
87
87
|
pry (>= 0.13, < 0.15)
|
|
88
|
-
racc (1.8.
|
|
88
|
+
racc (1.8.1)
|
|
89
89
|
rainbow (3.1.1)
|
|
90
90
|
rake (13.2.1)
|
|
91
91
|
reek (6.3.0)
|
|
@@ -94,78 +94,70 @@ GEM
|
|
|
94
94
|
rainbow (>= 2.0, < 4.0)
|
|
95
95
|
rexml (~> 3.1)
|
|
96
96
|
regexp_parser (2.9.2)
|
|
97
|
-
rexml (3.
|
|
98
|
-
strscan (>= 3.0.9)
|
|
97
|
+
rexml (3.3.7)
|
|
99
98
|
rspec (3.13.0)
|
|
100
99
|
rspec-core (~> 3.13.0)
|
|
101
100
|
rspec-expectations (~> 3.13.0)
|
|
102
101
|
rspec-mocks (~> 3.13.0)
|
|
103
|
-
rspec-core (3.13.
|
|
102
|
+
rspec-core (3.13.1)
|
|
104
103
|
rspec-support (~> 3.13.0)
|
|
105
|
-
rspec-expectations (3.13.
|
|
104
|
+
rspec-expectations (3.13.3)
|
|
106
105
|
diff-lcs (>= 1.2.0, < 2.0)
|
|
107
106
|
rspec-support (~> 3.13.0)
|
|
108
107
|
rspec-mocks (3.13.1)
|
|
109
108
|
diff-lcs (>= 1.2.0, < 2.0)
|
|
110
109
|
rspec-support (~> 3.13.0)
|
|
111
110
|
rspec-support (3.13.1)
|
|
112
|
-
rubocop (1.
|
|
111
|
+
rubocop (1.66.1)
|
|
113
112
|
json (~> 2.3)
|
|
114
113
|
language_server-protocol (>= 3.17.0)
|
|
115
114
|
parallel (~> 1.10)
|
|
116
115
|
parser (>= 3.3.0.2)
|
|
117
116
|
rainbow (>= 2.2.2, < 4.0)
|
|
118
|
-
regexp_parser (>=
|
|
119
|
-
|
|
120
|
-
rubocop-ast (>= 1.31.1, < 2.0)
|
|
117
|
+
regexp_parser (>= 2.4, < 3.0)
|
|
118
|
+
rubocop-ast (>= 1.32.2, < 2.0)
|
|
121
119
|
ruby-progressbar (~> 1.7)
|
|
122
120
|
unicode-display_width (>= 2.4.0, < 3.0)
|
|
123
|
-
rubocop-ast (1.
|
|
121
|
+
rubocop-ast (1.32.3)
|
|
124
122
|
parser (>= 3.3.1.0)
|
|
125
|
-
rubocop-
|
|
126
|
-
rubocop (~> 1.
|
|
127
|
-
rubocop-
|
|
128
|
-
rubocop (~> 1.41)
|
|
129
|
-
rubocop-performance (1.21.0)
|
|
123
|
+
rubocop-factory_bot (2.26.1)
|
|
124
|
+
rubocop (~> 1.61)
|
|
125
|
+
rubocop-performance (1.21.1)
|
|
130
126
|
rubocop (>= 1.48.1, < 2.0)
|
|
131
127
|
rubocop-ast (>= 1.31.1, < 2.0)
|
|
132
128
|
rubocop-rake (0.6.0)
|
|
133
129
|
rubocop (~> 1.0)
|
|
134
|
-
rubocop-rspec (
|
|
135
|
-
rubocop (~> 1.
|
|
136
|
-
rubocop-capybara (~> 2.17)
|
|
137
|
-
rubocop-factory_bot (~> 2.22)
|
|
138
|
-
rubocop-rspec_rails (~> 2.28)
|
|
139
|
-
rubocop-rspec_rails (2.28.3)
|
|
140
|
-
rubocop (~> 1.40)
|
|
130
|
+
rubocop-rspec (3.0.5)
|
|
131
|
+
rubocop (~> 1.61)
|
|
141
132
|
ruby-progressbar (1.13.0)
|
|
142
133
|
simplecov (0.22.0)
|
|
143
134
|
docile (~> 1.1)
|
|
144
135
|
simplecov-html (~> 0.11)
|
|
145
136
|
simplecov_json_formatter (~> 0.1)
|
|
146
|
-
simplecov-html (0.
|
|
137
|
+
simplecov-html (0.13.0)
|
|
147
138
|
simplecov_json_formatter (0.1.4)
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
thor_nested_subcommand (1.0.8)
|
|
139
|
+
thor (1.3.2)
|
|
140
|
+
thor_nested_subcommand (1.0.9)
|
|
151
141
|
tzinfo (2.0.6)
|
|
152
142
|
concurrent-ruby (~> 1.0)
|
|
153
|
-
tzinfo-data (1.2024.
|
|
143
|
+
tzinfo-data (1.2024.2)
|
|
154
144
|
tzinfo (>= 1.0.0)
|
|
155
145
|
unicode-display_width (2.5.0)
|
|
156
|
-
zeitwerk (2.6.
|
|
146
|
+
zeitwerk (2.6.18)
|
|
157
147
|
|
|
158
148
|
PLATFORMS
|
|
159
149
|
arm64-darwin-22
|
|
150
|
+
arm64-darwin-23
|
|
160
151
|
x64-mingw-ucrt
|
|
161
152
|
x64-mingw32
|
|
162
153
|
x86_64-darwin-19
|
|
154
|
+
x86_64-darwin-20
|
|
163
155
|
x86_64-darwin-21
|
|
164
156
|
x86_64-linux
|
|
165
157
|
|
|
166
158
|
DEPENDENCIES
|
|
167
159
|
bundler (>= 2.5, < 3.0)
|
|
168
|
-
dotenv (
|
|
160
|
+
dotenv (~> 3.1, >= 3.1.2)
|
|
169
161
|
dsu!
|
|
170
162
|
factory_bot (~> 6.3)
|
|
171
163
|
ffaker (~> 2.21)
|
|
@@ -173,10 +165,11 @@ DEPENDENCIES
|
|
|
173
165
|
rake (>= 13.0, < 14.0)
|
|
174
166
|
reek (>= 6.1, < 7.0)
|
|
175
167
|
rspec (>= 3.12, < 4.0)
|
|
176
|
-
rubocop (>= 1.
|
|
177
|
-
rubocop-
|
|
168
|
+
rubocop (>= 1.65, < 2.0)
|
|
169
|
+
rubocop-factory_bot (~> 2.26, >= 2.26.1)
|
|
170
|
+
rubocop-performance (>= 1.21.1, < 2.0)
|
|
178
171
|
rubocop-rake (>= 0.6, < 1.0)
|
|
179
|
-
rubocop-rspec (
|
|
172
|
+
rubocop-rspec (~> 3.0, >= 3.0.3)
|
|
180
173
|
simplecov (>= 0.22.0, < 1.0)
|
|
181
174
|
|
|
182
175
|
BUNDLED WITH
|
data/README.md
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
# `dsu`
|
|
2
2
|
|
|
3
3
|
[](https://github.com/gangelo/dsu/actions/workflows/ruby.yml)
|
|
4
|
-
[](https://badge.fury.io/gh/gangelo%2Fdsu)
|
|
5
|
+
[](https://badge.fury.io/rb/dsu)
|
|
6
6
|
[](http://www.rubydoc.info/gems/dsu/)
|
|
7
7
|
[](https://github.com/gangelo/dsu/issues)
|
|
8
8
|
[](#license)
|
|
@@ -82,8 +82,17 @@ module Dsu
|
|
|
82
82
|
|
|
83
83
|
return puts "\tSkipping: backup already exists." if backup_exist?
|
|
84
84
|
|
|
85
|
-
|
|
86
|
-
|
|
85
|
+
if Dir.exist?(dsu_folder)
|
|
86
|
+
FileUtils.cp_r(dsu_folder, backup_folder)
|
|
87
|
+
else
|
|
88
|
+
puts "\tSkipping: dsu folder \"#{dsu_folder}\" does not exists."
|
|
89
|
+
end
|
|
90
|
+
|
|
91
|
+
if File.exist?(config_path)
|
|
92
|
+
FileUtils.cp(config_path, backup_folder)
|
|
93
|
+
else
|
|
94
|
+
puts "\tSkipping: config path \"#{config_path}\" does not exists."
|
|
95
|
+
end
|
|
87
96
|
end
|
|
88
97
|
|
|
89
98
|
def backup_exist?
|
|
@@ -106,7 +106,12 @@ module Dsu
|
|
|
106
106
|
puts "\tCopying entries to default project \"#{default_project_name}\"..."
|
|
107
107
|
|
|
108
108
|
entries_folder_to = File.join(dsu_folder, 'projects', default_project_name, 'entries')
|
|
109
|
-
|
|
109
|
+
if Dir.exist?(entries_folder_from)
|
|
110
|
+
FileUtils.cp_r(File.join(entries_folder_from, '.'), entries_folder_to)
|
|
111
|
+
else
|
|
112
|
+
puts "\tSkipping: entries folder \"#{entries_folder_from}\" does not exists."
|
|
113
|
+
FileUtils.mkdir_p(entries_folder_to)
|
|
114
|
+
end
|
|
110
115
|
|
|
111
116
|
puts "\tUpdating entry group version..."
|
|
112
117
|
|
data/lib/dsu/version.rb
CHANGED
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: dsu
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 3.0.
|
|
4
|
+
version: 3.0.4
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Gene M. Angelo, Jr.
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: exe
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2024-
|
|
11
|
+
date: 2024-09-08 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: activesupport
|
|
@@ -400,7 +400,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
400
400
|
- !ruby/object:Gem::Version
|
|
401
401
|
version: '0'
|
|
402
402
|
requirements: []
|
|
403
|
-
rubygems_version: 3.
|
|
403
|
+
rubygems_version: 3.5.18
|
|
404
404
|
signing_key:
|
|
405
405
|
specification_version: 4
|
|
406
406
|
summary: dsu (Agile Daily Stand Up/DSU) mini-manager.
|