ruby_home 0.1.3 → 0.1.4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/ruby_home/version.rb +1 -1
- data/lib/ruby_home.rb +3 -3
- 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: bca7f2c1b6c63b9083605bb967d75f4c56219825c03068f972f5d57dfbf227bd
|
4
|
+
data.tar.gz: f5a79a5a8c4e6b77302f736d22898be8bef2972c6fd7da06d3f4d7a51e66a186
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 0bbff1f14b617fbbf00c8c1f3ed529e1d1fb7545f316f582a0b6ba196213f6e0560679fa7cb7a8de4499c74af74af00ec1c1b8ea4b4158c4816b2265a8c44988
|
7
|
+
data.tar.gz: 8a8ce2a35a678aaf7b4ecea34f8aedcfc40741d1afc4de8e06bd6eb0bf982685ae99c7ce6f85b778249c28f0c0da94a5aba5c37a3c8a5fb7820b22e3e6e02d13
|
data/lib/ruby_home/version.rb
CHANGED
data/lib/ruby_home.rb
CHANGED
@@ -28,7 +28,7 @@ module RubyHome
|
|
28
28
|
end
|
29
29
|
|
30
30
|
def threads
|
31
|
-
@@
|
31
|
+
@@_threads ||= []
|
32
32
|
end
|
33
33
|
|
34
34
|
def shutdown
|
@@ -36,11 +36,11 @@ module RubyHome
|
|
36
36
|
end
|
37
37
|
|
38
38
|
def dns_service
|
39
|
-
|
39
|
+
@@_dns_service ||= RubyHome::DNS::Service.new(http_server.port)
|
40
40
|
end
|
41
41
|
|
42
42
|
def http_server
|
43
|
-
|
43
|
+
@@_http_server ||= RubyHome::HTTP::Application.new
|
44
44
|
end
|
45
45
|
end
|
46
46
|
end
|