scala-util

Idiosyncratic, small general-purpose tools for Scala

License

License

Categories

Categories

Scala Languages
GroupId

GroupId

com.snowplowanalytics
ArtifactId

ArtifactId

scala-util
Last Version

Last Version

0.2.1
Release Date

Release Date

Type

Type

jar
Description

Description

scala-util
Idiosyncratic, small general-purpose tools for Scala
Project URL

Project URL

http://snowplowanalytics.com
Project Organization

Project Organization

com.snowplowanalytics
Source Code Management

Source Code Management

https://github.com/snowplow/scala-util

Download scala-util

How to add to project

<!-- https://jarcasting.com/artifacts/com.snowplowanalytics/scala-util/ -->
<dependency>
    <groupId>com.snowplowanalytics</groupId>
    <artifactId>scala-util</artifactId>
    <version>0.2.1</version>
</dependency>
// https://jarcasting.com/artifacts/com.snowplowanalytics/scala-util/
implementation 'com.snowplowanalytics:scala-util:0.2.1'
// https://jarcasting.com/artifacts/com.snowplowanalytics/scala-util/
implementation ("com.snowplowanalytics:scala-util:0.2.1")
'com.snowplowanalytics:scala-util:jar:0.2.1'
<dependency org="com.snowplowanalytics" name="scala-util" rev="0.2.1">
  <artifact name="scala-util" type="jar" />
</dependency>
@Grapes(
@Grab(group='com.snowplowanalytics', module='scala-util', version='0.2.1')
)
libraryDependencies += "com.snowplowanalytics" % "scala-util" % "0.2.1"
[com.snowplowanalytics/scala-util "0.2.1"]

Dependencies

compile (1)

Group / Artifact Type Version
org.scala-lang : scala-library jar 2.9.1

test (1)

Group / Artifact Type Version
org.specs2 : specs2_2.9.1 jar 1.12.1

Project Modules

There are no modules declared in this project.

Scala Util Build Status

A fistful of idiosyncratic, small general-purpose tools for Scala. Inspired by Twitter's own [Util] twitter-util project.

Installation

Add this to your SBT config:

// Dependency
val scalaUtil = "com.snowplowanalytics"   % "util"   % "0.2.1" 

Quick start

Tap

Ruby-style tap() for all objects. See [this blog post] tap-blog for background.

import com.snowplowanalytics.util.Tap._
val event = new SnowPlowEvent().tap { e =>
  e.mkt_medium = "cpc"
  e.mkt_source = null
  e.mkt_term = "buy scifi books"
  e.mkt_content = null
  e.mkt_campaign = "uk-fiction--scifi-books-text"
}

More soon

More tools coming soon...

Questions or need help?

This is a Snowplow Analytics project. Please see the [Talk to us] snowplow-talk page on the Snowplow wiki for ways of getting in touch.

Copyright and license

Scala Util is copyright 2012 Snowplow Analytics Ltd.

Licensed under the [Apache License, Version 2.0] license (the "License"); you may not use this software except in compliance with the License.

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.

com.snowplowanalytics

Snowplow Analytics

Versions

Version
0.2.1