lib: rename simple_json_reader as json::static
authorAlexis Laferrière <alexis.laf@xymus.net>
Wed, 23 Apr 2014 01:43:04 +0000 (21:43 -0400)
committerAlexis Laferrière <alexis.laf@xymus.net>
Fri, 25 Apr 2014 18:09:59 +0000 (14:09 -0400)
Signed-off-by: Alexis Laferrière <alexis.laf@xymus.net>

lib/json/.gitattributes [moved from lib/simple_json_reader/.gitattributes with 100% similarity]
lib/json/.gitignore [moved from lib/simple_json_reader/.gitignore with 100% similarity]
lib/json/Makefile [moved from lib/simple_json_reader/Makefile with 100% similarity]
lib/json/json_lexer.nit [moved from lib/simple_json_reader/json_lexer.nit with 100% similarity]
lib/json/json_parser.nit [moved from lib/simple_json_reader/json_parser.nit with 100% similarity]
lib/json/static.nit [moved from lib/simple_json_reader/simple_json_reader.nit with 99% similarity]
tests/sav/test_json_static.nit [moved from tests/sav/test_simple_json_reader.res with 100% similarity]
tests/test_json_static.nit [moved from tests/test_simple_json_reader.nit with 56% similarity]

similarity index 99%
rename from lib/simple_json_reader/simple_json_reader.nit
rename to lib/json/static.nit
index 751506c..0be7cfc 100644 (file)
@@ -14,7 +14,7 @@
 # See the License for the specific language governing permissions and
 # limitations under the License.
 
-module simple_json_reader
+module static
 
 import json_parser
 import json_lexer
similarity index 56%
rename from tests/test_simple_json_reader.nit
rename to tests/test_json_static.nit
index f38cbaa..b510725 100644 (file)
@@ -1,4 +1,20 @@
-import simple_json_reader
+# This file is part of NIT ( http://www.nitlanguage.org ).
+#
+# Copyright 2014 Alexis Laferrière <alexis.laf@xymus.net>
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+#     http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+
+import json::static
 
 redef class HashMap[K,V]
        redef fun to_s do return "<HashMap {join(", ", ": ")}>"