simplecov-tailwindcss 2.2.0 → 2.3.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 +4 -4
- data/.github/workflows/builds.yml +16 -16
- data/.github/workflows/github_publish.yml +1 -1
- data/.github/workflows/lints.yml +7 -7
- data/.github/workflows/rubygem_publish.yml +1 -1
- data/.github/workflows/tests.yml +9 -9
- data/CHANGELOG.md +8 -0
- data/dist/app.css +24 -3
- data/lib/simplecov-tailwindcss/version.rb +1 -1
- data/package.json +14 -14
- data/pnpm-lock.yaml +2463 -1990
- data/public/application.css +2 -1
- data/views/file_detail.erb +1 -1
- data/views/group_page.erb +5 -5
- data/views/main.erb +10 -10
- data/views/stat_card.erb +1 -1
- metadata +5 -6
- data/tailwind.config.js +0 -8
    
        checksums.yaml
    CHANGED
    
    | @@ -1,7 +1,7 @@ | |
| 1 1 | 
             
            ---
         | 
| 2 2 | 
             
            SHA256:
         | 
| 3 | 
            -
              metadata.gz:  | 
| 4 | 
            -
              data.tar.gz:  | 
| 3 | 
            +
              metadata.gz: b0ce8ae083e8c09ea9ae9a621dfc45802e7ef91ee5f492e7e5038dbe85e48518
         | 
| 4 | 
            +
              data.tar.gz: 912e16d6fd351c594f06cd1663472dde60213f2c4402a5debb9ae97f880845db
         | 
| 5 5 | 
             
            SHA512:
         | 
| 6 | 
            -
              metadata.gz:  | 
| 7 | 
            -
              data.tar.gz:  | 
| 6 | 
            +
              metadata.gz: 683613565ddbbf5fa5ba7a515a270efe44abac9ae1c066e36f299fa0b2116ae1ea7f1b3359488846f251d389ca7b413085c5c29f267a45cb96cbab7fcef201b8
         | 
| 7 | 
            +
              data.tar.gz: 23e3688ddf17134c89adbe2d64f9d8e811d7d06d82d3098705e75b3b6e9bb424c2a60cd5637e478b43e1830ee753ad4a9bf6c31814e77b4b486169929de77975
         | 
| @@ -16,23 +16,23 @@ jobs: | |
| 16 16 |  | 
| 17 17 | 
             
                steps:
         | 
| 18 18 | 
             
                  - name: Check out Git repository
         | 
| 19 | 
            -
                    uses: actions/checkout@ | 
| 19 | 
            +
                    uses: actions/checkout@v5
         | 
| 20 20 |  | 
| 21 21 | 
             
                  - name: Set up Node.js
         | 
| 22 | 
            -
                    uses: actions/setup-node@ | 
| 22 | 
            +
                    uses: actions/setup-node@v6
         | 
| 23 23 | 
             
                    with:
         | 
| 24 | 
            -
                      node-version:  | 
| 24 | 
            +
                      node-version: 23
         | 
| 25 25 |  | 
| 26 | 
            -
                  - uses: pnpm/action-setup@ | 
| 26 | 
            +
                  - uses: pnpm/action-setup@v4
         | 
| 27 27 | 
             
                    name: Install pnpm
         | 
| 28 28 | 
             
                    with:
         | 
| 29 | 
            -
                      version:  | 
| 29 | 
            +
                      version: 10
         | 
| 30 30 | 
             
                      run_install: false
         | 
| 31 31 |  | 
| 32 32 | 
             
                  - name: Install Node.js dependencies
         | 
| 33 33 | 
             
                    run: pnpm install
         | 
| 34 34 |  | 
| 35 | 
            -
                  - uses: actions/cache@ | 
| 35 | 
            +
                  - uses: actions/cache@v4
         | 
| 36 36 | 
             
                    name: Setup pnpm cache
         | 
| 37 37 | 
             
                    with:
         | 
| 38 38 | 
             
                      path: ${{ env.STORE_PATH }}
         | 
| @@ -55,23 +55,23 @@ jobs: | |
| 55 55 |  | 
| 56 56 | 
             
                steps:
         | 
