simplecov-tailwindcss 2.1.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: 88aa786589cd69f2c8de942c1f0d57bd8d9066d6e257b0fcc8b1b6e41a500306
4
- data.tar.gz: 825f56e07ce49d20de9f934f7f566c47aa6003e51d54a472abbf6de86b702007
3
+ metadata.gz: f3111ac271183686b07303ea9cfee45678027d9f6a50b44f08f8f13157d60f65
4
+ data.tar.gz: e707071abdfed823f0f85ff1d7b347ce1f1e45f859f696d7cb3c9b8a21c48bd2
5
5
  SHA512:
6
- metadata.gz: 898411e7a9fbdc305a78d3957339f65cd322ebb5adae290ff03b2b11c50158adb669c214d0cb6489c685a6b6e892f05cb2841355c6aa51c065471da63c2fd01f
7
- data.tar.gz: 836613c9e141c2a5cd791cce70e51ea0c5c99482686a84c8eeda485811f2741d058bf363255e99fa7de62710b5dce0319cd087e75f26b06969ac135981d018b4
6
+ metadata.gz: e9c7abb5b547e41cbdf4af863813856bee49e0375cb06f62ebf3f03f914e093a75ef6df66f7e696127e1bd7f302f712072f534d80724eaca2eb7bb0a22880102
7
+ data.tar.gz: 7b35b5a38f5cfce15c298c630feea3f74ff49edbe95d4c40c63cc77f5f3ce1c7a4a82a15cb056573bf93c4dee4be7eb4ff9266aa67b7e1dd7d68e1d9528ee491
@@ -0,0 +1 @@
1
+ * @chiefpansancolt
@@ -55,7 +55,7 @@ further defined and clarified by project maintainers.
55
55
  ## Enforcement
56
56
 
57
57
  Instances of abusive, harassing, or otherwise unacceptable behavior may be
58
- reported by contacting the project team at github@chiefpansancolt.live. All
58
+ reported by contacting the project team at github@chiefpansancolt.dev. All
59
59
  complaints will be reviewed and investigated and will result in a response that
60
60
  is deemed necessary and appropriate to the circumstances. The project team is
61
61
  obligated to maintain confidentiality with regard to the reporter of an incident.
@@ -7,9 +7,9 @@ and stronger!
7
7
  ## Code of Conduct
8
8
 
