dhcpsapi 0.0.9 → 0.0.10
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/dhcpsapi/server.rb +5 -1
- data/lib/dhcpsapi/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 1aa9123cf03372315da7b6e93286fbe41d69ef48
|
4
|
+
data.tar.gz: 43922d7902cd31082fea4b29c20af913ae817c76
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 8c9c641a07852eb6085c4d9390a08c392caea42edfe73d72db4d540c22df0ee1836cf4b8774e0bb3e181f2656da06ee4a0d1948c956b747cafba89b6d77fe0ca
|
7
|
+
data.tar.gz: 91bb228e72dfb970fadd3e160e0414200d68767e3d81f03cef5129ec3ad5872f9084377583d347bbfe941f089fbff81f2ffbb412764ecde7216bf612e5633587
|
data/lib/dhcpsapi/server.rb
CHANGED
@@ -43,8 +43,12 @@ module DhcpsApi
|
|
43
43
|
require 'dhcpsapi/win2012/reservation'
|
44
44
|
|
45
45
|
API_LEVEL = DHCPS_WIN2012_API
|
46
|
-
rescue Exception =>
|
46
|
+
rescue Exception => _
|
47
47
|
API_LEVEL = level == :win2008 ? DHCPS_WIN2008_API : DHCPS_NONE
|
48
48
|
end
|
49
49
|
end
|
50
|
+
|
51
|
+
def api_level
|
52
|
+
API_LEVEL
|
53
|
+
end
|
50
54
|
end
|
data/lib/dhcpsapi/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: dhcpsapi
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.10
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Dmitri Dolguikh
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2017-02-06 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: ffi
|