implicit.ly

Scala software, hot off the presses

specs2 1.8.2

This version adds some performance improvements on top of 1.8.1:

==========================

specs2 is a library for writing software specifications in Scala.

For more information visit: http://specs2.org.

Filed under  //   Scala 2.9.0   Scala 2.9.0-1   org.specs2   specs2  

lmxml 0.1.1

Optional submodules were added:

  • lmxml-html includes html shortcuts when parsing LMXML
  • lmxml-template includes file base template inheritance when parsing LMXML
  • lmxml-json includes the ability to template JSON data
  • lmxml-cache includes an interface and serialization utilities for storing the compiled LMXML source.

The wiki has more information about each module located under Extending.

Some library changes:

  • JSON style attributes can be made strict for key transforms
  • Small changes to signatures in LmxmlParsers trait, adding extensibility
  • Transforms now work against attributes and text nodes
  • Added a CommentNode which can be converted now
  • The Lmxml object has been refactored to DefaultLmxml as users can now define their own Lmxml with included modules.

Light Markup to XML (LMXML) is a library for quickly creating recursive decent markup without the necessary obligation of opening or closing tags.

Curious? Try the command-line app, or the GAE web-app.

specs2 1.8.1

This version fixes 2 issues on top of 1.8:

  • fixed issue 60: contention when examples are executed concurrently. This should speed-up the specification execution significantly.
  • coloring of text with skipped examples having a multi-line description

==========================

specs2 is a library for writing software specifications in Scala.

For more information visit: http://specs2.org.

Filed under  //   Scala 2.9.0   Scala 2.9.0-1   org.specs2   specs2  

specs2 1.8

This version adds new features on top of 1.7.1:

  • added an Analysis trait to specify dependencies between packages (using the classycle project)
  • added traits to selectively remove implicits: NoMustExpectations, NoShouldExpectations, NoBooleanAutoExamples, NoArgProperties, NoDebug, NoPendingUntilFixed, NoContexts
  • DataTables can now be used as an example without giving a description. The DataTable itself will be used as the example description
  • contain matchers can now be adapted to allow a more flexible definition of "containment"
  • reworked the Matchers guide with tabs to get an easier access to all the matchers documentation
  • upgraded to Mockito 1.9.0 (inline stubbing + verification ignoring stubbed methods)
  • added the \> and \>~ xml matchers to match Text nodes (aliases: textIs, textMatches)
  • issue 55: added system exit codes on the ClassRunner main method

