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.
Files changed (50) hide show
  1. checksums.yaml +4 -4
  2. data/.erb-lint.yml +8 -0
  3. data/.eslintignore +1 -0
  4. data/.eslintrc.json +10 -0
  5. data/.github/ISSUE_TEMPLATE/bug_report.yml +54 -0
  6. data/.github/ISSUE_TEMPLATE/config.yml +8 -0
  7. data/.github/ISSUE_TEMPLATE/feature_request.yml +26 -0
  8. data/.github/ISSUE_TEMPLATE/question.yml +26 -0
  9. data/.github/workflows/builds.yml +91 -0
  10. data/.github/workflows/github_publish.yml +1 -1
  11. data/.github/workflows/lints.yml +49 -0
  12. data/.github/workflows/rubygem_publish.yml +1 -1
  13. data/.github/workflows/tests.yml +16 -12
  14. data/.gitignore +1 -0
  15. data/.markdownlint.yml +18 -18
  16. data/.prettierignore +0 -1
  17. data/.prettierrc.json +12 -0
  18. data/.rubocop.yml +4935 -649
  19. data/.ruby-version +1 -1
  20. data/CHANGELOG.md +16 -0
  21. data/CODE_OF_CONDUCT.md +11 -11
  22. data/CONTRIBUTING.md +25 -25
  23. data/Gemfile +12 -9
  24. data/README.md +16 -15
  25. data/dist/app.css +3 -3
  26. data/dist/app.js +10 -10
  27. data/dist/scripts/controllers/darktheme_controller.js +13 -16
  28. data/dist/scripts/controllers/navigation_controller.js +9 -13
  29. data/dist/scripts/controllers/search_controller.js +48 -61
  30. data/dist/scripts/controllers/slideover_controller.js +11 -24
  31. data/dist/scripts/timeago.js +2 -2
  32. data/lib/simplecov-tailwindcss/version.rb +1 -1
  33. data/lib/simplecov-tailwindcss.rb +67 -51
  34. data/package.json +60 -55
  35. data/public/application.css +1 -1
  36. data/simplecov-tailwindcss.gemspec +23 -23
  37. data/tailwind.config.js +7 -7
  38. data/test/simplecov-tailwindcss/simplecov_tailwindcss_test.rb +2 -2
  39. data/views/dialog.erb +75 -29
  40. data/views/file_detail.erb +57 -56
  41. data/views/group_page.erb +2 -2
  42. data/views/main.erb +8 -9
  43. data/views/stat_card.erb +1 -1
  44. data/yarn.lock +814 -5
  45. metadata +12 -7
  46. data/.eslintrc.js +0 -91
  47. data/.github/ISSUE_TEMPLATE/bug_report.md +0 -38
  48. data/.github/ISSUE_TEMPLATE/feature-request.md +0 -20
  49. data/.github/ISSUE_TEMPLATE/question.md +0 -10
  50. data/.prettierrc +0 -7
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: simplecov-tailwindcss
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.0.0
4
+ version: 2.1.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Christopher Pezza
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2022-05-30 00:00:00.000000000 Z
11
+ date: 2022-06-11 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: simplecov
@@ -34,20 +34,24 @@ executables:
34
34
  extensions: []
35
35
  extra_rdoc_files: []
36
36
  files:
37
+ - ".erb-lint.yml"
37
38
  - ".eslintignore"
38
- - ".eslintrc.js"
39
+ - ".eslintrc.json"
39
40
  - ".github/FUNDING.yml"
40
- - ".github/ISSUE_TEMPLATE/bug_report.md"
41
- - ".github/ISSUE_TEMPLATE/feature-request.md"
42
- - ".github/ISSUE_TEMPLATE/question.md"
41
+ - ".github/ISSUE_TEMPLATE/bug_report.yml"
42
+ - ".github/ISSUE_TEMPLATE/config.yml"
43
+ - ".github/ISSUE_TEMPLATE/feature_request.yml"
44
+ - ".github/ISSUE_TEMPLATE/question.yml"
43
45
  - ".github/PULL_REQUEST_TEMPLATE.md"
46
+ - ".github/workflows/builds.yml"
44
47
  - ".github/workflows/github_publish.yml"
48
+ - ".github/workflows/lints.yml"
45
49
  - ".github/workflows/rubygem_publish.yml"
46
50
  - ".github/workflows/tests.yml"
47
51
  - ".gitignore"
48
52
  - ".markdownlint.yml"
49
53
  - ".prettierignore"
50
- - ".prettierrc"
54
+ - ".prettierrc.json"
51
55
  - ".rubocop.yml"
52
56
  - ".ruby-version"
53
57
  - CHANGELOG.md
@@ -92,6 +96,7 @@ metadata:
92
96
  source_code_uri: https://github.com/chiefpansancolt/simplecov-tailwindcss
93
97
  changelog_uri: https://github.com/chiefpansancolt/simplecov-tailwindcss/blob/master/CHANGELOG.md
94
98
  bug_tracker_uri: https://github.com/chiefpansancolt/simplecov-tailwindcss/issues
99
+ rubygems_mfa_required: 'true'
95
100
  post_install_message:
96
101
  rdoc_options: []
97
102
  require_paths:
