dsu 2.2.0.rc.1 → 2.2.0.rc.2

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: cbc51c0376177977ba4f3c3d06ad2cfe42150c2122eaa826e19ec9074cc52889
4
- data.tar.gz: 7647b24eb4ba59f8bfc78457a68935c9e469a893597de2e3930ba4f80e2173ba
3
+ metadata.gz: 0e589216430776d45ed566847068ca31d586dc419193b6e1853bb08d80f305d0
4
+ data.tar.gz: 68017c93b7f01e863b998350dc21a79977fed042cfd981fe03f9134b53b0f265
5
5
  SHA512:
6
- metadata.gz: 774f2bbfaf2bb32e6e5653f6c3e917b7b63e19f5d223e9e29cb3cc28d62e076694a58780644de2101b254d672cd8a89fce35ae61183756ca2e72d193ced41d02
7
- data.tar.gz: c4359560a4589bc360239dbc8b53cef1405f444fec5dffcfba7c50be0b95607a48c84aaee7dd7b68f6c7ef5b519b664431399c7db222fa798a165dc5b8a4a35a
6
+ metadata.gz: da7776f73a62c863bce57ecf5c5f395a5f0b9d1d631a0a89b93dcc6eaff47053f39be2807fae210a35a2fa601a4678314d41889fc8643a4467f039899f3507da
7
+ data.tar.gz: be3bcfd932f28471172ede34f0570d6e5c867ac94dab87a3794c00ec3b2726b5e3952959d7923025daa80c5713b117cfae999113b05a917b419107c6ca2ffb47
data/CHANGELOG.md CHANGED
@@ -1,3 +1,13 @@
1
+ ## [2.2.0.rc.2] 2023-12-23
2
+
3
+ Enhancements
4
+
5
+ - Added "christmas" theme, see `dsu theme list` or `dsu theme show christmas` for more information.
6
+
7
+ Changes
8
+
9
+ - Refactors Dsu::VERSION_REGEX to include rc releases (e.g. 2.2.0.rc.1, 2.2.0.rc.2, etc.).
10
+
1
11
  ## [2.2.0.rc.1] 2023-12-23
2
12
 
3
13
  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.rc.2)
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.rc.2'
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.rc.2
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`.