| 57 57 | 
             
                  - name: Check out Git repository
         | 
| 58 | 
            -
                    uses: actions/checkout@ | 
| 58 | 
            +
                    uses: actions/checkout@v5
         | 
| 59 59 |  | 
| 60 60 | 
             
                  - name: Set up Node.js
         | 
| 61 | 
            -
                    uses: actions/setup-node@ | 
| 61 | 
            +
                    uses: actions/setup-node@v6
         | 
| 62 62 | 
             
                    with:
         | 
| 63 | 
            -
                      node-version:  | 
| 63 | 
            +
                      node-version: 23
         | 
| 64 64 |  | 
| 65 | 
            -
                  - uses: pnpm/action-setup@ | 
| 65 | 
            +
                  - uses: pnpm/action-setup@v4
         | 
| 66 66 | 
             
                    name: Install pnpm
         | 
| 67 67 | 
             
                    with:
         | 
| 68 | 
            -
                      version:  | 
| 68 | 
            +
                      version: 10
         | 
| 69 69 | 
             
                      run_install: false
         | 
| 70 70 |  | 
| 71 71 | 
             
                  - name: Install Node.js dependencies
         | 
| 72 72 | 
             
                    run: pnpm install
         | 
| 73 73 |  | 
| 74 | 
            -
                  - uses: actions/cache@ | 
| 74 | 
            +
                  - uses: actions/cache@v4
         | 
| 75 75 | 
             
                    name: Setup pnpm cache
         | 
| 76 76 | 
             
                    with:
         | 
| 77 77 | 
             
                      path: ${{ env.STORE_PATH }}
         | 
| @@ -95,17 +95,17 @@ jobs: | |
| 95 95 |  | 
| 96 96 | 
             
                steps:
         | 
| 97 97 | 
             
                  - name: Check out Git repository
         | 
| 98 | 
            -
                    uses: actions/checkout@ | 
| 98 | 
            +
                    uses: actions/checkout@v5
         | 
| 99 99 |  | 
| 100 100 | 
             
                  - name: Set up Ruby
         | 
| 101 101 | 
             
                    uses: ruby/setup-ruby@v1
         | 
| 102 102 | 
             
                    with:
         | 
| 103 103 | 
             
                      ruby-version: .ruby-version
         | 
| 104 104 |  | 
| 105 | 
            -
                  - uses: pnpm/action-setup@ | 
| 105 | 
            +
                  - uses: pnpm/action-setup@v4
         | 
| 106 106 | 
             
                    name: Install pnpm
         | 
| 107 107 | 
             
                    with:
         | 
| 108 | 
            -
                      version:  | 
| 108 | 
            +
                      version: 10
         | 
| 109 109 | 
             
                      run_install: false
         | 
| 110 110 |  | 
| 111 111 | 
             
                  - name: Install Ruby Gem dependencies
         | 
| @@ -117,7 +117,7 @@ jobs: | |
| 117 117 | 
             
                    run: pnpm gem:build
         | 
| 118 118 |  | 
| 119 119 | 
             
                  - name: Upload Compiled Gem
         | 
| 120 | 
            -
                    uses: actions/upload-artifact@ | 
| 120 | 
            +
                    uses: actions/upload-artifact@v5
         | 
| 121 121 | 
             
                    with:
         | 
| 122 122 | 
             
                      name: simplecov-tailwindcss.gem
         | 
