dsu 2.2.0.rc.1 → 2.2.0

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: cbc51c0376177977ba4f3c3d06ad2cfe42150c2122eaa826e19ec9074cc52889
4
- data.tar.gz: 7647b24eb4ba59f8bfc78457a68935c9e469a893597de2e3930ba4f80e2173ba
3
+ metadata.gz: 2800dfb924a05024512259b5131cfa198a81d6bbe5cd40447957573eb00bf0d7
4
+ data.tar.gz: c4e65b543e6f2ed28844e00572a3cf402ee5c2e88dba5e743e915e2b5a514cc8
5
5
  SHA512:
6
- metadata.gz: 774f2bbfaf2bb32e6e5653f6c3e917b7b63e19f5d223e9e29cb3cc28d62e076694a58780644de2101b254d672cd8a89fce35ae61183756ca2e72d193ced41d02
7
- data.tar.gz: c4359560a4589bc360239dbc8b53cef1405f444fec5dffcfba7c50be0b95607a48c84aaee7dd7b68f6c7ef5b519b664431399c7db222fa798a165dc5b8a4a35a
6
+ metadata.gz: 9b73f2a35f5791e4576c96cdb207046e784459083ea4815fb97083ff39a458671b4627a853f6423a3c4c87a38bc25df7c8c378622d4c636dfdbca2278ef13691
7
+ data.tar.gz: bd037348418829c9e0c4f1e65754d99a6670ff7b130f41806148a4493d784ca64021673f943858ad812ed527718281ca623ec36e3038e2f508625707a61ea189
data/CHANGELOG.md CHANGED
@@ -1,3 +1,17 @@
1
+ ## [2.2.0] 2023-12-23
2
+
3
+ Stable release.
4
+
5
+ ## [2.2.0.rc.2] 2023-12-23
6
+
7
+ Enhancements
8
+
9
+ - Added "christmas" theme, see `dsu theme list` or `dsu theme show christmas` for more information.
10
+
11
+ Changes
12
+
13
+ - Refactors Dsu::VERSION_REGEX to include rc releases (e.g. 2.2.0.rc.1, 2.2.0.rc.2, etc.).
14
+
1
15
  ## [2.2.0.rc.1] 2023-12-23
2
16
 
3
17
  Enhancements
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- dsu (2.2.0.rc.1)
4
+ dsu (2.2.0)
5
5
  activemodel (>= 7.0.8, < 8.0)
6
6
  activesupport (>= 7.0.8, < 8.0)
7
7
  colorize (>= 0.8.1, < 1.0)
data/README.md CHANGED
@@ -1,5 +1,6 @@
1
1
  # `dsu`- Streamline Your Daily Stand-Up Meeting Participation!
2
2
 
