dsu 3.0.2 → 3.0.4

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 35464809c5e821424202e2849d1a4fd43d31a5a3983a96e6177d8abd69980503
4
- data.tar.gz: e64af18269d7ebf19cf9aac1fe21c005b6d05c7af5e2b325438a6feb88f42b00
3
+ metadata.gz: d3b3efbf853209848d3530f2909bf2d6c5799cd18fb418d261cee93a20a5eede
4
+ data.tar.gz: d6f7349342aa633f62c6c334c54539cf2d4cb3de7c3026ba60b9cd6a61bf6cc6
5
5
  SHA512:
6
- metadata.gz: 481276284539b85413bd4e6531cf535ba6dfef436ab7aecf25548a84b039672872fb589dde71ea8a7f521b2ae47e3248faab545319be095ad8ad26eadd8428bc
7
- data.tar.gz: '093572942c6a5e4238a1f6d9b342188ddcc9670807ffb8d86e41642ce44245bbbd952500da071047d744fee0824c80dbdca437feb49e3ba5d8d99efb73255be7'
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.35', '< 2.0'
14
- gem 'rubocop-performance', '>= 1.14', '< 2.0'
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', '>= 2.12', '< 3.0'
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', '>= 2.8', '< 3.0'
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.2)
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.3.3)
17
- activesupport (= 7.1.3.3)
18
- activesupport (7.1.3.3)
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.2.3)
34
+ concurrent-ruby (1.3.4)
35
35
  connection_pool (2.4.1)
36
36
  diff-lcs (1.5.1)
37
- docile (1.4.0)
38
- dotenv (2.8.1)
37
+ docile (1.4.1)
38
+ dotenv (3.1.2)
39
39
  drb (2.2.1)
40
- dry-configurable (1.1.0)
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.0.0)
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.3)
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.4.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.23.0)
75
+ minitest (5.25.1)
76
76
  mutex_m (0.2.0)
77
77
  os (1.1.4)
78
- parallel (1.24.0)
79
- parser (3.3.1.0)
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.0)
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.2.8)
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.0)
102
+ rspec-core (3.13.1)
104
103
  rspec-support (~> 3.13.0)
105
- rspec-expectations (3.13.0)
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.63.5)
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 (>= 1.8, < 3.0)
119
- rexml (>= 3.2.5, < 4.0)
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.31.3)
121
+ rubocop-ast (1.32.3)
124
122
  parser (>= 3.3.1.0)
125
- rubocop-capybara (2.20.0)
126
- rubocop (~> 1.41)
127
- rubocop-factory_bot (2.25.1)
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 (2.29.2)
135
- rubocop (~> 1.40)
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.12.3)
137
+ simplecov-html (0.13.0)
147
138
  simplecov_json_formatter (0.1.4)
148
- strscan (3.1.0)
149
- thor (1.3.1)
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.1)
143
+ tzinfo-data (1.2024.2)
154
144
  tzinfo (>= 1.0.0)
155
145
  unicode-display_width (2.5.0)
156
- zeitwerk (2.6.14)
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 (>= 2.8, < 3.0)
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.35, < 2.0)
177
- rubocop-performance (>= 1.14, < 2.0)
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 (>= 2.12, < 3.0)
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
  [![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=14)](https://badge.fury.io/gh/gangelo%2Fdsu)
5
- [![Gem Version](https://badge.fury.io/rb/dsu.svg?refresh=14)](https://badge.fury.io/rb/dsu)
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
- FileUtils.cp_r(dsu_folder, backup_folder)
86
- FileUtils.cp(config_path, backup_folder)
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
- FileUtils.cp_r(File.join(entries_folder_from, '.'), entries_folder_to)
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
 
@@ -8,7 +8,7 @@ module Dsu
8
8
  module Project
9
9
  class ListPresenter < BasePresenterEx
10
10
  def initialize(options: {})
11
- super(options: options)
11
+ super
12
12
  end
13
13
 
14
14
  def projects
data/lib/dsu/version.rb CHANGED
@@ -2,5 +2,5 @@
2
2
 
3
3
  module Dsu
4
4
  VERSION_REGEX = /\A\d+\.\d+\.\d+(\.(alpha|beta|rc)\.\d+)?\z/
5
- VERSION = '3.0.2'
5
+ VERSION = '3.0.4'
6
6
  end
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.2
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-05-21 00:00:00.000000000 Z
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.2.33
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.