signum 0.8.1 → 0.9.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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: c4b5aab67ad43f0eae98ede953197bb8324656871d6e751a023c25713da7ff9b
4
- data.tar.gz: 852f44ebefacb06cab19e34359da7eb7e9f2468e8dc4c8a3c6487f6ac0d7e052
3
+ metadata.gz: 04a51bfdd67f790a1d8885ccff38d73703cb217d46d4ffb2a1fba60ff0bc38c5
4
+ data.tar.gz: cbcd2e414b7b74fe7ee0e16e59c9a7314728983ffa747e0ccc2d1478aca958bc
5
5
  SHA512:
6
- metadata.gz: f029731ad14ba294b82531a77bb39f8976b96fb661afbf7e6c50124f3ae6910aa681e673b420b5444400d578d253525f5126b09116971224e25b0bb648d79394
7
- data.tar.gz: b9aa898b46c7dd80b3e4377eb72f498de80ebc208fe1b2f6ad110f09c9d637680a30b27bab0fb0ce9d39cbbcbd1b4a1cf6b96b6ece0598202279593a3ef24601
6
+ metadata.gz: 96e07539bc6704739d8d65022a6838a74e2cc02ec0f40b6aa928d2d9b3bc8e8b4ffde1a91425100df326bae3088160c1dfc385850ddeffaa3599e5c01c8b5248
7
+ data.tar.gz: 38fac664d3baebd2756f11ccebb9fe484b99a8f6c45abc69165cf63e8dd5e58f0f10b968d98a12a2fd4e8719fdace3ccc73c5dc196bd477adddf424a6e729306
@@ -0,0 +1,7 @@
1
+ # Make sure RUBY_VERSION matches the Ruby version in .ruby-version
2
+ ARG RUBY_VERSION=3.4.7
3
+ FROM ghcr.io/rails/devcontainer/images/ruby:3.4.7
4
+
5
+ # Default value to allow debug server to serve content over GitHub Codespace's port forwarding service
6
+ # The value is a comma-separated list of allowed domains
7
+ ENV RAILS_DEVELOPMENT_HOSTS=".githubpreview.dev,.preview.app.github.dev,.app.github.dev"
@@ -0,0 +1,34 @@
1
+ {
2
+ "features": {
3
+ "ghcr.io/devcontainers/features/common-utils:2": {
4
+ "version": "2.5.9",
5
+ "resolved": "ghcr.io/devcontainers/features/common-utils@sha256:cb0c4d3c276f157eed17935747e364178d75fee17f55c4e129966f64633deb3a",
6
+ "integrity": "sha256:cb0c4d3c276f157eed17935747e364178d75fee17f55c4e129966f64633deb3a"
7
+ },
8
+ "ghcr.io/devcontainers/features/docker-in-docker:2": {
9
+ "version": "2.17.0",
10
+ "resolved": "ghcr.io/devcontainers/features/docker-in-docker@sha256:25b9f05705ffba7dbe503230ac76081419306f8c8bc88e0ce78c4ecd99a0c78c",
11
+ "integrity": "sha256:25b9f05705ffba7dbe503230ac76081419306f8c8bc88e0ce78c4ecd99a0c78c"
12
+ },
13
+ "ghcr.io/devcontainers/features/github-cli:1": {
14
+ "version": "1.1.0",
15
+ "resolved": "ghcr.io/devcontainers/features/github-cli@sha256:d22f50b70ed75339b4eed1ba9ecde3a1791f90e88d37936517e3bace0bbad671",
16
+ "integrity": "sha256:d22f50b70ed75339b4eed1ba9ecde3a1791f90e88d37936517e3bace0bbad671"
17
+ },
18
+ "ghcr.io/devcontainers/features/node:2": {
19
+ "version": "2.1.0",
20
+ "resolved": "ghcr.io/devcontainers/features/node@sha256:586c9a6f7dd40bd3ba2cd41e7f2f88dcc31fbe5d1442afcbf07ffbc66b686857",
21
+ "integrity": "sha256:586c9a6f7dd40bd3ba2cd41e7f2f88dcc31fbe5d1442afcbf07ffbc66b686857"
22
+ },
23
+ "ghcr.io/rails/devcontainer/features/activestorage": {
24
+ "version": "1.1.1",
25
+ "resolved": "ghcr.io/rails/devcontainer/features/activestorage@sha256:7fa8fff898ac33076ebf65631d3c6c902dc9bad87de3e5dfa645f3e2d7a35c07",
26
+ "integrity": "sha256:7fa8fff898ac33076ebf65631d3c6c902dc9bad87de3e5dfa645f3e2d7a35c07"
27
+ },
28
+ "ghcr.io/rails/devcontainer/features/postgres-client": {
29
+ "version": "1.2.0",
30
+ "resolved": "ghcr.io/rails/devcontainer/features/postgres-client@sha256:7e6b118646d6e0d82a9ec06e81ad1b5406f7042f0279d35fff3a7a612be7a050",
31
+ "integrity": "sha256:7e6b118646d6e0d82a9ec06e81ad1b5406f7042f0279d35fff3a7a612be7a050"
32
+ }
33
+ }
34
+ }
@@ -0,0 +1,34 @@
1
+ // For format details, see https://aka.ms/devcontainer.json. For options, see the
2
+ // README at: https://github.com/devcontainers/templates/tree/main/src/ruby-rails-postgres
3
+ {
4
+ "name": "signum",
5
+ "dockerComposeFile": "docker-compose.yml",
6
+ "service": "app",
7
+ "features": {
8
+ "ghcr.io/devcontainers/features/node:2": {},
9
+ "ghcr.io/devcontainers/features/common-utils:2": {
10
+ "configureZshAsDefaultShell": true,
11
+ "installOhMyZsh": false,
12
+ "installOhMyZshConfig": false
13
+ },
14
+ "ghcr.io/rails/devcontainer/features/activestorage": {},
15
+ "ghcr.io/rails/devcontainer/features/postgres-client": {
16
+ "version": "18"
17
+ },
18
+ "ghcr.io/devcontainers/features/github-cli:1": {},
19
+ "ghcr.io/devcontainers/features/docker-in-docker:2": {
20
+ "moby": false
21
+ }
22
+ },
23
+ "mounts": [
24
+ "source=/run/host-services/ssh-auth.sock,target=/ssh-agent,type=bind,consistency=cached",
25
+ "source=${localEnv:HOME}/.gitconfig,target=/home/vscode/.gitconfig,type=bind,consistency=cached"
26
+ ],
27
+ "postStartCommand": ".devcontainer/postStart.sh",
28
+ "containerEnv": {
29
+ "VISUAL": "vi",
30
+ "SSH_AUTH_SOCK": "/ssh-agent"
31
+ },
32
+ "customizations": {},
33
+ "workspaceFolder": "/workspaces/signum"
34
+ }
@@ -0,0 +1,35 @@
1
+ name: signum
2
+
3
+ services:
4
+ app:
5
+ image: ghcr.io/rails/devcontainer/images/ruby:4.0.5
6
+
7
+ volumes:
8
+ - ../..:/workspaces
9
+
10
+ # Overrides default command so things don't shut down after the process ends.
11
+ command: sleep infinity
12
+
13
+ depends_on:
14
+ - postgres
15
+ - redis
16
+
17
+ postgres:
18
+ image: postgres:18
19
+ restart: unless-stopped
20
+ volumes:
21
+ - postgres-data:/var/lib/postgresql/18/docker
22
+ environment:
23
+ POSTGRES_USER: postgres
24
+ POSTGRES_PASSWORD: postgres
25
+
26
+ redis:
27
+ image: valkey/valkey:8
28
+ restart: unless-stopped
29
+
30
+ selenium:
31
+ image: selenium/standalone-firefox
32
+ restart: unless-stopped
33
+
34
+ volumes:
35
+ postgres-data:
@@ -0,0 +1,13 @@
1
+ #!/usr/bin/env bash
2
+ set -e
3
+
4
+ MISE="$HOME/.local/bin/mise"
5
+ eval "$("$MISE" activate bash)"
6
+ "$MISE" trust
7
+ "$MISE" install
8
+ sudo chmod 666 /ssh-agent
9
+
10
+ "$MISE" exec -- npm install
11
+ "$MISE" exec -- bundle install
12
+ "$MISE" exec --cd test/dummy -- rake db:prepare
13
+ "$MISE" exec --cd test/dummy -- rake tailwindcss:config
data/.shipkit.yml ADDED
@@ -0,0 +1,2 @@
1
+ ---
2
+ previous_version: 0.8.1
data/Gemfile CHANGED
@@ -20,3 +20,7 @@ gemspec
20
20
  gem "auxilium", "~> 3", entdec: "auxilium"
