Skip to content

Commit 83ad5aa

Browse files
committed
remove "07". just use "Java"
1 parent 6848820 commit 83ad5aa

File tree

5 files changed

+20
-21
lines changed

5 files changed

+20
-21
lines changed

README.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,16 @@
1-
# msgpack4z-java07
1+
# msgpack4z-java
22

3-
[![Build Status](https://secure.travis-ci.org/msgpack4z/msgpack4z-java07.png?branch=master)](http://travis-ci.org/msgpack4z/msgpack4z-java07)
4-
[![Maven Central](https://maven-badges.herokuapp.com/maven-central/com.github.xuwei-k/msgpack4z-java07/badge.svg)](https://maven-badges.herokuapp.com/maven-central/com.github.xuwei-k/msgpack4z-java07)
5-
[![javadoc](http://javadoc-badge.appspot.com/com.github.xuwei-k/msgpack4z-java07.svg?label=javadoc)](http://javadoc-badge.appspot.com/com.github.xuwei-k/msgpack4z-java07)
3+
[![Build Status](https://secure.travis-ci.org/msgpack4z/msgpack4z-java.png?branch=master)](http://travis-ci.org/msgpack4z/msgpack4z-java)
4+
[![Maven Central](https://maven-badges.herokuapp.com/maven-central/com.github.xuwei-k/msgpack4z-java/badge.svg)](https://maven-badges.herokuapp.com/maven-central/com.github.xuwei-k/msgpack4z-java)
5+
[![javadoc](http://javadoc-badge.appspot.com/com.github.xuwei-k/msgpack4z-java.svg?label=javadoc)](http://javadoc-badge.appspot.com/com.github.xuwei-k/msgpack4z-java)
66

77
- <http://msgpack.org/>
88
- <https://github.com/msgpack/msgpack/blob/master/spec.md>
99

1010
### latest stable version
1111

1212
```scala
13-
libraryDependencies += "com.github.xuwei-k" % "msgpack4z-java07" % "0.2.0"
13+
libraryDependencies += "com.github.xuwei-k" % "msgpack4z-java" % "0.3.0"
1414
```
1515

1616

@@ -19,5 +19,5 @@ libraryDependencies += "com.github.xuwei-k" % "msgpack4z-java07" % "0.2.0"
1919
```scala
2020
resolvers += Opts.resolver.sonatypeSnapshots
2121

22-
libraryDependencies += "com.github.xuwei-k" % "msgpack4z-java07" % "0.2.1-SNAPSHOT"
22+
libraryDependencies += "com.github.xuwei-k" % "msgpack4z-java" % "0.3.1-SNAPSHOT"
2323
```

project/Build.scala

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -11,18 +11,18 @@ object build extends Build {
1111
sys.process.Process("git rev-parse HEAD").lines_!.head
1212
).getOrElse("master")
1313

14-
private val msgpack4zJava07Name = "msgpack4z-java07"
14+
private val msgpack4zJavaName = "msgpack4z-java"
1515

16-
val modules = msgpack4zJava07Name :: Nil
16+
val modules = msgpack4zJavaName :: Nil
1717

18-
lazy val msgpack4zJava07 = Project("msgpack4z-java07", file(".")).settings(
18+
lazy val msgpack4zJava = Project("msgpack4z-java", file(".")).settings(
1919
ReleasePlugin.extraReleaseCommands ++ sonatypeSettings: _*
2020
).settings(
2121
resolvers += Opts.resolver.sonatypeReleases,
2222
fullResolvers ~= {_.filterNot(_.name == "jcenter")},
2323
autoScalaLibrary := false,
2424
crossPaths := false,
25-
name := msgpack4zJava07Name,
25+
name := msgpack4zJavaName,
2626
javacOptions in compile ++= Seq("-target", "6", "-source", "6"),
2727
javacOptions in (Compile, doc) ++= Seq("-locale", "en_US"),
2828
commands += Command.command("updateReadme")(UpdateReadme.updateReadmeTask),
@@ -76,8 +76,8 @@ object build extends Build {
7676
</developer>
7777
</developers>
7878
<scm>
79-
<url>git@github.com:msgpack4z/msgpack4z-java07.git</url>
80-
<connection>scm:git:git@github.com:msgpack4z/msgpack4z-java07.git</connection>
79+
<url>git@github.com:msgpack4z/msgpack4z-java.git</url>
80+
<connection>scm:git:git@github.com:msgpack4z/msgpack4z-java.git</connection>
8181
<tag>{if(isSnapshot.value) gitHash else { "v" + version.value }}</tag>
8282
</scm>
8383
,

src/main/java/msgpack4z/Msgpack07Packer.java renamed to src/main/java/msgpack4z/MsgpackJavaPacker.java

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,20 +2,19 @@
22

33
import org.msgpack.core.MessagePack;
44
import org.msgpack.core.MessagePacker;
5-
65
import java.io.ByteArrayOutputStream;
76
import java.io.IOException;
87
import java.math.BigInteger;
98

10-
public class Msgpack07Packer implements MsgPacker {
9+
public class MsgpackJavaPacker implements MsgPacker {
1110
private final MessagePacker self;
1211
private final ByteArrayOutputStream out;
1312

14-
public Msgpack07Packer() {
13+
public MsgpackJavaPacker() {
1514
this(new MessagePack.PackerConfig());
1615
}
1716

18-
public Msgpack07Packer(MessagePack.PackerConfig config) {
17+
public MsgpackJavaPacker(MessagePack.PackerConfig config) {
1918
this.out = new ByteArrayOutputStream();
2019
this.self = config.newPacker(out);
2120
}

src/main/java/msgpack4z/Msgpack07Unpacker.java renamed to src/main/java/msgpack4z/MsgpackJavaUnpacker.java

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7,19 +7,19 @@
77
import java.io.IOException;
88
import java.math.BigInteger;
99

10-
public class Msgpack07Unpacker implements MsgUnpacker {
10+
public class MsgpackJavaUnpacker implements MsgUnpacker {
1111
private final MessageUnpacker unpacker;
1212

13-
public Msgpack07Unpacker(MessageUnpacker unpacker) {
13+
public MsgpackJavaUnpacker(MessageUnpacker unpacker) {
1414
this.unpacker = unpacker;
1515
}
1616

17-
public Msgpack07Unpacker(MessagePack.UnpackerConfig config, byte[] bytes) {
17+
public MsgpackJavaUnpacker(MessagePack.UnpackerConfig config, byte[] bytes) {
1818
this(config.newUnpacker(bytes));
1919
}
2020

2121
public static MsgUnpacker defaultUnpacker(byte[] bytes) {
22-
return new Msgpack07Unpacker(new MessagePack.UnpackerConfig(), bytes);
22+
return new MsgpackJavaUnpacker(new MessagePack.UnpackerConfig(), bytes);
2323
}
2424

2525
public static MsgType toMsgType(ValueType t) {

version.sbt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
version in ThisBuild := "0.2.1-SNAPSHOT"
1+
version in ThisBuild := "0.3.0-SNAPSHOT"

0 commit comments

Comments
 (0)