3
+ [![Ruby](https://github.com/gangelo/dsu/actions/workflows/ruby.yml/badge.svg)](https://github.com/gangelo/dsu/actions/workflows/ruby.yml)
3
4
  [![GitHub version](http://badge.fury.io/gh/gangelo%2Fdsu.svg)](https://badge.fury.io/gh/gangelo%2Fdsu)
4
5
  [![Gem Version](https://badge.fury.io/rb/dsu.svg)](https://badge.fury.io/rb/dsu)
5
6
  [![Documentation](http://img.shields.io/badge/docs-rdoc.info-blue.svg)](http://www.rubydoc.info/gems/dsu/)
data/lib/dsu/version.rb CHANGED
@@ -1,6 +1,6 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Dsu
4
- VERSION_REGEX = /\A\d+\.\d+\.\d+(\.alpha\.\d+)?\z/
5
- VERSION = '2.2.0.rc.1'
4
+ VERSION_REGEX = /\A\d+\.\d+\.\d+(\.(alpha|rc)\.\d+)?\z/
5
+ VERSION = '2.2.0'
6
6
  end
data/lib/dsu.rb CHANGED
@@ -35,9 +35,10 @@ unless Dsu.env.test? || Dsu.env.development?
35
35
  end
36
36
  # TODO: Hack. Integrate this into the migration service
37
37
  # so that this runs only if the migration version changes.
38
- theme_file = 'light.json'
39
- destination_theme_file_path = File.join(Dsu::Support::Fileable.themes_folder, theme_file)
40
- unless File.exist?(destination_theme_file_path)
38
+ %w[light.json christmas.json].each do |theme_file|
39
+ destination_theme_file_path = File.join(Dsu::Support::Fileable.themes_folder, theme_file)
40
+ next if File.exist?(destination_theme_file_path)
41
+
41
42
  source_theme_file_path = File.join(Dsu::Support::Fileable.seed_data_folder, 'themes', theme_file)
42
43
  FileUtils.cp(source_theme_file_path, destination_theme_file_path)
43
44
  puts I18n.t('migrations.information.theme_copied', from: source_theme_file_path, to: destination_theme_file_path)
@@ -0,0 +1,79 @@
1
+ {
2
+ "version": 20230613121411,
3
+ "description": "Christmas theme ho ho ho!",
4
+ "help": {
5
+ "color": "red",
6
+ "mode": "default",
7
+ "background": "default"
8
+ },
9
+ "dsu_header": {
10
+ "color": "white",
11
+ "mode": "bold",
12
+ "background": "red"
13
+ },
14
+ "dsu_footer": {
15
+ "color": "red",
16
+ "mode": "default",
17
+ "background": "default"
18
+ },
19
+ "header": {
20
+ "color": "light_green",
21
+ "mode": "bold",
22
+ "background": "red"
23
+ },
24
+ "subheader": {
25
+ "color": "red",
26
+ "mode": "underline",
27
+ "background": "default"
28
+ },
29
+ "body": {
30
+ "color": "red",
31
+ "mode": "italic",
32
+ "background": "default"
33
+ },
34
+ "footer": {
35
+ "color": "red",
36
+ "mode": "italic",
37
+ "background": "default"
38
+ },
39
+ "date": {
40
+ "color": "white",
41
+ "mode": "bold",
42
+ "background": "green"
43
+ },
44
+ "index": {
45
+ "color": "white",
46
+ "mode": "bold",
47
+ "background": "red"
48
+ },
49
+ "info": {
50
+ "color": "white",
51
+ "mode": "bold",
52
+ "background": "light_red"
53
+ },
54
+ "success": {
55
+ "color": "white",
56
+ "mode": "bold",
57
+ "background": "green"
58
+ },
59
+ "warning": {
60
+ "color": "default",
61
+ "mode": "bold",
62
+ "background": "yellow"
63
+ },
64
+ "error": {
65
+ "color": "light_yellow",
66
+ "mode": "default",
67
+ "background": "red"
68
+ },
69
+ "prompt": {
70
+ "color": "white",
71
+ "mode": "bold",
72
+ "background": "green"
73
+ },
74
+ "prompt_options": {
75
+ "color": "red",
76
+ "mode": "bold",
77
+ "background": "default"
78
+ }
79
+ }
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: dsu
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.2.0.rc.1
4
+ version: 2.2.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Gene M. Angelo, Jr.
@@ -250,6 +250,7 @@ files:
250
250
  - lib/locales/en/services.yml
251
251
  - lib/locales/en/subcommands.yml
252
252
  - lib/seed_data/themes/cherry.json
253
+ - lib/seed_data/themes/christmas.json
253
254
  - lib/seed_data/themes/default.json
254
255
  - lib/seed_data/themes/lemon.json
255
256
  - lib/seed_data/themes/light.json
@@ -274,6 +275,7 @@ post_install_message: |
274
275
 
275
276
  Dsu now has a browse command! Try it out by running `dsu browse help`.
276
277
 
278
+ Dsu now has a festive "christmas" theme! Try it out by running `dsu theme use christmas`.
277
279
  Dsu now has a "light" theme for light background terminals! Try it out by running `dsu theme use light`.
278
280
 
279
281
  Dsu now has a delete command! Try it out by running `dsu delete help`.
@@ -302,9 +304,9 @@ required_ruby_version: !ruby/object:Gem::Requirement
302
304
  version: 3.0.1
303
305
  required_rubygems_version: !ruby/object:Gem::Requirement
304
306
  requirements:
305
- - - ">"
307
+ - - ">="
306
308
  - !ruby/object:Gem::Version
307
- version: 1.3.1
309
+ version: '0'
308
310
  requirements: []
309
311
  rubygems_version: 3.2.15
310
312
  signing_key: