nitlanguage
/
nit.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c9a7ef9
)
src/doc/commands/templates: rename `templates_json` in `json_model`
author
Alexandre Terrasa
<alexandre@moz-code.org>
Fri, 22 Jun 2018 03:54:06 +0000
(23:54 -0400)
committer
Alexandre Terrasa
<alexandre@moz-code.org>
Fri, 22 Jun 2018 14:47:10 +0000
(10:47 -0400)
Signed-off-by: Alexandre Terrasa <alexandre@moz-code.org>
src/doc/commands/commands_json.nit
patch
|
blob
|
history
src/doc/templates/json_model.nit
[moved from
src/doc/templates/templates_json.nit
with 99% similarity]
patch
|
blob
|
history
src/doc/templates/tests/test_json_model.nit
[moved from
src/doc/templates/tests/test_templates_json.nit
with 98% similarity]
patch
|
blob
|
history
src/doc/templates/tests/test_json_model.sav/test_classdefs_to_full_json.res
[moved from
src/doc/templates/tests/test_templates_json.sav/test_classdefs_to_full_json.res
with 100% similarity]
patch
|
blob
|
history
src/doc/templates/tests/test_json_model.sav/test_classes_to_full_json.res
[moved from
src/doc/templates/tests/test_templates_json.sav/test_classes_to_full_json.res
with 100% similarity]
patch
|
blob
|
history
src/doc/templates/tests/test_json_model.sav/test_groups_to_full_json.res
[moved from
src/doc/templates/tests/test_templates_json.sav/test_groups_to_full_json.res
with 100% similarity]
patch
|
blob
|
history
src/doc/templates/tests/test_json_model.sav/test_modules_to_full_json.res
[moved from
src/doc/templates/tests/test_templates_json.sav/test_modules_to_full_json.res
with 100% similarity]
patch
|
blob
|
history
src/doc/templates/tests/test_json_model.sav/test_packages_to_full_json.res
[moved from
src/doc/templates/tests/test_templates_json.sav/test_packages_to_full_json.res
with 100% similarity]
patch
|
blob
|
history
src/doc/templates/tests/test_json_model.sav/test_propdefs_to_full_json.res
[moved from
src/doc/templates/tests/test_templates_json.sav/test_propdefs_to_full_json.res
with 100% similarity]
patch
|
blob
|
history
src/doc/templates/tests/test_json_model.sav/test_props_to_full_json.res
[moved from
src/doc/templates/tests/test_templates_json.sav/test_props_to_full_json.res
with 100% similarity]
patch
|
blob
|
history
src/doc/templates/tests/test_json_model.sav/test_refs_to_full_json.res
[moved from
src/doc/templates/tests/test_templates_json.sav/test_refs_to_full_json.res
with 100% similarity]
patch
|
blob
|
history
diff --git
a/src/doc/commands/commands_json.nit
b/src/doc/commands/commands_json.nit
index
e4a1020
..
9f197d7
100644
(file)
--- a/
src/doc/commands/commands_json.nit
+++ b/
src/doc/commands/commands_json.nit
@@
-21,7
+21,7
@@
import commands_ini
import commands_main
import commands_usage
-import templates::templates_json
+import templates::json_model
import json::static
redef class DocCommand
diff --git
a/src/doc/templates/templates_json.nit
b/src/doc/templates/json_model.nit
similarity index 99%
rename from
src/doc/templates/templates_json.nit
rename to
src/doc/templates/json_model.nit
index
4c17b7f
..
b91a237
100644
(file)
--- a/
src/doc/templates/templates_json.nit
+++ b/
src/doc/templates/json_model.nit
@@
-22,7
+22,7
@@
# rather than the refs.
#
# TODO consider serialization module?
-module templates_json
+module json_model
import model::model_collect
import json::serialization_write
diff --git
a/src/doc/templates/tests/test_templates_json.nit
b/src/doc/templates/tests/test_json_model.nit
similarity index 98%
rename from
src/doc/templates/tests/test_templates_json.nit
rename to
src/doc/templates/tests/test_json_model.nit
index
f1ba536
..
d2f6c12
100644
(file)
--- a/
src/doc/templates/tests/test_templates_json.nit
+++ b/
src/doc/templates/tests/test_json_model.nit
@@
-12,9
+12,9
@@
# See the License for the specific language governing permissions and
# limitations under the License.
-module test_templates_json is test
+module test_json_model is test
-import templates_json
+import json_model
import frontend
class TestModelSerialization
diff --git
a/src/doc/templates/tests/test_templates_json.sav/test_classdefs_to_full_json.res
b/src/doc/templates/tests/test_json_model.sav/test_classdefs_to_full_json.res
similarity index 100%
rename from
src/doc/templates/tests/test_templates_json.sav/test_classdefs_to_full_json.res
rename to
src/doc/templates/tests/test_json_model.sav/test_classdefs_to_full_json.res
diff --git
a/src/doc/templates/tests/test_templates_json.sav/test_classes_to_full_json.res
b/src/doc/templates/tests/test_json_model.sav/test_classes_to_full_json.res
similarity index 100%
rename from
src/doc/templates/tests/test_templates_json.sav/test_classes_to_full_json.res
rename to
src/doc/templates/tests/test_json_model.sav/test_classes_to_full_json.res
diff --git
a/src/doc/templates/tests/test_templates_json.sav/test_groups_to_full_json.res
b/src/doc/templates/tests/test_json_model.sav/test_groups_to_full_json.res
similarity index 100%
rename from
src/doc/templates/tests/test_templates_json.sav/test_groups_to_full_json.res
rename to
src/doc/templates/tests/test_json_model.sav/test_groups_to_full_json.res
diff --git
a/src/doc/templates/tests/test_templates_json.sav/test_modules_to_full_json.res
b/src/doc/templates/tests/test_json_model.sav/test_modules_to_full_json.res
similarity index 100%
rename from
src/doc/templates/tests/test_templates_json.sav/test_modules_to_full_json.res
rename to
src/doc/templates/tests/test_json_model.sav/test_modules_to_full_json.res
diff --git
a/src/doc/templates/tests/test_templates_json.sav/test_packages_to_full_json.res
b/src/doc/templates/tests/test_json_model.sav/test_packages_to_full_json.res
similarity index 100%
rename from
src/doc/templates/tests/test_templates_json.sav/test_packages_to_full_json.res
rename to
src/doc/templates/tests/test_json_model.sav/test_packages_to_full_json.res
diff --git
a/src/doc/templates/tests/test_templates_json.sav/test_propdefs_to_full_json.res
b/src/doc/templates/tests/test_json_model.sav/test_propdefs_to_full_json.res
similarity index 100%
rename from
src/doc/templates/tests/test_templates_json.sav/test_propdefs_to_full_json.res
rename to
src/doc/templates/tests/test_json_model.sav/test_propdefs_to_full_json.res
diff --git
a/src/doc/templates/tests/test_templates_json.sav/test_props_to_full_json.res
b/src/doc/templates/tests/test_json_model.sav/test_props_to_full_json.res
similarity index 100%
rename from
src/doc/templates/tests/test_templates_json.sav/test_props_to_full_json.res
rename to
src/doc/templates/tests/test_json_model.sav/test_props_to_full_json.res
diff --git
a/src/doc/templates/tests/test_templates_json.sav/test_refs_to_full_json.res
b/src/doc/templates/tests/test_json_model.sav/test_refs_to_full_json.res
similarity index 100%
rename from
src/doc/templates/tests/test_templates_json.sav/test_refs_to_full_json.res
rename to
src/doc/templates/tests/test_json_model.sav/test_refs_to_full_json.res