wbem 0.2.10 → 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: d14651109ee6b7c173d2709af7329cb0230f1ccd
4
- data.tar.gz: 2685b66d3b6dc1524b3221345dde81d8f6d81723
3
+ metadata.gz: 87b68ff6a2d000a5a3d48ca45b80457b2e09510e
4
+ data.tar.gz: 485f24baa3f7b857f23a41c6d083ae335207f6ea
5
5
  SHA512:
6
- metadata.gz: 81f5034b2f980c629b027e22eb83eadd0fe3fe3a8d9e89144ed9366c382086189cfd37a4a1c7b51e36d4b14cf4b185230acab5f5c6990e2a2a24c985f3e5be11
7
- data.tar.gz: c4d3e7f353a0bc960a8aa5f450e61b5c198d20b096b8c3fb1cf545a7fdd50f86aeae42ad9c1789226f2ca76ec0e81e81b014ec2ad7ac1953933d74c7b22446d9
6
+ metadata.gz: c0d17fee71e8379c960add9b3d250afa20ff15b06588b701a6a386396d5fa6f263bacb233f531c70955b02e2ce3bdc57025bdbde36cac9db495e85b5bd5c18e6
7
+ data.tar.gz: 4d5d1ba803e1a93d2b3802dd1ae44e4fdf5c35788507e5e30d0f06b6042fb5d1569c63fab10784b0d589e86f091e75a40b5dcf90482d4a9ae61f88afa71ed9f1
@@ -1,3 +1,7 @@
1
+ == 0.3.0
2
+
3
+ * Add Client#profiles to enumerate CIM_RegisteredProfile
4
+
1
5
  == 0.2.8
2
6
 
3
7
  * Client#class_names accepts an ObjectPath now
@@ -1,3 +1,3 @@
1
1
  module Wbem
2
- VERSION = "0.2.10"
2
+ VERSION = "0.3.0"
3
3
  end
@@ -57,6 +57,14 @@ public
57
57
  instance_names ns, system_class_name
58
58
  end
59
59
 
60
+ def profile_class_name
61
+ "CIM_RegisteredProfile"
62
+ end
63
+ def profiles ns="root/cimv2"
64
+ ns = "" if @product == :iamt
65
+ instance_names ns, profile_class_name
66
+ end
67
+
60
68
  def service_class_name
61
69
  case @product
62
70
  when :winrm then "Win32_Service"
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: wbem
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.10
4
+ version: 0.3.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Klaus Kämpf
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-01-16 00:00:00.000000000 Z
11
+ date: 2015-02-24 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: yard