ruby-cute 0.9 → 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: af28df7d6bf498514a9d86e82669352fa2e9543e
4
- data.tar.gz: 8b0194dd58986a711b4f8bbb17282ace4b4a5de2
3
+ metadata.gz: e75eb4ece743b61f9f6b99471737e8254a99ff24
4
+ data.tar.gz: 11cb6aa7d6f013d72b8b31724b608723b934f7b8
5
5
  SHA512:
6
- metadata.gz: 1892a6dec7830a391b366f2275c34b9514a14b11c25bc91678b713129933c25398662b794a41c20d31458c0eef9bcdde675ae128a3263ea1a9e2af47a7b3b0e7
7
- data.tar.gz: 9dbb1e1f7cc60c9c3c223dacf49c49824f1b12160e354d4e5b0a4374f5ea4098b7ed9baf81ef0f122012ebb0cf529b8277630b3c6f0be76714218fb6d0bfa2c9
6
+ metadata.gz: 6ded1372ed4b88ae5937becf2d1c20a84bc70ce9ba3039328fe873804253b71e1a7cb2ea415de768dc6cfa27b751abfaa81c5d67d70ed834bb6222f2e46bb3f5
7
+ data.tar.gz: 37d332de8dda6d1df60125e282f4ea34e34dea46b8e8a94135168f5f37df577374ec863641ca3f20ff1f28b045d0e3e01c016aa540d19e88ebc011f3f31a4445
@@ -1073,19 +1073,8 @@ module Cute
1073
1073
  end
1074
1074
 
1075
1075
  begin
1076
- # Support for the option "import-job-key-from-file"
1077
- # The request has to be redirected to the OAR API given that Grid'5000 API
1078
- # does not support some OAR options. Bug #7360: https://intranet.grid5000.fr/bugzilla/show_bug.cgi?id=7360
1079
- if payload['import-job-key-from-file'] then
1080
-
1081
- temp = @g5k_connection.post_json(api_uri("sites/#{site}/internal/oarapi/jobs"),payload)
1082
- info debug_cmd(api_uri("sites/#{site}/internal/oarapi/jobs"),"POST",payload.to_json), :debug
1083
- sleep 1 # This is for being sure that our job appears on the list
1084
- r = get_my_jobs(site,nil).select{ |j| j["uid"] == temp["id"] }.first
1085
- else
1086
- info debug_cmd(api_uri("sites/#{site}/jobs"),"POST",payload.to_json), :debug
1087
- r = @g5k_connection.post_json(api_uri("sites/#{site}/jobs"),payload) # This makes reference to the same class
1088
- end
1076
+ info debug_cmd(api_uri("sites/#{site}/jobs"),"POST",payload.to_json), :debug
1077
+ r = @g5k_connection.post_json(api_uri("sites/#{site}/jobs"),payload) # This makes reference to the same class
1089
1078
  rescue Error => e
1090
1079
  info "Fail to submit job"
1091
1080
  info e.message
@@ -1,3 +1,3 @@
1
1
  module Cute
2
- VERSION = "0.9"
2
+ VERSION = "0.10"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ruby-cute
3
3
  version: !ruby/object:Gem::Version
4
- version: '0.9'
4
+ version: '0.10'
5
5
  platform: ruby
6
6
  authors:
7
7
  - Algorille team