simplecov-tailwindcss 2.1.2 → 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/CODEOWNERS +1 -0
- data/.github/CONTRIBUTING.md +1 -1
- data/.github/workflows/builds.yml +49 -15
- data/.github/workflows/github_publish.yml +1 -1
- data/.github/workflows/lints.yml +19 -5
- data/.github/workflows/rubygem_publish.yml +1 -1
- data/.github/workflows/tests.yml +16 -11
- data/.gitmodules +4 -0
- data/.prettierignore +3 -1
- data/CHANGELOG.md +25 -0
- data/LICENSE +1 -1
- data/README.md +4 -4
- data/bin/lint +38 -0
- data/bin/setup +21 -4
- data/bin/upgrade +19 -0
- data/dist/app.css +24 -3
- data/lib/simplecov-tailwindcss/version.rb +1 -1
- data/lib/simplecov-tailwindcss.rb +4 -5
- data/package.json +17 -16
- data/pnpm-lock.yaml +3109 -0
- data/prettier.config.js +3 -3
- data/public/application.css +2 -1
- data/public/application.js +2 -2
- data/test/test_helper.rb +1 -0
- data/views/dialog.erb +2 -1
- data/views/file_detail.erb +2 -2
- data/views/group_page.erb +5 -5
- data/views/main.erb +11 -11
- data/views/stat_card.erb +1 -1
- metadata +12 -7
- data/tailwind.config.js +0 -8
- data/yarn.lock +0 -2317
data/views/group_page.erb
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
<div class="navBody overflow-hidden <%= hide_show(title) %>" id="<%= title %>">
|
|
2
|
-
<header class="supports-backdrop-blur:bg-white/60 fixed left-28 z-40 w-full border-b border-slate-900/10 bg-white/95 backdrop-blur transition-colors duration-500 dark:border-slate-50/
|
|
2
|
+
<header class="supports-backdrop-blur:bg-white/60 fixed left-28 z-40 w-full border-b border-slate-900/10 bg-white/95 backdrop-blur-sm transition-colors duration-500 dark:border-slate-50/20 dark:bg-slate-900">
|
|
3
3
|
<div class="mx-auto flex justify-between p-4 pr-36">
|
|
4
4
|
<h1 class="text-lg font-semibold leading-6">
|
|
5
5
|
<%= title %>
|
|
@@ -13,10 +13,10 @@
|
|
|
13
13
|
</div>
|
|
14
14
|
</header>
|
|
15
15
|
<div class="mx-auto mt-14 px-4">
|
|
16
|
-
<div class="fixed inset-0 top-
|
|
16
|
+
<div class="fixed inset-0 top-32.5 left-28 right-auto z-20 w-78 overflow-y-auto border-r border-solid border-slate-900/10 px-6 pb-10 dark:border-slate-50/20">
|
|
17
17
|
<nav id="nav" class="relative lg:text-sm lg:leading-6">
|
|
18
18
|
<div class="pointer-events-none sticky top-0 -ml-0.5">
|
|
19
|
-
<div class="h-6 bg-
|
|
19
|
+
<div class="h-6 bg-linear-to-b from-white dark:from-slate-900"></div>
|
|
20
20
|
</div>
|
|
21
21
|
<ul role="list" class="mt-3 grid grid-cols-1 gap-5">
|
|
22
22
|
<%= generate_stat_card('# of Files', format_number(files.length), 'text-slate-500') %>
|
|
@@ -34,9 +34,9 @@
|
|
|
34
34
|
</ul>
|
|
35
35
|
</nav>
|
|
36
36
|
</div>
|
|
37
|
-
<div class="pl-
|
|
37
|
+
<div class="pl-102">
|
|
38
38
|
<main class="relative z-20 mx-auto">
|
|
39
|
-
<ul role="list" id="<%= title %>-list" class="divide-y divide-slate-900/10 border-b border-slate-900/10 dark:divide-slate-50/
|
|
39
|
+
<ul role="list" id="<%= title %>-list" class="divide-y divide-slate-900/10 border-b border-slate-900/10 dark:divide-slate-50/6 dark:border-slate-50/20">
|
|
40
40
|
<% files.each.with_index do |source_file, index| %>
|
|
41
41
|
<%= generate_file_detail(source_file) %>
|
|
42
42
|
<% end %>
|
data/views/main.erb
CHANGED
|
@@ -14,7 +14,7 @@
|
|
|
14
14
|
data-navigation-active-class="bg-blue-700 text-slate-300" data-navigation-inactive-class="hover:bg-blue-700 hover:text-slate-300"
|
|
15
15
|
data-search-hide-class="hidden" data-search-sort-order-value="-1" data-search-button-active-class="text-blue-700"
|
|
16
16
|
data-search-button-inactive-class="text-slate-500 dark:text-slate-400">
|
|
17
|
-
<div class="supports-backdrop-blur:bg-white/60 sticky top-0 w-full flex-none bg-white/95 backdrop-blur transition-colors duration-500 dark:border-slate-50/
|
|
17
|
+
<div class="supports-backdrop-blur:bg-white/60 sticky top-0 w-full flex-none bg-white/95 backdrop-blur-sm transition-colors duration-500 dark:border-slate-50/20 dark:bg-slate-900 z-40 border-b border-slate-900/10">
|
|
18
18
|
<div class="mx-auto">
|
|
19
19
|
<div class="mx-4 border-b border-slate-900/10 py-4 dark:border-slate-300/10 lg:mx-0 lg:border-0 lg:px-8">
|
|
20
20
|
<div class="relative flex items-center">
|
|
@@ -31,28 +31,28 @@
|
|
|
31
31
|
<path fill-rule="evenodd" d="M8 4a4 4 0 100 8 4 4 0 000-8zM2 8a6 6 0 1110.89 3.476l4.817 4.817a1 1 0 01-1.414 1.414l-4.816-4.816A6 6 0 012 8z" clip-rule="evenodd" />
|
|
32
32
|
</svg>
|
|
33
33
|
</div>
|
|
34
|
-
<input data-action="input->search#searchEvent" class="block w-full rounded-md border border-slate-900/10 bg-white/95 py-2 pl-10 pr-3 text-sm text-slate-500 placeholder-slate-500 focus:border-blue-700 focus:focus:placeholder-slate-400 focus:outline-
|
|
34
|
+
<input data-action="input->search#searchEvent" class="block w-full rounded-md border border-slate-900/10 bg-white/95 py-2 pl-10 pr-3 text-sm text-slate-500 placeholder-slate-500 focus:border-blue-700 focus:focus:placeholder-slate-400 focus:outline-hidden focus:ring-1 focus:ring-blue-700 dark:border-slate-50/20 dark:bg-transparent dark:text-slate-400" placeholder="Search File(s)" type="search" autocomplete="on">
|
|
35
35
|
</div>
|
|
36
36
|
</div>
|
|
37
37
|
</div>
|
|
38
38
|
</div>
|
|
39
39
|
<div class="relative flex w-96 justify-end ml-6">
|
|
40
|
-
<div class="relative z-0 inline-flex shadow-
|
|
41
|
-
<button data-action="click->search#orderEvent" data-search-target="asc" value="-1" type="button" class="relative inline-flex items-center px-2 py-2 rounded-l-md text-sm font-medium border border-slate-900/10 dark:border-slate-50/
|
|
40
|
+
<div class="relative z-0 inline-flex shadow-xs rounded-md">
|
|
41
|
+
<button data-action="click->search#orderEvent" data-search-target="asc" value="-1" type="button" class="relative inline-flex items-center px-2 py-2 rounded-l-md text-sm font-medium border border-slate-900/10 dark:border-slate-50/20 focus:outline-hidden focus:ring-blue-700 focus:border-blue-700 dark:bg-slate-900 text-slate-500 dark:text-slate-400">
|
|
42
42
|
<span class="sr-only">ascending</span>
|
|
43
43
|
<svg xmlns="http://www.w3.org/2000/svg" class="h-6 w-6" fill="none" viewBox="0 0 24 24" stroke="currentColor" stroke-width="2">
|
|
44
44
|
<path stroke-linecap="round" stroke-linejoin="round" d="M3 4h13M3 8h9m-9 4h6m4 0l4-4m0 0l4 4m-4-4v12" />
|
|
45
45
|
</svg>
|
|
46
46
|
</button>
|
|
47
|
-
<button data-action="click->search#orderEvent" data-search-target="desc" value="1" type="button" class="-ml-px relative inline-flex items-center px-2 py-2 rounded-r-md text-sm font-medium border border-slate-900/10 dark:border-slate-50/
|
|
47
|
+
<button data-action="click->search#orderEvent" data-search-target="desc" value="1" type="button" class="-ml-px relative inline-flex items-center px-2 py-2 rounded-r-md text-sm font-medium border border-slate-900/10 dark:border-slate-50/20 focus:outline-hidden focus:ring-blue-700 focus:border-blue-700 dark:bg-slate-900 text-slate-500 dark:text-slate-400">
|
|
48
48
|
<span class="sr-only">Descending</span>
|
|
49
49
|
<svg xmlns="http://www.w3.org/2000/svg" class="h-6 w-6" fill="none" viewBox="0 0 24 24" stroke="currentColor" stroke-width="2">
|
|
50
50
|
<path stroke-linecap="round" stroke-linejoin="round" d="M3 4h13M3 8h9m-9 4h9m5-4v12m0 0l-4-4m4 4l4-4" />
|
|
51
51
|
</svg>
|
|
52
52
|
</button>
|
|
53
53
|
</div>
|
|
54
|
-
<div class="ml-3 pl-3 border-l border-slate-900/10 dark:border-slate-50/
|
|
55
|
-
<select data-search-target="sort" data-action="input->search#sortEvent" class="block w-full pr-10 py-2 text-base border-slate-900/10 dark:border-slate-50/
|
|
54
|
+
<div class="ml-3 pl-3 border-l border-slate-900/10 dark:border-slate-50/20">
|
|
55
|
+
<select data-search-target="sort" data-action="input->search#sortEvent" class="block w-full pr-10 py-2 text-base border-slate-900/10 dark:border-slate-50/20 focus:outline-hidden focus:ring-blue-700 focus:border-blue-700 rounded-md text-slate-500 dark:bg-slate-900 dark:text-slate-400">
|
|
56
56
|
<option value="coveredpercent">% Covered</option>
|
|
57
57
|
<option value="lines"># of Lines</option>
|
|
58
58
|
<option value="releventlines">Relevent Lines</option>
|
|
@@ -67,7 +67,7 @@
|
|
|
67
67
|
<% end %>
|
|
68
68
|
</select>
|
|
69
69
|
</div>
|
|
70
|
-
<div class="ml-3 flex items-center pl-3 border-l border-slate-900/10 dark:border-slate-50/
|
|
70
|
+
<div class="ml-3 flex items-center pl-3 border-l border-slate-900/10 dark:border-slate-50/20">
|
|
71
71
|
<button type="button" data-action="click->darktheme#toggle">
|
|
72
72
|
<span class="dark:hidden">
|
|
73
73
|
<svg viewBox="0 0 24 24" fill="none" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="h-6 w-6">
|
|
@@ -89,9 +89,9 @@
|
|
|
89
89
|
</div>
|
|
90
90
|
</div>
|
|
91
91
|
</div>
|
|
92
|
-
<div class="supports-backdrop-blur:bg-white/60 fixed h-full w-28 overflow-y-auto border-r border-solid border-slate-200 bg-white/95 backdrop-blur transition-colors duration-500 dark:border-slate-50/
|
|
92
|
+
<div class="supports-backdrop-blur:bg-white/60 fixed h-full w-28 overflow-y-auto border-r border-solid border-slate-200 bg-white/95 backdrop-blur-sm transition-colors duration-500 dark:border-slate-50/20 dark:bg-transparent">
|
|
93
93
|
<div class="flex w-full flex-col items-center">
|
|
94
|
-
<div class="w-full flex-1 space-y-1 p-2">
|
|
94
|
+
<div class="w-full flex-1 space-y-1 p-2 pb-20">
|
|
95
95
|
<div class="nav group flex w-full flex-col items-center rounded-md p-3 text-xs font-medium cursor-pointer bg-blue-700 text-slate-300" data-action="click->navigation#navigateEvent" data-index="All Files">
|
|
96
96
|
<svg class="h-6 w-6 group-hover:text-slate-300" xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24" stroke="currentColor" aria-hidden="true">
|
|
97
97
|
<path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M4 6a2 2 0 012-2h2a2 2 0 012 2v2a2 2 0 01-2 2H6a2 2 0 01-2-2V6zM14 6a2 2 0 012-2h2a2 2 0 012 2v2a2 2 0 01-2 2h-2a2 2 0 01-2-2V6zM4 16a2 2 0 012-2h2a2 2 0 012 2v2a2 2 0 01-2 2H6a2 2 0 01-2-2v-2zM14 16a2 2 0 012-2h2a2 2 0 012 2v2a2 2 0 01-2 2h-2a2 2 0 01-2-2v-2z" />
|
|
@@ -127,7 +127,7 @@
|
|
|
127
127
|
<div class="pointer-events-none fixed inset-y-0 right-0 flex max-w-full pl-10">
|
|
128
128
|
<div data-slideover-target="view" class="pointer-events-auto relative w-screen max-w-3xl">
|
|
129
129
|
<div class="absolute top-0 left-0 -ml-8 flex pt-4 pr-2 sm:-ml-10 sm:pr-4">
|
|
130
|
-
<button data-action="click->slideover#close" type="button" class="rounded-md text-gray-300 hover:text-white focus:outline-
|
|
130
|
+
<button data-action="click->slideover#close" type="button" class="rounded-md text-gray-300 hover:text-white focus:outline-hidden focus:ring-2 focus:ring-white">
|
|
131
131
|
<span class="sr-only">Close panel</span>
|
|
132
132
|
<svg class="h-6 w-6" xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24" stroke="currentColor" aria-hidden="true">
|
|
133
133
|
<path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M6 18L18 6M6 6l12 12" />
|
data/views/stat_card.erb
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
<li class="col-span-1 flex rounded-md shadow-md">
|
|
2
|
-
<div class="flex flex-1 items-center justify-between truncate rounded-md border border-slate-200 bg-white/95 backdrop-blur dark:border-slate-50/
|
|
2
|
+
<div class="flex flex-1 items-center justify-between truncate rounded-md border border-slate-200 bg-white/95 backdrop-blur-sm dark:border-slate-50/20 dark:bg-transparent">
|
|
3
3
|
<div class="flex-1 truncate px-4 py-2 text-sm">
|
|
4
4
|
<span class="font-medium text-slate-700 dark:text-slate-200">
|
|
5
5
|
<%= title %>
|
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.
|
|
4
|
+
version: 2.3.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Christopher Pezza
|
|
8
|
-
autorequire:
|
|
8
|
+
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date:
|
|
11
|
+
date: 2025-10-31 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: simplecov
|
|
@@ -30,7 +30,9 @@ email:
|
|
|
30
30
|
- github@chiefpansancolt.dev
|
|
31
31
|
executables:
|
|
32
32
|
- console
|
|
33
|
+
- lint
|
|
33
34
|
- setup
|
|
35
|
+
- upgrade
|
|
34
36
|
extensions: []
|
|
35
37
|
extra_rdoc_files: []
|
|
36
38
|
files:
|
|
@@ -38,6 +40,7 @@ files:
|
|
|
38
40
|
- ".erb-lint.yml"
|
|
39
41
|
- ".eslintignore"
|
|
40
42
|
- ".eslintrc.json"
|
|
43
|
+
- ".github/CODEOWNERS"
|
|
41
44
|
- ".github/CODE_OF_CONDUCT.md"
|
|
42
45
|
- ".github/CONTRIBUTING.md"
|
|
43
46
|
- ".github/FUNDING.yml"
|
|
@@ -52,6 +55,7 @@ files:
|
|
|
52
55
|
- ".github/workflows/rubygem_publish.yml"
|
|
53
56
|
- ".github/workflows/tests.yml"
|
|
54
57
|
- ".gitignore"
|
|
58
|
+
- ".gitmodules"
|
|
55
59
|
- ".markdownlint.yml"
|
|
56
60
|
- ".prettierignore"
|
|
57
61
|
- ".rubocop.yml"
|
|
@@ -63,7 +67,9 @@ files:
|
|
|
63
67
|
- README.md
|
|
64
68
|
- Rakefile
|
|
65
69
|
- bin/console
|
|
70
|
+
- bin/lint
|
|
66
71
|
- bin/setup
|
|
72
|
+
- bin/upgrade
|
|
67
73
|
- dist/app.css
|
|
68
74
|
- dist/app.js
|
|
69
75
|
- dist/scripts/controllers/darktheme_controller.js
|
|
@@ -74,11 +80,11 @@ files:
|
|
|
74
80
|
- lib/simplecov-tailwindcss.rb
|
|
75
81
|
- lib/simplecov-tailwindcss/version.rb
|
|
76
82
|
- package.json
|
|
83
|
+
- pnpm-lock.yaml
|
|
77
84
|
- prettier.config.js
|
|
78
85
|
- public/application.css
|
|
79
86
|
- public/application.js
|
|
80
87
|
- simplecov-tailwindcss.gemspec
|
|
81
|
-
- tailwind.config.js
|
|
82
88
|
- test/fixtures/app/controllers/sample_controller.rb
|
|
83
89
|
- test/fixtures/app/models/user.rb
|
|
84
90
|
- test/fixtures/sample.rb
|
|
@@ -89,7 +95,6 @@ files:
|
|
|
89
95
|
- views/group_page.erb
|
|
90
96
|
- views/main.erb
|
|
91
97
|
- views/stat_card.erb
|
|
92
|
-
- yarn.lock
|
|
93
98
|
homepage: https://simplecov-tailwind.chiefpansancolt.dev/
|
|
94
99
|
licenses:
|
|
95
100
|
- MIT
|
|
@@ -99,7 +104,7 @@ metadata:
|
|
|
99
104
|
changelog_uri: https://github.com/chiefpansancolt/simplecov-tailwindcss/blob/master/CHANGELOG.md
|
|
100
105
|
bug_tracker_uri: https://github.com/chiefpansancolt/simplecov-tailwindcss/issues
|
|
101
106
|
rubygems_mfa_required: 'true'
|
|
102
|
-
post_install_message:
|
|
107
|
+
post_install_message:
|
|
103
108
|
rdoc_options: []
|
|
104
109
|
require_paths:
|
|
105
110
|
- lib
|
|
@@ -115,7 +120,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
115
120
|
version: '0'
|
|
116
121
|
requirements: []
|
|
117
122
|
rubygems_version: 3.3.7
|
|
118
|
-
signing_key:
|
|
123
|
+
signing_key:
|
|
119
124
|
specification_version: 4
|
|
120
125
|
summary: HTML Tailwind Design View for Simplecov formatter
|
|
121
126
|
test_files: []
|