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

Podfile Refactor #281

Merged
merged 23 commits into from
Dec 30, 2015
Merged

Podfile Refactor #281

merged 23 commits into from
Dec 30, 2015

Conversation

segiddins
Copy link
Member

This part of the podfile refactor is pretty much done.

Closes #151.

  • Documentation
  • Sane commits
  • CHANGELOGs
  • More tests
  • Decide on friendly upgrade messages
  • Delete dead code

@segiddins segiddins mentioned this pull request Dec 10, 2015
11 tasks
self.current_target_definition = definition
yield
inherit!(:complete)
Copy link
Member Author

Choose a reason for hiding this comment

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

shouldn't be necessary since its the default

@orta
Copy link
Member

orta commented Dec 10, 2015

🎉

@segiddins segiddins force-pushed the seg-podfile-refactor branch from 3d0c08d to 93db795 Compare December 25, 2015 03:12
@segiddins
Copy link
Member Author

Preliminary docs added. @orta I'd greatly appreciate help making them more helpful for the guides

@segiddins
Copy link
Member Author

Beyond the documentation bits, I think this PR is ready for @CocoaPods/core to review.

@manuyavuz
Copy link
Member

I'll try out today but that's huge!

it 'returns the installation method' do
name, options = Podfile.new {}.installation_method
name.should == 'cocoapods'
options.should == {}
Copy link
Member

Choose a reason for hiding this comment

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

I like this format ( https://github.com/artsy/eigen/pull/1003/files ) - I think it's good and future-proof 👍

@orta
Copy link
Member

orta commented Dec 27, 2015

Might be the PR to remove these too:

module Pod
  class Specification
    module DSL
      module Deprecations

# pod 'JSONKit'
# end
# end
#
# @return [void]
#
def target(name, options = {})
if options && !options.keys.all? { |key| [:exclusive].include?(key) }
def target(name, options = nil)
Copy link
Member Author

Choose a reason for hiding this comment

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

why have options at all? if we raise if they get sent at all?

for people who passed options in the current CocoaPods version. I'll add a TODO to remove the parameter, though, in a few months (it's just to make upgrading friendlier)

Copy link
Member

Choose a reason for hiding this comment

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

legit 👍

@segiddins segiddins force-pushed the seg-podfile-refactor branch from bfcccd5 to e04ca18 Compare December 30, 2015 08:08
@segiddins segiddins changed the title [WIP] Podfile Refactor Podfile Refactor Dec 30, 2015
segiddins added a commit that referenced this pull request Dec 30, 2015
@segiddins segiddins merged commit ca0a5d5 into master Dec 30, 2015
@segiddins segiddins deleted the seg-podfile-refactor branch December 30, 2015 08:32
@alloy
Copy link
Member

alloy commented Dec 30, 2015

Great work on this @segiddins, nicely cleaned up 👍 👏

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.

5 participants