Class: LetItCrash::Matchers::AppVeyor
- Inherits:
-
Base
- Object
- Base
- LetItCrash::Matchers::AppVeyor
show all
- Defined in:
- lib/letitcrash/matchers/app_veyor.rb
Instance Method Summary
collapse
Methods inherited from Base
#initialize
Instance Method Details
#branch ⇒ Object
10
11
12
|
# File 'lib/letitcrash/matchers/app_veyor.rb', line 10
def branch
environment['APPVEYOR_REPO_BRANCH']
end
|
#matches? ⇒ Boolean
6
7
8
|
# File 'lib/letitcrash/matchers/app_veyor.rb', line 6
def matches?
ci? && environment['APPVEYOR'] == 'true'
end
|
#sha ⇒ Object
14
15
16
|
# File 'lib/letitcrash/matchers/app_veyor.rb', line 14
def sha
environment['APPVEYOR_REPO_COMMIT']
end
|