This file contains hidden or 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
| source 'https://rubygems.org' | |
| gem 'stomp' |
This file contains hidden or 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
| package lib | |
| import java.sql.Timestamp | |
| import org.joda.time._ | |
| import scalikejdbc._ | |
| /** | |
| * Usage: | |
| * scalikekdbc.GlobalSettings.queryCompletionListener = PostgreSQLAnalyzer.queryCompletionListener | |
| */ |
This file contains hidden or 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
| lazy val http4sVersion = "0.6.5" | |
| lazy val skinnyVersion = "1.3.16" | |
| lazy val root = (project in file(".")).settings( | |
| scalaVersion := "2.11.6", | |
| resolvers += "Scalaz Bintray Repo" at "http://dl.bintray.com/scalaz/releases", | |
| scalacOptions ++= Seq("-unchecked", "-deprecation", "-feature"), | |
| libraryDependencies ++= Seq( | |
| "org.skinny-framework" %% "skinny-framework" % skinnyVersion, | |
| "org.http4s" %% "http4s-dsl" % http4sVersion, |
This file contains hidden or 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
| $ cloc */src/main/scala/ | |
| 104 text files. | |
| 104 unique files. | |
| 0 files ignored. | |
| http://cloc.sourceforge.net v 1.62 T=0.46 s (226.5 files/s, 26459.1 lines/s) | |
| ------------------------------------------------------------------------------- | |
| Language files blank comment code | |
| ------------------------------------------------------------------------------- | |
| Scala 104 1619 3812 6717 |
This file contains hidden or 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
| package controller | |
| import skinny._ | |
| import skinny.validator._ | |
| class RootController extends ApplicationController { | |
| object twoElements extends ValidationRule { | |
| def name = "twoElements" | |
| def isValid(v: Any) = v == null || { |
This file contains hidden or 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
| [info] Done updating. | |
| error: error while loading CharSequence, class file '/Library/Java/JavaVirtualMachines/jdk1.8.0.jdk/Contents/Home/jre/lib/rt.jar(java/lang/CharSequence.class)' is broken | |
| (class java.lang.RuntimeException/bad constant pool tag 18 at byte 10) | |
| error: error while loading Comparator, class file '/Library/Java/JavaVirtualMachines/jdk1.8.0.jdk/Contents/Home/jre/lib/rt.jar(java/util/Comparator.class)' is broken | |
| (class java.lang.RuntimeException/bad constant pool tag 18 at byte 20) | |
| error: error while loading AnnotatedElement, class file '/Library/Java/JavaVirtualMachines/jdk1.8.0.jdk/Contents/Home/jre/lib/rt.jar(java/lang/reflect/AnnotatedElement.class)' is broken | |
| (class java.lang.RuntimeException/bad constant pool tag 18 at byte 76) | |
| error: error while loading Arrays, class file '/Library/Java/JavaVirtualMachines/jdk1.8.0.jdk/Contents/Home/jre/lib/rt.jar(java/util/Arrays.class)' is broken | |
| (class java.lang.RuntimeException/bad constant pool tag 18 at byte 755) | |
| /var/folders/j8/y_pv9qps1cb8glnqmv66c |
This file contains hidden or 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
| java.lang.StackOverflowError | |
| at scala.tools.nsc.transform.Erasure$Eraser.adaptMember(Erasure.scala:604) | |
| at scala.tools.nsc.transform.Erasure$Eraser.typed1(Erasure.scala:670) | |
| at scala.tools.nsc.typechecker.Typers$Typer.runTyper$1(Typers.scala:5295) | |
| at scala.tools.nsc.typechecker.Typers$Typer.scala$tools$nsc$typechecker$Typers$Typer$$typedInternal(Typers.scala:5322) | |
| at scala.tools.nsc.typechecker.Typers$Typer.body$2(Typers.scala:5269) | |
| at scala.tools.nsc.typechecker.Typers$Typer.typed(Typers.scala:5273) | |
| at scala.tools.nsc.typechecker.Typers$Typer.typedQualifier(Typers.scala:5371) | |
| at scala.tools.nsc.typechecker.Typers$Typer.typedQualifier(Typers.scala:5379) | |
| at scala.tools.nsc.transform.Erasure$Eraser.adaptMember(Erasure.scala:616) |
This file contains hidden or 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
| AllCops: | |
| # Include gemspec and Rakefile | |
| Include: | |
| - '**/*.rb' | |
| Exclude: | |
| - 'bin/**/*' | |
| - 'config/**/*' | |
| - 'db/**/*' | |
| - 'app/views/**/*' | |
| - 'node_modules/**/*' |
This file contains hidden or 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
| diff --git a/project/Build.scala b/project/Build.scala | |
| index 87a595e..6c5a150 100644 | |
| --- a/project/Build.scala | |
| +++ b/project/Build.scala | |
| @@ -8,6 +8,8 @@ import com.earldouglas.xsbtwebplugin.WebPlugin._ | |
| import ScalateKeys._ | |
| import scala.language.postfixOps | |
| import org.sbtidea.SbtIdeaPlugin._ | |
| +import com.heroku.sbt.HerokuPlugin | |
| +import com.typesafe.sbt.SbtNativePackager._ |
This file contains hidden or 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
| source 'https://rubygems.org/' | |
| gem 'sinatra' | |
| gem 'omniauth-twitter' | |
| gem 'json' | |
| gem 'twitter' | |
| gem 'dotenv' | |
| gem 'thin' |