And some fixes:

  • fixed the creation of the table of contents when there are linked specifications
  • fixed issue 51: specify a partial match for ParserMatchers
  • fixed issue 52: added a there was no(mock).interaction expression (corresponding to Mockito's verifyZeroInteractions)
  • fixed issue 54: reporting the data frequencies when using ScalaCheck
  • fixed issue 57: correct location on ScalaCheck failures

==========================

specs2 is a library for writing software specifications in Scala.

For more information visit: http://specs2.org.

Filed under  //   Scala 2.9.0   Scala 2.9.0-1   org.specs2   specs2  

Lift Shiro 0.0.5

This update moves the integration away from snapshot and milestone dependencies and onto the final releases of both Shiro 1.2.0 and Lift 2.4.

In addition to this, the published JARs no longer sit on scala-tools.org, but rather they live on oss.sonatype.org. Please update your SBT resolver configuration to:

libraryDependencies += "eu.getintheloop" %% "lift-shiro" % "0.0.5"

resolvers ++= Seq( "apache.repo" at "https://repository.apache.org/content/repositories/releases/" "sonatype.repo" at "https://oss.sonatype.org/content/repositories/public/" )

</code></pre>

Lift Shiro

This is an integration between Apache Shiro and the Lift Web framework. Specifically this integration does not use Shiro's built in web.xml resource filters to control access to URLs... it instead uses Lift's sitemap Locs. In addition it also has a range of snippets for conditionally displaying content based on rules and permissions.

Please see this README for more information on project setup and usage.

Filed under  //   Lift Shiro   Scala 2.8.1   Scala 2.9.0   Scala 2.9.0-1   Scala 2.9.1   eu.getintheloop  

scalatra 2.0.3

  • Add support for Scala 2.8.2.

scalatra-auth

  • Fix crash in BasicAuthStrategy when no auth header is present. (GH-143)

scalatra-fileupload

  • Create hook to customize ServletFileUpload, for instance to set maximum upload size.

scalatra-tests

Scalatra is a tiny, Sinatra-like web framework for Scala.

Filed under  //   Scala 2.8.1   Scala 2.8.2   Scala 2.9.0   Scala 2.9.0-1   Scala 2.9.1   org.scalatra   scalatra  

specs2 1.7.1

This version fixes an important issue from 1.7:

  • following the change in 1.7 which allowed results to be displayed as soon as computed on the console, there was no more guarantee that steps would execute stricly after the preceding group of examples

There are a few improvements:

  • the org.specs2.time.Duration class is made public to get a better control over time implicits
  • there is a new beSorted matcher for sequences
  • [experimental] new Analysis trait to specify expected dependencies between the project packages

==========================

specs2 is a library for writing software specifications in Scala.

For more information visit: http://specs2.org.

Filed under  //   Scala 2.9.0   org.specs2   specs2  

Dispatch 0.8.7

Breaking Changes

If using the </> verb to parse XML, you must now bring it into scope explicitly:

import dispatch.XhtmlParsing._

There's a good reason for this! (See below.)

JSoup and TagSoup modules

Thanks to a big contribution from daros, Dispatch now integrates with parsers that can handle real-world HTML. The handler verb </> is used across all HTML parsers, resolved by its imported implicit conversions. For usage instructions and examples, see the Dispatch documentation for TagSoup and JSoup.

Support byte arrays for POST

This contribution by dyross (no relation?) adds

def << (contents: Array[Byte])

to the standard set of request verbs.

Databinder Dispatch is a library for HTTP interaction, from asynchronous GETs to multi-part OAuth-enticated POSTs.

Filed under  //   Dispatch   Scala 2.8.0   Scala 2.8.1   Scala 2.8.2   Scala 2.9.0   Scala 2.9.0-1   Scala 2.9.1   net.databinder  

specs2 1.7

This version adds new features on top of 1.6.1:

  • Mockito settings (name, defaultAnswer, extraInterfaces) can be specified during mock creation
  • issue #39: results are now printed to the console as soon as executed
  • added an implicit function to allow the use of generators in ScalaCheck properties: forAll(generator) { p => p must matchSomething }
  • added forall/foreach/atLeastOnce to check a function returning a Result several times: ((i: Int) => i must be_<=(2)).forall(Seq(1, 2, 3, 4)) or forall(Seq((1, 2), (3, 4))) { case (a, b) => a must be_<(b) } }
  • added TerminationMatchers to check if that a block of code terminates within a reasonable amount of time
  • added containAllOf/containAnyOf collection matchers taking sequences as parameters (instead of varargs)
  • added new matchers to allow Parser matchers to partially consume their input: beAPartialSuccess (issue #46)

And fixes some issues:

  • delayed a MatchResult evaluation when transforming it to a Prop avoid issues with properties implication
  • display of Arrays in failures like Array(1, 2) === Array(1, 3)
  • issue #40: incorrect line number for a failure in a mutable specification
  • issue #41: missing specification title when using sbt
  • issue #45: fixed the evaluation of result1 and result2 so that result2 doesn't get evaluated if result1 succeeds
  • issue #46: fixed the parser matchers which should consume all input
  • issue #47: proper display of DataTables in the console
  • fixed the find.withGroups matcher (was not matching several groups)

==========================

specs2 is a library for writing software specifications in Scala.

For more information visit: http://specs2.org.

Unfiltered 0.5.3

  • Fix for regression introduced in 0.5.2 in the resources handler of unfiltered-netty-server. Unique instances of the ChunkedWriteHandler were not created for each request, causing bad responses.
  • Fix for issue #100 (woot?), Sec-WebSocket-Location (WSLocation) is hard-coded to ws:// protocol { romusz }

Unfiltered is a toolkit for servicing HTTP requests in Scala.