21
21
 
22
22
  gem "sprockets-rails"
23
+
24
+ source "https://rubygems.pkg.github.com/entdec" do
25
+ gem "shipkit"
26
+ end
data/Gemfile.lock CHANGED
@@ -13,7 +13,7 @@ GIT
13
13
  PATH
14
14
  remote: .
15
15
  specs:
16
- signum (0.7.9)
16
+ signum (0.8.1)
17
17
  importmap-rails
18
18
  pg
19
19
  rails (> 6.0)
@@ -22,7 +22,7 @@ PATH
22
22
  stimulus-rails
23
23
  tailwindcss-rails
24
24
  turbo-rails
25
- view_component
25
+ view_component (>= 4)
26
26
 
27
27
  GEM
28
28
  remote: https://rubygems.org/
@@ -108,16 +108,18 @@ GEM
108
108
  concurrent-ruby (1.2.3)
109
109
  connection_pool (2.4.1)
110
110
  crass (1.0.6)
111
- date (3.4.1)
112
- debug (0.2.1)
111
+ date (3.6.0)
112
+ debug (1.11.1)
113
+ irb (~> 1.10)
114
+ reline (>= 0.3.8)
113
115
  drb (2.2.0)
114
116
  ruby2_keywords
115
117
  erubi (1.12.0)
