From 69fecec26eb94a0da01fba64704961ee6ec8b2dd Mon Sep 17 00:00:00 2001 From: Dominic Bou-Samra Date: Thu, 27 Jul 2017 10:28:00 +1000 Subject: [PATCH] refactor(structure): Changed the structure to be sane --- .../{ => galahad/core}/DisjunctionHelpers.scala | 2 +- .../imageintelligence/{ => galahad/core}/EitherTHelpers.scala | 2 +- .../com/imageintelligence/galahad/{core => }/Generators.scala | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) rename core/src/main/scala/com/imageintelligence/{ => galahad/core}/DisjunctionHelpers.scala (85%) rename core/src/main/scala/com/imageintelligence/{ => galahad/core}/EitherTHelpers.scala (86%) rename core/src/test/scala/com/imageintelligence/galahad/{core => }/Generators.scala (99%) diff --git a/core/src/main/scala/com/imageintelligence/DisjunctionHelpers.scala b/core/src/main/scala/com/imageintelligence/galahad/core/DisjunctionHelpers.scala similarity index 85% rename from core/src/main/scala/com/imageintelligence/DisjunctionHelpers.scala rename to core/src/main/scala/com/imageintelligence/galahad/core/DisjunctionHelpers.scala index b757d5e..9aa6af0 100644 --- a/core/src/main/scala/com/imageintelligence/DisjunctionHelpers.scala +++ b/core/src/main/scala/com/imageintelligence/galahad/core/DisjunctionHelpers.scala @@ -1,4 +1,4 @@ -package com.imageintelligence +package com.imageintelligence.galahad.core import scalaz.\/ diff --git a/core/src/main/scala/com/imageintelligence/EitherTHelpers.scala b/core/src/main/scala/com/imageintelligence/galahad/core/EitherTHelpers.scala similarity index 86% rename from core/src/main/scala/com/imageintelligence/EitherTHelpers.scala rename to core/src/main/scala/com/imageintelligence/galahad/core/EitherTHelpers.scala index 7187915..a29fdc6 100644 --- a/core/src/main/scala/com/imageintelligence/EitherTHelpers.scala +++ b/core/src/main/scala/com/imageintelligence/galahad/core/EitherTHelpers.scala @@ -1,4 +1,4 @@ -package com.imageintelligence +package com.imageintelligence.galahad.core import scalaz.Monad import scalaz.EitherT diff --git a/core/src/test/scala/com/imageintelligence/galahad/core/Generators.scala b/core/src/test/scala/com/imageintelligence/galahad/Generators.scala similarity index 99% rename from core/src/test/scala/com/imageintelligence/galahad/core/Generators.scala rename to core/src/test/scala/com/imageintelligence/galahad/Generators.scala index 88f1349..3f3292e 100644 --- a/core/src/test/scala/com/imageintelligence/galahad/core/Generators.scala +++ b/core/src/test/scala/com/imageintelligence/galahad/Generators.scala @@ -18,7 +18,7 @@ object Generators { length <- Gen.choose(1, 10) path <- Gen.listOfN(length, Gen.alphaLowerChar) } yield path.mkString - + val genURL: Gen[URL] = for { protocol <- Gen.oneOf("http", "https") host <- Gen.identifier