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

Add podspec ✔️ #11

Merged
merged 2 commits into from Oct 4, 2016
Merged

Add podspec ✔️ #11

merged 2 commits into from Oct 4, 2016

Conversation

Pitometsu
Copy link
Contributor

  • Fix few unused lint errors.

@Pitometsu
Copy link
Contributor Author

Pitometsu commented Oct 1, 2016

According to #10


Please, check and merge to master if everything okay.

Also, there's some minor fixes to avoid lint warnings.
So please, tag this commit as 1.0.0 for pods or tag it with something different and notify me to update podspec. Thank you for attention.

@Pitometsu Pitometsu mentioned this pull request Oct 1, 2016
@Pitometsu Pitometsu force-pushed the CocoaPods branch 5 times, most recently from 4444200 to 43f9b60 Compare October 1, 2016 18:34
@Pitometsu
Copy link
Contributor Author

 $ pod spec lint

 -> ReactiveObjC (1.0.0)
    - WARN  | xcodebuild:  ReactiveObjC/ReactiveObjC/RACCompoundDisposable.m:85:12: warning: unused variable 'result' [-Wunused-variable]
    - WARN  | xcodebuild:  ReactiveObjC/ReactiveObjC/RACCompoundDisposable.m:132:12: warning: unused variable 'result' [-Wunused-variable]
    - WARN  | xcodebuild:  ReactiveObjC/ReactiveObjC/RACSerialDisposable.m:63:12: warning: unused variable 'result' [-Wunused-variable]
    - WARN  | xcodebuild:  ReactiveObjC/ReactiveObjC/RACSerialDisposable.m:79:12: warning: unused variable 'result' [-Wunused-variable]

Analyzed 1 podspec.

[!] The spec did not pass validation, due to 4 warnings (but you can use `--allow-warnings` to ignore them).

- Fix few unused lint errors.
Copy link
Contributor

@mdiep mdiep left a comment

Choose a reason for hiding this comment

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

Can you also add a linting job to .travis.yml? (ReactiveSwift does this if you need an example.)

s.documentation_url = "https://github.com/ReactiveCocoa/ReactiveObjC/"\
"tree/master/Documentation#readme"

s.author = { "Josh Abernathy" => "josh@github.com" }
Copy link
Contributor

Choose a reason for hiding this comment

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

Can you set the author to be ReactiveCocoa to match what ReactiveSwift does.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

s.requires_arc = true

s.frameworks = "Foundation"
s.dependency "Result", "~> 2.0"
Copy link
Contributor

Choose a reason for hiding this comment

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

ReactiveObjC doesn't depend on Result.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

@Pitometsu
Copy link
Contributor Author

Pitometsu commented Oct 1, 2016

@mdiep done, please, check c302fbe#diff-354f30a63fb0907d4ad57269548329e3R58.

- Add pod lint to travis script.
@mdiep mdiep merged commit e9b0b3b into ReactiveCocoa:master Oct 4, 2016
@mdiep
Copy link
Contributor

mdiep commented Oct 4, 2016

Thanks!

@ikesyo
Copy link
Member

ikesyo commented Oct 4, 2016

I've released 1.0.1 with the build warning fixes and push the podspec to CocoaPods trunk. 🚀

@Pitometsu Pitometsu deleted the CocoaPods branch October 4, 2016 09:59
byohay pushed a commit to byohay/ReactiveObjC that referenced this pull request Jan 6, 2018
stuartofmine pushed a commit to stuartofmine/ReactiveObjC_2023 that referenced this pull request Oct 18, 2023
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.

None yet

3 participants