nitrpg: use new github repo
authorJean Privat <jean@pryen.org>
Fri, 21 Aug 2015 21:52:17 +0000 (17:52 -0400)
committerJean Privat <jean@pryen.org>
Fri, 21 Aug 2015 22:56:55 +0000 (18:56 -0400)
Signed-off-by: Jean Privat <jean@pryen.org>

contrib/nitrpg/README.md
contrib/nitrpg/nitrpg.user.js
contrib/nitrpg/src/game.nit

index c91c77e..a83264e 100644 (file)
@@ -81,4 +81,4 @@ Incomming features contain (but are not limited to):
 * Shop: exchange Nitcoins against glorifying items
 
 You can suggest new achievements or ideas in the
-[NitRPG RoadMap Issue](https://github.com/privat/nit/issues/1161).
+[NitRPG RoadMap Issue](https://github.com/nitlang/nit/issues/1161).
index 4440ea9..e372fc1 100644 (file)
@@ -2,7 +2,7 @@
 // @name        Github.com - Add RPG tab
 // @namespace   nitlanguage/github/rpg
 // @description Adds a "Github RPG" Tab at the end of the tabs.
-// @include     https://github.com/privat/nit*
+// @include     https://github.com/nitlang/nit*
 // @version     1
 // @grant       none
 // ==/UserScript==
@@ -12,7 +12,7 @@
 
 /* TODO:
  * Link to the player page (if logged and is a player)
- * Link to other games (not just `privat/nit` but other)
+ * Link to other games (not just `nitlang/nit` but other)
 */
 
 // The nav bar with tabs
@@ -20,7 +20,7 @@ var nav = document.getElementsByClassName('repo-nav');
 
 // The new tab
 var html = '<li class="tooltipped tooltipped-w" aria-label="Github RPG">\
-    <a href="http://nitlanguage.org/rpg/games/privat/nit" aria-label="RPG" class="js-selected-navigation-item sunken-menu-item" data-selected-links="repo_settings /privat/nit/settings">\
+    <a href="http://nitlanguage.org/rpg/games/nitlang/nit" aria-label="RPG" class="js-selected-navigation-item sunken-menu-item" data-selected-links="repo_settings /nitlang/nit/settings">\
           <span class="octicon octicon-ruby"></span> <span class="full-word">Github RPG</span>\
           <img alt="" class="mini-loader" height="16" src="https://assets-cdn.github.com/images/spinners/octocat-spinner-32.gif" width="16">\
 </a></li>';
index a8175a8..a109949 100644 (file)
@@ -67,7 +67,7 @@ class Game
 
        # Returns the repo `full_name`.
        #
-       # Example: `"privat/nit"`
+       # Example: `"nitlang/nit"`
        redef fun key do return repo.full_name
 
        # We need a `GithubAPI` client to load Github data.