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

Updated Quick and Nimble #114

Merged
merged 15 commits into from
Oct 16, 2020
Merged

Updated Quick and Nimble #114

merged 15 commits into from
Oct 16, 2020

Conversation

Widcket
Copy link
Contributor

@Widcket Widcket commented Oct 12, 2020

Changes

This PR updates the test dependencies Quick and Nimble to the latest majors, making it possible to test JWTDecode.swift with Xcode 12.

The new majors of Quick and Nimble no longer support Swift versions < 5.2. This means that the tests can no longer be run on Xcode versions < 11.4. The CircleCI config has been updated accordingly.

The requirements section in the README has been updated as well.

References

Same changes in Auth0.swift: auth0/Auth0.swift#421
Same changes in SimpleKeychain: auth0/SimpleKeychain#97

Testing

  • This change adds unit test coverage
  • This change has been tested on the latest version of the platform/language or why not

Checklist

@Widcket Widcket added this to the vNext milestone Oct 12, 2020
@Widcket Widcket requested a review from a team October 12, 2020 19:01
@Widcket
Copy link
Contributor Author

Widcket commented Oct 12, 2020

@lbalmaceda can you please update the branch protection settings? The only CircleCI jobs that should be marked as required are build-and-test-iOS-swift-5_2, build-and-test-macOS-swift-5_2, build-and-test-tvOS-swift-5_2 as the others have been removed.
Also Codecov is detecting a coverage change, despite that no code was touched. The coverage reports are generated by Xcode, and it was updated to version 11.7. That might be the source of the reported code coverage difference.

@cocojoe
Copy link
Member

cocojoe commented Oct 13, 2020

@lbalmaceda can you please update the branch protection settings? The only CircleCI jobs that should be marked as required are build-and-test-iOS-swift-5_2, build-and-test-macOS-swift-5_2, build-and-test-tvOS-swift-5_2 as the others have been removed.
Also Codecov is detecting a coverage change, despite that no code was touched. The coverage reports are generated by Xcode, and it was updated to version 11.7. That might be the source of the reported code coverage difference.

Done

README.md Outdated
[![FOSSA Status](https://app.fossa.com/api/projects/git%2Bgithub.com%2Fauth0%2FJWTDecode.swift.svg?type=shield)](https://app.fossa.com/projects/git%2Bgithub.com%2Fauth0%2FJWTDecode.swift?ref=badge_shield)

This library will help you check [JWT](https://jwt.io/) payload

> This library doesn't validate the token, any well formed JWT can be decoded from Base64Url.

## Important Notices
- [The latest majors of Quick and Nimble](https://github.com/auth0/JWTDecode.swift/pull/114) require that developers using Carthage **must** use Xcode 11.4+ only, starting from JWTDecode.swift [2.5.0](https://github.com/auth0/JWTDecode.swift/releases/tag/2.5.0).
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I would update requirements to match 11.4+, give we're not testing on anything less now, can't say for sure that it works.

Copy link
Contributor Author

@Widcket Widcket Oct 13, 2020

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I removed the notice and updated the Xcode requirements to 11.4+. One is not compatible with the other because the notice says "developers using Carthage", while the requirements are for everyone. From the PoV of an external observer, we would be warning Carthage developers about something that is completely moot because the requirements themselves say the library needs Xcode 11.4+.

Copy link
Contributor Author

@Widcket Widcket Oct 13, 2020

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

That is, the updated requirements supersede the notice. If we'd prefer to use the notice, then we should keep the old requirements.

Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm pointing to this PR in order to use JWTDecode.swift in a Xcode 12 project, is going to be merged 🙂?

@Widcket Widcket requested a review from cocojoe October 13, 2020 14:09
@cocojoe cocojoe merged commit 3ce3029 into master Oct 16, 2020
@Widcket Widcket deleted the chore/update-dependencies branch October 16, 2020 10:26
@Widcket Widcket mentioned this pull request Oct 16, 2020
kaishin pushed a commit to kaishin/jwt-decode that referenced this pull request Jan 25, 2022
* Update Quick and Nimble

* Add notice to README

* Update gems

* Add Circle CI fastlane action

* Add Carthage flags

* Update Scanfile values

* Remove store-results seteps for macOS and tvOS

* Disable automatic brew cleanup

* Add BUNDLE_PATH env variable

* Remove overriden Scan config

* Update README.md

* Use upToNextMajor for SPM dependencies

* Remove comment

* Add .git to repo paths
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants