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: 1623b6bf21bbdba8af1e54604ded65c4ea4b9181fbc39fa5b0e9ebb0c45c3b2b
4
- data.tar.gz: f29b6252a029be2dfdd728f88646392f5b34edd6fee7539d9251218aa2b2f8d1
3
+ metadata.gz: de6acaa5f046895098588551b769b676af5ed32d16b56365fa77e3f5a0bd866a
4
+ data.tar.gz: ecc49f8b01e2c4be612d0660d454e1802c9ed41056941a620f990c5a7703a726
5
5
  SHA512:
6
- metadata.gz: 2c195f9fd7d326e357336992f04fd88751a74546e79675b3aac0a7bf0b7216bae0ec17084051b04de9ea35efed00337c9d274704a1b3ae9d97401f7ba29e70a6
7
- data.tar.gz: 77682dd076906ff49f90fd7fef92e7bb81b55467a54e8549248bf841bc213d67a089e8f7ea845176f008b8b2f340d97dda34e3aa6a84b8dc2479eccaf96a7af4
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')
@@ -1,3 +1,3 @@
1
1
  module TurboMaterial
2
- VERSION = "0.2.17"
2
+ VERSION = "0.2.18"
3
3
  end
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.17
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 00:00:00.000000000 Z
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.5.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.