Alexander Kjäll
e629a23bd4
upgrade commons-io due to CVE-2021-29425, it's a vulnerability in FileNameUtils.normalize that isn't used in this project
2021-04-21 11:37:38 +02:00
Liam Newman
f6e8a2c7c6
Merge pull request #1123 from bitwiseman/task/assertThat
...
Move to using assertThat() exclusively
2021-04-20 13:59:24 -07:00
Liam Newman
76bea5174f
Merge branch 'main' into task/assertThat
2021-04-20 13:43:04 -07:00
Liam Newman
2be27d1a41
Update maven-build.yml
2021-04-20 13:42:48 -07:00
Liam Newman
cd1454ac03
More assertThat matchers
2021-04-20 12:34:01 -07:00
Liam Newman
b550910f4c
Streamline assertThat calls using appropriate matchers
2021-04-20 12:16:55 -07:00
Liam Newman
d13e490be2
Enforce use of assertThat
...
Assert.assert* methods other than assertThat() produce less clear tests.
This change enforces using assertThat() for all verifications.
While more verbose they are generally more consistent and easier to understand.
2021-04-20 00:46:43 -07:00
Liam Newman
3d451526ef
Deprecate all asserts other than assertThat
2021-04-19 19:09:47 -07:00
Liam Newman
bd38897d48
Do not inherit from Assert
2021-04-19 15:58:33 -07:00
Liam Newman
63ccbaf064
Merge pull request #1116 from hub4j/dependabot/maven/spotbugs.version-4.2.3
...
Chore(deps): Bump spotbugs.version from 4.2.2 to 4.2.3
2021-04-19 13:44:18 -07:00
Liam Newman
2beb806b8a
Merge pull request #1120 from hub4j/dependabot/maven/com.fasterxml.jackson.core-jackson-databind-2.12.3
...
Chore(deps): Bump jackson-databind from 2.12.1 to 2.12.3
2021-04-19 13:44:02 -07:00
dependabot[bot]
552ba6693e
Chore(deps): Bump spotbugs.version from 4.2.2 to 4.2.3
...
Bumps `spotbugs.version` from 4.2.2 to 4.2.3.
Updates `spotbugs` from 4.2.2 to 4.2.3
- [Release notes](https://github.com/spotbugs/spotbugs/releases )
- [Changelog](https://github.com/spotbugs/spotbugs/blob/master/CHANGELOG.md )
- [Commits](https://github.com/spotbugs/spotbugs/compare/4.2.2...4.2.3 )
Updates `spotbugs-annotations` from 4.2.2 to 4.2.3
- [Release notes](https://github.com/spotbugs/spotbugs/releases )
- [Changelog](https://github.com/spotbugs/spotbugs/blob/master/CHANGELOG.md )
- [Commits](https://github.com/spotbugs/spotbugs/compare/4.2.2...4.2.3 )
Signed-off-by: dependabot[bot] <support@github.com >
2021-04-19 20:42:57 +00:00
dependabot[bot]
2452add4d7
Chore(deps): Bump jackson-databind from 2.12.1 to 2.12.3
...
Bumps [jackson-databind](https://github.com/FasterXML/jackson ) from 2.12.1 to 2.12.3.
- [Release notes](https://github.com/FasterXML/jackson/releases )
- [Commits](https://github.com/FasterXML/jackson/commits )
Signed-off-by: dependabot[bot] <support@github.com >
2021-04-19 20:42:56 +00:00
Liam Newman
0dc931ceed
Merge pull request #1115 from hub4j/dependabot/github_actions/actions/cache-v2.1.5
...
Chore(deps): Bump actions/cache from v2.1.4 to v2.1.5
2021-04-19 13:42:48 -07:00
Liam Newman
1dfedc6a58
Merge pull request #1117 from hub4j/dependabot/maven/com.diffplug.spotless-spotless-maven-plugin-2.10.1
...
Chore(deps): Bump spotless-maven-plugin from 2.9.0 to 2.10.1
2021-04-19 13:42:32 -07:00
dependabot[bot]
e33046a624
Chore(deps): Bump actions/cache from v2.1.4 to v2.1.5
...
Bumps [actions/cache](https://github.com/actions/cache ) from v2.1.4 to v2.1.5.
- [Release notes](https://github.com/actions/cache/releases )
- [Commits](https://github.com/actions/cache/compare/v2.1.4...1a9e2138d905efd099035b49d8b7a3888c653ca8 )
Signed-off-by: dependabot[bot] <support@github.com >
2021-04-19 20:42:30 +00:00
dependabot[bot]
002b3f03da
Chore(deps): Bump spotless-maven-plugin from 2.9.0 to 2.10.1
...
Bumps [spotless-maven-plugin](https://github.com/diffplug/project ) from 2.9.0 to 2.10.1.
- [Release notes](https://github.com/diffplug/project/releases )
- [Commits](https://github.com/diffplug/project/commits )
Signed-off-by: dependabot[bot] <support@github.com >
2021-04-19 20:42:26 +00:00
Liam Newman
fd1817d111
Merge pull request #1122 from hub4j/dependabot/maven/org.mockito-mockito-core-3.9.0
...
Chore(deps-dev): Bump mockito-core from 3.8.0 to 3.9.0
2021-04-19 13:42:20 -07:00
Liam Newman
7526b46f9d
Merge pull request #1121 from hub4j/dependabot/maven/org.kohsuke.stapler-stapler-1.263
...
Chore(deps-dev): Bump stapler from 1.262 to 1.263
2021-04-19 13:42:07 -07:00
dependabot[bot]
169fd18a54
Chore(deps-dev): Bump mockito-core from 3.8.0 to 3.9.0
...
Bumps [mockito-core](https://github.com/mockito/mockito ) from 3.8.0 to 3.9.0.
- [Release notes](https://github.com/mockito/mockito/releases )
- [Commits](https://github.com/mockito/mockito/compare/v3.8.0...v3.9.0 )
Signed-off-by: dependabot[bot] <support@github.com >
2021-04-19 20:41:49 +00:00
Liam Newman
0708812456
Merge pull request #1113 from hub4j/dependabot/maven/com.github.spotbugs-spotbugs-maven-plugin-4.2.3
...
Chore(deps): Bump spotbugs-maven-plugin from 4.2.0 to 4.2.3
2021-04-19 13:41:26 -07:00
dependabot[bot]
7d86070ac8
Chore(deps-dev): Bump stapler from 1.262 to 1.263
...
Bumps [stapler](https://github.com/stapler/stapler ) from 1.262 to 1.263.
- [Release notes](https://github.com/stapler/stapler/releases )
- [Changelog](https://github.com/stapler/stapler/blob/master/CHANGELOG.md )
- [Commits](https://github.com/stapler/stapler/compare/stapler-parent-1.262...stapler-parent-1.263 )
Signed-off-by: dependabot[bot] <support@github.com >
2021-04-19 20:41:24 +00:00
dependabot[bot]
713b85f9de
Chore(deps): Bump spotbugs-maven-plugin from 4.2.0 to 4.2.3
...
Bumps [spotbugs-maven-plugin](https://github.com/spotbugs/spotbugs-maven-plugin ) from 4.2.0 to 4.2.3.
- [Release notes](https://github.com/spotbugs/spotbugs-maven-plugin/releases )
- [Commits](https://github.com/spotbugs/spotbugs-maven-plugin/compare/spotbugs-maven-plugin-4.2.0...spotbugs-maven-plugin-4.2.3 )
Signed-off-by: dependabot[bot] <support@github.com >
2021-04-19 20:41:20 +00:00
Liam Newman
4fef5bb1fc
Merge pull request #1112 from hub4j/dependabot/github_actions/codecov/codecov-action-v1.4.0
...
Chore(deps): Bump codecov/codecov-action from v1.3.2 to v1.4.0
2021-04-19 13:41:14 -07:00
Liam Newman
f3eadcddb6
Merge pull request #1111 from hub4j/dependabot/maven/com.tngtech.archunit-archunit-0.18.0
...
Chore(deps-dev): Bump archunit from 0.17.0 to 0.18.0
2021-04-19 13:41:02 -07:00
Liam Newman
237171727d
Merge pull request #1118 from hub4j/dependabot/maven/org.kohsuke-wordnet-random-name-1.5
...
Chore(deps-dev): Bump wordnet-random-name from 1.3 to 1.5
2021-04-19 13:40:40 -07:00
Liam Newman
31212d33ae
Merge pull request #1119 from bitwiseman/task/main
...
Switch to 'main' as default branch
2021-04-19 13:40:13 -07:00
Liam Newman
8af66133d2
Switch to 'main' as default branch
2021-04-19 13:27:44 -07:00
dependabot[bot]
9578e027b1
Chore(deps-dev): Bump wordnet-random-name from 1.3 to 1.5
...
Bumps [wordnet-random-name](https://github.com/kohsuke/wordnet-random-name ) from 1.3 to 1.5.
- [Release notes](https://github.com/kohsuke/wordnet-random-name/releases )
- [Commits](https://github.com/kohsuke/wordnet-random-name/compare/wordnet-random-name-1.3...wordnet-random-name-1.5 )
Signed-off-by: dependabot[bot] <support@github.com >
2021-04-19 20:10:36 +00:00
dependabot[bot]
2c75b42b4e
Chore(deps): Bump codecov/codecov-action from v1.3.2 to v1.4.0
...
Bumps [codecov/codecov-action](https://github.com/codecov/codecov-action ) from v1.3.2 to v1.4.0.
- [Release notes](https://github.com/codecov/codecov-action/releases )
- [Changelog](https://github.com/codecov/codecov-action/blob/master/CHANGELOG.md )
- [Commits](https://github.com/codecov/codecov-action/compare/v1.3.2...0e28ff86a50029a44d10df6ed4c308711925a6a8 )
Signed-off-by: dependabot[bot] <support@github.com >
2021-04-19 20:10:13 +00:00
dependabot[bot]
7854b30a76
Chore(deps-dev): Bump archunit from 0.17.0 to 0.18.0
...
Bumps [archunit](https://github.com/TNG/ArchUnit ) from 0.17.0 to 0.18.0.
- [Release notes](https://github.com/TNG/ArchUnit/releases )
- [Commits](https://github.com/TNG/ArchUnit/compare/v0.17.0...v0.18.0 )
Signed-off-by: dependabot[bot] <support@github.com >
2021-04-19 20:10:09 +00:00
Liam Newman
cf2571858c
Merge pull request #1107 from akashRindhe/feat/1076
...
(refactor) Rename gitHubBeforeAfter to nonRecordingGitHub #1076
2021-04-19 10:08:35 -07:00
Akash Rindhe
092815747a
(refactor) Rename gitHubBeforeAfter to nonRecordingGitHub #1076
...
[#1076 ]
2021-04-18 18:41:10 +08:00
Liam Newman
649d7ed87f
Merge pull request #1106 from bitwiseman/issue/1103
...
GHRepository#listLanguages returns correct Map type
2021-04-16 16:04:57 -07:00
Liam Newman
684560ef67
GHRepository#listLanguages returns correct Map type
...
This is a less than perfect solution, but it is sufficient to solve the current issue
without risking further side-effects.
Fixes #1103
2021-04-16 14:25:28 -07:00
Liam Newman
adf054ba5d
Merge pull request #1105 from akashRindhe/feature/1050
...
GHIssue.addLabels and removeLabels() should return List<GHLabel> not void [#1050 ]
2021-04-16 13:10:04 -07:00
Liam Newman
dcdfee67cd
Cover more code paths using existing test
2021-04-16 13:00:42 -07:00
Akash Rindhe
9d7209ec62
Merge branch 'master' into feature/1050
2021-04-17 00:23:46 +08:00
Akash Rindhe
b97e8a2c38
(feat) Return GHLabel list instead of void on GHIssue#removeLabel(s) #1050
...
Includes BridgeMethod annotation to keep binary compatibility
(https://github.com/hub4j/github-api/issues/1050 )
2021-04-17 00:22:52 +08:00
Akash Rindhe
8bd3f391da
(feat) Return GHLabel list instead of void on GHIssue#addLabels #1050
...
Includes BridgeMethod annotation to keep binary compatibility
(https://github.com/hub4j/github-api/issues/1050 )
2021-04-17 00:06:50 +08:00
Liam Newman
5d0dbf6e2f
Merge pull request #1101 from breandan/breandan-patch
...
Add sort and order parameters to GHContentSearchBuilder
2021-04-15 23:26:47 -07:00
Liam Newman
38f3595552
Streamline code paths
2021-04-15 15:29:50 -07:00
Liam Newman
b72e7fa2ee
Add BEST_MATCH and expand test
2021-04-15 14:49:23 -07:00
breandan
659b32f5ec
update test data
2021-04-15 16:49:24 -04:00
breandan
d0c326bbf5
apply spotless formatting
2021-04-15 16:42:15 -04:00
breandan
4a5aceb1f9
add content and order parameters to GHContentSearchBuilder as per #1088
2021-04-15 16:29:23 -04:00
Liam Newman
884248930e
Merge pull request #1096 from gsmet/add-event-schedule
...
Add SCHEDULE to GHEvent and add UNKNOWN handling to GHEvent
2021-04-14 15:58:52 -07:00
Liam Newman
530d524366
Merge pull request #1095 from gsmet/no-log-on-cancel
...
Log 202 message at the FINE level
2021-04-14 15:04:38 -07:00
Guillaume Smet
5957da3d6d
Log 202 message at the FINE level
2021-04-14 18:43:52 +02:00
Guillaume Smet
6efe428f57
Log a warning when we have an unknown enum value
...
Can be useful to catch values we should add instead of simply ignoring
them.
2021-04-14 18:36:36 +02:00