sprockets-components 0.2.0 → 0.2.1

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: fcc4905cb5aea2b0a2c224d8028bae996a28c0c32402135f288b1e7993cf274e
4
- data.tar.gz: c4c924d075a7a38352580379cdbd53103059f0ba7154d2603c5ad1f54e8e6b84
3
+ metadata.gz: af056fec5418fa33a855c1e7f06a08b6196f7098521b673dffb380a6f3d1b408
4
+ data.tar.gz: 6823791a163c74ba986f2dd0b380e2fbdcd10da93f52b1700392e5de6e53358d
5
5
  SHA512:
6
- metadata.gz: 6d2df568730a67d7fa0fbf2a3df57b3fb5578fb2c29d9ef8cff15581deb5ebf18efd2766712f87ddddf4bd0a74e3f3147eaae224e913be043217c9e320a52dbf
7
- data.tar.gz: 3f9af25ccb71f54db2c8c58d733692c4a0ca8a6cdd22ac6cb0d17254694fbc6f2ccb754478342834bfe133b526f1cc8822c07a3059b27dc46d03c03ab5e2601b
6
+ metadata.gz: a4fd2ab88a2d98cef302916403faf5e3f0acbe343082ff306d1dd7ad8ad7dfe7df2d20d78732e4584dbdbd61fd6cf55d7479cc874f774fa31a0b06f467d97d7e
7
+ data.tar.gz: a7ee43c59f72171187df32db4ae468208669660d1897607b43d9d91c21229a8588fbdfa58783a08e1938e3aeb01286ca3f52d3b10091da2ef84353fabc19543f
@@ -2,6 +2,6 @@
2
2
 
3
3
  module Sprockets
4
4
  module Components
5
- VERSION = "0.2.0"
5
+ VERSION = "0.2.1"
6
6
  end
7
7
  end
@@ -72,13 +72,13 @@ module Sprockets
72
72
 
73
73
  class CSSProcessor
74
74
  def call input
75
- "const CSS = `#{input[:data]}`;\n"
75
+ "const __SprocketsComponent__CSS = `#{input[:data]}`;\n"
76
76
  end
77
77
  end
78
78
 
79
79
  class HTMLProcessor
80
80
  def call input
81
- "const HTML = `<style>${CSS}</style>\n#{input[:data]}`;\n"
81
+ "const HTML = `<style>${__SprocketsComponent__CSS}</style>\n#{input[:data]}`;\n"
82
82
  end
83
83
  end
84
84
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: sprockets-components
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.0
4
+ version: 0.2.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Micah Geisel
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2024-01-01 00:00:00.000000000 Z
11
+ date: 2024-08-23 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: sprockets
@@ -59,7 +59,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
59
59
  - !ruby/object:Gem::Version
60
60
  version: '0'
61
61
  requirements: []
62
- rubygems_version: 3.5.3
62
+ rubygems_version: 3.5.6
63
63
  signing_key:
64
64
  specification_version: 4
65
65
  summary: Make web components easier to develop using Sprockets.