domotics-core 0.1.2 → 0.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/domotics/core.rb +1 -0
- data/lib/domotics/core/helper/helper.rb +1 -1
- data/lib/domotics/core/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 108fa6b03de1ea64aa02223d5a5066b1c817c215
|
4
|
+
data.tar.gz: 5f49ff8821f7fa5a5a04f64e58edfd5e0aa18edb
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b7e679fda2c5a15aa04b8b689f3fbbddba0633cc043358b4cf0b898af59daec328fbf072ad514986a9811259e86e9101e602666bf24bc5dfb5a15bfb3e389954
|
7
|
+
data.tar.gz: 6e10403b7a3ce8cfdc42e71f6817d2dfe2f17fbe19acff6ded800d91d435e8fd42cba990018688ed306ab77400f4b4d13eb19e85e0c65e5549f82014cdecfa89
|
data/lib/domotics/core.rb
CHANGED
@@ -39,6 +39,7 @@ gem_path = File.dirname(__FILE__)
|
|
39
39
|
#require all
|
40
40
|
Dir["#{gem_path}/core/data/*.rb"].each {|file| require file}
|
41
41
|
Dir["#{gem_path}/core/*.rb"].each {|file| require file}
|
42
|
+
Dir["#{gem_path}/core/helper/*.rb"].each {|file| require file}
|
42
43
|
# scan all devices and elements and populate class map
|
43
44
|
[:device, :room, :element].each do |type|
|
44
45
|
Dir["#{gem_path}/core/#{type}/*.rb"].each do |file|
|
@@ -59,7 +59,7 @@ module Domotics::Core
|
|
59
59
|
def self.init
|
60
60
|
$emul = Domotics::Arduino::BoardEmulator.new
|
61
61
|
Domotics::Core.add_map type: :room, class_name: "TestRoom"
|
62
|
-
Domotics::Core::Setup.new IO.read File.expand_path("
|
62
|
+
Domotics::Core::Setup.new IO.read File.expand_path("../../../../test/config.test.rb", File.dirname(__FILE__))
|
63
63
|
end
|
64
64
|
end
|
65
65
|
end
|