rails_live_reload 0.3.3 → 0.3.4
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: 9719946dc13f20a304dd1d9c70238c2219252bd2a4c1b012bdb66f5c8ed1f8f0
|
4
|
+
data.tar.gz: 843756b9a273ddd189eff2ac6f77b0e44535d4b261e098bb70a9c900bb2e9287
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 0bf3875244b09962a7da0a1269853215365a57b9ce22b29a09332e43a538b2483f96287480c345a455a7b3d83b63200cb3b2ea34e0cbfa015d8697ef154a446a
|
7
|
+
data.tar.gz: 54a32215cdb6ae7c7811f46a6b6452aa5e86d9470d4d01732c10469ea5354197e5539806c9d703a67da391a39471a1c78025c9b4d28266c97cd68db4cf60dade
|
@@ -49,7 +49,13 @@ module RailsLiveReload
|
|
49
49
|
end
|
50
50
|
|
51
51
|
def socket_path
|
52
|
-
root_path.join('tmp/sockets/rails_live_reload.sock')
|
52
|
+
root_path.join('tmp/sockets/rails_live_reload.sock').then do |path|
|
53
|
+
break path if path.to_s.size <= 104 # 104 is the max length of a socket path
|
54
|
+
|
55
|
+
puts "Unable to create socket path inside the project, using /tmp instead"
|
56
|
+
app_name = ::Rails.application.class.name.split('::').first.underscore
|
57
|
+
Pathname.new("/tmp/rails_live_reload_#{app_name}.sock")
|
58
|
+
end
|
53
59
|
end
|
54
60
|
end
|
55
61
|
end
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: rails_live_reload
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.3.
|
4
|
+
version: 0.3.4
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Igor Kasyanchuk
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2023-04-
|
12
|
+
date: 2023-04-22 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: railties
|