torque_rm 0.2.4 → 0.2.5

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,15 +1,15 @@
1
1
  ---
2
2
  !binary "U0hBMQ==":
3
3
  metadata.gz: !binary |-
4
- ZWQ5ZTUyZDc4ZmZhMzA5NDAwOTRkZjlkNmRkMWI1NGVhNTEzNjI4ZQ==
4
+ MDkzYTFiZjE5YjQxOTk1NGFjZDVjNzYxNmVlYzc1OWJmYjBkY2QxYg==
5
5
  data.tar.gz: !binary |-
6
- MGU5ZGFjYzNhNTI5OTdiZWQ2OTA1ZTEyYTZmZjRlNDY3NDllZGQzNg==
6
+ ZmNiNTdmMDhiMmMxMmNjYTM5OTQ5MWY0OWE5MTZlNGMxYTY2MTM3NA==
7
7
  !binary "U0hBNTEy":
8
8
  metadata.gz: !binary |-
9
- ODA0Y2IwZTg2ZTZkMTdjYjU0ODA2ODZlZjA0ZDkxMGRmMGQ3OTFlYTZiZDg1
10
- ODFlMTYyZTk2ODk3ZjYyOTFjZTFlMDVlNzFhNDBkZjUxNjM4NWI4ZGM4YmFh
11
- NTNkODY3OWJhMmM3NGI2YWQ3ODgxNmNhZDdlOGFiNDhiZjIyMGM=
9
+ MTBiODk5YmJlMmVmNTcxOGE2NzIyMjJkNGJkZjQyZGQzNjU2YTc0YzNlNzI2
10
+ M2RiYjBjNTA5Y2JmZGM5ZDY3ZTU4NjVjZTliMTNhYWY4OGU2MjA5ZGRiNTBj
11
+ NjIyYzVjNDI1ZWFjMTU1M2JjMzc0Yjg5OThkODMxZjEyODEzNDA=
12
12
  data.tar.gz: !binary |-
13
- ZGQ5MDYyMjBhMDUwYzBlMGVjMjJjZmU3OWYwYWI0OWRlOWViNThiNTQyMGNk
14
- NTNmMDUwMTU1ZjE1OWY3NjMzZThhY2MwM2NkNDcyZjAwZDg2MDk1ZWRlYjIx
15
- YTI2YTE1ZmYzMmNlYjY1MTExYTMxZDYyNjBmMTRiZDBjNDUyM2Q=
13
+ NzM4MzIwYjE5YzYwZGQyZjRhY2FkZDY3OGZiYjhkMDM0ZGEyNzdjMTgzYTk3
14
+ ZTQzM2IwZjhiZWI1OTE3M2JlMjU3ZjgzZDkzNzRlZjY3MjFmOWM3ZDEyNzhi
15
+ YTJjYTM0OTFiYmMzMGViYThmNDZlZjdmNjZjOWMwNzU0YjM3Y2Y=
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.2.4
1
+ 0.2.5
@@ -114,7 +114,11 @@ module TORQUE
114
114
  if resource_list.ncpus
115
115
  return resource_list.ncpus
116
116
  elsif resource_list.nodes
117
- return resource_list.nodes.split("ppn=")[-1]
117
+ if resource_list.nodes.is_a? String
118
+ return resource_list.nodes.split("ppn=")[-1]
119
+ else
120
+ return resource_list.nodes
121
+ end
118
122
  else
119
123
  return "-"
120
124
  end
@@ -5,7 +5,7 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = "torque_rm"
8
- s.version = "0.2.4"
8
+ s.version = "0.2.5"
9
9
 
10
10
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
11
  s.authors = ["Raoul Jean Pierre Bonnal"]
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: torque_rm
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.4
4
+ version: 0.2.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Raoul Jean Pierre Bonnal