From 40fc9014eba511ed24efeac06e46b8ffd095a506 Mon Sep 17 00:00:00 2001 From: Gabriele Cirulli Date: Wed, 19 Mar 2014 15:11:20 +0100 Subject: [PATCH 1/3] credit elektryk --- README.md | 1 + 1 file changed, 1 insertion(+) diff --git a/README.md b/README.md index 6b0d3bf..bd78a38 100644 --- a/README.md +++ b/README.md @@ -7,6 +7,7 @@ Made just for fun. [Play it here!](http://gabrielecirulli.github.io/2048/) - [TimPetricola](https://github.com/TimPetricola) added best score storage - [chrisprice](https://github.com/chrisprice) added custom code for swipe handling on mobile + - [elektryk](https://github.com/) made swipes work on Windows Phone Many thanks to [rayhaanj](https://github.com/rayhaanj), [Mechazawa](https://github.com/Mechazawa), [grant](https://github.com/grant), [remram44](https://github.com/remram44) and [ghoullier](https://github.com/ghoullier) for the many other good contributions. From 95ca6686764c7757cc329d51430023fdff1f2695 Mon Sep 17 00:00:00 2001 From: Gabriele Cirulli Date: Wed, 19 Mar 2014 19:17:32 +0100 Subject: [PATCH 2/3] Update README.md --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index bd78a38..96a85a7 100644 --- a/README.md +++ b/README.md @@ -7,7 +7,7 @@ Made just for fun. [Play it here!](http://gabrielecirulli.github.io/2048/) - [TimPetricola](https://github.com/TimPetricola) added best score storage - [chrisprice](https://github.com/chrisprice) added custom code for swipe handling on mobile - - [elektryk](https://github.com/) made swipes work on Windows Phone + - [elektryk](https://github.com/elektryk) made swipes work on Windows Phone Many thanks to [rayhaanj](https://github.com/rayhaanj), [Mechazawa](https://github.com/Mechazawa), [grant](https://github.com/grant), [remram44](https://github.com/remram44) and [ghoullier](https://github.com/ghoullier) for the many other good contributions. From 6a4b3ec322f41c9bb69e40ec0cc14a69b9425594 Mon Sep 17 00:00:00 2001 From: Gabriele Cirulli Date: Thu, 20 Mar 2014 19:57:48 +0100 Subject: [PATCH 3/3] add basic rake file with appcache:update task --- Rakefile | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 Rakefile diff --git a/Rakefile b/Rakefile new file mode 100644 index 0000000..673b273 --- /dev/null +++ b/Rakefile @@ -0,0 +1,11 @@ +require "date" + +namespace :appcache do + desc "update the date in the appcache file (in the gh-pages branch)" + task :update do + appcache = File.read("cache.appcache") + updated = "# Updated: #{DateTime.now}\n" + + File.write("cache.appcache", appcache.sub(/\A(#.*$\n)?/, updated)) + end +end