canzea 0.1.44 → 0.1.45
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/canzea/version.rb +1 -1
- data/lib/commands/get-catalog.rb +1 -1
- data/lib/helper-run-class.rb +1 -1
- data/lib/plan-step-class.rb +1 -1
- data/lib/prepare-environment.rb +2 -2
- data/lib/trace-component.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 51235be62c75ba7c85f92eb4822d9fce76fe8b8e
|
4
|
+
data.tar.gz: a661129eba3458fb9625d1e1427fc773dd04db40
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 9ad9e18a247f4294d2e1209cccc30800b4d24b30e398ef8402d4040c86680c34d849ab959a25f954759e17bef93c7d7502f9a8d35feb0b734e69f52ffb6bc37a
|
7
|
+
data.tar.gz: 77f4710b57938bef885a58d75c723a069a9f41b8ef080e12ee282aa694c2b80a37db2c9dec2634700fedc8d7a3f774f67c79b4f42d0bfdcad5daa19aeeecd382
|
data/lib/canzea/version.rb
CHANGED
data/lib/commands/get-catalog.rb
CHANGED
@@ -13,7 +13,7 @@ class GetCatalog
|
|
13
13
|
FileUtils.rm_rf catalogLocation
|
14
14
|
FileUtils.mkdir_p catalogLocation
|
15
15
|
catalogLocation = Pathname.new(catalogLocation).realpath
|
16
|
-
g = Git.clone(Canzea::config[:catalog_git], "", :path => catalogLocation)
|
16
|
+
g = Git.clone(Canzea::config[:catalog_git], "catalog", :path => catalogLocation)
|
17
17
|
g.branch Canzea::config[:catalog_branch]
|
18
18
|
if (tag != nil)
|
19
19
|
puts "-- For tag #{tag}"
|
data/lib/helper-run-class.rb
CHANGED
@@ -7,7 +7,7 @@ require "trace-runner"
|
|
7
7
|
|
8
8
|
class HelperRun
|
9
9
|
def initialize ()
|
10
|
-
@basePath = Pathname.new(Canzea::config[:catalog_location]).realpath
|
10
|
+
@basePath = "#{Pathname.new(Canzea::config[:catalog_location]).realpath}/catalog"
|
11
11
|
@log = Logger.new(Canzea::config[:logging_root] + '/plans.log')
|
12
12
|
end
|
13
13
|
|
data/lib/plan-step-class.rb
CHANGED
@@ -7,7 +7,7 @@ require 'prepare-environment'
|
|
7
7
|
|
8
8
|
class PlanStep
|
9
9
|
def initialize ()
|
10
|
-
@basePath = Pathname.new(Canzea::config[:catalog_location]).realpath
|
10
|
+
@basePath = "#{Pathname.new(Canzea::config[:catalog_location]).realpath}/catalog"
|
11
11
|
@log = Logger.new(Canzea::config[:logging_root] + '/plans.log')
|
12
12
|
end
|
13
13
|
|
data/lib/prepare-environment.rb
CHANGED
@@ -38,10 +38,10 @@ class PrepareEnvironment
|
|
38
38
|
request = Net::HTTP::Get.new(uri.request_uri)
|
39
39
|
resp = http.request(request)
|
40
40
|
|
41
|
-
if resp.
|
41
|
+
if Integer(resp.code) != 200
|
42
42
|
log.warn("KEY VALUE NOT FOUND! " + svc['name'])
|
43
43
|
puts "-- KEY VALUE NOT FOUND! " + svc['name']
|
44
|
-
abort("Problem #{resp.
|
44
|
+
abort("Problem, response code #{resp.code}")
|
45
45
|
end
|
46
46
|
|
47
47
|
result = JSON.parse(resp.body)
|
data/lib/trace-component.rb
CHANGED