116
- globalid (1.2.1)
118
+ globalid (1.4.0)
117
119
  activesupport (>= 6.1)
118
120
  i18n (1.14.1)
119
121
  concurrent-ruby (~> 1.0)
120
- importmap-rails (2.1.0)
122
+ importmap-rails (2.2.3)
121
123
  actionpack (>= 6.0.0)
122
124
  activesupport (>= 6.0.0)
123
125
  railties (>= 6.0.0)
@@ -128,30 +130,31 @@ GEM
128
130
  json (2.7.2)
129
131
  language_server-protocol (3.17.0.3)
130
132
  lint_roller (1.1.0)
133
+ logger (1.7.0)
131
134
  loofah (2.22.0)
132
135
  crass (~> 1.0.2)
133
136
  nokogiri (>= 1.12.0)
134
- mail (2.8.1)
137
+ mail (2.9.1)
138
+ logger
135
139
  mini_mime (>= 0.1.1)
136
140
  net-imap
137
141
  net-pop
138
142
  net-smtp
139
- marcel (1.0.4)
140
- method_source (1.1.0)
143
+ marcel (1.2.1)
141
144
  mini_mime (1.1.5)
142
145
  mini_portile2 (2.8.9)
143
146
  minitest (5.22.2)
144
147
  mutex_m (0.2.0)
145
- net-imap (0.5.9)
148
+ net-imap (0.6.8)
146
149
  date
147
150
  net-protocol
148
151
  net-pop (0.1.2)
149
152
  net-protocol
150
- net-protocol (0.2.2)
153
+ net-protocol (0.4.0)
151
154
  timeout
152
- net-smtp (0.5.1)
155
+ net-smtp (0.5.2)
153
156
  net-protocol
154
- nio4r (2.7.4)
157
+ nio4r (2.7.5)
155
158
  nokogiri (1.18.9)
156
159
  mini_portile2 (~> 2.8.2)
157
160
  racc (~> 1.4)
@@ -159,7 +162,7 @@ GEM
159
162
  parser (3.3.0.5)
160
163
  ast (~> 2.4.1)
161
164
  racc
162
- pg (1.5.9)
165
+ pg (1.7.0)
163
166
  psych (5.1.2)
164
167
  stringio
165
168
  pundit (2.3.1)
@@ -232,7 +235,7 @@ GEM
232
235
  rubocop-ast (>= 1.30.0, < 2.0)
233
236
  ruby-progressbar (1.13.0)
234
237
  ruby2_keywords (0.0.5)
235
- slim (5.2.1)
238
+ slim (5.2.2)
236
239
  temple (~> 0.10.0)
237
240
  tilt (>= 2.1.0)
238
241
  slim-rails (3.7.0)
@@ -260,7 +263,7 @@ GEM
260
263
  standard-performance (1.3.1)
261
264
  lint_roller (~> 1.1)
262
265
  rubocop-performance (~> 1.20.2)
263
- state_machines (0.100.0)
266
+ state_machines (0.202.0)
264
267
  state_machines-activemodel (0.31.0)
265
268
  activemodel (>= 7.1)
266
269
  state_machines (>= 0.31.0)
@@ -270,38 +273,44 @@ GEM
270
273
  stimulus-rails (1.3.4)
271
274
  railties (>= 6.0.0)
272
275
  stringio (3.1.0)
273
- tailwindcss-rails (4.3.0)
276
+ tailwindcss-rails (4.6.0)
274
277
  railties (>= 7.0.0)
275
278
  tailwindcss-ruby (~> 4.0)
276
- tailwindcss-ruby (4.1.11)
277
- temple (0.10.3)
279
+ tailwindcss-ruby (4.3.3)
280
+ temple (0.10.7)
278
281
  thor (1.3.1)
279
- tilt (2.6.1)
280
- timeout (0.4.3)
281
- turbo-rails (2.0.16)
282
+ tilt (2.9.0)
283
+ timeout (0.6.1)
284
+ turbo-rails (2.0.23)
282
285
  actionpack (>= 7.1.0)
283
286
  railties (>= 7.1.0)
284
287
  tzinfo (2.0.6)
285
288
  concurrent-ruby (~> 1.0)
286
289
  unicode-display_width (2.5.0)
287
- view_component (3.23.2)
288
- activesupport (>= 5.2.0, < 8.1)
290
+ view_component (4.15.0)
291
+ actionview (>= 7.1.0)
292
+ activesupport (>= 7.1.0)
289
293
  concurrent-ruby (~> 1)
290
- method_source (~> 1.0)
291
294
  webrick (1.8.1)
292
- websocket-driver (0.8.0)
295
+ websocket-driver (0.8.2)
293
296
  base64
294
297
  websocket-extensions (>= 0.1.0)
295
298
  websocket-extensions (0.1.5)
296
299
  zeitwerk (2.6.13)
297
300
 
301
+ GEM
302
+ remote: https://rubygems.pkg.github.com/entdec/
303
+ specs:
304
+ shipkit (0.1.2)
305
+
298
306
  PLATFORMS
299
307
  ruby
300
308
 
301
309
  DEPENDENCIES
302
310
  auxilium (~> 3)!
303
- debug (~> 0)
311
+ debug (~> 1.0)
304
312
  rubocop (~> 1)
313
+ shipkit!
305
314
  signum!
306
315
  sprockets-rails
307
316
  sqlite3
@@ -0,0 +1,6 @@
1
+ /* Entry point for tailwindcss-rails v4 (Tailwind CSS v4).
2
+ The host app includes it with: @import "../builds/tailwind/signum";
3
+ Imported into the components layer so utility classes still override component styles, as they did in v3 */
4
+ @import "../../stylesheets/signum/application.css" layer(components);
5
+
6
+ @source "../../..";
@@ -1,3 +1,3 @@
1
1
  .signum-notification {
2
- @apply pointer-events-auto flex flex-wrap w-full divide-x divide-y divide-gray-200 max-w-sm overflow-hidden rounded-lg bg-white shadow-lg ring-1 ring-black ring-opacity-5;
2
+ @apply pointer-events-auto flex flex-wrap w-full divide-x divide-y divide-gray-200 max-w-sm overflow-hidden rounded-lg bg-white shadow-lg ring-1 ring-black/5;
3
3
  }
