Skip to content

Commit

Permalink
Update formula
Browse files Browse the repository at this point in the history
  • Loading branch information
buty4649 authored and github-actions[bot] committed Dec 31, 2023
1 parent bdd5f37 commit 5fafbca
Showing 1 changed file with 9 additions and 9 deletions.
18 changes: 9 additions & 9 deletions rf.rb
Original file line number Diff line number Diff line change
@@ -1,27 +1,27 @@
class Rf < Formula
desc 'rf is Ruby powered text/json/yaml filter'
version '1.12.0'
version '1.14.0'
homepage 'https://github.com/buty4649/rf'

on_macos do
if Hardware::CPU.arm?
url 'https://github.com/buty4649/rf/releases/download/v1.12.0/rf-v1.12.0-darwin-arm64.zip'
sha256 'a6f002546db0770456da69d7c75f5ed462d92ded59452f15e9febe0af5023091'
url 'https://github.com/buty4649/rf/releases/download/v1.14.0/rf-v1.14.0-darwin-arm64.zip'
sha256 'a2d30e2a0ffe608c326cd7846f8f6da59095bb9b9332ba9d6e611310d53fed2e'
end
if Hardware::CPU.intel?
url 'https://github.com/buty4649/rf/releases/download/v1.12.0/rf-v1.12.0-darwin-amd64.zip'
sha256 '495d8400db9f45481e1edaf37690b6573e5c0031e1ac6556eea9c2f79a007ccf'
url 'https://github.com/buty4649/rf/releases/download/v1.14.0/rf-v1.14.0-darwin-amd64.zip'
sha256 '549c42efe55c231be7f2cbfff8d9f2ab4c503be1e218517b0b197367e0328a7c'
end
end

on_linux do
if Hardware::CPU.arm? && Hardware::CPU.is_64_bit?
url 'https://github.com/buty4649/rf/releases/download/v1.12.0/rf-v1.12.0-linux-arm64.tar.gz'
sha256 'e40a0a6507a3bee2a9a0ad98147cd73b2258c973100bdade8d7ca6c7c97313d5'
url 'https://github.com/buty4649/rf/releases/download/v1.14.0/rf-v1.14.0-linux-arm64.tar.gz'
sha256 '94c77a6328c90c89071e2ddf094c1fb05964f3754420f401f71718c1187dea64'
end
if Hardware::CPU.intel?
url 'https://github.com/buty4649/rf/releases/download/v1.12.0/rf-v1.12.0-linux-amd64.tar.gz'
sha256 '68aefa5c2aec3a91f2e876f4972e03766183fae5afe0183fc5ddde078a0d31c0'
url 'https://github.com/buty4649/rf/releases/download/v1.14.0/rf-v1.14.0-linux-amd64.tar.gz'
sha256 '60e6259b3e3b4c2df0a92b9a3a5b811cc763eb69b4154ecd176b4a5c18b4af28'
end
end

Expand Down

0 comments on commit 5fafbca

Please sign in to comment.