ruby-cute 0.8 → 0.9
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/lib/cute/g5k_api.rb +2 -2
- data/lib/cute/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: af28df7d6bf498514a9d86e82669352fa2e9543e
|
|
4
|
+
data.tar.gz: 8b0194dd58986a711b4f8bbb17282ace4b4a5de2
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 1892a6dec7830a391b366f2275c34b9514a14b11c25bc91678b713129933c25398662b794a41c20d31458c0eef9bcdde675ae128a3263ea1a9e2af47a7b3b0e7
|
|
7
|
+
data.tar.gz: 9dbb1e1f7cc60c9c3c223dacf49c49824f1b12160e354d4e5b0a4374f5ea4098b7ed9baf81ef0f122012ebb0cf529b8277630b3c6f0be76714218fb6d0bfa2c9
|
data/lib/cute/g5k_api.rb
CHANGED
|
@@ -1055,7 +1055,7 @@ module Cute
|
|
|
1055
1055
|
info "Reserving resources: #{resources} (type: #{type}) (in #{site})"
|
|
1056
1056
|
|
|
1057
1057
|
payload['properties'] = properties unless properties.nil?
|
|
1058
|
-
payload['
|
|
1058
|
+
payload['types'] = type.map{ |t| t.to_s} unless type.nil?
|
|
1059
1059
|
type.map!{|t| t.to_sym} unless type.nil?
|
|
1060
1060
|
payload['queue'] = queue if queue
|
|
1061
1061
|
|
|
@@ -1063,7 +1063,7 @@ module Cute
|
|
|
1063
1063
|
if opts[:keys]
|
|
1064
1064
|
payload['import-job-key-from-file'] = [ File.expand_path(keys) ]
|
|
1065
1065
|
else
|
|
1066
|
-
payload['
|
|
1066
|
+
payload['types'] += [ 'allow_classic_ssh' ]
|
|
1067
1067
|
end
|
|
1068
1068
|
end
|
|
1069
1069
|
|
data/lib/cute/version.rb
CHANGED