From 68c41d6901584f5a1ef12db50feb9a9d900381d6 Mon Sep 17 00:00:00 2001 From: Marcel Otto Date: Sun, 5 Jun 2022 03:48:01 +0200 Subject: [PATCH] Move various files in subdirectories --- lib/rdf/{ => namespace}/namespace.ex | 0 lib/rdf/vocabulary/namespace/case_validation.ex | 2 +- lib/rdf/{ => vocabulary/namespace}/vocabulary_namespace.ex | 0 lib/rdf/{utils => vocabulary}/resource_classifier.ex | 2 +- test/unit/{ => namespace}/namespace_test.exs | 0 test/unit/{ => serializations}/nquads_decoder_test.exs | 0 test/unit/{ => serializations}/nquads_encoder_test.exs | 0 test/unit/{ => serializations}/nquads_star_encoder_test.exs | 0 test/unit/{ => serializations}/ntriples_decoder_test.exs | 0 test/unit/{ => serializations}/ntriples_encoder_test.exs | 0 test/unit/{ => serializations}/ntriples_star_decoder_test.exs | 0 test/unit/{ => serializations}/ntriples_star_encoder_test.exs | 0 test/unit/{ => serializations}/turtle_decoder_test.exs | 0 test/unit/{ => serializations}/turtle_encoder_test.exs | 0 test/unit/{ => serializations}/turtle_star_encoder_test.exs | 0 .../{ => vocabulary/namespace}/vocabulary_namespace_test.exs | 0 16 files changed, 2 insertions(+), 2 deletions(-) rename lib/rdf/{ => namespace}/namespace.ex (100%) rename lib/rdf/{ => vocabulary/namespace}/vocabulary_namespace.ex (100%) rename lib/rdf/{utils => vocabulary}/resource_classifier.ex (98%) rename test/unit/{ => namespace}/namespace_test.exs (100%) rename test/unit/{ => serializations}/nquads_decoder_test.exs (100%) rename test/unit/{ => serializations}/nquads_encoder_test.exs (100%) rename test/unit/{ => serializations}/nquads_star_encoder_test.exs (100%) rename test/unit/{ => serializations}/ntriples_decoder_test.exs (100%) rename test/unit/{ => serializations}/ntriples_encoder_test.exs (100%) rename test/unit/{ => serializations}/ntriples_star_decoder_test.exs (100%) rename test/unit/{ => serializations}/ntriples_star_encoder_test.exs (100%) rename test/unit/{ => serializations}/turtle_decoder_test.exs (100%) rename test/unit/{ => serializations}/turtle_encoder_test.exs (100%) rename test/unit/{ => serializations}/turtle_star_encoder_test.exs (100%) rename test/unit/{ => vocabulary/namespace}/vocabulary_namespace_test.exs (100%) diff --git a/lib/rdf/namespace.ex b/lib/rdf/namespace/namespace.ex similarity index 100% rename from lib/rdf/namespace.ex rename to lib/rdf/namespace/namespace.ex diff --git a/lib/rdf/vocabulary/namespace/case_validation.ex b/lib/rdf/vocabulary/namespace/case_validation.ex index 4d78076..a3f9387 100644 --- a/lib/rdf/vocabulary/namespace/case_validation.ex +++ b/lib/rdf/vocabulary/namespace/case_validation.ex @@ -2,7 +2,7 @@ defmodule RDF.Vocabulary.Namespace.CaseValidation do import RDF.Vocabulary, only: [term_to_iri: 2] import RDF.Utils, only: [downcase?: 1] - alias RDF.Utils.ResourceClassifier + alias RDF.Vocabulary.ResourceClassifier def validate_case!(terms_and_ignored, nil, _, _, _), do: terms_and_ignored diff --git a/lib/rdf/vocabulary_namespace.ex b/lib/rdf/vocabulary/namespace/vocabulary_namespace.ex similarity index 100% rename from lib/rdf/vocabulary_namespace.ex rename to lib/rdf/vocabulary/namespace/vocabulary_namespace.ex diff --git a/lib/rdf/utils/resource_classifier.ex b/lib/rdf/vocabulary/resource_classifier.ex similarity index 98% rename from lib/rdf/utils/resource_classifier.ex rename to lib/rdf/vocabulary/resource_classifier.ex index 2d1940f..2d604f1 100644 --- a/lib/rdf/utils/resource_classifier.ex +++ b/lib/rdf/vocabulary/resource_classifier.ex @@ -1,4 +1,4 @@ -defmodule RDF.Utils.ResourceClassifier do +defmodule RDF.Vocabulary.ResourceClassifier do @moduledoc false alias RDF.Description diff --git a/test/unit/namespace_test.exs b/test/unit/namespace/namespace_test.exs similarity index 100% rename from test/unit/namespace_test.exs rename to test/unit/namespace/namespace_test.exs diff --git a/test/unit/nquads_decoder_test.exs b/test/unit/serializations/nquads_decoder_test.exs similarity index 100% rename from test/unit/nquads_decoder_test.exs rename to test/unit/serializations/nquads_decoder_test.exs diff --git a/test/unit/nquads_encoder_test.exs b/test/unit/serializations/nquads_encoder_test.exs similarity index 100% rename from test/unit/nquads_encoder_test.exs rename to test/unit/serializations/nquads_encoder_test.exs diff --git a/test/unit/nquads_star_encoder_test.exs b/test/unit/serializations/nquads_star_encoder_test.exs similarity index 100% rename from test/unit/nquads_star_encoder_test.exs rename to test/unit/serializations/nquads_star_encoder_test.exs diff --git a/test/unit/ntriples_decoder_test.exs b/test/unit/serializations/ntriples_decoder_test.exs similarity index 100% rename from test/unit/ntriples_decoder_test.exs rename to test/unit/serializations/ntriples_decoder_test.exs diff --git a/test/unit/ntriples_encoder_test.exs b/test/unit/serializations/ntriples_encoder_test.exs similarity index 100% rename from test/unit/ntriples_encoder_test.exs rename to test/unit/serializations/ntriples_encoder_test.exs diff --git a/test/unit/ntriples_star_decoder_test.exs b/test/unit/serializations/ntriples_star_decoder_test.exs similarity index 100% rename from test/unit/ntriples_star_decoder_test.exs rename to test/unit/serializations/ntriples_star_decoder_test.exs diff --git a/test/unit/ntriples_star_encoder_test.exs b/test/unit/serializations/ntriples_star_encoder_test.exs similarity index 100% rename from test/unit/ntriples_star_encoder_test.exs rename to test/unit/serializations/ntriples_star_encoder_test.exs diff --git a/test/unit/turtle_decoder_test.exs b/test/unit/serializations/turtle_decoder_test.exs similarity index 100% rename from test/unit/turtle_decoder_test.exs rename to test/unit/serializations/turtle_decoder_test.exs diff --git a/test/unit/turtle_encoder_test.exs b/test/unit/serializations/turtle_encoder_test.exs similarity index 100% rename from test/unit/turtle_encoder_test.exs rename to test/unit/serializations/turtle_encoder_test.exs diff --git a/test/unit/turtle_star_encoder_test.exs b/test/unit/serializations/turtle_star_encoder_test.exs similarity index 100% rename from test/unit/turtle_star_encoder_test.exs rename to test/unit/serializations/turtle_star_encoder_test.exs diff --git a/test/unit/vocabulary_namespace_test.exs b/test/unit/vocabulary/namespace/vocabulary_namespace_test.exs similarity index 100% rename from test/unit/vocabulary_namespace_test.exs rename to test/unit/vocabulary/namespace/vocabulary_namespace_test.exs