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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 758e0242fe1eb1efa69d76e8f5822e02136fb26a
4
- data.tar.gz: 39ef86810fdf2617443a933aa6278d26a9f7f51a
3
+ metadata.gz: 1aa9123cf03372315da7b6e93286fbe41d69ef48
4
+ data.tar.gz: 43922d7902cd31082fea4b29c20af913ae817c76
5
5
  SHA512:
6
- metadata.gz: a973c6b73361584177325052b62e334f9353f5293882ba726c0372e2f1356f09e62d1f1d4c7b8d6dd89fbc461a22e129879470d187ea4fa3f19830150aaf5851
7
- data.tar.gz: d15e2d3189df80a347e4a4e4f20136bc8959fa621744f4362f80d4a7efdcf71394307d848c954531657c0be502311799955e4a0724759d2ece58bde0482c199a
6
+ metadata.gz: 8c9c641a07852eb6085c4d9390a08c392caea42edfe73d72db4d540c22df0ee1836cf4b8774e0bb3e181f2656da06ee4a0d1948c956b747cafba89b6d77fe0ca
7
+ data.tar.gz: 91bb228e72dfb970fadd3e160e0414200d68767e3d81f03cef5129ec3ad5872f9084377583d347bbfe941f089fbff81f2ffbb412764ecde7216bf612e5633587
@@ -43,8 +43,12 @@ module DhcpsApi
43
43
  require 'dhcpsapi/win2012/reservation'
44
44
 
45
45
  API_LEVEL = DHCPS_WIN2012_API
46
- rescue Exception => e
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
@@ -1,3 +1,3 @@
1
1
  module DhcpsApi
2
- VERSION = "0.0.9"
2
+ VERSION = "0.0.10"
3
3
  end
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.9
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: 2016-10-20 00:00:00.000000000 Z
11
+ date: 2017-02-06 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: ffi