miga-base 1.1.3.6 → 1.1.4.0
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/miga/cli/action/daemon.rb +7 -3
- data/lib/miga/version.rb +2 -2
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: bb03f8cf2e7a3ebd138b0a4b4fcb393093ee18317a89d168f27c1e2f4ac687cd
|
4
|
+
data.tar.gz: ca50166c33ae2a93e32e5f44f570e1d3b3cacd0ce7361d4e58b9ba9cefbc0dfa
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: f95b279c12c9e4735a7507795698fed578c28b904cb867caadebcd9f3ea0ba4592ef7d8763425cf0d6d1806f6afc1801ffa2b0db8341498c5e4c8d1ca2689214
|
7
|
+
data.tar.gz: f54a2e738c2ae885bda629d216f45d9b139bd64d68e99b95f02ea328a1f0c26138314a621ef63a836391559be703b24b78d2f83dadf496c94bc5f61a78e1abe7
|
@@ -38,9 +38,13 @@ class MiGA::Cli::Action::Daemon < MiGA::Cli::Action
|
|
38
38
|
'Path to the list of execution hostnames'
|
39
39
|
) { |v| cli[:nodelist] = v }
|
40
40
|
opt.on(
|
41
|
-
'--ppn INT',
|
41
|
+
'--ppn INT', Integer,
|
42
42
|
'Maximum number of cores to use in a single job'
|
43
|
-
) { |v| cli[:ppn] = v
|
43
|
+
) { |v| cli[:ppn] = v }
|
44
|
+
opt.on(
|
45
|
+
'--ppn-project INT', Integer,
|
46
|
+
'Maximum number of cores to use in project-wide tasks'
|
47
|
+
) { |v| cli[:ppn_project] = v }
|
44
48
|
opt.on(
|
45
49
|
'--json PATH',
|
46
50
|
'Path to a custom daemon definition in json format'
|
@@ -81,7 +85,7 @@ class MiGA::Cli::Action::Daemon < MiGA::Cli::Action
|
|
81
85
|
# Configure and run daemon
|
82
86
|
p = cli.load_project
|
83
87
|
d = MiGA::Daemon.new(p, cli[:json])
|
84
|
-
dopts = %i[latency maxjobs nodelist ppn shutdown_when_done]
|
88
|
+
dopts = %i[latency maxjobs nodelist ppn ppn_project shutdown_when_done]
|
85
89
|
dopts.each { |k| d.runopts(k, cli[k]) }
|
86
90
|
d.show_log! if cli[:show_log]
|
87
91
|
d.daemon(cli.operation, cli[:daemon_opts])
|
data/lib/miga/version.rb
CHANGED
@@ -12,7 +12,7 @@ module MiGA
|
|
12
12
|
# - String indicating release status:
|
13
13
|
# - rc* release candidate, not released as gem
|
14
14
|
# - [0-9]+ stable release, released as gem
|
15
|
-
VERSION = [1.1,
|
15
|
+
VERSION = [1.1, 4, 0].freeze
|
16
16
|
|
17
17
|
##
|
18
18
|
# Nickname for the current major.minor version.
|
@@ -20,7 +20,7 @@ module MiGA
|
|
20
20
|
|
21
21
|
##
|
22
22
|
# Date of the current gem relese.
|
23
|
-
VERSION_DATE = Date.new(2021, 12,
|
23
|
+
VERSION_DATE = Date.new(2021, 12, 7)
|
24
24
|
|
25
25
|
##
|
26
26
|
# References of MiGA
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: miga-base
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.1.
|
4
|
+
version: 1.1.4.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Luis M. Rodriguez-R
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2021-12-
|
11
|
+
date: 2021-12-07 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: daemons
|