-
Notifications
You must be signed in to change notification settings - Fork 129
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #988 from bugsnag/release-v6.6.1
Release v6.6.1
- Loading branch information
Showing
114 changed files
with
1,769 additions
and
1,112 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
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,44 @@ | ||
name: "Update Docs" | ||
on: | ||
release: | ||
types: [published] | ||
|
||
jobs: | ||
build: | ||
runs-on: macos-latest | ||
steps: | ||
- name: Checkout bugsnag-cocoa | ||
uses: actions/checkout@v2 | ||
|
||
- name: Checkout docs branch | ||
uses: actions/checkout@v2 | ||
with: | ||
ref: gh-pages | ||
path: docs | ||
|
||
- name: Configure docs branch | ||
working-directory: docs | ||
run: | | ||
git config user.name "Bugsnag Bot" | ||
git config user.email [email protected] | ||
- uses: actions/cache@v2 | ||
with: | ||
path: vendor/bundle | ||
key: ${{ runner.os }}-gems-${{ hashFiles('**/Gemfile.lock') }} | ||
restore-keys: | | ||
${{ runner.os }}-gems- | ||
- name: Bundle install | ||
run: | | ||
bundle config path vendor/bundle | ||
bundle install --jobs 4 --retry 3 | ||
- name: Update docs | ||
run: make docs | ||
|
||
- name: Push changes | ||
working-directory: docs | ||
run: | | ||
git status | ||
git push |
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 |
---|---|---|
|
@@ -25,4 +25,7 @@ Podfile.lock | |
.build | ||
.swiftpm | ||
Package.resolved | ||
/compile_commands.json | ||
/docs/ | ||
/infer-out | ||
/oclint.json |
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,16 @@ | ||
author_url: "https://www.bugsnag.com" | ||
author: "Bugsnag Inc" | ||
clean: false # avoid deleting docs/.git | ||
framework_root: "Bugsnag" | ||
github_file_prefix: "https://github.com/bugsnag/bugsnag-cocoa/tree/v6.6.1" | ||
github_url: "https://github.com/bugsnag/bugsnag-cocoa" | ||
hide_documentation_coverage: true | ||
module: "Bugsnag" | ||
module_version: "6.6.1" | ||
objc: true | ||
output: "docs" | ||
readme: "README.md" | ||
root_url: "https://bugsnag.github.io/bugsnag-cocoa" | ||
source_directory: "Bugsnag" | ||
theme: "apple" | ||
umbrella_header: "Bugsnag/include/Bugsnag/Bugsnag.h" |
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,33 @@ | ||
# vim: set ft=yaml | ||
|
||
disable-rules: | ||
- BitwiseOperatorInConditional # Used quite a bit in KSCrash | ||
- CollapsibleIfStatements # Fixing violations would churn a lot of code | ||
- ConstantConditionalOperator # False positive for e.g. strncpy() | ||
- EmptyDoWhileStatement # False positive for e.g. NSAssert() | ||
- GotoStatement # KSCrash uses gotos extensively | ||
- HighCyclomaticComplexity | ||
- HighNcssMethod | ||
- HighNPathComplexity | ||
- InvertedLogic # Triggers on e.g. `if (old != new)` | ||
- MissingDefaultStatement # Rule not smart enough to only trigger for missing cases | ||
- ParameterReassignment | ||
- PreferEarlyExit # Fixing violations would churn a lot of code | ||
- ShortVariableName | ||
- UnnecessaryElseStatement # Fixing violations would churn a lot of code | ||
- UnusedMethodParameter # Quite common for notification handlers | ||
- UselessParentheses # False positive for e.g. ULONG_MAX | ||
|
||
rule-configurations: | ||
- key: LONG_LINE | ||
# GitHub's PR viewer allows 150 characters before scrolling | ||
value: 150 | ||
- key: LONG_METHOD | ||
value: 159 | ||
- key: LONG_VARIABLE_NAME | ||
value: 50 | ||
- key: NESTED_BLOCK_DEPTH | ||
value: 6 | ||
- key: TOO_MANY_METHODS | ||
# We have several very large classses (BugsnagConfiguration, BugsnagClient) | ||
value: 110 |
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
Oops, something went wrong.