occi 2.5.9 → 2.5.10

Sign up to get free protection for your applications and to get access to all the features.
@@ -156,8 +156,8 @@ module OCCI
156
156
  text << 'Category: ' + term + ';scheme=' + scheme.inspect + ';class="mixin"' + "\n"
157
157
  end
158
158
  @attributes.combine.each_pair do |name, value|
159
- name = name.inspect if name.kind_of? String
160
- value = value.inspect if value.kind_of? String
159
+ name = name.inspect
160
+ value = value.inspect
161
161
  text << 'X-OCCI-Attribute: ' + name + '=' + value + "\n"
162
162
  end
163
163
  @actions.each do |action|
@@ -177,9 +177,8 @@ module OCCI
177
177
  end
178
178
  attributes = []
179
179
  @attributes.combine.each_pair do |name, value|
180
- name = name.inspect if name.kind_of? String
181
- value = value.inspect if value.kind_of? String
182
- attributes << name + '=' + value
180
+ name = name.inspect
181
+ attributes << name + '=' + value.inspect
183
182
  end
184
183
  header['X-OCCI-Attribute'] = attributes.join(',') if attributes.any?
185
184
  links = []
@@ -1,3 +1,3 @@
1
1
  module OCCI
2
- VERSION = "2.5.9" unless defined?(::OCCI::VERSION)
2
+ VERSION = "2.5.10" unless defined?(::OCCI::VERSION)
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: occi
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.5.9
4
+ version: 2.5.10
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -10,7 +10,7 @@ authors:
10
10
  autorequire:
11
11
  bindir: bin
12
12
  cert_chain: []
13
- date: 2012-09-11 00:00:00.000000000 Z
13
+ date: 2012-09-12 00:00:00.000000000 Z
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
16
  name: json