@@ -1,103 +1,103 @@
1
1
  .signum-notification-body {
2
2
  @apply flex flex-col w-full divide-y dark:divide-gray-500 dark:bg-gray-600;
3
+ }
4
+
5
+ .signum-notification-body__mb {
6
+ /* main body */
7
+ @apply flex basis-full divide-x dark:divide-gray-500;
8
+ }
9
+
10
+ .signum-notification-body__mb__bc {
11
+ /* body container */
12
+ @apply flex grow py-4 px-2 overflow-hidden;
13
+ }
14
+
15
+ .signum-notification-body__mb__bc__ic {
16
+ /* icon container */
17
+ @apply grow-0 pl-2 pr-3;
18
+
19
+ svg.info {
20
+ /* icon info */
21
+ @apply text-sky-400;
22
+ }
23
+
24
+ svg.success {
25
+ /* icon success */
26
+ @apply text-green-400;
27
+ }
3
28
 
4
- &__mb {
5
- /* main body */
6
- @apply flex basis-full divide-x dark:divide-gray-500;
7
-
8
- &__bc {
9
- /* body container */
10
- @apply flex grow py-4 px-2 overflow-hidden;
11
-
12
- &__ic {
13
- /* icon container */
14
- @apply grow-0 pl-2 pr-3;
15
-
16
- svg.info {
17
- /* icon info */
18
- @apply text-sky-400;
19
- }
20
-
21
- svg.success {
22
- /* icon success */
23
- @apply text-green-400;
24
- }
25
-
26
- svg.error {
27
- /* icon error */
28
- @apply text-red-400;
29
- }
30
-
31
- svg.warning {
32
- /* icon warning */
33
- @apply text-orange-400;
34
- }
35
- }
36
-
37
- &__mc {
38
- /* main container */
39
- @apply grow text-left break-words overflow-hidden;
40
-
41
- &__ti {
42
- /* title */
43
- @apply text-[0.81rem] font-medium text-gray-900;
44
- }
45
-
46
- &__tx {
47
- /* text */
48
- @apply text-xs text-gray-500 mt-1;
49
- }
50
-
51
- &__lkc {
52
- /* links container */
53
- @apply flex flex-wrap mt-3;
54
-
55
- &__lk {
56
- /* link */
57
- @apply rounded-md text-xs font-medium text-gray-700 hover:text-gray-500 focus:outline-none mr-2;
58
- }
59
- }
60
-
61
- &__attc {
62
- /* attachments links container */
63
- @apply flex flex-wrap mt-3;
64
-
65
- &__att {
66
- /* attachment link */
67
- @apply rounded-md text-xs font-medium text-gray-700 hover:text-gray-500 focus:outline-none mr-2;
68
- }
69
- }
70
- }
71
-
72
- &__bcc {
73
- /* close button container */
74
- @apply grow-0 m-1;
75
-
76
- &__b {
77
- /* button */
78
- @apply text-gray-400 hover:text-gray-500 cursor-pointer;
79
- }
80
- }
81
- }
82
-
83
- &__bmc {
84
- /* buttons main container */
85
- @apply flex grow-0 flex-col divide-y divide-gray-200;
86
-
87
- &__bc {
88
- /* buttons container */
89
- @apply flex flex-1;
90
-
91
- &__b {
92
- /* button */
93
- @apply flex w-full items-center justify-center text-xs font-medium text-gray-700 hover:text-gray-500 focus:outline-none px-4 py-3;
94
- }
95
- }
96
- }
29
+ svg.error {
30
+ /* icon error */
31
+ @apply text-red-400;
97
32
  }
98
33
 
99
- &__pbc {
100
- /* progress bar container */
101
- @apply basis-full p-1;
34
+ svg.warning {
35
+ /* icon warning */
36
+ @apply text-orange-400;
102
37
  }
103
38
  }
39
+
40
+ .signum-notification-body__mb__bc__mc {
41
+ /* main container */
42
+ @apply grow text-left break-words overflow-hidden;
43
+ }
44
+
45
+ .signum-notification-body__mb__bc__mc__ti {
46
+ /* title */
47
+ @apply text-[0.81rem] font-medium text-gray-900;
48
+ }
49
+
50
+ .signum-notification-body__mb__bc__mc__tx {
51
+ /* text */
52
+ @apply text-xs text-gray-500 mt-1;
53
+ }
54
+
55
+ .signum-notification-body__mb__bc__mc__lkc {
56
+ /* links container */
57
+ @apply flex flex-wrap mt-3;
58
+ }
59
+
60
+ .signum-notification-body__mb__bc__mc__lkc__lk {
61
+ /* link */
62
+ @apply rounded-md text-xs font-medium text-gray-700 hover:text-gray-500 focus:outline-none mr-2;
63
+ }
64
+
65
+ .signum-notification-body__mb__bc__mc__attc {
66
+ /* attachments links container */
67
+ @apply flex flex-wrap mt-3;
68
+ }
69
+
70
+ .signum-notification-body__mb__bc__mc__attc__att {
71
+ /* attachment link */
72
+ @apply rounded-md text-xs font-medium text-gray-700 hover:text-gray-500 focus:outline-none mr-2;
73
+ }
74
+
75
+ .signum-notification-body__mb__bc__bcc {
76
+ /* close button container */
77
+ @apply grow-0 m-1;
78
+ }
79
+
80
+ .signum-notification-body__mb__bc__bcc__b {
81
+ /* button */
82
+ @apply text-gray-400 hover:text-gray-500 cursor-pointer;
83
+ }
84
+
85
+ .signum-notification-body__mb__bmc {
86
+ /* buttons main container */
87
+ @apply flex grow-0 flex-col divide-y divide-gray-200;
88
+ }
89
+
90
+ .signum-notification-body__mb__bmc__bc {
91
+ /* buttons container */
92
+ @apply flex flex-1;
93
+ }
94
+
95
+ .signum-notification-body__mb__bmc__bc__b {
96
+ /* button */
97
+ @apply flex w-full items-center justify-center text-xs font-medium text-gray-700 hover:text-gray-500 focus:outline-none px-4 py-3;
98
+ }
99
+
100
+ .signum-notification-body__pbc {
101
+ /* progress bar container */
102
+ @apply basis-full p-1;
103
+ }
@@ -3,7 +3,7 @@
3
3
  }
4
4
 
5
5
  .signum-notification-drawer-tray {
6
- @apply bg-gray-50 w-full max-w-sm absolute right-0 z-10 mx-1 w-1/3 origin-top-right divide-y dark:shadow-gray-600 dark:shadow-lg divide-gray-100 dark:bg-gray-900 dark:bg-opacity-95 bg-opacity-95 dark:border-gray-700 dark:divide-gray-800 rounded-md bg-white shadow-lg dark:outline-white ring-1 ring-black ring-opacity-5 overflow-y-auto max-h-[75vh];
6
+ @apply max-w-sm absolute right-0 z-10 mx-1 w-1/3 origin-top-right divide-y dark:shadow-gray-600 dark:shadow-lg divide-gray-100 dark:bg-gray-900/95 dark:border-gray-700 dark:divide-gray-800 rounded-md bg-white/95 shadow-lg dark:outline-white ring-1 ring-black/5 overflow-y-auto max-h-[75vh];
7
7
  }
8
8
 
9
9
  .signum-notification-drawer-item {
@@ -7,6 +7,8 @@ module Signum
7
7
  desc "Configures tailwind.config.js and application.tailwindcss.css"
8
8
 
9
9
  def add_content_to_tailwind_config
10
+ return unless File.exist?(File.join(destination_root, "config/tailwind.config.js"))
11
+
10
12
  inject_into_file "config/tailwind.config.js", before: "],\n theme: {" do
11
13
  " // Signum content\n" +
12
14
  %w[/app/views/**/* /app/helpers/**/* /app/controllers/**/* /app/components/**/* /app/javascript/**/*.js /app/assets/**/*.css].map { |path| " \"#{Signum::Engine.root}#{path}\"" }.join(",\n") +
@@ -15,6 +17,8 @@ module Signum
15
17
  end
16
18
 
17
19
  def add_content_application_tailwind_css
20
+ return unless File.exist?(File.join(destination_root, "app/assets/stylesheets/application.tailwind.css"))
21
+
18
22
  inject_into_file "app/assets/stylesheets/application.tailwind.css", before: "@tailwind base;" do
19
23
  "@import '#{Signum::Engine.root}/app/assets/stylesheets/signum/application.css';\n"
20
24
  end
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Signum
4
- VERSION = "0.8.1"
4
+ VERSION = "0.9.0"
5
5
  end
@@ -9,7 +9,9 @@ namespace :signum do
9
9
  end
10
10
  end
11
11
 
12
- if Rake::Task.task_defined?("tailwindcss:build")
12
+ # tailwindcss-rails v4 picks up app/assets/tailwind/signum/engine.css itself (via tailwindcss:engines),
13
+ # so only hook in the v3 config generator when that task is absent.
14
+ if Rake::Task.task_defined?("tailwindcss:build") && !Rake::Task.task_defined?("tailwindcss:engines")
13
15
  Rake::Task["tailwindcss:build"].enhance(["signum:tailwindcss:config"])
14
16
  Rake::Task["tailwindcss:watch"].enhance(["signum:tailwindcss:config"])
15
17
  end
data/mise.toml ADDED
@@ -0,0 +1,8 @@
1
+ [tools]
2
+ node = "24"
3
+ ruby = "3.4.7"
4
+
5
+ [env]
6
+ RUBY_VERSION="3.4.7"
7
+ # SELENIUM_URL="http://selenium:4444/"
8
+ SELENIUM_URL="http://host.docker.internal:4444/"
data/package-lock.json ADDED
@@ -0,0 +1,14 @@
1
+ {
2
+ "name": "@entdec/signum",
3
+ "version": "0.3.19",
4
+ "lockfileVersion": 3,
5
+ "requires": true,
6
+ "packages": {
7
+ "": {
8
+ "name": "@entdec/signum",
9
+ "version": "0.3.19",
10
+ "license": "MIT",
11
+ "devDependencies": {}
12
+ }
13
+ }
14
+ }
data/signum.gemspec CHANGED
@@ -31,7 +31,7 @@ Gem::Specification.new do |spec|
31
31
  spec.add_dependency "turbo-rails"
32
32
  spec.add_dependency "stimulus-rails"
33
33
  spec.add_dependency "view_component", ">= 4"
34
- spec.add_development_dependency "debug", "~> 0"
34
+ spec.add_development_dependency "debug", "~> 1.0"
35
35
  spec.add_development_dependency "rubocop", "~> 1"
36
36
  spec.add_development_dependency "standard", "~> 1"
37
37
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: signum
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.8.1
4
+ version: 0.9.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Tom de Grunt
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2026-06-16 00:00:00.000000000 Z
11
+ date: 2026-10-16 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: pg
@@ -170,14 +170,14 @@ dependencies:
170
170
  requirements:
171
171
  - - "~>"
172
172
  - !ruby/object:Gem::Version
173
- version: '0'
173
+ version: '1.0'
174
174
  type: :development
175
175
  prerelease: false
176
176
  version_requirements: !ruby/object:Gem::Requirement
177
177
  requirements:
178
178
  - - "~>"
179
179
  - !ruby/object:Gem::Version
180
- version: '0'
180
+ version: '1.0'
181
181
  - !ruby/object:Gem::Dependency
182
182
  name: rubocop
183
183
  requirement: !ruby/object:Gem::Requirement
@@ -214,9 +214,15 @@ executables: []
214
214
  extensions: []
215
215
  extra_rdoc_files: []
216
216
  files:
217
+ - ".devcontainer/Dockerfile"
218
+ - ".devcontainer/devcontainer-lock.json"
219
+ - ".devcontainer/devcontainer.json"
220
+ - ".devcontainer/docker-compose.yml"
221
+ - ".devcontainer/postStart.sh"
217
222
  - ".github/workflows/gem-push.yml"
218
223
  - ".gitignore"
219
224
  - ".rubocop.yml"
225
+ - ".shipkit.yml"
220
226
  - Gemfile
221
227
  - Gemfile.lock
222
228
  - MIT-LICENSE
@@ -225,6 +231,7 @@ files:
225
231
  - app/assets/config/signum_manifest.js
226
232
  - app/assets/images/.keep
227
233
  - app/assets/stylesheets/signum/application.css
234
+ - app/assets/tailwind/signum/engine.css
228
235
  - app/components/signum/notification/component.css
229
236
  - app/components/signum/notification/component.html.slim
230
237
  - app/components/signum/notification/component.rb
@@ -271,6 +278,8 @@ files:
271
278
  - lib/signum/engine.rb
272
279
  - lib/signum/version.rb
273
280
  - lib/tasks/signum_tasks.rake
281
+ - mise.toml
282
+ - package-lock.json
274
283
  - package.json
275
284
  - signum.gemspec
276
285
  - vendor/javascript/@hotwired--stimulus.js