simplecov-tailwindcss 2.3.0 → 2.4.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/.all-contributorsrc +48 -2
- data/.github/dependabot.yml +18 -0
- data/.github/workflows/ci.yml +313 -0
- data/.github/workflows/publish.yml +47 -0
- data/.gitignore +4 -1
- data/.nvmrc +1 -0
- data/.rubocop.yml +8 -8
- data/.ruby-version +1 -1
- data/CHANGELOG.md +22 -0
- data/README.md +12 -8
- data/bin/lint +0 -4
- data/eslint.config.mjs +17 -0
- data/lib/simplecov-tailwindcss/version.rb +1 -1
- data/lib/simplecov-tailwindcss.rb +7 -1
- data/package.json +13 -14
- data/pnpm-lock.yaml +859 -750
- data/public/application.css +2 -2
- data/simplecov-tailwindcss.gemspec +1 -1
- data/test/test_helper.rb +12 -3
- data/views/dialog.erb +2 -2
- data/views/file_detail.erb +2 -2
- data/views/main.erb +5 -5
- metadata +16 -15
- data/.eslintignore +0 -2
- data/.eslintrc.json +0 -10
- data/.github/workflows/builds.yml +0 -123
- data/.github/workflows/github_publish.yml +0 -16
- data/.github/workflows/lints.yml +0 -60
- data/.github/workflows/rubygem_publish.yml +0 -21
- data/.github/workflows/tests.yml +0 -103
- data/.markdownlint.yml +0 -21
- data/.vscode/settings.json +0 -6
- /data/{.erb-lint.yml → .erb_lint.yml} +0 -0
data/.github/workflows/lints.yml
DELETED
|
@@ -1,60 +0,0 @@
|
|
|
1
|
-
name: Lint
|
|
2
|
-
|
|
3
|
-
on:
|
|
4
|
-
pull_request:
|
|
5
|
-
branches:
|
|
6
|
-
- main
|
|
7
|
-
|
|
8
|
-
permissions:
|
|
9
|
-
checks: write
|
|
10
|
-
contents: write
|
|
11
|
-
|
|
12
|
-
jobs:
|
|
13
|
-
run-linters:
|
|
14
|
-
name: Run linters
|
|
15
|
-
runs-on: ubuntu-latest
|
|
16
|
-
|
|
17
|
-
steps:
|
|
18
|
-
- name: Check out Git repository
|
|
19
|
-
uses: actions/checkout@v5
|
|
20
|
-
|
|
21
|
-
- name: Set up Node.js
|
|
22
|
-
uses: actions/setup-node@v6
|
|
23
|
-
with:
|
|
24
|
-
node-version: 23
|
|
25
|
-
|
|
26
|
-
- uses: pnpm/action-setup@v4
|
|
27
|
-
name: Install pnpm
|
|
28
|
-
with:
|
|
29
|
-
version: 10
|
|
30
|
-
run_install: false
|
|
31
|
-
|
|
32
|
-
- name: Install Node.js dependencies
|
|
33
|
-
run: pnpm install
|
|
34
|
-
|
|
35
|
-
- uses: actions/cache@v4
|
|
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-
|
|
42
|
-
|
|
43
|
-
- name: Set up Ruby
|
|
44
|
-
uses: ruby/setup-ruby@v1
|
|
45
|
-
with:
|
|
46
|
-
ruby-version: .ruby-version
|
|
47
|
-
|
|
48
|
-
- name: Install Ruby Gem dependencies
|
|
49
|
-
run: |
|
|
50
|
-
gem install bundler -v 2.6.9
|
|
51
|
-
bundle install --jobs 4 --retry 3
|
|
52
|
-
|
|
53
|
-
- name: Run linters
|
|
54
|
-
uses: wearerequired/lint-action@v2
|
|
55
|
-
with:
|
|
56
|
-
eslint: true
|
|
57
|
-
prettier: true
|
|
58
|
-
rubocop: true
|
|
59
|
-
erblint: true
|
|
60
|
-
erblint_args: '--lint-all'
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
name: Push Gem to RubyGem
|
|
2
|
-
|
|
3
|
-
on: workflow_dispatch
|
|
4
|
-
|
|
5
|
-
jobs:
|
|
6
|
-
release:
|
|
7
|
-
runs-on: ubuntu-latest
|
|
8
|
-
env:
|
|
9
|
-
GEM_HOST_API_KEY: ${{ secrets.RUBYGEMAPIKEY }}
|
|
10
|
-
steps:
|
|
11
|
-
- uses: actions/checkout@v5
|
|
12
|
-
with:
|
|
13
|
-
fetch-depth: 0
|
|
14
|
-
- uses: ruby/setup-ruby@v1
|
|
15
|
-
with:
|
|
16
|
-
ruby-version: .ruby-version
|
|
17
|
-
bundler-cache: true
|
|
18
|
-
- name: Push to rubygems.org
|
|
19
|
-
run: |
|
|
20
|
-
gem build *.gemspec
|
|
21
|
-
gem push *.gem
|
data/.github/workflows/tests.yml
DELETED
|
@@ -1,103 +0,0 @@
|
|
|
1
|
-
name: Tests
|
|
2
|
-
|
|
3
|
-
on:
|
|
4
|
-
pull_request:
|
|
5
|
-
branches:
|
|
6
|
-
- main
|
|
7
|
-
|
|
8
|
-
jobs:
|
|
9
|
-
ruby-test-old:
|
|
10
|
-
runs-on: ubuntu-latest
|
|
11
|
-
|
|
12
|
-
strategy:
|
|
13
|
-
matrix:
|
|
14
|
-
ruby: [2.5.9]
|
|
15
|
-
|
|
16
|
-
steps:
|
|
17
|
-
- name: Checkout Code
|
|
18
|
-
uses: actions/checkout@v5
|
|
19
|
-
|
|
20
|
-
- name: Set up Ruby
|
|
21
|
-
uses: ruby/setup-ruby@v1
|
|
22
|
-
with:
|
|
23
|
-
ruby-version: ${{ matrix.ruby }}
|
|
24
|
-
|
|
25
|
-
- name: Build and Test
|
|
26
|
-
run: |
|
|
27
|
-
gem install bundler -v 2.3.26
|
|
28
|
-
bundle install --jobs 4 --retry 3
|
|
29
|
-
bundle exec rake test
|
|
30
|
-
|
|
31
|
-
ruby-test-other:
|
|
32
|
-
runs-on: ubuntu-latest
|
|
33
|
-
|
|
34
|
-
strategy:
|
|
35
|
-
matrix:
|
|
36
|
-
ruby: [3.2.7, 3.3.10, 3.1.7, 3.0.7, 2.7.8, 2.6.10]
|
|
37
|
-
|
|
38
|
-
steps:
|
|
39
|
-
- name: Checkout Code
|
|
40
|
-
uses: actions/checkout@v5
|
|
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.7.2
|
|
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@v5
|
|
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.4.5]
|
|
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.7.2
|
|
96
|
-
bundle install --jobs 4 --retry 3
|
|
97
|
-
bundle exec rake test
|
|
98
|
-
|
|
99
|
-
- name: Upload coverage results
|
|
100
|
-
uses: actions/upload-artifact@v5
|
|
101
|
-
with:
|
|
102
|
-
name: coverage-report
|
|
103
|
-
path: coverage
|
data/.markdownlint.yml
DELETED
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
default: true
|
|
2
|
-
|
|
3
|
-
# Exclusions for deliberate/widespread violations
|
|
4
|
-
MD001: false # Header levels should only increment by one level at a time
|
|
5
|
-
MD002: false # First header should be a h1 header
|
|
6
|
-
MD007: # Unordered list indentation
|
|
7
|
-
indent: 4
|
|
8
|
-
MD012: false # Multiple consecutive blank lines
|
|
9
|
-
MD013: false # Line length
|
|
10
|
-
MD014: false # Dollar signs used before commands without showing output
|
|
11
|
-
MD019: false # Multiple spaces after hash on atx style header
|
|
12
|
-
MD021: false # Multiple spaces inside hashes on closed atx style header
|
|
13
|
-
MD024: false # Multiple headers with the same content
|
|
14
|
-
MD026: false # Trailing punctuation in header
|
|
15
|
-
MD029: false # Ordered list item prefix
|
|
16
|
-
MD030: false # Spaces after list markers
|
|
17
|
-
MD033: false # Allow inline HTML
|
|
18
|
-
MD034: false # Bare URL used
|
|
19
|
-
MD040: false # Fenced code blocks should have a language specified
|
|
20
|
-
MD041: false # First line in file should be a top level header
|
|
21
|
-
MD046: false # Code block style
|
data/.vscode/settings.json
DELETED
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
{
|
|
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",
|
|
4
|
-
"https://json.schemastore.org/dependabot-2.0.json": "file:///Users/chiefpansancolt/Documents/GitHub/ruby-gems/simplecov-tailwindcss/.github/dependabot.yml"
|
|
5
|
-
}
|
|
6
|
-
}
|
|
File without changes
|