dsu 3.0.3 → 3.0.4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +8 -0
- data/Gemfile.lock +20 -23
- 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/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,14 @@
|
|
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
|
+
|
5
13
|
## [3.0.3] - 2024-08-03
|
6
14
|
|
7
15
|
### Changes
|
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,7 +31,7 @@ GEM
|
|
31
31
|
byebug (11.1.3)
|
32
32
|
coderay (1.1.3)
|
33
33
|
colorize (1.1.0)
|
34
|
-
concurrent-ruby (1.3.
|
34
|
+
concurrent-ruby (1.3.4)
|
35
35
|
connection_pool (2.4.1)
|
36
36
|
diff-lcs (1.5.1)
|
37
37
|
docile (1.4.1)
|
@@ -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)
|
@@ -94,33 +94,31 @@ GEM
|
|
94
94
|
rainbow (>= 2.0, < 4.0)
|
95
95
|
rexml (~> 3.1)
|
96
96
|
regexp_parser (2.9.2)
|
97
|
-
rexml (3.3.
|
98
|
-
strscan
|
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
117
|
regexp_parser (>= 2.4, < 3.0)
|
119
|
-
|
120
|
-
rubocop-ast (>= 1.31.1, < 2.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
123
|
rubocop-factory_bot (2.26.1)
|
126
124
|
rubocop (~> 1.61)
|
@@ -129,24 +127,23 @@ GEM
|
|
129
127
|
rubocop-ast (>= 1.31.1, < 2.0)
|
130
128
|
rubocop-rake (0.6.0)
|
131
129
|
rubocop (~> 1.0)
|
132
|
-
rubocop-rspec (3.0.
|
130
|
+
rubocop-rspec (3.0.5)
|
133
131
|
rubocop (~> 1.61)
|
134
132
|
ruby-progressbar (1.13.0)
|
135
133
|
simplecov (0.22.0)
|
136
134
|
docile (~> 1.1)
|
137
135
|
simplecov-html (~> 0.11)
|
138
136
|
simplecov_json_formatter (~> 0.1)
|
139
|
-
simplecov-html (0.
|
137
|
+
simplecov-html (0.13.0)
|
140
138
|
simplecov_json_formatter (0.1.4)
|
141
|
-
|
142
|
-
thor (1.3.1)
|
139
|
+
thor (1.3.2)
|
143
140
|
thor_nested_subcommand (1.0.9)
|
144
141
|
tzinfo (2.0.6)
|
145
142
|
concurrent-ruby (~> 1.0)
|
146
|
-
tzinfo-data (1.2024.
|
143
|
+
tzinfo-data (1.2024.2)
|
147
144
|
tzinfo (>= 1.0.0)
|
148
145
|
unicode-display_width (2.5.0)
|
149
|
-
zeitwerk (2.6.
|
146
|
+
zeitwerk (2.6.18)
|
150
147
|
|
151
148
|
PLATFORMS
|
152
149
|
arm64-darwin-22
|
data/README.md
CHANGED
@@ -1,8 +1,8 @@
|
|
1
1
|
# `dsu`
|
2
2
|
|
3
3
|
[![Ruby](https://github.com/gangelo/dsu/actions/workflows/ruby.yml/badge.svg)](https://github.com/gangelo/dsu/actions/workflows/ruby.yml)
|
4
|
-
[![GitHub version](http://badge.fury.io/gh/gangelo%2Fdsu.svg?refresh=
|
5
|
-
[![Gem Version](https://badge.fury.io/rb/dsu.svg?refresh=
|
4
|
+
[![GitHub version](http://badge.fury.io/gh/gangelo%2Fdsu.svg?refresh=15)](https://badge.fury.io/gh/gangelo%2Fdsu)
|
5
|
+
[![Gem Version](https://badge.fury.io/rb/dsu.svg?refresh=15)](https://badge.fury.io/rb/dsu)
|
6
6
|
[![Documentation](http://img.shields.io/badge/docs-rdoc.info-blue.svg)](http://www.rubydoc.info/gems/dsu/)
|
7
7
|
[![Report Issues](https://img.shields.io/badge/report-issues-red.svg)](https://github.com/gangelo/dsu/issues)
|
8
8
|
[![License](http://img.shields.io/badge/license-MIT-yellowgreen.svg)](#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-08
|
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.
|