9
9
  This project and everyone participating in it is governed by the [Simplecov
10
- Material Code of Conduct](https://github.com/chiefpansancolt/simplecov-tailwindcss/blob/main/.github/CODE_OF_CONDUCT.md).
10
+ Tailwind Code of Conduct](https://github.com/chiefpansancolt/simplecov-tailwindcss/blob/main/.github/CODE_OF_CONDUCT.md).
11
11
  By participating, you are expected to uphold this code. Please report
12
- unacceptable behavior to github@chiefpansancolt.live.
12
+ unacceptable behavior to github@chiefpansancolt.dev.
13
13
 
14
14
  ## How can I Contribute
15
15
 
data/.github/FUNDING.yml CHANGED
@@ -1 +1,3 @@
1
1
  github: chiefpansancolt
2
+ ko_fi: chiefpansancolt
3
+ patreon: chiefpansancolt
@@ -24,7 +24,11 @@ body:
24
24
  label: Version
25
25
  description: What version of our software are you running?
26
26
  options:
27
+ - 2.1.1
28
+ - 2.1.0
27
29
  - 2.0.0
30
+ - 1.0.2
31
+ - 1.0.1
28
32
  - 1.0.0
29
33
  validations:
30
34
  required: true
@@ -0,0 +1,19 @@
1
+ version: 2
2
+ updates:
3
+ # Maintain dependencies for GitHub Actions
4
+ - package-ecosystem: 'github-actions'
5
+ directory: '/'
6
+ schedule:
7
+ interval: 'weekly'
8
+
9
+ # Maintain dependencies for npm
10
+ - package-ecosystem: 'npm'
11
+ directory: '/'
12
+ schedule:
13
+ interval: 'weekly'
14
+
15
+ # Maintain dependencies for Ruby
16
+ - package-ecosystem: 'bundler'
17
+ directory: '/'
18
+ schedule:
19
+ interval: 'weekly'
@@ -1,9 +1,6 @@
1
1
  name: Build
2
2
 
3
3
  on:
4
- push:
5
- branches:
6
- - main
7
4
  pull_request:
8
5
  branches:
9
6
  - main
@@ -19,18 +16,32 @@ jobs:
19
16
 
20
17
  steps:
21
18
  - name: Check out Git repository
22
- uses: actions/checkout@v2
19
+ uses: actions/checkout@v4
23
20
 
24
21
  - name: Set up Node.js
25
- uses: actions/setup-node@v3
22
+ uses: actions/setup-node@v4
23
+ with:
24
+ node-version: 18
25
+
26
+ - uses: pnpm/action-setup@v2
27
+ name: Install pnpm
26
28
  with:
27
- node-version: 16
29
+ version: 8
30
+ run_install: false
28
31
 
29
32
  - name: Install Node.js dependencies
30
- run: yarn install
33
+ run: pnpm install
34
+
35
+ - uses: actions/cache@v3
36
+ name: Setup pnpm cache
37
+ with:
38
+ path: ${{ env.STORE_PATH }}
39
+ key: ${{ runner.os }}-pnpm-store-${{ hashFiles('**/pnpm-lock.yaml') }}
40
+ restore-keys: |
41
+ ${{ runner.os }}-pnpm-store-
31
42
 
32
43
  - name: Compile JS
33
- run: yarn build:js
44
+ run: pnpm build:js
34
45
 
35
46
  - name: Upload Compiled JS
36
47
  uses: actions/upload-artifact@v3
@@ -44,18 +55,32 @@ jobs:
44
55
 
45
56
  steps:
46
57
  - name: Check out Git repository
47
- uses: actions/checkout@v2
58
+ uses: actions/checkout@v4
48
59
 
49
60
  - name: Set up Node.js
50
- uses: actions/setup-node@v3
61
+ uses: actions/setup-node@v4
51
62
  with:
52
- node-version: 16
63
+ node-version: 18
64
+
65
+ - uses: pnpm/action-setup@v2
66
+ name: Install pnpm
67
+ with:
68
+ version: 8
69
+ run_install: false
53
70
 
54
71
  - name: Install Node.js dependencies
55
- run: yarn install
72
+ run: pnpm install
56
73
 
57
- - name: Compile JS
58
- run: yarn build:css
74
+ - uses: actions/cache@v3
75
+ name: Setup pnpm cache
76
+ with:
77
+ path: ${{ env.STORE_PATH }}
78
+ key: ${{ runner.os }}-pnpm-store-${{ hashFiles('**/pnpm-lock.yaml') }}
79
+ restore-keys: |
80
+ ${{ runner.os }}-pnpm-store-
81
+
82
+ - name: Compile CSS
83
+ run: pnpm build:css
59
84
 
60
85
  - name: Upload Compiled CSS
61
86
  uses: actions/upload-artifact@v3
@@ -66,23 +91,30 @@ jobs:
66
91
  run-gem-build:
67
92
  name: Run Gem Build
68
93
  runs-on: ubuntu-latest
94
+ needs: [run-css-build, run-js-build]
69
95
 
70
96
  steps:
71
97
  - name: Check out Git repository
72
- uses: actions/checkout@v2
98
+ uses: actions/checkout@v4
73
99
 
74
100
  - name: Set up Ruby
75
101
  uses: ruby/setup-ruby@v1
76
102
  with:
77
103
  ruby-version: .ruby-version
78
104
 
105
+ - uses: pnpm/action-setup@v2
106
+ name: Install pnpm
107
+ with:
108
+ version: 8
109
+ run_install: false
110
+
79
111
  - name: Install Ruby Gem dependencies
80
112
  run: |
81
- gem install bundler -v 2.3.11
113
+ gem install bundler -v 2.4.22
82
114
  bundle install --jobs 4 --retry 3
83
115
 
84
116
  - name: Build Gem
85
- run: yarn gem:build
117
+ run: pnpm gem:build
86
118
 
87
119
  - name: Upload Compiled Gem
88
120
  uses: actions/upload-artifact@v3
@@ -6,7 +6,7 @@ jobs:
6
6
  release:
7
7
  runs-on: ubuntu-latest
8
8
  steps:
9
- - uses: actions/checkout@v2
9
+ - uses: actions/checkout@v4
10
10
  with:
11
11
  fetch-depth: 0
12
12
  - name: Build and publish gem
@@ -1,9 +1,6 @@
1
1
  name: Lint
2
2
 
3
3
  on:
4
- push:
5
- branches:
6
- - main
7
4
  pull_request:
8
5
  branches:
9
6
  - main
@@ -19,15 +16,29 @@ jobs:
19
16
 
20
17
  steps:
21
18
  - name: Check out Git repository
22
- uses: actions/checkout@v2
19
+ uses: actions/checkout@v4
23
20
 
24
21
  - name: Set up Node.js
25
- uses: actions/setup-node@v3
22
+ uses: actions/setup-node@v4
23
+ with:
24
+ node-version: 18
25
+
26
+ - uses: pnpm/action-setup@v2
27
+ name: Install pnpm
26
28
  with:
27
- node-version: 16
29
+ version: 8
30
+ run_install: false
28
31
 
29
32
  - name: Install Node.js dependencies
30
- run: yarn install
33
+ run: pnpm install
34
+
35
+ - uses: actions/cache@v3
36
+ name: Setup pnpm cache
37
+ with:
38
+ path: ${{ env.STORE_PATH }}
39
+ key: ${{ runner.os }}-pnpm-store-${{ hashFiles('**/pnpm-lock.yaml') }}
40
+ restore-keys: |
41
+ ${{ runner.os }}-pnpm-store-
31
42
 
32
43
  - name: Set up Ruby
33
44
  uses: ruby/setup-ruby@v1
@@ -36,7 +47,7 @@ jobs:
36
47
 
37
48
  - name: Install Ruby Gem dependencies
38
49
  run: |
39
- gem install bundler -v 2.4.8
50
+ gem install bundler -v 2.4.22
40
51
  bundle install --jobs 4 --retry 3
41
52
 
42
53
  - name: Run linters
@@ -8,7 +8,7 @@ jobs:
8
8
  env:
9
9
  GEM_HOST_API_KEY: ${{ secrets.RUBYGEMAPIKEY }}
10
10
  steps:
11
- - uses: actions/checkout@v2
11
+ - uses: actions/checkout@v4
12
12
  with:
13
13
  fetch-depth: 0
14
14
  - uses: ruby/setup-ruby@v1
@@ -1,18 +1,22 @@
1
1
  name: Tests
2
2
 
3
- on: [pull_request]
3
+ on:
4
+ pull_request:
5
+ branches:
6
+ - main
4
7
 
5
8
  jobs:
6
- ruby-test:
9
+ ruby-test-old:
7
10
  runs-on: ubuntu-latest
8
11
 
9
12
  strategy:
10
13
  matrix:
11
- ruby: [3.2.1, 3.1.2, 3.0.4, 2.7.6, 2.6.10, 2.5.9, head]
14
+ ruby: [2.5.9]
12
15
 
13
16
  steps:
14
17
  - name: Checkout Code
15
- uses: actions/checkout@v1
18
+ uses: actions/checkout@v3
19
+
16
20
  - name: Set up Ruby
17
21
  uses: ruby/setup-ruby@v1
18
22
  with:
@@ -23,6 +27,75 @@ jobs:
23
27
  gem install bundler -v 2.3.26
24
28
  bundle install --jobs 4 --retry 3
25
29
  bundle exec rake test
30
+
31
+ ruby-test-other:
32
+ runs-on: ubuntu-latest
33
+
34
+ strategy:
35
+ matrix:
36
+ ruby: [3.1.4, 3.0.6, 2.7.8, 2.6.10]
37
+
38
+ steps:
39
+ - name: Checkout Code
40
+ uses: actions/checkout@v4
41
+
42
+ - name: Set up Ruby
43
+ uses: ruby/setup-ruby@v1
44
+ with:
45
+ ruby-version: ${{ matrix.ruby }}
46
+
47
+ - name: Build and Test
48
+ run: |
49
+ gem install bundler -v 2.4.22
50
+ bundle install --jobs 4 --retry 3
51
+ bundle exec rake test
52
+
53
+ ruby-test-head:
54
+ runs-on: ubuntu-latest
55
+ needs: [ruby-test-old, ruby-test-other, ruby-test-latest]
56
+
57
+ strategy:
58
+ matrix:
59
+ ruby: [head]
60
+
61
+ steps:
62
+ - name: Checkout Code
63
+ uses: actions/checkout@v4
64
+
65
+ - name: Set up Ruby
66
+ uses: ruby/setup-ruby@v1
67
+ with:
68
+ ruby-version: ${{ matrix.ruby }}
69
+
70
+ - name: Build and Test
71
+ run: |
72
+ gem install bundler -v 2.4.22
73
+ bundle install --jobs 4 --retry 3
74
+ bundle exec rake test
75
+
76
+ ruby-test-latest:
77
+ runs-on: ubuntu-latest
78
+ needs: [ruby-test-other, ruby-test-old]
79
+
80
+ strategy:
81
+ matrix:
82
+ ruby: [3.2.2]
83
+
84
+ steps:
85
+ - name: Checkout Code
86
+ uses: actions/checkout@v4
87
+
88
+ - name: Set up Ruby
89
+ uses: ruby/setup-ruby@v1
90
+ with:
91
+ ruby-version: ${{ matrix.ruby }}
92
+
93
+ - name: Build and Test
94
+ run: |
95
+ gem install bundler -v 2.4.22
96
+ bundle install --jobs 4 --retry 3
97
+ bundle exec rake test
98
+
26
99
  - name: Upload coverage results
27
100
  uses: actions/upload-artifact@v3
28
101
  with:
data/.gitmodules ADDED
@@ -0,0 +1,4 @@
1
+ [submodule "documentation"]
2
+ path = documentation
3
+ url = https://github.com/chiefpansancolt/simplecov-tailwind.chiefpansancolt.dev
4
+ branch = main
data/.prettierignore CHANGED
@@ -10,4 +10,7 @@ public/
10
10
  Gemfile.lock
11
11
  yarn.lock
12
12
  bin/
13
- views/
13
+ views/
14
+ .vscode/
15
+ documentation/
16
+ pnpm-lock.yaml
@@ -1,5 +1,6 @@
1
1
  {
2
2
  "yaml.schemas": {
3
- "https://json.schemastore.org/github-issue-config.json": "file:///Users/chiefpansancolt/Documents/GitHub/ruby-gems/simplecov-tailwindcss/.github/ISSUE_TEMPLATE/config.yml"
3
+ "https://json.schemastore.org/github-issue-config.json": "file:///Users/chiefpansancolt/Documents/GitHub/ruby-gems/simplecov-tailwindcss/.github/ISSUE_TEMPLATE/config.yml",
4
+ "https://json.schemastore.org/dependabot-2.0.json": "file:///Users/chiefpansancolt/Documents/GitHub/ruby-gems/simplecov-tailwindcss/.github/dependabot.yml"
4
5
  }
5
6
  }
data/CHANGELOG.md CHANGED
@@ -1,5 +1,35 @@
1
1
  # Changelog
2
2
 
3
+ ## Version [2.2.0](https://github.com/chiefpansancolt/simplecov-tailwindcss/releases/tag/2.2.0)
4
+
5
+ Thank you to our contributors this release for fixes and new features!
6
+
7
+ ### Features
8
+
9
+ - Add red badges for uncovered branches ([#59](https://github.com/chiefpansancolt/simplecov-tailwindcss/pull/59)) -> [@fidalgo](https://github.com/fidalgo)
10
+
11
+ ### Bug Fixes
12
+
13
+ - Left hand sidebar cut off and unscrollable ([#57](https://github.com/chiefpansancolt/simplecov-tailwindcss/issues/57))
14
+ - add padding in groups to be able to see the last item ([#58](https://github.com/chiefpansancolt/simplecov-tailwindcss/pull/58)) -> [@igas](https://github.com/igas)
15
+
16
+ ### Updates
17
+
18
+ - Dependency version bumps to stay up to date.
19
+
20
+ ## Version [2.1.2](https://github.com/chiefpansancolt/simplecov-tailwindcss/releases/tag/2.1.2)
21
+
22
+ ### Updates
23
+
24
+ - Dependency version bumps to stay up to date.
25
+ - Updates to emails and websites ref in gemspec
26
+
27
+ ## Version [2.1.1](https://github.com/chiefpansancolt/simplecov-tailwindcss/releases/tag/2.1.1)
28
+
29
+ ### Updates
30
+
31
+ - Dependency version bumps to stay up to date.
32
+
3
33
  ## Version [2.1.0](https://github.com/chiefpansancolt/simplecov-tailwindcss/releases/tag/2.1.0)
4
34
 
5
35
  ### Features
data/LICENSE CHANGED
@@ -1,6 +1,6 @@
1
1
  MIT License
2
2
 
3
- Copyright (c) 2019 Christopher Pezza
3
+ Copyright (c) 2023 Christopher Pezza (Chiefpansancolt)
4
4
 
5
5
  Permission is hereby granted, free of charge, to any person obtaining a copy
6
6
  of this software and associated documentation files (the "Software"), to deal
data/README.md CHANGED
@@ -4,6 +4,7 @@
4
4
  [![GitHub Workflow Tests Status](https://img.shields.io/github/actions/workflow/status/chiefpansancolt/simplecov-tailwindcss/tests.yml?label=Tests&logo=github&style=flat-square)](https://github.com/chiefpansancolt/simplecov-tailwindcss/actions/workflows/tests.yml)
5
5
  [![GitHub Workflow Builds Status](https://img.shields.io/github/actions/workflow/status/chiefpansancolt/simplecov-tailwindcss/builds.yml?label=Build&logo=github&style=flat-square)](https://github.com/chiefpansancolt/simplecov-tailwindcss/actions/workflows/builds.yml)
6
6
  [![GitHub Workflow Lints Status](https://img.shields.io/github/actions/workflow/status/chiefpansancolt/simplecov-tailwindcss/lints.yml?label=Lints&logo=github&style=flat-square)](https://github.com/chiefpansancolt/simplecov-tailwindcss/actions/workflows/lints.yml)
7
+ [![CodeQL](https://github.com/chiefpansancolt/simplecov-tailwindcss/actions/workflows/github-code-scanning/codeql/badge.svg)](https://github.com/chiefpansancolt/simplecov-tailwindcss/actions/workflows/github-code-scanning/codeql)
7
8
  [![GitHub tag (latest by date)](https://img.shields.io/github/v/tag/chiefpansancolt/simplecov-tailwindcss?label=Release&logo=github&style=flat-square)](https://github.com/chiefpansancolt/simplecov-tailwindcss/releases)
8
9
  [![Gem](https://img.shields.io/gem/v/simplecov-tailwindcss?color=orange&label=Gem%20Version&logo=rubygems&style=flat-square)](https://rubygems.org/gems/simplecov-tailwindcss)
9
10
  [![Discord](https://img.shields.io/discord/450095227185659905?label=Discord&logo=discord&style=flat-square)](https://discord.gg/pBxGpfrmD4)
@@ -12,63 +13,9 @@
12
13
 
13
14
  Generates a HTML Tailwind Design report generated from Simplecov using ruby 2.5 or greater.
14
15
 
15
- ## Installing
16
+ ## Installation and Usage
16
17
 
17
- Add the below to your Gemfile to make Simplecov Material available as a formatter for your application.
18
-
19
- ### Ruby Gems Host
20
-
21
- ```ruby
22
- # ./Gemfile
23
-
24
- group :test do
25
- gem 'simplecov', require: false
26
- gem 'simplecov-tailwindcss', require: false
27
- end
28
- ```
29
-
30
- ### Github Rubygems Host
31
-
32
- ```ruby
33
- # ./Gemfile
34
-
35
- group :test do
36
- gem "simplecov", require: false
37
- end
38
-
39
- source "https://rubygems.pkg.github.com/chiefpansancolt"
40
- group :test do
41
- gem "simplecov-tailwindcss", require: false
42
- end
43
- end
44
- ```
45
-
46
- ## Usage
47
-
48
- To use Simplecov Tailwind you will need to ensure your Formatter is set to use Simplecov Tailwind.
49
-
50
- In your helper ensure your line about formatter usage is one of the following.
51
-
52
- Ensure to add the require tag at the top of your helper class where Simplecov is configured
53
-
54
- ```ruby
55
- require 'simplecov-tailwindcss'
56
- ```
57
-
58
- **Single Formatter Usage:**
59
-
60
- ```ruby
61
- SimpleCov.formatter = SimpleCov::Formatter::TailwindFormatter
62
- ```
63
-
64
- **Multi Formatter Usage:**
65
-
66
- ```ruby
67
- SimpleCov.formatters =
68
- SimpleCov::Formatter::MultiFormatter.new(
69
- [SimpleCov::Formatter::HTMLFormatter, SimpleCov::Formatter::TailwindFormatter],
70
- )
71
- ```
18
+ Checkout the [Documentation](https://simplecov-tailwind.chiefpansancolt.dev) for full details.
72
19
 
73
20
  ## Change Log
74
21
 
@@ -87,15 +34,15 @@ To see more about Contributing check out this [document](https://github.com/chie
87
34
 
88
35
  ## Development
89
36
 
90
- After checking out the repo, run `bin/setup` to install dependencies. Then, run `yarn test` to run the tests. You can also run `bin/console` for an interactive prompt that will allow you to experiment.
37
+ After checking out the repo, run `bin/setup` to install dependencies. Then, run `pnpm test` to run the tests. You can also run `bin/console` for an interactive prompt that will allow you to experiment.
91
38
 
92
- When working with CSS or JS ensure to run `yarn build` to compile tailwind and JS to the public folder. This will ensure you have the latest CSS and JS used when testing locally.
39
+ When working with CSS or JS ensure to run `pnpm build` to compile tailwind and JS to the public folder. This will ensure you have the latest CSS and JS used when testing locally.
93
40
 
94
41
  _**NOTE: Do not commit any changes made in public folder from compiling as this will be performed by the owner before building of a release.**_
95
42
 
96
- To test locally run `yarn test` and a webpage will open after tests are complete and you will be able to see the page.
43
+ To test locally run `pnpm test` and a webpage will open after tests are complete and you will be able to see the page.
97
44
 
98
- To install this gem onto your local machine, run `yarn gem:build`. Gems will be built/release by Owner.
45
+ To install this gem onto your local machine, run `pnpm gem:build`. Gems will be built/release by Owner.
99
46
 
100
47
  ## License
101
48
 
data/bin/lint ADDED
@@ -0,0 +1,38 @@
1
+ #!/usr/bin/env bash
2
+
3
+ echo "== Starting Linting =="
4
+
5
+ echo ""
6
+ echo "== Linting Rubocop =="
7
+ pnpm lint:ruby
8
+
9
+ echo ""
10
+ echo "== Linting ERB =="
11
+ pnpm lint:erb
12
+
13
+ echo ""
14
+ echo "== Linting Markdown =="
15
+ pnpm lint:markdown
16
+
17
+ echo ""
18
+ echo "== Linting Javascript =="
19
+ pnpm lint:javascript
20
+
21
+ echo ""
22
+ echo "== Formatting with Prettier =="
23
+ if ! pnpm format; then
24
+ echo ""
25
+ echo "== Files found needing formatting =="
26
+ echo "== Initialting Fixes =="
27
+ pnpm format:fix
28
+ fi
29
+
30
+ echo ""
31
+ echo "== Linting Complete for Simplecov Tailwind =="
32
+
33
+ echo ""
34
+ echo "== Starting Lint for Documentation =="
35
+
36
+ echo ""
37
+ cd documentation
38
+ pnpm lint
data/bin/setup CHANGED
@@ -1,7 +1,24 @@
1
1
  #!/usr/bin/env bash
2
- set -euo pipefail
3
- IFS=$'\n\t'
4
- set -vx
5
2
 
3
+ command -v ruby >/dev/null 2>&1 || { echo >&2 "ruby is not installed. Aborting."; exit 1; }
4
+ command -v node >/dev/null 2>&1 || { echo >&2 "node is not installed. Aborting."; exit 1; }
5
+ command -v pnpm >/dev/null 2>&1 || { echo >&2 "pnpm is not installed. Aborting."; exit 1; }
6
+
7
+ echo "== Getting Setup =="
8
+
9
+ echo ""
10
+ echo "== Running pnpm Install =="
11
+ pnpm install
12
+
13
+ echo ""
14
+ echo "== Running Bundle Install =="
6
15
  bundle install
7
- yarn install
16
+
17
+ echo ""
18
+ echo "== Running Documentation Install =="
19
+ cd documentation
20
+ pnpm install
21
+
22
+ echo ""
23
+ echo "== Setup Finished =="
24
+ echo "Enjoy Coding and thank you for your contribution!"
data/bin/upgrade ADDED
@@ -0,0 +1,19 @@
1
+ #!/usr/bin/env bash
2
+
3
+ echo "== Upgrade Starting =="
4
+
5
+ echo ""
6
+ echo "== Running pnpm Upgrade =="
7
+ pnpm upgrade --latest
8
+
9
+ echo ""
10
+ echo "== Running Bundle Upgrade =="
11
+ bundle update
12
+
13
+ echo ""
14
+ echo "== Running Documentation Upgrade =="
15
+ cd docs
16
+ pnpm upgrade --latest
17
+
18
+ echo ""
19
+ echo "== Upgrade Finished =="
data/dist/app.js CHANGED
@@ -1,9 +1,9 @@
1
1
  import { Application } from '@hotwired/stimulus'
2
- import SearchController from './scripts/controllers/search_controller'
3
- import NavigationController from './scripts/controllers/navigation_controller'
2
+
4
3
  import DarkthemeController from './scripts/controllers/darktheme_controller'
4
+ import NavigationController from './scripts/controllers/navigation_controller'
5
+ import SearchController from './scripts/controllers/search_controller'
5
6
  import SlideoverController from './scripts/controllers/slideover_controller'
6
-
7
7
  import './scripts/timeago.js'
8
8
 
9
9
  window.Stimulus = Application.start()
@@ -3,7 +3,7 @@
3
3
  module SimpleCov
4
4
  module Formatter
5
5
  class TailwindFormatter
6
- VERSION = "2.1.1"
6
+ VERSION = "2.2.0"
7
7
  end
8
8
  end
9
9
  end
@@ -100,19 +100,18 @@ module SimpleCov
100
100
  template("file_detail").result(binding)
101
101
  end
102
102
 
103
- # rubocop:disable Lint/SelfAssignment, Style/RedundantRegexpEscape
103
+ # rubocop:disable Lint/SelfAssignment
104
104
  def generate_group_page(title, files, created_date)
105
- title_id = title.gsub(/^[^a-zA-Z]+/, "").gsub(/[^a-zA-Z0-9\-\_]/, "")
105
+ title_id = title.gsub(/^[^a-zA-Z]+/, "").gsub(/[^a-zA-Z0-9\-_]/, "")
106
106
  title_id = title_id
107
107
  template("group_page").result(binding)
108
108
  end
109
109
 
110
110
  def remove_spaces(name)
111
- name.gsub(/^[^a-zA-Z]+/, "").gsub(/[^a-zA-Z0-9\-\_]/, "")
111
+ name.gsub(/^[^a-zA-Z]+/, "").gsub(/[^a-zA-Z0-9\-_]/, "")
112
112
  end
113
113
 
114
- # rubocop:enable Lint/SelfAssignment, Style/RedundantRegexpEscape
115
-
114
+ # rubocop:enable Lint/SelfAssignment
116
115
  def format_number(number)
117
116
  whole, decimal = number.to_s.split(".")
118
117
  whole_with_commas =