rbbt-util 5.26.19 → 5.26.20
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
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: b92efe3e401eaeeec427031f665e88ece42c4a8a39cac35ff1c2ed5148f471fe
|
|
4
|
+
data.tar.gz: 77269b375e40fcce3b5ba4589c6422a6253a8a0cc136689c964d7323734e8755
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: fcd84776db4a825762d260cc34575d74f8943543c2d410fb38a488c67e9f92210d59ada1f1b1c5dc94f40ec1a7e41bc796d1634fa27108811e132586ba1173e9
|
|
7
|
+
data.tar.gz: 532000c51cae567f919da52d4daed6941264d09bf05040b0bce6f3a3a7e490deeacbdefa4e48172308781f7b2489595480c13e08a9ae3a45e2ce9e99ec0803cf
|
data/lib/rbbt/resource/path.rb
CHANGED
|
@@ -376,11 +376,15 @@ module Path
|
|
|
376
376
|
self.annotate(new_path)
|
|
377
377
|
end
|
|
378
378
|
|
|
379
|
+
def self.get_extension(path)
|
|
380
|
+
path.match(/\.([^\.\/]{1,5})$/)[1]
|
|
381
|
+
end
|
|
382
|
+
|
|
379
383
|
def replace_extension(new_extension = nil, multiple = false)
|
|
380
384
|
if multiple
|
|
381
|
-
new_path = self.sub(/(\.[^\.\/]{
|
|
385
|
+
new_path = self.sub(/(\.[^\.\/]{1,5})+$/,'')
|
|
382
386
|
else
|
|
383
|
-
new_path = self.sub(/\.[^\.\/]{
|
|
387
|
+
new_path = self.sub(/\.[^\.\/]{1,5}$/,'')
|
|
384
388
|
end
|
|
385
389
|
new_path = new_path + "." + new_extension.to_s
|
|
386
390
|
self.annotate(new_path)
|
data/lib/rbbt/workflow.rb
CHANGED
|
@@ -515,7 +515,7 @@ module Workflow
|
|
|
515
515
|
step = Step.new path
|
|
516
516
|
relocated = false
|
|
517
517
|
step.dependencies = (step.info[:dependencies] || []).collect do |task,name,dep_path|
|
|
518
|
-
if Open.exists?(dep_path)
|
|
518
|
+
if Open.exists?(dep_path) || Open.exists?(dep_path + '.info')
|
|
519
519
|
Workflow._load_step dep_path
|
|
520
520
|
else
|
|
521
521
|
new_path = relocate(path, dep_path)
|
|
@@ -250,6 +250,7 @@ build_make(){
|
|
|
250
250
|
|
|
251
251
|
|
|
252
252
|
[ -d src -a ! -e CMakeLists.txt -a ! -e Makefile -a ! -e configure ] && cd src
|
|
253
|
+
[ -d source -a ! -e CMakeLists.txt -a ! -e Makefile -a ! -e configure ] && cd source
|
|
253
254
|
|
|
254
255
|
echo "Building with configure $name"
|
|
255
256
|
if [ "x$extra" != "x" ]; then
|
|
@@ -287,6 +288,7 @@ buid_cmake(){
|
|
|
287
288
|
|
|
288
289
|
|
|
289
290
|
[ -d src -a ! -e CMakeLists.txt -a ! -e Makefile -a ! -e configure ] && cd src
|
|
291
|
+
[ -d source -a ! -e CMakeLists.txt -a ! -e Makefile -a ! -e configure ] && cd source
|
|
290
292
|
|
|
291
293
|
echo "Building with cmake $name"
|
|
292
294
|
if [ "x$extra" != "x" ]; then
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: rbbt-util
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 5.26.
|
|
4
|
+
version: 5.26.20
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Miguel Vazquez
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2019-06-
|
|
11
|
+
date: 2019-06-19 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: rake
|