lib/bubble-wrap/http.rb in bubble-wrap-1.5.0 vs lib/bubble-wrap/http.rb in bubble-wrap-1.6.0.rc1
- old
+ new
@@ -1,7 +1,7 @@
require 'bubble-wrap/version' unless defined?(BubbleWrap::VERSION)
require 'bubble-wrap/loader'
-BubbleWrap.require('motion/core/ns_url_request.rb')
-BubbleWrap.require('motion/core.rb')
-BubbleWrap.require('motion/http.rb')
-BubbleWrap.require('motion/http/query.rb')
-BubbleWrap.require('motion/http/response.rb')
+require 'bubble-wrap/network-indicator'
+require 'bubble-wrap-http'
+Motion::Project::App.warn "BubbleWrap::HTTP is deprecated and will be removed, see https://github.com/rubymotion/BubbleWrap/issues/308"
+Motion::Project::App.warn "Switch to a different networking library soon - consider AFNetworking: http://afnetworking.com/"
+Motion::Project::App.warn "You can use the 'bubble-wrap-http' gem if you need compatibility: https://github.com/rubymotion/BubbleWrap-HTTP"
\ No newline at end of file