Skip to content

Commit bf1f10a

Browse files
authored
🔀 Merge pull request #236 from oauth-xx/update-simplecov-cobertura-2.1.0
Update simplecov cobertura 2.1.0
2 parents e297c4d + f93f06e commit bf1f10a

File tree

4 files changed

+39
-3
lines changed

4 files changed

+39
-3
lines changed

.github/workflows/danger.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,10 @@ jobs:
1515
ruby:
1616
- 2.6
1717
steps:
18-
- uses: actions/checkout@v2
18+
- name: Checkout
19+
uses: actions/checkout@v2
20+
- name: Install cURL Headers
21+
run: sudo apt-get install libcurl4-openssl-dev
1922
- name: Setup Ruby & Bundle
2023
uses: ruby/setup-ruby@v1
2124
with:

.overcommit.yml

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
# Use this file to configure the Overcommit hooks you wish to use. This will
2+
# extend the default configuration defined in:
3+
# https://github.com/sds/overcommit/blob/master/config/default.yml
4+
#
5+
# At the topmost level of this YAML file is a key representing type of hook
6+
# being run (e.g. pre-commit, commit-msg, etc.). Within each type you can
7+
# customize each hook, such as whether to only run it on certain files (via
8+
# `include`), whether to only display output if it fails (via `quiet`), etc.
9+
#
10+
# For a complete list of hooks, see:
11+
# https://github.com/sds/overcommit/tree/master/lib/overcommit/hook
12+
#
13+
# For a complete list of options that you can use to customize hooks, see:
14+
# https://github.com/sds/overcommit#configuration
15+
#
16+
# Uncomment the following lines to make the configuration take effect.
17+
18+
PreCommit:
19+
RuboCop:
20+
enabled: true
21+
on_warn: fail # Treat all warnings as failures
22+
23+
TrailingWhitespace:
24+
enabled: true
25+
26+
PostCheckout:
27+
ALL: # Special hook name that customizes all hooks of this type
28+
quiet: true # Change all post-checkout hooks to only display output on failure
29+
#
30+
# IndexTags:
31+
# enabled: true # Generate a tags file with `ctags` each time HEAD changes

Gemfile

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ coverage = minimum_version.call("2.6")
99
debug = minimum_version.call("2.4")
1010
if linting
1111
gem "danger", "~> 8.4"
12+
gem "overcommit", "~> 0.58"
1213
gem "rubocop", "~> 1.22"
1314
gem "rubocop-faker", "~> 1.1"
1415
gem "rubocop-md", "~> 1.0"
@@ -20,6 +21,6 @@ if linting
2021
end
2122
if coverage
2223
gem "simplecov", "~> 0.21"
23-
gem "simplecov-cobertura", "~> 1.4"
24+
gem "simplecov-cobertura", "~> 2.1"
2425
end
2526
gem "byebug", "~> 11.1" if debug

oauth.gemspec

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,8 @@ Gem::Specification.new do |spec|
2121
"changelog_uri" => "#{spec.homepage}/blob/master/CHANGELOG.md",
2222
"documentation_uri" => "https://rubydoc.info/github/oauth-xx/oauth-ruby/master",
2323
"homepage_uri" => spec.homepage,
24-
"source_code_uri" => spec.homepage
24+
"source_code_uri" => spec.homepage,
25+
"rubygems_mfa_required" => "true"
2526
}
2627
spec.files = Dir.glob("lib/**/*.rb") + ["LICENSE", "README.md", "CHANGELOG.md", "CODE_OF_CONDUCT.md", "SECURITY.md", "CONTRIBUTING.md"]
2728
spec.extra_rdoc_files = [ "TODO" ]

0 commit comments

Comments
 (0)