Permalink
Commits on Oct 26, 2015
Commits on Apr 3, 2013
  1. Updated README

    tototoshi committed Apr 3, 2013
  2. Improved tests for scalikejdbc-play-plugin

     - scalikejdbc-play-fixture-plugin loads fixture, but doesn't execute DDLs.
     - Use play-flyway plugin for migration.
    tototoshi committed Apr 3, 2013
Commits on Apr 1, 2013
  1. Provide fixture feature as scalaikejdbc-play-fixture-plugin

    for compatibility for scalikejdbc-play-plugin.
    tototoshi committed Apr 1, 2013
Commits on Mar 31, 2013
  1. Updated .gitignore

    tototoshi committed Mar 31, 2013
  2. Fixture support for scalikejdbc-play-plugin.

    This pull request will add fixture feature to scalikejdbc-play-plugin.
    
     - Fixture scripts are Plain SQL like play-evolutions.
     - A fixture script have a 'Ups' part and a 'Downs' part like evolutions. 'Ups' are executed on starting and 'Downs' are on stopping.
     - The location for fixture scripts is config/db/fixtures/${dbname}
     - Need to specify fixture scripts in application.conf.
    
       To use in DEV mode
         db.${dbname}.fixtures.dev="insert_data.sql"
       To use in TEST mode
         db.${dbname}.fixtures.test="insert_data.sql"
    
       Multiple scripts are allowed too.
         db.${dbname}.fixtures.dev=[ "insert_data.sql", "insert_additional_data.sql" ]
    
       When specified multiple scripts, Ups part are executed in order. Downs are executed in reverse.
    tototoshi committed Mar 31, 2013
  3. Fixed test.

    FakeApplication(path = new File("subprojectPath") is a workaround to test Play apps in sub directories.
    tototoshi committed with Mar 31, 2013
  4. Moved buildsettings for scalikejdbc-play-plugin/test/zentasks to buil…

    …d/Build.scala.
    
    scalikejdbc-play-plugin/test/zentasks was intended to be a sample application of scalikejdbc-play-plugin
    but it is convenience for scalikejdbc-play-plugin's test to use this project.
    This fix makes scalikejdbc-play-plugin depend on and aggregate other sub projects.
    I don't need to do 'publish-local' every time I change the code in play-plugin for manual test.
    
    Two points in my mind (may be trivial).
     - Works only with > Scala 2.10 because it depends on scalikejdbc-interpolation.
     - Play 2.1 depends on Scala 2.10.0 but some parts of interpolation is based on macro's features that seem to be incompatible between 2.10.0 and 2.10.1.
    tototoshi committed with Mar 31, 2013
  5. Fixed test.

    FakeApplication(path = new File("subprojectPath") is a workaround to test Play apps in sub directories.
    tototoshi committed Mar 31, 2013
  6. Moved buildsettings for scalikejdbc-play-plugin/test/zentask to build…

    …/Build.scala.
    
    scalikejdbc-play-plugin was intended to be a sample application of scalikejdbc-play-plugin
    but it is convenience for scalikejdbc-play-plugin's test to use this project.
    This fix makes scalikejdbc-play-plugin depend on and aggregate other sub projects.
    I don't need to do 'publish-local' every time I change the code in play-plugin for manual test.
    
    Two points in my mind (may be trivial).
     - Works only with > Scala 2.10 because it depends on scalikejdbc-interpolation.
     - Play 2.1 depends on Scala 2.10.0 but some parts of interpolation is based on macro's features that seem to be incompatible between 2.10.0 and 2.10.1.
    tototoshi committed Mar 31, 2013
Commits on Mar 22, 2013
  1. Update readme.md

    Added documentation about init scripts of dbcosole.
    tototoshi committed Mar 22, 2013
Commits on Mar 20, 2013
  1. Fixed test

    tototoshi committed with Mar 8, 2013
  2. Fixed strange behavior of TypesafeConfigReader trait.

    Typesafeconfig trait was using TypesafeConfigReader object in #readJDBCSettings and #readConnectionPoolSettings. Because of this, TypesafeConfigReader#readJDBCSettings and #readConnectionPoolSettings couldn't load files other than application.conf.
    tototoshi committed with Mar 8, 2013
Commits on Mar 9, 2013
Commits on Mar 8, 2013
  1. Fixed test

    tototoshi committed Mar 8, 2013
  2. Fixed strange behavior of TypesafeConfigReader trait.

    Typesafeconfig trait was using TypesafeConfigReader object in #readJDBCSettings and #readConnectionPoolSettings. Because of this, TypesafeConfigReader#readJDBCSettings and #readConnectionPoolSettings couldn't load files other than application.conf.
    tototoshi committed Mar 8, 2013
Commits on Mar 6, 2013
Commits on Mar 4, 2013
  1. Refactored

    tototoshi committed Mar 4, 2013
Commits on Mar 3, 2013
  1. Updated sbt to 0.12.2

    tototoshi committed Mar 3, 2013
Commits on Nov 30, 2012
  1. dbconsole_config use $EDITOR instead of vi

    Open config.properties with user's favorite editor.
    tototoshi committed Nov 30, 2012
Commits on Nov 17, 2012