Skip to content

Commit

Permalink
Bump version
Browse files Browse the repository at this point in the history
  • Loading branch information
cchantep committed Nov 25, 2013
1 parent 1f36efa commit 14b1978
Show file tree
Hide file tree
Showing 3 changed files with 90 additions and 5 deletions.
2 changes: 1 addition & 1 deletion project/Acolyte.scala
Expand Up @@ -9,7 +9,7 @@ object Acolyte extends Build with Core {

lazy val root = Project(id = "acolyte", base = file(".")).
aggregate(core, rowparsers, scala).settings(
version := "1.0.6",
version := "1.0.7",
scalaVersion := "2.10.2",
publishTo := Some(Resolver.file("file",
new File(Path.userHome.absolutePath+"/.m2/repository"))))
Expand Down
89 changes: 87 additions & 2 deletions project/Core.scala
Expand Up @@ -5,7 +5,7 @@ trait Core {
lazy val core = Project(id = "core", base = file("core")).settings(
name := "acolyte-core",
organization := "acolyte",
version := "1.0.6",
version := "1.0.7",
scalaVersion := "2.10.2",
javacOptions in Test ++= Seq("-Xlint:unchecked", "-Xlint:deprecation"),
autoScalaLibrary := false,
Expand Down Expand Up @@ -162,7 +162,92 @@ public final class Rows {""")
/**
* Row lists utility/factory.
*/
public final class RowLists {""");
public final class RowLists {
/**
* Convinience alias for row list of 1 string column.
*/
public static RowList1<String> stringList() {
return rowList1(String.class);
}
/**
* Convinience alias for row list of 1 boolean column.
*/
public static RowList1<Boolean> booleanList() {
return rowList1(Boolean.TYPE);
}
/**
* Convinience alias for row list of 1 byte column.
*/
public static RowList1<Byte> byteList() {
return rowList1(Byte.TYPE);
}
/**
* Convinience alias for row list of 1 short column.
*/
public static RowList1<Short> shortList() {
return rowList1(Short.TYPE);
}
/**
* Convinience alias for row list of 1 int column.
*/
public static RowList1<Integer> intList() {
return rowList1(Integer.TYPE);
}
/**
* Convinience alias for row list of 1 long column.
*/
public static RowList1<Long> longList() {
return rowList1(Long.TYPE);
}
/**
* Convinience alias for row list of 1 float column.
*/
public static RowList1<Float> floatList() {
return rowList1(Float.TYPE);
}
/**
* Convinience alias for row list of 1 double column.
*/
public static RowList1<Double> doubleList() {
return rowList1(Double.TYPE);
}
/**
* Convinience alias for row list of 1 bigDecimal column.
*/
public static RowList1<java.math.BigDecimal> bigDecimalList() {
return rowList1(java.math.BigDecimal.class);
}
/**
* Convinience alias for row list of 1 date column.
*/
public static RowList1<java.sql.Date> dateList() {
return rowList1(java.sql.Date.class);
}
/**
* Convinience alias for row list of 1 time column.
*/
public static RowList1<java.sql.Time> timeList() {
return rowList1(java.sql.Time.class);
}
/**
* Convinience alias for row list of 1 timestamp column.
*/
public static RowList1<java.sql.Timestamp> timestampList() {
return rowList1(java.sql.Timestamp.class);
}
""");

for (n <- 1 to lim) yield {
val g = for (i <- 0 until n) yield letter(i)
Expand Down
4 changes: 2 additions & 2 deletions scala/build.sbt
Expand Up @@ -2,7 +2,7 @@ name := "acolyte-scala"

organization := "acolyte"

version := "1.0.6"
version := "1.0.7"

scalaVersion := "2.10.2"

Expand Down Expand Up @@ -34,7 +34,7 @@ sourceGenerators in Compile <+= (baseDirectory in Compile) zip (sourceManaged in
resolvers += "Typesafe Snapshots" at "http://repo.typesafe.com/typesafe/snapshots/"

libraryDependencies ++= Seq(
"acolyte" % "acolyte-core" % "1.0.6",
"acolyte" % "acolyte-core" % "1.0.7",
"org.specs2" %% "specs2" % "1.14" % "test")

publishTo := Some(Resolver.file("file", new File(Path.userHome.absolutePath+"/.m2/repository")))

0 comments on commit 14b1978

Please sign in to comment.