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

General fixes #88

Merged
merged 6 commits into from
Aug 26, 2017
Merged

General fixes #88

merged 6 commits into from
Aug 26, 2017

Conversation

ennioma
Copy link
Owner

@ennioma ennioma commented Aug 26, 2017

  • added swiftlint
  • fixed swiftlint violations
  • added CI badges in README
  • proj references updated to 1.5.0

@ennioma ennioma self-assigned this Aug 26, 2017
Copy link

@MarcoSantarossa MarcoSantarossa left a comment

Choose a reason for hiding this comment

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

Left just a comment and then it's fine

@@ -46,7 +63,7 @@ public struct ArekConfiguration {

return Calendar.current.compare(lastDate, to: Date(), toGranularity: .hour) == ComparisonResult.orderedDescending
case .JustOnce:
guard let _ = self.lastDateForPermission(identifier: permission.identifier) else {
if self.lastDateForPermission(identifier: permission.identifier) == nil {

Choose a reason for hiding this comment

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

You may just return the statement:

return lastDateForPermission(identifier: permission.identifier) == nil

@ennioma ennioma merged commit 19b4142 into develop Aug 26, 2017
@ennioma ennioma deleted the fixProject branch August 26, 2017 13:34
ennioma added a commit that referenced this pull request Aug 26, 2017
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.

2 participants