palletjack-tools 0.2.0 → 0.3.0

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: 2437860b1eb4b4f167a5dff5af46472a057aa9b5
4
- data.tar.gz: 2be532d8a2c4560506a9bb39a8ad8fa79d8a1126
3
+ metadata.gz: bf66408c856c890c1879550e47b702f6afbccd1c
4
+ data.tar.gz: 25fef6170c0d4316ca7d087ef78a5eedbf2a825a
5
5
  SHA512:
6
- metadata.gz: 3c39dbb871788b5b5530c23f772bea8e4d1f1caf6a0a38c58b7734f16dacd37460c73586f7b8876088d4a988cd79a1ccc9140cab12de67a4f76f1ce08527bc65
7
- data.tar.gz: f7a4515815c3452a7b0f5d514f96127dc901d44a66a8d35ccc050ef54b9952e45fce3bb84aae1ab9ac7bcff220c5419a43a1fbed7fc966dfd6f48293eaad72af
6
+ metadata.gz: b95729a7a5520aabe8a44deb59822c30f20da5895434fbafd6b61a28fc7972fed5e37d28b88f8aa0e4ccac4036b8d90ddac8ae4cef39b936a16d1767365d3464
7
+ data.tar.gz: b7d606207050e8385dc9d714e1e563e53f6199c4e6eb0eb817c64ccb9597d6626d7682a23e6fd3248c0e29cd4efb798fd4fd7f55c271e515fed4ab7cbc5131ab
checksums.yaml.gz.sig CHANGED
Binary file
data.tar.gz.sig CHANGED
Binary file
data/exe/palletjack2kea CHANGED
@@ -35,11 +35,11 @@ Write configuration for the Kea DHCP server from a Palletjack warehouse"
35
35
  attr_reader :kea_config
36
36
 
37
37
  def process
38
- @kea_config = { 'Dhcp4' => {} }
39
-
40
- jack.each(kind:'service', name:options[:service]) do |service_config|
41
- @kea_config['Dhcp4'] = service_config['service.kea_v4']
42
- end
38
+ @kea_config = { 'Dhcp4' =>
39
+ jack.fetch(kind:'service',
40
+ parent_name:'dhcp-server',
41
+ name:options[:service])['service.kea_v4']
42
+ }
43
43
 
44
44
  @kea_config['Dhcp4']['subnet4'] = []
45
45
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: palletjack-tools
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.0
4
+ version: 0.3.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Karl-Johan Karlsson
@@ -31,7 +31,7 @@ cert_chain:
31
31
  f8wtQllq82VF0AXUYeLtTh1f+DW3WW5BO1e2OCu5eOV7dbyaVPaNK/+rHjCN8kM/
32
32
  DGZSwUoNADmVkQ==
33
33
  -----END CERTIFICATE-----
34
- date: 2016-11-11 00:00:00.000000000 Z
34
+ date: 2016-11-18 00:00:00.000000000 Z
35
35
  dependencies:
36
36
  - !ruby/object:Gem::Dependency
37
37
  name: palletjack
@@ -39,14 +39,14 @@ dependencies:
39
39
  requirements:
40
40
  - - '='
41
41
  - !ruby/object:Gem::Version
42
- version: 0.2.0
42
+ version: 0.3.0
43
43
  type: :runtime
44
44
  prerelease: false
45
45
  version_requirements: !ruby/object:Gem::Requirement
46
46
  requirements:
47
47
  - - '='
48
48
  - !ruby/object:Gem::Version
49
- version: 0.2.0
49
+ version: 0.3.0
50
50
  - !ruby/object:Gem::Dependency
51
51
  name: dns-zone
52
52
  requirement: !ruby/object:Gem::Requirement
metadata.gz.sig CHANGED
Binary file