cim 1.4 → 1.4.1

Sign up to get free protection for your applications and to get access to all the features.
data/lib/cim.rb CHANGED
@@ -41,7 +41,7 @@ $:.unshift(File.dirname(__FILE__)) unless
41
41
  #
42
42
 
43
43
  module CIM
44
- VERSION = '1.4'
44
+ VERSION = '1.4.1'
45
45
  require 'cim/type'
46
46
  require 'cim/variant'
47
47
  require 'cim/qualifier_flavors'
@@ -58,7 +58,7 @@ module CIM
58
58
  if name.to_s[-1,1] == "?"
59
59
  @qualifiers && @qualifiers.include?(name.to_s[0...-1])
60
60
  else
61
- (@qualifiers[name].value || @qualifiers[name].declaration.default.value) rescue nil
61
+ (@qualifiers[name].value || @qualifiers[name].declaration.default) rescue nil
62
62
  end
63
63
  end
64
64
  end
@@ -46,7 +46,7 @@ module CIM
46
46
  if name.to_s[-1,1] == "?"
47
47
  @qualifiers && @qualifiers.include?(name.to_s[0...-1])
48
48
  else
49
- (@qualifiers[name].value || @qualifiers[name].declaration.default.value) rescue nil
49
+ (@qualifiers[name].value || @qualifiers[name].declaration.default) rescue nil
50
50
  end
51
51
  end
52
52
  end
metadata CHANGED
@@ -1,65 +1,63 @@
1
- --- !ruby/object:Gem::Specification
1
+ --- !ruby/object:Gem::Specification
2
2
  name: cim
3
- version: !ruby/object:Gem::Version
4
- hash: 7
3
+ version: !ruby/object:Gem::Version
4
+ version: 1.4.1
5
5
  prerelease:
6
- segments:
7
- - 1
8
- - 4
9
- version: "1.4"
10
6
  platform: ruby
11
- authors:
12
- - "Klaus K\xC3\xA4mpf"
7
+ authors:
8
+ - Klaus Kämpf
13
9
  autorequire:
14
10
  bindir: bin
15
11
  cert_chain: []
16
-
17
- date: 2012-06-27 00:00:00 +02:00
18
- default_executable:
19
- dependencies:
20
- - !ruby/object:Gem::Dependency
12
+ date: 2013-04-09 00:00:00.000000000 Z
13
+ dependencies:
14
+ - !ruby/object:Gem::Dependency
21
15
  name: rake
22
- prerelease: false
23
- requirement: &id001 !ruby/object:Gem::Requirement
16
+ requirement: !ruby/object:Gem::Requirement
24
17
  none: false
25
- requirements:
26
- - - ">="
27
- - !ruby/object:Gem::Version
28
- hash: 3
29
- segments:
30
- - 0
31
- version: "0"
18
+ requirements:
19
+ - - ! '>='
20
+ - !ruby/object:Gem::Version
21
+ version: '0'
32
22
  type: :development
33
- version_requirements: *id001
34
- - !ruby/object:Gem::Dependency
35
- name: bundler
36
23
  prerelease: false
37
- requirement: &id002 !ruby/object:Gem::Requirement
24
+ version_requirements: !ruby/object:Gem::Requirement
25
+ none: false
26
+ requirements:
27
+ - - ! '>='
28
+ - !ruby/object:Gem::Version
29
+ version: '0'
30
+ - !ruby/object:Gem::Dependency
31
+ name: bundler
32
+ requirement: !ruby/object:Gem::Requirement
38
33
  none: false
39
- requirements:
40
- - - ">="
41
- - !ruby/object:Gem::Version
42
- hash: 3
43
- segments:
44
- - 0
45
- version: "0"
34
+ requirements:
35
+ - - ! '>='
36
+ - !ruby/object:Gem::Version
37
+ version: '0'
46
38
  type: :development
47
- version_requirements: *id002
48
- description: |-
49
- Instances of Cim classes are used to define a CIM
39
+ prerelease: false
40
+ version_requirements: !ruby/object:Gem::Requirement
41
+ none: false
42
+ requirements:
43
+ - - ! '>='
44
+ - !ruby/object:Gem::Version
45
+ version: '0'
46
+ description: ! 'Instances of Cim classes are used to define a CIM
47
+
50
48
  schema, often represented as a .mof file. See
49
+
51
50
  http://www.dmtf.org/standards/cim and
52
- http://www.dmtf.org/education/mof for details
53
- email:
51
+
52
+ http://www.dmtf.org/education/mof for details'
53
+ email:
54
54
  - kkaempf@suse.de
55
55
  executables: []
56
-
57
56
  extensions: []
58
-
59
- extra_rdoc_files:
57
+ extra_rdoc_files:
60
58
  - README.rdoc
61
59
  - LICENSE
62
- files:
60
+ files:
63
61
  - lib/cim.rb
64
62
  - lib/cim/property.rb
65
63
  - lib/cim/type.rb
@@ -77,39 +75,29 @@ files:
77
75
  - lib/cim/qualifier.rb
78
76
  - README.rdoc
79
77
  - LICENSE
80
- has_rdoc: true
81
78
  homepage: https://github.com/kkaempf/cim
82
79
  licenses: []
83
-
84
80
  post_install_message:
85
81
  rdoc_options: []
86
-
87
- require_paths:
82
+ require_paths:
88
83
  - lib
89
- required_ruby_version: !ruby/object:Gem::Requirement
84
+ required_ruby_version: !ruby/object:Gem::Requirement
90
85
  none: false
91
- requirements:
92
- - - ">="
93
- - !ruby/object:Gem::Version
94
- hash: 3
95
- segments:
96
- - 0
97
- version: "0"
98
- required_rubygems_version: !ruby/object:Gem::Requirement
86
+ requirements:
87
+ - - ! '>='
88
+ - !ruby/object:Gem::Version
89
+ version: '0'
90
+ required_rubygems_version: !ruby/object:Gem::Requirement
99
91
  none: false
100
- requirements:
101
- - - ">="
102
- - !ruby/object:Gem::Version
103
- hash: 3
104
- segments:
105
- - 0
106
- version: "0"
92
+ requirements:
93
+ - - ! '>='
94
+ - !ruby/object:Gem::Version
95
+ version: '0'
107
96
  requirements: []
108
-
109
97
  rubyforge_project: cim
110
- rubygems_version: 1.5.0
98
+ rubygems_version: 1.8.23
111
99
  signing_key:
112
100
  specification_version: 3
113
101
  summary: A pure-Ruby implementation of the CIM meta model
114
102
  test_files: []
115
-
103
+ has_rdoc: