Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update headers and sbt #247

Merged
merged 2 commits into from Jan 4, 2019
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
1 change: 1 addition & 0 deletions AUTHORS.md
Expand Up @@ -9,3 +9,4 @@ The maintainers of the project are:
## Contributors

These are the people that have contributed to the Github4s project:

2 changes: 1 addition & 1 deletion LICENSE
Expand Up @@ -186,7 +186,7 @@
same "printed page" as the copyright notice for easier
identification within third-party archives.

Copyright (C) 2016-2018 47 Degrees. <http://47deg.com>
Copyright (C) 2016-2019 47 Degrees. <http://47deg.com>

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
Expand Down
2 changes: 1 addition & 1 deletion NOTICE.md
@@ -1,4 +1,4 @@
Github4s
Copyright (c) 2016-2018 47 Degrees. All rights reserved.
Copyright (c) 2016-2019 47 Degrees. All rights reserved.

Licensed under Apache License. See [LICENSE](LICENSE) for terms.
@@ -1,5 +1,5 @@
/*
* Copyright 2016-2018 47 Degrees, LLC. <http://www.47deg.com>
* Copyright 2016-2019 47 Degrees, LLC. <http://www.47deg.com>
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
Expand Down
@@ -1,5 +1,5 @@
/*
* Copyright 2016-2018 47 Degrees, LLC. <http://www.47deg.com>
* Copyright 2016-2019 47 Degrees, LLC. <http://www.47deg.com>
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
Expand Down
@@ -1,5 +1,5 @@
/*
* Copyright 2016-2018 47 Degrees, LLC. <http://www.47deg.com>
* Copyright 2016-2019 47 Degrees, LLC. <http://www.47deg.com>
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
Expand Down
@@ -1,5 +1,5 @@
/*
* Copyright 2016-2018 47 Degrees, LLC. <http://www.47deg.com>
* Copyright 2016-2019 47 Degrees, LLC. <http://www.47deg.com>
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
Expand Down
@@ -1,5 +1,5 @@
/*
* Copyright 2016-2018 47 Degrees, LLC. <http://www.47deg.com>
* Copyright 2016-2019 47 Degrees, LLC. <http://www.47deg.com>
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
Expand Down
@@ -1,5 +1,5 @@
/*
* Copyright 2016-2018 47 Degrees, LLC. <http://www.47deg.com>
* Copyright 2016-2019 47 Degrees, LLC. <http://www.47deg.com>
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
Expand Down
@@ -1,5 +1,5 @@
/*
* Copyright 2016-2018 47 Degrees, LLC. <http://www.47deg.com>
* Copyright 2016-2019 47 Degrees, LLC. <http://www.47deg.com>
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
Expand Down
@@ -1,5 +1,5 @@
/*
* Copyright 2016-2018 47 Degrees, LLC. <http://www.47deg.com>
* Copyright 2016-2019 47 Degrees, LLC. <http://www.47deg.com>
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
Expand Down
@@ -1,5 +1,5 @@
/*
* Copyright 2016-2018 47 Degrees, LLC. <http://www.47deg.com>
* Copyright 2016-2019 47 Degrees, LLC. <http://www.47deg.com>
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
Expand Down
2 changes: 1 addition & 1 deletion github4s/js/src/main/scala/github4s/js/Implicits.scala
@@ -1,5 +1,5 @@
/*
* Copyright 2016-2018 47 Degrees, LLC. <http://www.47deg.com>
* Copyright 2016-2019 47 Degrees, LLC. <http://www.47deg.com>
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
Expand Down
2 changes: 1 addition & 1 deletion github4s/js/src/main/scala/github4s/js/ImplicitsJS.scala
@@ -1,5 +1,5 @@
/*
* Copyright 2016-2018 47 Degrees, LLC. <http://www.47deg.com>
* Copyright 2016-2019 47 Degrees, LLC. <http://www.47deg.com>
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
Expand Down
2 changes: 1 addition & 1 deletion github4s/js/src/main/scala/github4s/util/URLEncoder.scala
@@ -1,5 +1,5 @@
/*
* Copyright 2016-2018 47 Degrees, LLC. <http://www.47deg.com>
* Copyright 2016-2019 47 Degrees, LLC. <http://www.47deg.com>
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
Expand Down
@@ -1,5 +1,5 @@
/*
* Copyright 2016-2018 47 Degrees, LLC. <http://www.47deg.com>
* Copyright 2016-2019 47 Degrees, LLC. <http://www.47deg.com>
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
Expand Down
@@ -1,5 +1,5 @@
/*
* Copyright 2016-2018 47 Degrees, LLC. <http://www.47deg.com>
* Copyright 2016-2019 47 Degrees, LLC. <http://www.47deg.com>
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
Expand Down
@@ -1,5 +1,5 @@
/*
* Copyright 2016-2018 47 Degrees, LLC. <http://www.47deg.com>
* Copyright 2016-2019 47 Degrees, LLC. <http://www.47deg.com>
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
Expand Down
2 changes: 1 addition & 1 deletion github4s/jvm/src/main/scala/github4s/jvm/Implicits.scala
@@ -1,5 +1,5 @@
/*
* Copyright 2016-2018 47 Degrees, LLC. <http://www.47deg.com>
* Copyright 2016-2019 47 Degrees, LLC. <http://www.47deg.com>
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
Expand Down
@@ -1,5 +1,5 @@
/*
* Copyright 2016-2018 47 Degrees, LLC. <http://www.47deg.com>
* Copyright 2016-2019 47 Degrees, LLC. <http://www.47deg.com>
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
Expand Down
2 changes: 1 addition & 1 deletion github4s/jvm/src/main/scala/github4s/util/URLEncoder.scala
@@ -1,5 +1,5 @@
/*
* Copyright 2016-2018 47 Degrees, LLC. <http://www.47deg.com>
* Copyright 2016-2019 47 Degrees, LLC. <http://www.47deg.com>
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
Expand Down
@@ -1,5 +1,5 @@
/*
* Copyright 2016-2018 47 Degrees, LLC. <http://www.47deg.com>
* Copyright 2016-2019 47 Degrees, LLC. <http://www.47deg.com>
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
Expand Down
9 changes: 2 additions & 7 deletions github4s/jvm/src/test/scala/github4s/unit/ApiSpec.scala
@@ -1,5 +1,5 @@
/*
* Copyright 2016-2018 47 Degrees, LLC. <http://www.47deg.com>
* Copyright 2016-2019 47 Degrees, LLC. <http://www.47deg.com>
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
Expand Down Expand Up @@ -559,12 +559,7 @@ class ApiSpec

"GitData >> GetReference" should "return the single reference" in {
val response =
gitData.reference(
accessToken,
headerUserAgent,
validRepoOwner,
validRepoName,
validRefSingle)
gitData.reference(accessToken, headerUserAgent, validRepoOwner, validRepoName, validRefSingle)
response should be('right)

response.toOption map { r =>
Expand Down
@@ -1,5 +1,5 @@
/*
* Copyright 2016-2018 47 Degrees, LLC. <http://www.47deg.com>
* Copyright 2016-2019 47 Degrees, LLC. <http://www.47deg.com>
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
Expand Down Expand Up @@ -1035,11 +1035,12 @@ trait MockGithubApiServer extends MockServerService with FakeResponses with Test

//Issues >> Remove label from an Issue
mockServer
.when(request
.withMethod("DELETE")
.withPath(
s"/repos/$validRepoOwner/$validRepoName/issues/$validIssueNumber/labels/${validIssueLabel.head}")
.withHeader("Authorization", tokenHeader))
.when(
request
.withMethod("DELETE")
.withPath(
s"/repos/$validRepoOwner/$validRepoName/issues/$validIssueNumber/labels/${validIssueLabel.head}")
.withHeader("Authorization", tokenHeader))
.respond(response.withStatusCode(okStatusCode).withBody(listLabelsValidResponse))

mockServer
Expand All @@ -1051,11 +1052,12 @@ trait MockGithubApiServer extends MockServerService with FakeResponses with Test
.respond(response.withStatusCode(notFoundStatusCode).withBody(notFoundResponse))

mockServer
.when(request
.withMethod("DELETE")
.withPath(
s"/repos/$validRepoOwner/$validRepoName/issues/$validIssueNumber/labels/${validIssueLabel.head}")
.withHeader(not("Authorization")))
.when(
request
.withMethod("DELETE")
.withPath(
s"/repos/$validRepoOwner/$validRepoName/issues/$validIssueNumber/labels/${validIssueLabel.head}")
.withHeader(not("Authorization")))
.respond(response.withStatusCode(notFoundStatusCode).withBody(notFoundResponse))

//Issues >> List labels for an Issue
Expand Down
@@ -1,5 +1,5 @@
/*
* Copyright 2016-2018 47 Degrees, LLC. <http://www.47deg.com>
* Copyright 2016-2019 47 Degrees, LLC. <http://www.47deg.com>
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
Expand Down
@@ -1,5 +1,5 @@
/*
* Copyright 2016-2018 47 Degrees, LLC. <http://www.47deg.com>
* Copyright 2016-2019 47 Degrees, LLC. <http://www.47deg.com>
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
Expand Down
2 changes: 1 addition & 1 deletion github4s/shared/src/main/scala/github4s/Decoders.scala
@@ -1,5 +1,5 @@
/*
* Copyright 2016-2018 47 Degrees, LLC. <http://www.47deg.com>
* Copyright 2016-2019 47 Degrees, LLC. <http://www.47deg.com>
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
Expand Down
2 changes: 1 addition & 1 deletion github4s/shared/src/main/scala/github4s/Encoders.scala
@@ -1,5 +1,5 @@
/*
* Copyright 2016-2018 47 Degrees, LLC. <http://www.47deg.com>
* Copyright 2016-2019 47 Degrees, LLC. <http://www.47deg.com>
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
Expand Down
2 changes: 1 addition & 1 deletion github4s/shared/src/main/scala/github4s/Github.scala
@@ -1,5 +1,5 @@
/*
* Copyright 2016-2018 47 Degrees, LLC. <http://www.47deg.com>
* Copyright 2016-2019 47 Degrees, LLC. <http://www.47deg.com>
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
Expand Down
2 changes: 1 addition & 1 deletion github4s/shared/src/main/scala/github4s/GithubAPIs.scala
@@ -1,5 +1,5 @@
/*
* Copyright 2016-2018 47 Degrees, LLC. <http://www.47deg.com>
* Copyright 2016-2019 47 Degrees, LLC. <http://www.47deg.com>
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
Expand Down
@@ -1,5 +1,5 @@
/*
* Copyright 2016-2018 47 Degrees, LLC. <http://www.47deg.com>
* Copyright 2016-2019 47 Degrees, LLC. <http://www.47deg.com>
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
Expand Down
@@ -1,5 +1,5 @@
/*
* Copyright 2016-2018 47 Degrees, LLC. <http://www.47deg.com>
* Copyright 2016-2019 47 Degrees, LLC. <http://www.47deg.com>
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
Expand Down
2 changes: 1 addition & 1 deletion github4s/shared/src/main/scala/github4s/HttpClient.scala
@@ -1,5 +1,5 @@
/*
* Copyright 2016-2018 47 Degrees, LLC. <http://www.47deg.com>
* Copyright 2016-2019 47 Degrees, LLC. <http://www.47deg.com>
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
Expand Down
@@ -1,5 +1,5 @@
/*
* Copyright 2016-2018 47 Degrees, LLC. <http://www.47deg.com>
* Copyright 2016-2019 47 Degrees, LLC. <http://www.47deg.com>
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
Expand Down
2 changes: 1 addition & 1 deletion github4s/shared/src/main/scala/github4s/Implicits.scala
@@ -1,5 +1,5 @@
/*
* Copyright 2016-2018 47 Degrees, LLC. <http://www.47deg.com>
* Copyright 2016-2019 47 Degrees, LLC. <http://www.47deg.com>
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
Expand Down
@@ -1,5 +1,5 @@
/*
* Copyright 2016-2018 47 Degrees, LLC. <http://www.47deg.com>
* Copyright 2016-2019 47 Degrees, LLC. <http://www.47deg.com>
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
Expand Down
2 changes: 1 addition & 1 deletion github4s/shared/src/main/scala/github4s/api/Auth.scala
@@ -1,5 +1,5 @@
/*
* Copyright 2016-2018 47 Degrees, LLC. <http://www.47deg.com>
* Copyright 2016-2019 47 Degrees, LLC. <http://www.47deg.com>
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
Expand Down
2 changes: 1 addition & 1 deletion github4s/shared/src/main/scala/github4s/api/Gists.scala
@@ -1,5 +1,5 @@
/*
* Copyright 2016-2018 47 Degrees, LLC. <http://www.47deg.com>
* Copyright 2016-2019 47 Degrees, LLC. <http://www.47deg.com>
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
Expand Down
2 changes: 1 addition & 1 deletion github4s/shared/src/main/scala/github4s/api/GitData.scala
@@ -1,5 +1,5 @@
/*
* Copyright 2016-2018 47 Degrees, LLC. <http://www.47deg.com>
* Copyright 2016-2019 47 Degrees, LLC. <http://www.47deg.com>
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
Expand Down
2 changes: 1 addition & 1 deletion github4s/shared/src/main/scala/github4s/api/Issues.scala
@@ -1,5 +1,5 @@
/*
* Copyright 2016-2018 47 Degrees, LLC. <http://www.47deg.com>
* Copyright 2016-2019 47 Degrees, LLC. <http://www.47deg.com>
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
Expand Down
@@ -1,5 +1,5 @@
/*
* Copyright 2016-2018 47 Degrees, LLC. <http://www.47deg.com>
* Copyright 2016-2019 47 Degrees, LLC. <http://www.47deg.com>
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
Expand Down
@@ -1,5 +1,5 @@
/*
* Copyright 2016-2018 47 Degrees, LLC. <http://www.47deg.com>
* Copyright 2016-2019 47 Degrees, LLC. <http://www.47deg.com>
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
Expand Down
2 changes: 1 addition & 1 deletion github4s/shared/src/main/scala/github4s/api/Repos.scala
@@ -1,5 +1,5 @@
/*
* Copyright 2016-2018 47 Degrees, LLC. <http://www.47deg.com>
* Copyright 2016-2019 47 Degrees, LLC. <http://www.47deg.com>
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
Expand Down
2 changes: 1 addition & 1 deletion github4s/shared/src/main/scala/github4s/api/Users.scala
@@ -1,5 +1,5 @@
/*
* Copyright 2016-2018 47 Degrees, LLC. <http://www.47deg.com>
* Copyright 2016-2019 47 Degrees, LLC. <http://www.47deg.com>
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
Expand Down
2 changes: 1 addition & 1 deletion github4s/shared/src/main/scala/github4s/api/package.scala
@@ -1,5 +1,5 @@
/*
* Copyright 2016-2018 47 Degrees, LLC. <http://www.47deg.com>
* Copyright 2016-2019 47 Degrees, LLC. <http://www.47deg.com>
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
Expand Down
2 changes: 1 addition & 1 deletion github4s/shared/src/main/scala/github4s/app.scala
@@ -1,5 +1,5 @@
/*
* Copyright 2016-2018 47 Degrees, LLC. <http://www.47deg.com>
* Copyright 2016-2019 47 Degrees, LLC. <http://www.47deg.com>
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
Expand Down
@@ -1,5 +1,5 @@
/*
* Copyright 2016-2018 47 Degrees, LLC. <http://www.47deg.com>
* Copyright 2016-2019 47 Degrees, LLC. <http://www.47deg.com>
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
Expand Down
@@ -1,5 +1,5 @@
/*
* Copyright 2016-2018 47 Degrees, LLC. <http://www.47deg.com>
* Copyright 2016-2019 47 Degrees, LLC. <http://www.47deg.com>
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
Expand Down
@@ -1,5 +1,5 @@
/*
* Copyright 2016-2018 47 Degrees, LLC. <http://www.47deg.com>
* Copyright 2016-2019 47 Degrees, LLC. <http://www.47deg.com>
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
Expand Down
@@ -1,5 +1,5 @@
/*
* Copyright 2016-2018 47 Degrees, LLC. <http://www.47deg.com>
* Copyright 2016-2019 47 Degrees, LLC. <http://www.47deg.com>
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
Expand Down