-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
update rubocop, arm64 build, addtional version spec
- Loading branch information
1 parent
c37475b
commit fc63e51
Showing
4 changed files
with
35 additions
and
11 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
# frozen_string_literal: true | ||
|
||
require_relative "../lib/version" | ||
|
||
describe VERSION do | ||
it "matches the branch" do | ||
# Only really works locally. Just to enforce updating the branch | ||
branch = `git branch --show-current`.chomp | ||
expect(VERSION).to eq branch.sub(/^v/, "") if branch.match?(/^v?\d+\.\d+\.\d+/) # rubocop:disable RSpec/DescribedClass | ||
rescue Errno::ENOENT | ||
# ignore | ||
end | ||
end |