| 123 123 | 
             
                      path: ./*.gem
         | 
    
        data/.github/workflows/lints.yml
    CHANGED
    
    | @@ -16,23 +16,23 @@ jobs: | |
| 16 16 |  | 
| 17 17 | 
             
                steps:
         | 
| 18 18 | 
             
                  - name: Check out Git repository
         | 
| 19 | 
            -
                    uses: actions/checkout@ | 
| 19 | 
            +
                    uses: actions/checkout@v5
         | 
| 20 20 |  | 
| 21 21 | 
             
                  - name: Set up Node.js
         | 
| 22 | 
            -
                    uses: actions/setup-node@ | 
| 22 | 
            +
                    uses: actions/setup-node@v6
         | 
| 23 23 | 
             
                    with:
         | 
| 24 | 
            -
                      node-version:  | 
| 24 | 
            +
                      node-version: 23
         | 
| 25 25 |  | 
| 26 | 
            -
                  - uses: pnpm/action-setup@ | 
| 26 | 
            +
                  - uses: pnpm/action-setup@v4
         | 
| 27 27 | 
             
                    name: Install pnpm
         | 
| 28 28 | 
             
                    with:
         | 
| 29 | 
            -
                      version:  | 
| 29 | 
            +
                      version: 10
         | 
| 30 30 | 
             
                      run_install: false
         | 
| 31 31 |  | 
| 32 32 | 
             
                  - name: Install Node.js dependencies
         | 
| 33 33 | 
             
                    run: pnpm install
         | 
| 34 34 |  | 
| 35 | 
            -
                  - uses: actions/cache@ | 
| 35 | 
            +
                  - uses: actions/cache@v4
         | 
| 36 36 | 
             
                    name: Setup pnpm cache
         | 
| 37 37 | 
             
                    with:
         | 
| 38 38 | 
             
                      path: ${{ env.STORE_PATH }}
         | 
| @@ -47,7 +47,7 @@ jobs: | |
| 47 47 |  | 
| 48 48 | 
             
                  - name: Install Ruby Gem dependencies
         | 
| 49 49 | 
             
                    run: |
         | 
| 50 | 
            -
                      gem install bundler -v 2. | 
| 50 | 
            +
                      gem install bundler -v 2.6.9
         | 
| 51 51 | 
             
                      bundle install --jobs 4 --retry 3
         | 
| 52 52 |  | 
| 53 53 | 
             
                  - name: Run linters
         | 
    
        data/.github/workflows/tests.yml
    CHANGED
    
    | @@ -15,7 +15,7 @@ jobs: | |
| 15 15 |  | 
| 16 16 | 
             
                steps:
         | 
| 17 17 | 
             
                  - name: Checkout Code
         | 
| 18 | 
            -
                    uses: actions/checkout@ | 
| 18 | 
            +
                    uses: actions/checkout@v5
         | 
| 19 19 |  | 
| 20 20 | 
             
                  - name: Set up Ruby
         | 
| 21 21 | 
             
                    uses: ruby/setup-ruby@v1
         | 
| @@ -27,17 +27,17 @@ jobs: | |
| 27 27 | 
             
                      gem install bundler -v 2.3.26
         | 
| 28 28 | 
             
                      bundle install --jobs 4 --retry 3
         | 
| 29 29 | 
             
                      bundle exec rake test
         | 
| 30 | 
            -
             | 
| 30 | 
            +
              
         | 
| 31 31 | 
             
              ruby-test-other:
         | 
| 32 32 | 
             
                runs-on: ubuntu-latest
         | 
| 33 33 |  | 
| 34 34 | 
             
                strategy:
         | 
| 35 35 | 
             
                  matrix:
         | 
| 36 | 
            -
                    ruby: [3.1. | 
| 36 | 
            +
                    ruby: [3.2.7, 3.3.10, 3.1.7, 3.0.7, 2.7.8, 2.6.10]
         | 
| 37 37 |  | 
| 38 38 | 
             
                steps:
         | 
| 39 39 | 
             
                  - name: Checkout Code
         | 
| 40 | 
            -
                    uses: actions/checkout@ | 
| 40 | 
            +
                    uses: actions/checkout@v5
         | 
| 41 41 |  | 
| 42 42 | 
             
                  - name: Set up Ruby
         | 
| 43 43 | 
             
                    uses: ruby/setup-ruby@v1
         | 
| @@ -46,7 +46,7 @@ jobs: | |
| 46 46 |  | 
| 47 47 | 
             
                  - name: Build and Test
         | 
| 48 48 | 
             
                    run: |
         | 
| 49 | 
            -
                      gem install bundler -v 2. | 
| 49 | 
            +
                      gem install bundler -v 2.7.2
         | 
| 50 50 | 
             
                      bundle install --jobs 4 --retry 3
         | 
| 51 51 | 
             
                      bundle exec rake test
         | 
| 52 52 |  | 
| @@ -60,7 +60,7 @@ jobs: | |
| 60 60 |  | 
| 61 61 | 
             
                steps:
         | 
| 62 62 | 
             
                  - name: Checkout Code
         | 
| 63 | 
            -
                    uses: actions/checkout@ | 
| 63 | 
            +
                    uses: actions/checkout@v5
         | 
| 64 64 |  | 
| 65 65 | 
             
                  - name: Set up Ruby
         | 
| 66 66 | 
             
                    uses: ruby/setup-ruby@v1
         | 
| @@ -79,7 +79,7 @@ jobs: | |
| 79 79 |  | 
| 80 80 | 
             
                strategy:
         | 
| 81 81 | 
             
                  matrix:
         | 
| 82 | 
            -
                    ruby: [3. | 
| 82 | 
            +
                    ruby: [3.4.5]
         | 
| 83 83 |  | 
| 84 84 | 
             
                steps:
         | 
| 85 85 | 
             
                  - name: Checkout Code
         | 
| @@ -92,12 +92,12 @@ jobs: | |
| 92 92 |  | 
| 93 93 | 
             
                  - name: Build and Test
         | 
| 94 94 | 
             
                    run: |
         | 
| 95 | 
            -
                      gem install bundler -v 2. | 
| 95 | 
            +
                      gem install bundler -v 2.7.2
         | 
| 96 96 | 
             
                      bundle install --jobs 4 --retry 3
         | 
| 97 97 | 
             
                      bundle exec rake test
         | 
| 98 98 |  | 
| 99 99 | 
             
                  - name: Upload coverage results
         | 
| 100 | 
            -
                    uses: actions/upload-artifact@ | 
| 100 | 
            +
                    uses: actions/upload-artifact@v5
         | 
| 101 101 | 
             
                    with:
         | 
| 102 102 | 
             
                      name: coverage-report
         | 
| 103 103 | 
             
                      path: coverage
         | 
    
        data/CHANGELOG.md
    CHANGED
    
    | @@ -1,5 +1,13 @@ | |
| 1 1 | 
             
            # Changelog
         | 
| 2 2 |  | 
| 3 | 
            +
            ## Version [2.3.0](https://github.com/chiefpansancolt/simplecov-tailwindcss/releases/tag/2.3.0)
         | 
| 4 | 
            +
             | 
| 5 | 
            +
            ### Chores
         | 
| 6 | 
            +
             | 
| 7 | 
            +
            - Bump Dependencies
         | 
| 8 | 
            +
            - Update Repo files
         | 
| 9 | 
            +
            - Migrate to Tailwind v4
         | 
| 10 | 
            +
             | 
| 3 11 | 
             
            ## Version [2.2.0](https://github.com/chiefpansancolt/simplecov-tailwindcss/releases/tag/2.2.0)
         | 
| 4 12 |  | 
| 5 13 | 
             
            Thank you to our contributors this release for fixes and new features!
         | 
    
        data/dist/app.css
    CHANGED
    
    | @@ -1,3 +1,24 @@ | |
| 1 | 
            -
            @import 'tailwindcss | 
| 2 | 
            -
             | 
| 3 | 
            -
            @ | 
| 1 | 
            +
            @import 'tailwindcss';
         | 
| 2 | 
            +
             | 
| 3 | 
            +
            @plugin '@tailwindcss/forms';
         | 
| 4 | 
            +
            @plugin '@tailwindcss/typography';
         | 
| 5 | 
            +
             | 
| 6 | 
            +
            @custom-variant dark (&:is(.dark *));
         | 
| 7 | 
            +
             | 
| 8 | 
            +
            /*
         | 
| 9 | 
            +
              The default border color has changed to `currentcolor` in Tailwind CSS v4,
         | 
| 10 | 
            +
              so we've added these compatibility styles to make sure everything still
         | 
| 11 | 
            +
              looks the same as it did with Tailwind CSS v3.
         | 
| 12 | 
            +
             | 
| 13 | 
            +
              If we ever want to remove these styles, we need to add an explicit border
         | 
| 14 | 
            +
              color utility to any element that depends on these defaults.
         | 
| 15 | 
            +
            */
         | 