data/.eslintrc.js DELETED
@@ -1,91 +0,0 @@
1
- const error = 'error';
2
- const readonly = 'readonly';
3
- const always = 'always';
4
- const never = 'never';
5
-
6
- module.exports = {
7
- extends: 'eslint:recommended',
8
-
9
- env: {
10
- browser: true,
11
- es2021: true,
12
- },
13
-
14
- parserOptions: {
15
- ecmaVersion: 12,
16
- sourceType: 'module',
17
- },
18
-
19
- globals: {
20
- describe: readonly,
21
- it: readonly,
22
- beforeEach: readonly,
23
- afterEach: readonly,
24
- },
25
-
26
- rules: {
27
- indent: [error, 2],
28
- 'linebreak-style': [error, 'unix'],
29
- quotes: [error, 'double'],
30
- semi: [error, never],
31
-
32
- 'block-scoped-var': [error],
33
- complexity: [error, 4],
34
- 'dot-location': [error, 'object'],
35
- eqeqeq: [error, always],
36
- 'no-else-return': [error],
37
- 'no-multi-spaces': [error, { ignoreEOLComments: true }],
38
- 'no-octal': [error],
39
- 'no-octal-escape': [error],
40
- 'no-return-assign': [error, always],
41
- 'no-sequences': [error],
42
- 'no-useless-concat': [error],
43
- 'no-useless-return': [error],
44
- radix: [error],
45
- yoda: [error],
46
-
47
- 'no-label-var': [error],
48
- 'brace-style': [error, '1tbs', { allowSingleLine: true }],
49
- 'comma-spacing': [error, { before: false, after: true }],
50
- 'comma-style': [error, 'last'],
51
- 'func-call-spacing': [error, never],
52
- 'key-spacing': [error, { beforeColon: false, afterColon: true }],
53
- 'keyword-spacing': [error],
54
- 'max-depth': [error, 4],
55
- 'max-len': [error, { code: 100, comments: 100, ignoreUrls: true }],
56
- 'max-lines': [error, { max: 200, skipBlankLines: true, skipComments: false }],
57
- 'max-lines-per-function': [error, { max: 200, skipBlankLines: true, skipComments: true, IIFEs: false }],
58
- 'max-nested-callbacks': [error, 4],
59
- 'max-params': [error, 4],
60
- 'max-statements': [error, 10],
61
- 'max-statements-per-line': [error, { max: 2 }],
62
- 'new-cap': [error],
63
- 'new-parens': [error, always],
64
- 'no-array-constructor': [error],
65
- 'no-bitwise': [error],
66
- 'no-lonely-if': [error],
67
- 'no-multi-assign': [error],
68
- 'no-multiple-empty-lines': [error, { max: 3, maxBOF: 1, maxEOF: 1 }],
69
- 'no-nested-ternary': [error],
70
- 'no-new-object': [error],
71
- 'no-tabs': [error],
72
- 'no-trailing-spaces': [error],
73
- 'no-unneeded-ternary': [error],
74
- 'no-whitespace-before-property': [error],
75
- 'nonblock-statement-body-position': [error, 'beside'],
76
- 'prefer-exponentiation-operator': [error],
77
- 'quote-props': [error, 'as-needed'],
78
- 'semi-spacing': [error],
79
- 'semi-style': [error],
80
- 'space-before-function-paren': [error, never],
81
- 'space-infix-ops': [error],
82
- 'spaced-comment': [error, always],
83
- 'switch-colon-spacing': [error],
84
- 'no-duplicate-imports': [error],
85
- 'no-useless-computed-key': [error],
86
- 'no-useless-constructor': [error],
87
- 'no-var': [error],
88
- 'prefer-const': [error],
89
- 'prefer-rest-params': [error],
90
- },
91
- };
@@ -1,38 +0,0 @@
1
- ---
2
- name: Bug report
3
- about: Create a report to help us improve
4
- title: ''
5
- labels: bug, new
6
- assignees: chiefpansancolt
7
-
8
- ---
9
-
10
- **Describe the bug**
11
- A clear and concise description of what the bug is.
12
-
13
- **To Reproduce**
14
- Steps to reproduce the behavior:
15
- 1. Go to '...'
16
- 2. Click on '....'
17
- 3. Scroll down to '....'
18
- 4. See error
19
-
20
- **Expected behavior**
21
- A clear and concise description of what you expected to happen.
22
-
23
- **Screenshots**
24
- If applicable, add screenshots to help explain your problem.
25
-
26
- **Desktop (please complete the following information):**
27
- - OS: [e.g. iOS]
28
- - Browser [e.g. chrome, safari]
29
- - Version [e.g. 22]
30
-
31
- **Smartphone (please complete the following information):**
32
- - Device: [e.g. iPhone6]
33
- - OS: [e.g. iOS8.1]
34
- - Browser [e.g. stock browser, safari]
35
- - Version [e.g. 22]
36
-
37
- **Additional context**
38
- Add any other context about the problem here.
@@ -1,20 +0,0 @@
1
- ---
2
- name: Feature Request
3
- about: Suggest an idea for this project
4
- title: Feature Request
5
- labels: enhancement, new
6
- assignees: chiefpansancolt
7
-
8
- ---
9
-
10
- **Is your feature request related to a problem? Please describe.**
11
- A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]
12
-
13
- **Describe the solution you'd like**
14
- A clear and concise description of what you want to happen.
15
-
16
- **Describe alternatives you've considered**
17
- A clear and concise description of any alternative solutions or features you've considered.
18
-
19
- **Additional context**
20
- Add any other context or screenshots about the feature request here.
@@ -1,10 +0,0 @@
1
- ---
2
- name: Question
3
- about: Ask a question to the group
4
- title: Question
5
- labels: new, question
6
- assignees: ''
7
-
8
- ---
9
-
10
-
data/.prettierrc DELETED
@@ -1,7 +0,0 @@
1
- {
2
- "trailingComma": "es5",
3
- "tabWidth": 2,
4
- "semi": false,
5
- "singleQuote": false,
6
- "printWidth": 80
7
- }