Merge branch 'master' into gh-pages

This commit is contained in:
Gabriele Cirulli
2014-03-20 22:40:37 +01:00
2 changed files with 12 additions and 0 deletions
+1
View File
@@ -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/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.
+11
View File
@@ -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