| 16 | 
            +
            @layer base {
         | 
| 17 | 
            +
              *,
         | 
| 18 | 
            +
              ::after,
         | 
| 19 | 
            +
              ::before,
         | 
| 20 | 
            +
              ::backdrop,
         | 
| 21 | 
            +
              ::file-selector-button {
         | 
| 22 | 
            +
                border-color: var(--color-gray-200, currentcolor);
         | 
| 23 | 
            +
              }
         | 
| 24 | 
            +
            }
         | 
    
        data/package.json
    CHANGED
    
    | @@ -1,10 +1,10 @@ | |
| 1 1 | 
             
            {
         | 
| 2 2 | 
             
              "name": "simplecov-tailwind",
         | 
| 3 | 
            -
              "version": "2. | 
| 3 | 
            +
              "version": "2.3.0",
         | 
| 4 4 | 
             
              "description": "HTML tailwind Design View for Simplecov formatter",
         | 
| 5 5 | 
             
              "scripts": {
         | 
| 6 6 | 
             
                "build": "npm-run-all build:*",
         | 
| 7 | 
            -
                "build:css": "npx tailwindcss -i dist/app.css -o public/application.css --minify",
         | 
| 7 | 
            +
                "build:css": "npx @tailwindcss/cli -i dist/app.css -o public/application.css --minify",
         | 
| 8 8 | 
             
                "build:js": "esbuild --bundle dist/app.js --outfile=public/application.js --minify",
         | 
| 9 9 | 
             
                "test:start": "bundle exec rake test",
         | 
| 10 10 | 
             
                "test:open": "open coverage/index.html",
         | 
| @@ -47,21 +47,21 @@ | |
| 47 47 | 
             
              "homepage": "https://simplecov-tailwind.chiefpansancolt.dev/",
         | 
| 48 48 | 
             
              "babel": {},
         | 
| 49 49 | 
             
              "devDependencies": {
         | 
| 50 | 
            -
                "@babel/core": "^7. | 
| 51 | 
            -
                "@babel/eslint-parser": "^7. | 
| 50 | 
            +
                "@babel/core": "^7.28.5",
         | 
| 51 | 
            +
                "@babel/eslint-parser": "^7.28.5",
         | 
| 52 52 | 
             
                "@hotwired/stimulus": "^3.2.2",
         | 
| 53 | 
            -
                "@prettier/plugin-ruby": "^4.0. | 
| 54 | 
            -
                "@tailwindcss/forms": "^0.5. | 
| 55 | 
            -
                "@tailwindcss/typography": "^0.5. | 
| 56 | 
            -
                "@trivago/prettier-plugin-sort-imports": "^ | 
| 57 | 
            -
                "esbuild": "^0. | 
| 58 | 
            -
                "eslint": "^ | 
| 59 | 
            -
                "markdownlint": "^0. | 
| 53 | 
            +
                "@prettier/plugin-ruby": "^4.0.4",
         | 
| 54 | 
            +
                "@tailwindcss/forms": "^0.5.10",
         | 
| 55 | 
            +
                "@tailwindcss/typography": "^0.5.19",
         | 
| 56 | 
            +
                "@trivago/prettier-plugin-sort-imports": "^5.2.2",
         | 
| 57 | 
            +
                "esbuild": "^0.25.11",
         | 
| 58 | 
            +
                "eslint": "^9.38.0",
         | 
| 59 | 
            +
                "markdownlint": "^0.39.0",
         | 
| 60 60 | 
             
                "npm-run-all": "^4.1.5",
         | 
| 61 | 
            -
                "prettier": "^3. | 
| 61 | 
            +
                "prettier": "^3.6.2",
         | 
| 62 62 | 
             
                "prettier-plugin-erb": "^0.4.0",
         | 
| 63 | 
            -
                "prettier-plugin-tailwindcss": "^0. | 
| 64 | 
            -
                "tailwindcss": "^ | 
| 63 | 
            +
                "prettier-plugin-tailwindcss": "^0.7.1",
         | 
| 64 | 
            +
                "tailwindcss": "^4.1.16",
         | 
| 65 65 | 
             
                "timeago.js": "^4.0.2"
         | 
| 66 66 | 
             
              }
         | 
| 67 67 | 
             
            }
         |