rubymotion-community / BubbleWrap

Cocoa wrappers and helpers for RubyMotion (Ruby for iOS and OS X) - Making Cocoa APIs more Ruby like, one API at a time. Fork away and send your pull requests
Other
1.18k stars 208 forks source link

Don't require HTTP automatically. #431

Closed markrickert closed 9 years ago

markrickert commented 9 years ago

This should reduce the number of people getting warnings in the console that don't even use the deprecated HTTP capabilities of BubbleWrap. You will have to manually require it with

require 'bubble-wrap/http'

GantMan commented 9 years ago

A short history of bubblewrap HTTP image

markrickert commented 9 years ago

lol

I really loved BW::HTTP but i understand why it's going away. It made it really easy for people to get started with HTTP requests and json responses. AFNetworking is a bit more complicated but lots more powerful.

rromanchuk commented 9 years ago

:+1: very important PR, also helps #434

markrickert commented 9 years ago

Thoughts about how to gracefully deprecate HTTP without breaking the rss parsing functionality? Or should we maybe pull the rss parsing into the http module?

https://github.com/rubymotion/BubbleWrap/blob/master/motion/rss_parser.rb#L145-L157

markrickert commented 9 years ago

This branch has been updated to completely deprecate BW::HTTP