mirror of
https://github.com/ScoopInstaller/Main.git
synced 2025-11-07 09:11:18 +00:00
ruby: Add au.hash and fix checkver (#191)
This commit is contained in:
parent
bc71d70b14
commit
174efc0537
@ -28,8 +28,8 @@
|
|||||||
"post_install": "gem install rake",
|
"post_install": "gem install rake",
|
||||||
"notes": "Install MSYS2 via 'scoop install msys2' and then run 'ridk install' to install the toolchain!",
|
"notes": "Install MSYS2 via 'scoop install msys2' and then run 'ridk install' to install the toolchain!",
|
||||||
"checkver": {
|
"checkver": {
|
||||||
"github": "https://github.com/oneclick/rubyinstaller2",
|
"url": "https://raw.githubusercontent.com/oneclick/rubyinstaller.org-website/master/_data/downloads.yaml",
|
||||||
"re": "/releases/tag/(?:v|RubyInstaller-)?([\\d.]+(?:-[\\d])?)"
|
"regex": "Ruby (\\S+)"
|
||||||
},
|
},
|
||||||
"autoupdate": {
|
"autoupdate": {
|
||||||
"architecture": {
|
"architecture": {
|
||||||
@ -41,6 +41,10 @@
|
|||||||
"url": "https://github.com/oneclick/rubyinstaller2/releases/download/RubyInstaller-$version/rubyinstaller-$version-x86.7z",
|
"url": "https://github.com/oneclick/rubyinstaller2/releases/download/RubyInstaller-$version/rubyinstaller-$version-x86.7z",
|
||||||
"extract_dir": "rubyinstaller-$version-x86"
|
"extract_dir": "rubyinstaller-$version-x86"
|
||||||
}
|
}
|
||||||
|
},
|
||||||
|
"hash": {
|
||||||
|
"url": "https://raw.githubusercontent.com/oneclick/rubyinstaller.org-website/master/_data/downloads.yaml",
|
||||||
|
"regex": "(?sm)$basename[^.].*?$sha256"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user