From c797536f00f55fe095540220f2889da5e700766d Mon Sep 17 00:00:00 2001 From: Richard Kuhnt Date: Fri, 24 Feb 2017 18:55:02 +0100 Subject: [PATCH] Add checkver to ruby, mysql url fix --- mysql.json | 5 ++++- ruby19.json | 6 +++++- 2 files changed, 9 insertions(+), 2 deletions(-) diff --git a/mysql.json b/mysql.json index c5712c912b..9b2c3ebfcf 100644 --- a/mysql.json +++ b/mysql.json @@ -38,7 +38,10 @@ echo \"\" | out-file \"$dir/my.ini\" -Encoding UTF8 -Append echo \"[client]\" | out-file \"$dir/my.ini\" -Encoding UTF8 -Append echo \"user=root\" | out-file \"$dir/my.ini\" -Encoding UTF8 -Append ", - "checkver": "

MySQL Community Server ([\\d.]+)", + "checkver": { + "url": "https://dev.mysql.com/downloads/mysql/", + "re": "

MySQL Community Server ([\\d.]+)" + }, "autoupdate": { "architecture": { "64bit": { diff --git a/ruby19.json b/ruby19.json index 3aa9513aa2..6c122a327e 100644 --- a/ruby19.json +++ b/ruby19.json @@ -12,5 +12,9 @@ "extract_dir": "ruby-1.9.3-p551-i386-mingw32", "extract_to": [ "", "devkit" ], "env_add_path": "bin", - "post_install": "pushd $dir\\devkit;ruby dk.rb init > $null;echo \"- $dir\" | out-file config.yml -a -enc default; ruby dk.rb install;popd;" + "post_install": "pushd $dir\\devkit;ruby dk.rb init > $null;echo \"- $dir\" | out-file config.yml -a -enc default; ruby dk.rb install;popd;", + "checkver": { + "url": "https://bintray.com/package/generalTab?pkgPath=/oneclick/rubyinstaller/rubyinstaller", + "re": "rubyinstaller\/(1.9[\\d.]+-p[\\d]+)" + } }