simplecov-tailwindcss 2.0.0 → 2.1.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/.erb-lint.yml +8 -0
- data/.eslintignore +1 -0
- data/.eslintrc.json +10 -0
- data/.github/ISSUE_TEMPLATE/bug_report.yml +54 -0
- data/.github/ISSUE_TEMPLATE/config.yml +8 -0
- data/.github/ISSUE_TEMPLATE/feature_request.yml +26 -0
- data/.github/ISSUE_TEMPLATE/question.yml +26 -0
- data/.github/workflows/builds.yml +91 -0
- data/.github/workflows/github_publish.yml +1 -1
- data/.github/workflows/lints.yml +49 -0
- data/.github/workflows/rubygem_publish.yml +1 -1
- data/.github/workflows/tests.yml +16 -12
- data/.gitignore +1 -0
- data/.markdownlint.yml +18 -18
- data/.prettierignore +0 -1
- data/.prettierrc.json +12 -0
- data/.rubocop.yml +4935 -649
- data/.ruby-version +1 -1
- data/CHANGELOG.md +16 -0
- data/CODE_OF_CONDUCT.md +11 -11
- data/CONTRIBUTING.md +25 -25
- data/Gemfile +12 -9
- data/README.md +16 -15
- data/dist/app.css +3 -3
- data/dist/app.js +10 -10
- data/dist/scripts/controllers/darktheme_controller.js +13 -16
- data/dist/scripts/controllers/navigation_controller.js +9 -13
- data/dist/scripts/controllers/search_controller.js +48 -61
- data/dist/scripts/controllers/slideover_controller.js +11 -24
- data/dist/scripts/timeago.js +2 -2
- data/lib/simplecov-tailwindcss/version.rb +1 -1
- data/lib/simplecov-tailwindcss.rb +67 -51
- data/package.json +60 -55
- data/public/application.css +1 -1
- data/simplecov-tailwindcss.gemspec +23 -23
- data/tailwind.config.js +7 -7
- data/test/simplecov-tailwindcss/simplecov_tailwindcss_test.rb +2 -2
- data/views/dialog.erb +75 -29
- data/views/file_detail.erb +57 -56
- data/views/group_page.erb +2 -2
- data/views/main.erb +8 -9
- data/views/stat_card.erb +1 -1
- data/yarn.lock +814 -5
- metadata +12 -7
- data/.eslintrc.js +0 -91
- data/.github/ISSUE_TEMPLATE/bug_report.md +0 -38
- data/.github/ISSUE_TEMPLATE/feature-request.md +0 -20
- data/.github/ISSUE_TEMPLATE/question.md +0 -10
- data/.prettierrc +0 -7
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: ba8412b8aa8af8aa83b143e207adea5f74bab35dbda197d915187077fc61643e
|
|
4
|
+
data.tar.gz: 5a8b3a33330fa72c7cd2c2a9832d5497e16b64337b07ffc087f87e310b7a78a5
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 9b2f34f91019709490735b6aef0ef8bf29de1d39feb6b74832f9c0c6d8b7261bba82a991837566954fbf60fd667cb21e8ef903e225547ea66c62658c781fdb2d
|
|
7
|
+
data.tar.gz: caf720c63233963b5fcdd1a66e4ae31bdda2e66bda69d2f98f6a7e0068c5323f6371763f6422c05272d09db0979a504aa2d6158e286598e0fef913e95f6e7ff0
|
data/.erb-lint.yml
ADDED
data/.eslintignore
CHANGED
data/.eslintrc.json
ADDED
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
name: Bug Report
|
|
2
|
+
description: File a bug report
|
|
3
|
+
title: '[Bug]: '
|
|
4
|
+
labels: ['bug', 'triage']
|
|
5
|
+
assignees:
|
|
6
|
+
- chiefpansancolt
|
|
7
|
+
body:
|
|
8
|
+
- type: markdown
|
|
9
|
+
attributes:
|
|
10
|
+
value: |
|
|
11
|
+
Thanks for taking the time to fill out this bug report!
|
|
12
|
+
- type: textarea
|
|
13
|
+
id: what-happened
|
|
14
|
+
attributes:
|
|
15
|
+
label: What happened?
|
|
16
|
+
description: Also tell us, what did you expect to happen?
|
|
17
|
+
placeholder: Tell us what you see!
|
|
18
|
+
value: 'A bug happened!'
|
|
19
|
+
validations:
|
|
20
|
+
required: true
|
|
21
|
+
- type: dropdown
|
|
22
|
+
id: version
|
|
23
|
+
attributes:
|
|
24
|
+
label: Version
|
|
25
|
+
description: What version of our software are you running?
|
|
26
|
+
options:
|
|
27
|
+
- 2.0.0
|
|
28
|
+
- 1.0.0
|
|
29
|
+
validations:
|
|
30
|
+
required: true
|
|
31
|
+
- type: dropdown
|
|
32
|
+
id: browsers
|
|
33
|
+
attributes:
|
|
34
|
+
label: What browsers are you seeing the problem on?
|
|
35
|
+
multiple: true
|
|
36
|
+
options:
|
|
37
|
+
- Firefox
|
|
38
|
+
- Chrome
|
|
39
|
+
- Safari
|
|
40
|
+
- Microsoft Edge
|
|
41
|
+
- type: textarea
|
|
42
|
+
id: logs
|
|
43
|
+
attributes:
|
|
44
|
+
label: Relevant log output
|
|
45
|
+
description: Please copy and paste any relevant log output. This will be automatically formatted into code, so no need for backticks.
|
|
46
|
+
render: shell
|
|
47
|
+
- type: checkboxes
|
|
48
|
+
id: terms
|
|
49
|
+
attributes:
|
|
50
|
+
label: Code of Conduct
|
|
51
|
+
description: By submitting this issue, you agree to follow our [Code of Conduct](https://github.com/chiefpansancolt/simplecov-tailwindcss/blob/main/CODE_OF_CONDUCT.md)
|
|
52
|
+
options:
|
|
53
|
+
- label: I agree to follow this project's Code of Conduct
|
|
54
|
+
required: true
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
blank_issues_enabled: false
|
|
2
|
+
contact_links:
|
|
3
|
+
- name: GitHub Community Support
|
|
4
|
+
url: https://github.community/
|
|
5
|
+
about: Please ask and answer questions here.
|
|
6
|
+
- name: GitHub Security Bug Bounty
|
|
7
|
+
url: https://bounty.github.com/
|
|
8
|
+
about: Please report security vulnerabilities here.
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
name: Feature Request
|
|
2
|
+
description: Have a feature Idea tell us about it
|
|
3
|
+
title: '[Enhancement]: '
|
|
4
|
+
labels: ['enhancement', 'triage']
|
|
5
|
+
assignees:
|
|
6
|
+
- chiefpansancolt
|
|
7
|
+
body:
|
|
8
|
+
- type: markdown
|
|
9
|
+
attributes:
|
|
10
|
+
value: |
|
|
11
|
+
Thanks for taking the time to tell us about your idea to help make this better!
|
|
12
|
+
- type: textarea
|
|
13
|
+
attributes:
|
|
14
|
+
label: What is the Idea?
|
|
15
|
+
placeholder: Tell us what you are thinking about!
|
|
16
|
+
value: 'A Idea is happening!'
|
|
17
|
+
validations:
|
|
18
|
+
required: true
|
|
19
|
+
- type: checkboxes
|
|
20
|
+
id: terms
|
|
21
|
+
attributes:
|
|
22
|
+
label: Code of Conduct
|
|
23
|
+
description: By submitting this issue, you agree to follow our [Code of Conduct](https://github.com/chiefpansancolt/simplecov-tailwindcss/blob/main/CODE_OF_CONDUCT.md)
|
|
24
|
+
options:
|
|
25
|
+
- label: I agree to follow this project's Code of Conduct
|
|
26
|
+
required: true
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
name: Question
|
|
2
|
+
description: Have a Question that is outside bug/feature?
|
|
3
|
+
title: '[Question]: '
|
|
4
|
+
labels: ['question', 'triage']
|
|
5
|
+
assignees:
|
|
6
|
+
- chiefpansancolt
|
|
7
|
+
body:
|
|
8
|
+
- type: markdown
|
|
9
|
+
attributes:
|
|
10
|
+
value: |
|
|
11
|
+
Thanks for taking the time to ask a question about the project!
|
|
12
|
+
- type: textarea
|
|
13
|
+
attributes:
|
|
14
|
+
label: What is the Question?
|
|
15
|
+
placeholder: Tell us what you are thinking about!
|
|
16
|
+
value: 'A Question is happening!'
|
|
17
|
+
validations:
|
|
18
|
+
required: true
|
|
19
|
+
- type: checkboxes
|
|
20
|
+
id: terms
|
|
21
|
+
attributes:
|
|
22
|
+
label: Code of Conduct
|
|
23
|
+
description: By submitting this issue, you agree to follow our [Code of Conduct](https://github.com/chiefpansancolt/simplecov-tailwindcss/blob/main/CODE_OF_CONDUCT.md)
|
|
24
|
+
options:
|
|
25
|
+
- label: I agree to follow this project's Code of Conduct
|
|
26
|
+
required: true
|
|
@@ -0,0 +1,91 @@
|
|
|
1
|
+
name: Build
|
|
2
|
+
|
|
3
|
+
on:
|
|
4
|
+
push:
|
|
5
|
+
branches:
|
|
6
|
+
- main
|
|
7
|
+
pull_request:
|
|
8
|
+
branches:
|
|
9
|
+
- main
|
|
10
|
+
|
|
11
|
+
permissions:
|
|
12
|
+
checks: write
|
|
13
|
+
contents: write
|
|
14
|
+
|
|
15
|
+
jobs:
|
|
16
|
+
run-js-build:
|
|
17
|
+
name: Run JS Build
|
|
18
|
+
runs-on: ubuntu-latest
|
|
19
|
+
|
|
20
|
+
steps:
|
|
21
|
+
- name: Check out Git repository
|
|
22
|
+
uses: actions/checkout@v2
|
|
23
|
+
|
|
24
|
+
- name: Set up Node.js
|
|
25
|
+
uses: actions/setup-node@v3
|
|
26
|
+
with:
|
|
27
|
+
node-version: 16
|
|
28
|
+
|
|
29
|
+
- name: Install Node.js dependencies
|
|
30
|
+
run: yarn install
|
|
31
|
+
|
|
32
|
+
- name: Compile JS
|
|
33
|
+
run: yarn build:js
|
|
34
|
+
|
|
35
|
+
- name: Upload Compiled JS
|
|
36
|
+
uses: actions/upload-artifact@v3
|
|
37
|
+
with:
|
|
38
|
+
name: application.js
|
|
39
|
+
path: public/application.js
|
|
40
|
+
|
|
41
|
+
run-css-build:
|
|
42
|
+
name: Run CSS Build
|
|
43
|
+
runs-on: ubuntu-latest
|
|
44
|
+
|
|
45
|
+
steps:
|
|
46
|
+
- name: Check out Git repository
|
|
47
|
+
uses: actions/checkout@v2
|
|
48
|
+
|
|
49
|
+
- name: Set up Node.js
|
|
50
|
+
uses: actions/setup-node@v3
|
|
51
|
+
with:
|
|
52
|
+
node-version: 16
|
|
53
|
+
|
|
54
|
+
- name: Install Node.js dependencies
|
|
55
|
+
run: yarn install
|
|
56
|
+
|
|
57
|
+
- name: Compile JS
|
|
58
|
+
run: yarn build:css
|
|
59
|
+
|
|
60
|
+
- name: Upload Compiled CSS
|
|
61
|
+
uses: actions/upload-artifact@v3
|
|
62
|
+
with:
|
|
63
|
+
name: application.css
|
|
64
|
+
path: public/application.css
|
|
65
|
+
|
|
66
|
+
run-gem-build:
|
|
67
|
+
name: Run Gem Build
|
|
68
|
+
runs-on: ubuntu-latest
|
|
69
|
+
|
|
70
|
+
steps:
|
|
71
|
+
- name: Check out Git repository
|
|
72
|
+
uses: actions/checkout@v2
|
|
73
|
+
|
|
74
|
+
- name: Set up Ruby
|
|
75
|
+
uses: ruby/setup-ruby@v1
|
|
76
|
+
with:
|
|
77
|
+
ruby-version: .ruby-version
|
|
78
|
+
|
|
79
|
+
- name: Install Ruby Gem dependencies
|
|
80
|
+
run: |
|
|
81
|
+
gem install bundler -v 2.3.11
|
|
82
|
+
bundle install --jobs 4 --retry 3
|
|
83
|
+
|
|
84
|
+
- name: Build Gem
|
|
85
|
+
run: yarn gem:build
|
|
86
|
+
|
|
87
|
+
- name: Upload Compiled Gem
|
|
88
|
+
uses: actions/upload-artifact@v3
|
|
89
|
+
with:
|
|
90
|
+
name: simplecov-tailwindcss.gem
|
|
91
|
+
path: ./*.gem
|
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
name: Lint
|
|
2
|
+
|
|
3
|
+
on:
|
|
4
|
+
push:
|
|
5
|
+
branches:
|
|
6
|
+
- main
|
|
7
|
+
pull_request:
|
|
8
|
+
branches:
|
|
9
|
+
- main
|
|
10
|
+
|
|
11
|
+
permissions:
|
|
12
|
+
checks: write
|
|
13
|
+
contents: write
|
|
14
|
+
|
|
15
|
+
jobs:
|
|
16
|
+
run-linters:
|
|
17
|
+
name: Run linters
|
|
18
|
+
runs-on: ubuntu-latest
|
|
19
|
+
|
|
20
|
+
steps:
|
|
21
|
+
- name: Check out Git repository
|
|
22
|
+
uses: actions/checkout@v2
|
|
23
|
+
|
|
24
|
+
- name: Set up Node.js
|
|
25
|
+
uses: actions/setup-node@v3
|
|
26
|
+
with:
|
|
27
|
+
node-version: 16
|
|
28
|
+
|
|
29
|
+
- name: Install Node.js dependencies
|
|
30
|
+
run: yarn install
|
|
31
|
+
|
|
32
|
+
- name: Set up Ruby
|
|
33
|
+
uses: ruby/setup-ruby@v1
|
|
34
|
+
with:
|
|
35
|
+
ruby-version: .ruby-version
|
|
36
|
+
|
|
37
|
+
- name: Install Ruby Gem dependencies
|
|
38
|
+
run: |
|
|
39
|
+
gem install bundler -v 2.3.11
|
|
40
|
+
bundle install --jobs 4 --retry 3
|
|
41
|
+
|
|
42
|
+
- name: Run linters
|
|
43
|
+
uses: wearerequired/lint-action@v2
|
|
44
|
+
with:
|
|
45
|
+
eslint: true
|
|
46
|
+
prettier: true
|
|
47
|
+
rubocop: true
|
|
48
|
+
erblint: true
|
|
49
|
+
erblint_args: '--lint-all'
|
data/.github/workflows/tests.yml
CHANGED
|
@@ -4,7 +4,6 @@ on: [pull_request]
|
|
|
4
4
|
|
|
5
5
|
jobs:
|
|
6
6
|
ruby-test:
|
|
7
|
-
|
|
8
7
|
runs-on: ubuntu-latest
|
|
9
8
|
|
|
10
9
|
strategy:
|
|
@@ -12,15 +11,20 @@ jobs:
|
|
|
12
11
|
ruby: [3.1.2, 3.0.4, 2.7.6, 2.6.10, 2.5.9, head]
|
|
13
12
|
|
|
14
13
|
steps:
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
14
|
+
- name: Checkout Code
|
|
15
|
+
uses: actions/checkout@v1
|
|
16
|
+
- name: Set up Ruby
|
|
17
|
+
uses: ruby/setup-ruby@v1
|
|
18
|
+
with:
|
|
19
|
+
ruby-version: ${{ matrix.ruby }}
|
|
21
20
|
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
21
|
+
- name: Build and Test
|
|
22
|
+
run: |
|
|
23
|
+
gem install bundler -v 2.3.11
|
|
24
|
+
bundle install --jobs 4 --retry 3
|
|
25
|
+
bundle exec rake test
|
|
26
|
+
- name: Upload coverage results
|
|
27
|
+
uses: actions/upload-artifact@v3
|
|
28
|
+
with:
|
|
29
|
+
name: coverage-report
|
|
30
|
+
path: coverage
|
data/.gitignore
CHANGED
data/.markdownlint.yml
CHANGED
|
@@ -1,21 +1,21 @@
|
|
|
1
1
|
default: true
|
|
2
2
|
|
|
3
3
|
# Exclusions for deliberate/widespread violations
|
|
4
|
-
MD001: false
|
|
5
|
-
MD002: false
|
|
6
|
-
MD007:
|
|
7
|
-
|
|
8
|
-
MD012: false
|
|
9
|
-
MD013: false
|
|
10
|
-
MD014: false
|
|
11
|
-
MD019: false
|
|
12
|
-
MD021: false
|
|
13
|
-
MD024: false
|
|
14
|
-
MD026: false
|
|
15
|
-
MD029: false
|
|
16
|
-
MD030: false
|
|
17
|
-
MD033: false
|
|
18
|
-
MD034: false
|
|
19
|
-
MD040: false
|
|
20
|
-
MD041: false
|
|
21
|
-
MD046: false
|
|
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/.prettierignore
CHANGED
data/.prettierrc.json
ADDED