Remove basic uses of @_ver in source_url (#8428)

This commit is contained in:
Maximilian Downey Twiss
2023-06-23 00:48:42 +10:00
committed by GitHub
parent b8bed724e5
commit c118ad7b4b
94 changed files with 188 additions and 282 deletions

View File

@@ -6,11 +6,10 @@ require 'package'
class Protobuf < Package
description 'Protocol Buffers - Googles data interchange format'
homepage 'https://developers.google.com/protocol-buffers/'
@_ver = '21.12'
version @_ver
version '21.12'
license 'BSD'
compatibility 'all'
source_url "https://github.com/protocolbuffers/protobuf/archive/v#{@_ver}/protobuf-#{@_ver}.tar.gz"
source_url "https://github.com/protocolbuffers/protobuf/archive/v#{version}/protobuf-#{version}.tar.gz"
source_sha256 '22fdaf641b31655d4b2297f9981fa5203b2866f8332d3c6333f6b0107bb320de'
binary_url({