Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Bump to version 2.0.2

  • Loading branch information...
commit b31411eaea3e54e2ee61aa1fc0ec14439cb43dab 1 parent 8697b94
@czarneckid czarneckid authored
View
10 CHANGELOG.markdown
@@ -1,5 +1,9 @@
+# leaderboard 2.0.2
+
+* Pull request #1 to that adds logic to cope with cases where no such user is present in the leaderboard.
+
# leaderboard 2.0.1 (2011-12-22)
- * Change `addMember` to `rankMember`
- * Added `deleteLeaderboard` and `deleteLeaderboardNamed`
- * Added ability to initialize Leaderboard class with an existing Redis connection
+* Change `addMember` to `rankMember`.
+* Added `deleteLeaderboard` and `deleteLeaderboardNamed`.
+* Added ability to initialize Leaderboard class with an existing Redis connection.
View
6 src/main/java/com/agoragames/leaderboard/Leaderboard.java
@@ -8,13 +8,13 @@
public class Leaderboard {
- public static final String VERSION = "2.0.0";
+ public static final String VERSION = "2.0.2";
public static final int DEFAULT_PAGE_SIZE = 25;
public static final String DEFAULT_REDIS_HOST = "localhost";
public static final int DEFAULT_REDIS_PORT = 6379;
- public static final List<LeaderData> EMPTY_LEADER_DATA = Collections.emptyList();
+ public static final List<LeaderData> EMPTY_LEADER_DATA = Collections.emptyList();
- private Jedis _jedis;
+ private Jedis _jedis;
private String _leaderboardName;
private int _pageSize;
View
2  src/test/java/com/agoragames/leaderboard/LeaderboardTest.java
@@ -28,7 +28,7 @@ protected void tearDown() throws Exception {
}
public void testVersion() {
- assertEquals("2.0.0", Leaderboard.VERSION);
+ assertEquals("2.0.2", Leaderboard.VERSION);
}
public void testGetLeaderboardName() {
Please sign in to comment.
Something went wrong with that request. Please try again.