This repository has been archived by the owner on Mar 11, 2020. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 53
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #51 from rossabaker/topic/2.12
Release for 2.12
- Loading branch information
Showing
25 changed files
with
347 additions
and
90 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,16 +1,13 @@ | ||
import verizon.build.ScalazPlugin._ | ||
|
||
resolvers ++= Seq( | ||
"scalaz.bintray" at "http://dl.bintray.com/scalaz/releases", | ||
"oncue.bintray" at "http://dl.bintray.com/oncue/releases" | ||
) | ||
|
||
libraryDependencies ++= { | ||
val ermineVersion = | ||
if(scalazStreamVersion.value.startsWith("0.7")) "0.3.3a" | ||
else "0.3.3" | ||
|
||
Seq( | ||
"org.scalaz.stream" %% "scalaz-stream" % scalazStreamVersion.value, | ||
"io.verizon.ermine" %% "parser" % ermineVersion | ||
"org.scalaz.stream" %% "scalaz-stream" % scalazCrossVersioners.`scalaz-stream-0.8`(scalazVersion.value)("0.8.6"), | ||
"io.verizon.ermine" %% "parser" % scalazCrossVersioners.default(scalazVersion.value)("0.4.7") | ||
) | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
//: ---------------------------------------------------------------------------- | ||
//: Copyright (C) 2017 Verizon. All Rights Reserved. | ||
//: | ||
//: 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. | ||
//: | ||
//: ---------------------------------------------------------------------------- | ||
package knobs | ||
|
||
sealed trait Trivial | ||
|
||
object Trivial { | ||
implicit val trivial: Trivial = new Trivial {} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
//: ---------------------------------------------------------------------------- | ||
//: Copyright (C) 2015 Verizon. All Rights Reserved. | ||
//: | ||
//: 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. | ||
//: | ||
//: ---------------------------------------------------------------------------- | ||
package knobs | ||
|
||
case class ValueError(name: String, value: CfgValue) extends Exception(s"Key '$name' found but value '${value.pretty}' isn't the expected type.") | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
//: ---------------------------------------------------------------------------- | ||
//: Copyright (C) 2017 Verizon. All Rights Reserved. | ||
//: | ||
//: 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. | ||
//: | ||
//: ---------------------------------------------------------------------------- | ||
package knobs | ||
|
||
import scalaz.\/ | ||
import scalaz.concurrent.Task | ||
|
||
object compatibility { | ||
implicit class BedazledTask[A](task: Task[A]){ self => | ||
def unsafePerformAsync(g: (Throwable \/ A) => Unit): Unit = task.runAsync(g) | ||
def unsafePerformSync: A = task.run | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
//: ---------------------------------------------------------------------------- | ||
//: Copyright (C) 2017 Verizon. All Rights Reserved. | ||
//: | ||
//: 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. | ||
//: | ||
//: ---------------------------------------------------------------------------- | ||
package knobs | ||
|
||
import scalaz.concurrent.Task | ||
|
||
object compatibility { | ||
// for source compatibility in both scalaz versions | ||
} |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
|
||
# param1=true | ||
# param2="hello" | ||
|
||
# group { | ||
# this.group.is = "commented out" | ||
# } |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
evil.import.bad = "Yuck." | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.