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

Swift 2.3 support #28

Merged

Conversation

Antondomashnev
Copy link
Contributor

As discussed in #20, the decision we came up - is to make a new PATCH release with Swift 2.3 support. This PR contains meta changes for 2.3 support 🚀

Also Swiftlint reported some vertical space violations. @AliSoftware could you please clarify were the spaces added on purpose?

@AliSoftware
Copy link
Owner

Hey thanks a lot for that, I'm sorry I've not been very active on Reusable lately and letting you do all the work ^^

The vertical spaces were here on purpose just because I like to give some air to my code by clearly separating those different sections visually.

That must be a new rule in more recent SwiftLint versions, as it didn't warn me about that before. But I'm ok getting rid of those extra blank lines as SwiftLint seems to suggest that is part of common convention to avoid them; so let's not modify the SwiftLint configuration and remove those extra lines like you did!

@@ -1,5 +1,10 @@
# CHANGELOG

## 2.5.1

* Adopted source files and demo project for Swift 2.3
Copy link
Owner

Choose a reason for hiding this comment

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

s/adopted/adapted/

Copy link
Owner

Choose a reason for hiding this comment

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

Please end this line with a full stop and two spaces (so that the rendered markdown inserts a newline there while still staying in the same paragraph)

Copy link
Contributor Author

@Antondomashnev Antondomashnev Oct 20, 2016

Choose a reason for hiding this comment

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

Fixed in 672baf5
Also, recently I've integrated the danger plugin to link CHANGELOG markdown syntax into my project, and I can say that works well. Maybe we can consider to add it also to Reusable, to automatically prevent issues like I've done =)


SPEC CHECKSUMS:
Reusable: 1775ede04719c488bb04e809d923cbb7214168b8

PODFILE CHECKSUM: 396891106f5d114bc0d21fe52c4957aa880dd013

COCOAPODS: 1.0.1
COCOAPODS: 1.1.0.rc.2
Copy link
Owner

Choose a reason for hiding this comment

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

CocoaPodd 1.1.0 officially got released today, so that PR is the perfect occasion to use the non-RC version now :)

Copy link
Contributor Author

@Antondomashnev Antondomashnev Oct 20, 2016

Choose a reason for hiding this comment

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

Already 1.1.1 ;) Updated in a65e3c0

@Antondomashnev
Copy link
Contributor Author

@AliSoftware I think this is completely personal thing about the vertical lines to separate the code chunks and yes, If you agree to leave the rule as a default from Swiftlint that sounds ok for me 👍

@AliSoftware
Copy link
Owner

AliSoftware commented Oct 20, 2016

Other than the small nitpickings above, seem 👌 to me!

@AliSoftware
Copy link
Owner

I totally plan to configure Danger on all my OSS repos some day, still haven't had the time to activate it but was already something I really want to do! 😉

@AliSoftware
Copy link
Owner

AliSoftware commented Oct 20, 2016

Ok, only missing thing seems to be the version bump in the podspec now 😉

Btw, funny to see that you end all your commit messages with a semicolon 😄 first time I see this, is that some muscle memory from ObjC? ^^ or some style rule you saw somewhere? Just curious

@Antondomashnev
Copy link
Contributor Author

@AliSoftware haha, I, to be honest, don't have any explanation why. I think that comes from the objective-c world.

@Antondomashnev
Copy link
Contributor Author

@AliSoftware podspec is now ready for the new release 🚀.

By the way, I've noticed that there are lots of releases in CHANGELOG contain only one PR, and I found that interesting. Have you ever thought about making a release after each PR, so each PATCH and MINOR feature come to the community as soon as possible?

@@ -1,5 +1,10 @@
# CHANGELOG

## 2.5.1
Copy link
Owner

Choose a reason for hiding this comment

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

Don't forget to change the version in the podspec too 😉

@AliSoftware
Copy link
Owner

Cool 👍 Will merge when I have a little time to make that release at home!

Copy link
Owner

@AliSoftware AliSoftware left a comment

Choose a reason for hiding this comment

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

Just realized that this PR doesn't change travis.yml so Travis only tests this PR against Xcode7

Might be a good idea to borrow the changes made in .travis.yml from the other PR to ensure Travis tests both Xcode 7 (Swift 2.2) and Xcode 8 (Swift 2.3) of this branch

@Antondomashnev
Copy link
Contributor Author

@AliSoftware good point, thanks. I've updated in d77c169, also I've changed to install no the beta version of CocoaPods. Does it makes sense to you?

@phatblat phatblat mentioned this pull request Oct 31, 2016
5 tasks
@Antondomashnev
Copy link
Contributor Author

@AliSoftware hey, do you have time to check d77c169?

@AliSoftware AliSoftware merged commit c8f3afb into AliSoftware:master Nov 6, 2016
@Antondomashnev Antondomashnev deleted the antondomashnev/swift2.3 branch November 6, 2016 20:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants