Skip to content

Commit 49ec5eb

Browse files
Classes are not rendered properly when rendering package bug fix
1 parent ed98334 commit 49ec5eb

File tree

2 files changed

+19
-43
lines changed

2 files changed

+19
-43
lines changed

cache/projectTemplate.xml

+7-5
Original file line numberDiff line numberDiff line change
@@ -248,16 +248,18 @@ Return method data.</Description>
248248
<Description><![CDATA[
249249
Returns if <var>packageName</var> is in <var>basePackageName</var>.]]></Description>
250250
<ClassMethod>1</ClassMethod>
251-
<FormalSpec>basePackageNames:%String,packageName:%String</FormalSpec>
251+
<FormalSpec>basePackageName:%String,packageName:%String</FormalSpec>
252252
<Private>1</Private>
253253
<ReturnType>%Boolean</ReturnType>
254254
<Implementation><![CDATA[
255-
set pack = $PIECE(packageName, ".", 1)
256-
set list = $LISTFROMSTRING(basePackageNames, ",")
257-
set OK = 0
255+
set pack = $LISTFROMSTRING(packageName, ".")
256+
set list = $LISTFROMSTRING(basePackageName, ".")
257+
set OK = 1
258258
for i=1:1:$LISTLENGTH(list) {
259-
if ($LISTGET(list, i) = pack) {
259+
if ($LISTGET(list, i) = $LISTGET(pack, i)) {
260260
set OK = 1
261+
} else {
262+
set OK = 0
261263
quit
262264
}
263265
}

package.json

+12-38
Original file line numberDiff line numberDiff line change
@@ -1,46 +1,20 @@
11
{
22
"name": "CacheClassExplorer",
3-
"version": "1.16.3",
3+
"version": "1.17.0",
44
"description": "Class Explorer for InterSystems Caché",
5-
"directories": {
6-
"test": "test"
7-
},
5+
"directories": { "test": "test" },
86
"dependencies": {},
9-
"devDependencies": {
10-
"autoprefixer-core": "^5.1.11",
11-
"express": "^5.0.0-alpha.1",
12-
"gulp": "^3.9.0",
13-
"gulp-add-src": "^0.2.0",
14-
"gulp-clean": "^0.3.1",
15-
"gulp-concat": "^2.4.1",
16-
"gulp-header": "^1.2.2",
17-
"gulp-html-replace": "^1.4.1",
18-
"gulp-minify-css": "^0.3.11",
19-
"gulp-postcss": "^5.1.3",
20-
"gulp-rename": "^1.2.0",
21-
"gulp-replace": "^0.5.3",
22-
"gulp-strip-comments": "^1.0.1",
23-
"gulp-uglify": "^1.2.0",
24-
"gulp-wrap": "^0.5.0",
25-
"gulp-zip": "^2.0.2"
26-
},
27-
"scripts": {
28-
"gulp": "gulp"
29-
},
30-
"repository": {
31-
"type": "git",
32-
"url": "https://github.com/ZitRos/CacheUMLExplorer"
33-
},
34-
"keywords": [
35-
"UMLExplorer",
36-
"Caché",
37-
"UML",
38-
"diagram"
39-
],
7+
"devDependencies": { "autoprefixer-core": "^5.1.11", "express": "^5.0.0-alpha.1",
8+
"gulp": "^3.9.0", "gulp-add-src": "^0.2.0", "gulp-clean": "^0.3.1", "gulp-concat": "^2.4.1",
9+
"gulp-header": "^1.2.2", "gulp-html-replace": "^1.4.1", "gulp-minify-css": "^0.3.11",
10+
"gulp-postcss": "^5.1.3", "gulp-rename": "^1.2.0", "gulp-replace": "^0.5.3",
11+
"gulp-strip-comments": "^1.0.1", "gulp-uglify": "^1.2.0", "gulp-wrap": "^0.5.0",
12+
"gulp-zip": "^2.0.2" },
13+
"scripts": { "gulp": "gulp" },
14+
"repository": { "type": "git", "url": "https://github.com/ZitRos/CacheUMLExplorer" },
15+
"keywords": [ "UMLExplorer", "Caché", "UML", "diagram" ],
4016
"author": "ZitRo",
4117
"license": "MIT",
42-
"bugs": {
43-
"url": "https://github.com/ZitRos/CacheUMLExplorer/issues"
44-
},
18+
"bugs": { "url": "https://github.com/ZitRos/CacheUMLExplorer/issues" },
4519
"homepage": "https://github.com/ZitRos/CacheUMLExplorer"
4620
}

0 commit comments

Comments
 (0)