turbo_material 0.2.17 → 0.2.18
Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: de6acaa5f046895098588551b769b676af5ed32d16b56365fa77e3f5a0bd866a
|
4
|
+
data.tar.gz: ecc49f8b01e2c4be612d0660d454e1802c9ed41056941a620f990c5a7703a726
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 340d9eab231f6772822f0e886a857b07461c79238c04dc768e39b8c020ba6126e24b74126044a5804471c9b48cc7c12016bc195532c052f96e2de706bc9200b7
|
7
|
+
data.tar.gz: 239edb0bd82cd8c888f75af1899252c2d81d0071c6d4edb4f21167fd792b93bfccc60c54b502a84f00caa6b9bda470adf5220c620fd8e38604f753e2eb817652
|
@@ -19,10 +19,13 @@ module TurboMaterial
|
|
19
19
|
css_content = File.read(tailwind_css_path)
|
20
20
|
css_content.gsub!(/\/\*.*?\*\//m, '')
|
21
21
|
css_content.gsub!(/\{[^}]*}/m, '{}')
|
22
|
+
css_content.gsub!('>:not([hidden])~:not([hidden])', '')
|
22
23
|
css_content.gsub!(/\\\[/, '[')
|
23
24
|
css_content.gsub!( /\\\]/, ']')
|
25
|
+
css_content.gsub!( /\\\//, '/')
|
26
|
+
css_content.gsub!( /\\:/, ':')
|
24
27
|
|
25
|
-
class_regex = /\.\\?(!?[-_a-zA-Z0-9\[\]]+)(?=[^}]*\{)/
|
28
|
+
class_regex = /\.\\?(!?[-_a-zA-Z0-9\[\]\/:]+)(?=[^}]*\{)/
|
26
29
|
classes = css_content.scan(class_regex).flatten.uniq.sort
|
27
30
|
|
28
31
|
tailwind_config_path = Rails.root.join('config/tailwind.config.js')
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: turbo_material
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.2.
|
4
|
+
version: 0.2.18
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Sergey Moiseev
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2024-09-
|
11
|
+
date: 2024-09-12 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rails
|
@@ -194,7 +194,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
194
194
|
- !ruby/object:Gem::Version
|
195
195
|
version: '0'
|
196
196
|
requirements: []
|
197
|
-
rubygems_version: 3.
|
197
|
+
rubygems_version: 3.4.12
|
198
198
|
signing_key:
|
199
199
|
specification_version: 4
|
200
200
|
summary: Material Web Components for Hotwire Turbo.
|