smart_proxy_dhcp_remote_isc 0.0.1 → 0.0.2

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
  SHA1:
3
- metadata.gz: 9c7a143597ce178787bfc90ea187eb326b8421f8
4
- data.tar.gz: 683c89338e874d08af5e5c17d7c68ce869fd88d5
3
+ metadata.gz: 791ed53caa083fc063689c010c4cb947b7848f15
4
+ data.tar.gz: 7b07573e49911d84b203f37249f34228e085bc29
5
5
  SHA512:
6
- metadata.gz: 7587fa1e4ffdd674deec3ec762bdb0f7ad9e3b33b95ebd931dcd77b65cda0282eb902d6afb9cff4341d0106056a9c23b3156f208fb334bb521272fcbb8f337b8
7
- data.tar.gz: 82c467cc61f205f4d3ccbaf19acea2834b4b8f93fceb7676e7d22b50502343ff1cda0d1eda5bc2a87be311e7dcd259318f81ccacc466a1b90519e3cd4862924e
6
+ metadata.gz: 5a3579fa011f5c5e6fc335e59f5f2eb918c185636d4b446092304f8814833c844c7a5c70cd521f7992edfca46d0c414587d22533b90c32985755d7c3e5edbbf8
7
+ data.tar.gz: 34e2fffd46cc104689fbe71a9987833f142d408615237da64c9fb1c89221e119d180e3cf0ea3c9ea42bbf4f05d3275645951dac819e2f5c6cfc0e688641e23bf
@@ -1,7 +1,7 @@
1
1
  require 'dhcp_common/isc/file_parser'
2
2
 
3
3
  module ::Proxy::DHCP::RemoteISC
4
- class IscFileParser < ::Proxy::DHCP::IscFileParser
4
+ class IscFileParser < ::Proxy::DHCP::CommonISC::IscFileParser
5
5
  def initialize
6
6
  super(nil)
7
7
  end
@@ -8,7 +8,7 @@ module Proxy::DHCP::RemoteISC
8
8
  container.get_dependency(:memory_store), container.get_dependency(:memory_store))
9
9
  end)
10
10
  container.dependency :parser, lambda {::Proxy::DHCP::RemoteISC::IscFileParser.new}
11
- container.dependency :config_file, lambda {::Proxy::DHCP::IscConfigurationFile.new(settings[:config], container.get_dependency(:parser))}
11
+ container.dependency :config_file, lambda {::Proxy::DHCP::CommonISC::IscConfigurationFile.new(settings[:config], container.get_dependency(:parser))}
12
12
  container.dependency :subnet_service_initializer, (lambda do
13
13
  ::Proxy::DHCP::RemoteISC::SubnetServiceInitializer.new(container.get_dependency(:config_file), settings[:leases],
14
14
  container.get_dependency(:parser), container.get_dependency(:subnet_service))
@@ -16,7 +16,7 @@ module Proxy::DHCP::RemoteISC
16
16
  container.dependency :initialized_subnet_service, lambda {container.get_dependency(:subnet_service_initializer).initialized_subnet_service }
17
17
 
18
18
  container.dependency :dhcp_provider, (lambda do
19
- Proxy::DHCP::IscOmapiProvider.new(
19
+ Proxy::DHCP::CommonISC::IscOmapiProvider.new(
20
20
  settings[:server], settings[:omapi_port], settings[:subnets], settings[:key_name], settings[:key_secret],
21
21
  container.get_dependency(:initialized_subnet_service))
22
22
  end)
@@ -2,7 +2,7 @@ require 'dhcp_common/isc/subnet_service_initialization'
2
2
 
3
3
  module Proxy::DHCP::RemoteISC
4
4
  class SubnetServiceInitializer
5
- include ::Proxy::DHCP::IscSubnetServiceInitialization
5
+ include ::Proxy::DHCP::CommonISC::IscSubnetServiceInitialization
6
6
  include Proxy::Log
7
7
 
8
8
  attr_reader :config_file, :leases_path, :parser, :service
@@ -1,7 +1,7 @@
1
1
  module Proxy
2
2
  module DHCP
3
3
  module RemoteISC
4
- VERSION = '0.0.1'
4
+ VERSION = '0.0.2'
5
5
  end
6
6
  end
7
7
  end
@@ -55,7 +55,7 @@ class ProductionDiWiringsTest < Test::Unit::TestCase
55
55
  assert service_initializer
56
56
  assert_equal ::Proxy::DHCP::SubnetService, service_initializer.service.class
57
57
  assert_equal ::Proxy::DHCP::RemoteISC::IscFileParser, service_initializer.parser.class
58
- assert_equal ::Proxy::DHCP::IscConfigurationFile, service_initializer.config_file.class
58
+ assert_equal ::Proxy::DHCP::CommonISC::IscConfigurationFile, service_initializer.config_file.class
59
59
  assert_equal @settings[:leases], service_initializer.leases_path
60
60
  end
61
61
 
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: smart_proxy_dhcp_remote_isc
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.1
4
+ version: 0.0.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Dmitri Dolguikh
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2017-03-21 00:00:00.000000000 Z
11
+ date: 2017-03-27 00:00:00.000000000 Z
12
12
  dependencies: []
13
13
  description: Smart-Proxy dhcp module provider for NFS-accessible ISC dhcpd installations
14
14
  email: