Skip to content

Commit

Permalink
Updated versions before 0.4.0 release
Browse files Browse the repository at this point in the history
  • Loading branch information
anthony-cros committed Oct 7, 2022
1 parent 295c620 commit acb4dc0
Show file tree
Hide file tree
Showing 8 changed files with 17 additions and 15 deletions.
2 changes: 1 addition & 1 deletion LICENSE
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ Business Source License 1.1

Licensor: Anthony Cros

Licensed Work: Gallia 0.1.0
Licensed Work: Gallia 0.4.0
The Licensed Work is (c) 2021 Anthony Cros

Additional Use Grant: You may make use of the Licensed Work if:
Expand Down
2 changes: 1 addition & 1 deletion LICENSE-binary
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ Business Source License 1.1

Licensor: Anthony Cros

Licensed Work: Gallia 0.1.0
Licensed Work: Gallia 0.4.0
The Licensed Work is (c) 2021 Anthony Cros

Additional Use Grant: You may make use of the Licensed Work if:
Expand Down
2 changes: 1 addition & 1 deletion NOTICE
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ be distributed under licenses different than the gallia software.
In the event that we accidentally failed to list a required notice,
please bring it to our attention through any of the ways detailed here:

- the email address as shown in ./images/ct.png
[email protected]

The attached notices are provided for information only.

Expand Down
2 changes: 1 addition & 1 deletion NOTICE-binary
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ be distributed under licenses different than the gallia software.
In the event that we accidentally failed to list a required notice,
please bring it to our attention through any of the ways detailed here:

- the email address as shown in ./images/ct.png
[email protected]

The attached notices are provided for information only.

Expand Down
14 changes: 7 additions & 7 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ The library is available for both Scala 2.12 and 2.13 (3.0 will be more [challen
<a name="sbt"></a><a name="210121153201"></a>
Include the following in your `build.sbt` file:
```
libraryDependencies += "io.github.galliaproject" %% "gallia-core" % "0.3.1"
libraryDependencies += "io.github.galliaproject" %% "gallia-core" % "0.4.0"
```

<a name="210121153200"></a>
Expand Down Expand Up @@ -192,9 +192,9 @@ Likewise applicable for both `.read()` and `.stream()`
val obj = """{"foo": "hi", "bar": 1, "baz": true, "qux": "you"}""".read()

// can't use "then" (reserved in scala)
obj.forKey ('foo) .zen(_ toUpperCase _) // { "foo": "HI", ...
obj.forEachKey('foo) .zen(_ toUpperCase _)
obj.forEachKey('foo, 'bar).zen(_ toUpperCase _)
obj.forKey ('foo) .thn(_ toUpperCase _) // { "foo": "HI", ...
obj.forEachKey('foo) .thn(_ toUpperCase _)
obj.forEachKey('foo, 'bar).thn(_ toUpperCase _)

obj.forAllKeys((o, k) => o.rename(k).using(_.toUpperCase)) //{"FOO":"hi",..
// ... likewise with forPath, forEachPath, forAllPaths, forLeafPaths, ...
Expand Down Expand Up @@ -342,7 +342,7 @@ people.stats('age).by('city) // descriptive statistics (minimal for now)
```scala
people
.groupBy('city)
.transformGroupObjectsUsing {
.transformGroupEntitiesUsing {
_.squash(_.string('name), _.int('age))
// random nonsensical aggregation for demonstration purpose only
.using(_.map { case (n, a) => n.size + a }.sum) }
Expand Down Expand Up @@ -555,7 +555,7 @@ See Apache Spark's <a href="https://spark.apache.org/docs/latest/rdd-programming
This module requires

```
libraryDependencies += "org.gallia" %% "gallia-spark" % "0.0.1"
libraryDependencies += "org.gallia" %% "gallia-spark" % "0.4.0"
```

And the following import:
Expand Down Expand Up @@ -859,7 +859,7 @@ aobj( // the "a" in aobj stands for "Annotated"
cls('p .cls_('f.string , 'g.int ), 'z.boolean))(
obj('p -> obj ('f -> "foo", 'g -> 1), 'z -> true) )
.generate('h)
.from(_.obj('p))
.from(_.entity('p))
.using {
_ .translate('f ~> 'F).using("foo" -> "oof")
.remove('g) }
Expand Down
4 changes: 2 additions & 2 deletions build.sbt
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ lazy val root = (project in file("."))
organizationName := "Gallia Project",
organization := "io.github.galliaproject", // *must* match groupId for sonatype
name := "gallia-core",
version := "0.3.2",
version := GalliaCommonSettings.CurrentGalliaVersion,
homepage := Some(url("https://github.com/galliaproject/gallia-core")),
scmInfo := Some(ScmInfo(
browseUrl = url("https://github.com/galliaproject/gallia-core"),
Expand All @@ -20,7 +20,7 @@ lazy val root = (project in file("."))
// ===========================================================================
// see https://github.com/aptusproject/aptus-core
// our own utilities library, bundles low level library such as commons-{io,lang3,math3,csv}, gson, enumeratum, ...
lazy val aptusVersion = "0.4"
lazy val aptusVersion = "0.4.0"

lazy val enumeratumVersion = "1.5.13"

Expand Down
2 changes: 2 additions & 0 deletions project/GalliaCommonSettings.scala
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,9 @@ import sbt.Keys._

// ===========================================================================
object GalliaCommonSettings {
val CurrentGalliaVersion = "0.4.0"

// ---------------------------------------------------------------------------
val mainSettings = Seq(
organizationHomepage := Some(url("https://github.com/galliaproject")),
startYear := Some(2021),
Expand Down
4 changes: 2 additions & 2 deletions project/GalliaScalaVersions.scala
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@ import sbt._

// ===========================================================================
object GalliaScalaVersions {
val scala213 = "2.13.4"
val scala212 = "2.12.13"
val scala213 = "2.13.9"
val scala212 = "2.12.17"

// ---------------------------------------------------------------------------
val supported = List(
Expand Down

0 comments on commit acb4dc0

Please sign in to comment.