svelte-on-rails 0.0.10 → 0.0.12
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/lib/svelte_on_rails/render_server_side.rb +5 -2
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 202f1fbacaa78ff38947e7665f87e21a904f6cb25fdab0e2c3280f8cd8d47c8c
|
4
|
+
data.tar.gz: 18024b88f324f8e6a2e95832b6bec156154ff00692ad849952dc5739d6875634
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: dc2bd126266183b839b66a9f42febc0f72b1a75f9d104b3b00cd8f15d80aa92345aa47060444cca49190fd9d6317517560e2d648d5680f6f732aee1ecafe950a
|
7
|
+
data.tar.gz: 405093ef539c984afe97a78dca95e70c43c920da0cce9b01c12e1c5e3a75bb91139a74cb8fb6df9384d506eeecb36a510cda8014a2fca700d1a06d487ab3805e
|
@@ -121,8 +121,11 @@ module SvelteOnRails
|
|
121
121
|
end
|
122
122
|
|
123
123
|
def self.file_exist_case_sensitive?(containing_dir, filename)
|
124
|
-
#
|
125
|
-
|
124
|
+
# Combine the directory path and filename
|
125
|
+
full_path = File.join(containing_dir, filename)
|
126
|
+
|
127
|
+
# Check if the file exists and the path matches case-sensitively
|
128
|
+
File.exist?(full_path) && Dir[File.join(containing_dir, "*")].any? { |f| f == full_path }
|
126
129
|
end
|
127
130
|
|
128
131
|
|