ansible4ozw 0.0.3 → 0.0.4

Sign up to get free protection for your applications and to get access to all the features.
@@ -59,10 +59,9 @@ module Ansible
59
59
  end
60
60
 
61
61
  end
62
-
63
-
62
+
64
63
  #
65
64
  # load all known Ansible Device classes
66
- Dir["devices/*.rb"].reverse.each { |f| load f }
65
+ Dir["#{Ansible.root}/ansible/devices/*.rb"].reverse.each { |f| load f }
67
66
 
68
67
  end
@@ -22,7 +22,7 @@ for more information on the LGPL, see:
22
22
  http://en.wikipedia.org/wiki/GNU_Lesser_General_Public_License
23
23
  =end
24
24
 
25
- require 'ansible_device'
25
+ require 'ansible/ansible_device'
26
26
 
27
27
  module Ansible
28
28
 
@@ -22,7 +22,7 @@ for more information on the LGPL, see:
22
22
  http://en.wikipedia.org/wiki/GNU_Lesser_General_Public_License
23
23
  =end
24
24
 
25
- require 'ansible_device'
25
+ require 'ansible/ansible_device'
26
26
 
27
27
  module Ansible
28
28
 
@@ -26,7 +26,7 @@
26
26
  #
27
27
 
28
28
 
29
- require 'hexdump'
29
+ require 'ansible/knx/hexdump'
30
30
  require 'socket'
31
31
  include Socket::Constants
32
32
 
@@ -22,7 +22,7 @@ for more information on the LGPL, see:
22
22
  http://en.wikipedia.org/wiki/GNU_Lesser_General_Public_License
23
23
  =end
24
24
 
25
- require 'knx/dpt/canonical_1bit'
25
+ require 'ansible/knx/dpt/canonical_1bit'
26
26
 
27
27
  module Ansible
28
28
 
@@ -22,7 +22,7 @@ for more information on the LGPL, see:
22
22
  http://en.wikipedia.org/wiki/GNU_Lesser_General_Public_License
23
23
  =end
24
24
 
25
- require 'knx/dpt/canonical_1bit'
25
+ require 'ansible/knx/dpt/canonical_1bit'
26
26
 
27
27
  module Ansible
28
28
 
@@ -24,7 +24,7 @@ for more information on the LGPL, see:
24
24
  http://en.wikipedia.org/wiki/GNU_Lesser_General_Public_License
25
25
  =end
26
26
 
27
- require 'knx_dpt_scalar'
27
+ require 'ansible/knx/knx_dpt_scalar'
28
28
 
29
29
  module Ansible
30
30
 
@@ -51,7 +51,7 @@ module Ansible
51
51
 
52
52
  #
53
53
  # load all known DPT modules
54
- Dir["knx/dpt/*.rb"].each { |f| load f }
54
+ Dir["#{Ansible.root}/ansible/knx/dpt/*.rb"].each { |f| load f }
55
55
 
56
56
  end
57
57
 
@@ -24,13 +24,10 @@ http://en.wikipedia.org/wiki/GNU_Lesser_General_Public_License
24
24
 
25
25
  require 'cgi'
26
26
 
27
- require 'config'
28
- require 'transceiver'
29
- require 'EIBConnection'
30
- require 'ansible_callback'
31
- require 'knx_protocol'
32
- require 'knx_value'
33
- require 'knx_tools'
27
+ require 'ansible/knx/EIBConnection'
28
+ require 'ansible/knx/knx_protocol'
29
+ require 'ansible/knx/knx_value'
30
+ require 'ansible/knx/knx_tools'
34
31
 
35
32
  module Ansible
36
33
 
@@ -22,12 +22,10 @@ for more information on the LGPL, see:
22
22
  http://en.wikipedia.org/wiki/GNU_Lesser_General_Public_License
23
23
  =end
24
24
 
25
- require 'ansible_value'
26
-
27
- require 'knx_transceiver'
28
- require 'knx_protocol'
29
- require 'knx_tools'
30
- require 'knx_dpt'
25
+ require 'ansible/knx/knx_transceiver'
26
+ require 'ansible/knx/knx_protocol'
27
+ require 'ansible/knx/knx_tools'
28
+ require 'ansible/knx/knx_dpt'
31
29
 
32
30
  module Ansible
33
31
 
data/lib/ansible/knx.rb CHANGED
@@ -0,0 +1,3 @@
1
+ require 'ansible/knx/knx_transceiver'
2
+ require 'ansible/knx/knx_tools'
3
+ require 'ansible/knx/knx_value'
@@ -1,3 +1,3 @@
1
1
  module Ansible
2
- VERSION = "0.0.3".freeze
2
+ VERSION = "0.0.4".freeze
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ansible4ozw
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.3
4
+ version: 0.0.4
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors: