Sha256: 86a9070a7c09be136bab1ced215bbea45f7ef73f9be1613a42b3cc99645b5ce0
Contents?: true
Size: 361 Bytes
Versions: 11
Compression:
Stored size: 361 Bytes
Contents
class CompareLinker class GithubTagFinder attr_reader :octokit def initialize(octokit) @octokit = octokit end def find(repo_full_name, gem_version) tags = octokit.tags(repo_full_name) if tags tags.find { |tag| tag.name == gem_version || tag.name == "v#{gem_version}" } end end end end
Version data entries
11 entries across 11 versions & 1 rubygems