camping 3.1.2 → 3.1.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/camping/loader.rb +5 -1
- data/lib/camping/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: bf72576fffe27b262b298dbd9355a0e801ea962c532a63010e60e72564092c77
|
4
|
+
data.tar.gz: caa65f8d4585a2b99a6ddbf3699065512b7ffee4f84a6f7a03c31d2871542bd6
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 9094ac07b30d28d2a2e8f955793959142c00db8f1880e60adb2ff02152f0f401b336a7ccb2e5228e396a5fc2f0ead7f78597dadaeca304d3e489f0c74746f28e
|
7
|
+
data.tar.gz: 1f789d875289e0632734ffb04b4765c454f050fd0efd96f8603a52cde615e452bd5dcc27f6a338a2efe86fa0fef03183f819567785a45208bdf1700aabd2722d
|
data/lib/camping/loader.rb
CHANGED
@@ -52,8 +52,12 @@ module Camping
|
|
52
52
|
# setup Zeit for this reloader
|
53
53
|
setup_zeit(@zeit)
|
54
54
|
|
55
|
+
dirs = [@root]
|
56
|
+
dirs << "#{@root}/apps" if Dir.exist? "#{@root}/apps"
|
57
|
+
dirs << "#{@root}/lib" if Dir.exist? "#{@root}/lib"
|
58
|
+
|
55
59
|
# setup recursive listener on the apps and lib directories from the source script.
|
56
|
-
@listener = Listen.to(
|
60
|
+
@listener = Listen.to(*dirs) do |modified, added, removed|
|
57
61
|
@mtime = Time.now
|
58
62
|
reload!
|
59
63
|
end
|
data/lib/camping/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: camping
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 3.1.
|
4
|
+
version: 3.1.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- why the lucky stiff
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2023-06-
|
11
|
+
date: 2023-06-24 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: mab
|