cpee 2.1.9 → 2.1.10
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/cpee.gemspec +1 -1
- data/lib/cpee/redis.rb +2 -2
- metadata +1 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 621ce6c077d9353a451b76d21994fa8bb15db1c44cb196e2925754850f8cf69c
|
|
4
|
+
data.tar.gz: e714da8117190a7e56c57140939c841b6ff03a5da9aa6b5e0f5f4ad64534a20c
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 74713f528cb6111bbd7db9b353c1a14c0f526ebf109e136586e16892b05d1aaa0aeff6afc7464f4bbefa5939bafbce170cd253768c26f6aeb38b58362c8ceb8f
|
|
7
|
+
data.tar.gz: 823a965814df7fb7e68119457d6a0f244179e91f3ca9b245dd1ea861a5a92a07e6de5f08339973640e620032a756f60f5c32f79a3346ca40f930cbc2818d7e31
|
data/cpee.gemspec
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Gem::Specification.new do |s|
|
|
2
2
|
s.name = "cpee"
|
|
3
|
-
s.version = "2.1.
|
|
3
|
+
s.version = "2.1.10"
|
|
4
4
|
s.platform = Gem::Platform::RUBY
|
|
5
5
|
s.license = "LGPL-3.0"
|
|
6
6
|
s.summary = "Preliminary release of cloud process execution engine (cpee.org). If you just need workflow execution, without a rest service exposing it, then use WEEL."
|
data/lib/cpee/redis.rb
CHANGED
|
@@ -38,19 +38,19 @@ module CPEE
|
|
|
38
38
|
opts[:redis] = opts[:redis_dyn].call
|
|
39
39
|
opts[:redis].dbsize
|
|
40
40
|
rescue
|
|
41
|
-
res =
|
|
41
|
+
res = unless tried
|
|
42
42
|
rcmd = opts[:redis_cmd]
|
|
43
43
|
rcmd.gsub! /#redis_path#/, File.join(opts[:basepath],opts[:redis_path])
|
|
44
44
|
rcmd.gsub! /#redis_db_dir#/, opts[:basepath]
|
|
45
45
|
rcmd.gsub! /#redis_db_name#/, opts[:redis_db_name]
|
|
46
46
|
rcmd.gsub! /#redis_pid#/, File.join(opts[:basepath],opts[:redis_pid])
|
|
47
|
+
puts 'starting redis ... it will keep running, just to let you know ...'
|
|
47
48
|
system rcmd
|
|
48
49
|
else
|
|
49
50
|
true
|
|
50
51
|
end
|
|
51
52
|
if res
|
|
52
53
|
tried = true
|
|
53
|
-
puts 'starting redis ... it will keep running, just to let you know ...'
|
|
54
54
|
puts 'waiting for successful start ...'
|
|
55
55
|
sleep 1
|
|
56
56
|
retry
|