lib/bubble-wrap/location.rb in bubble-wrap-1.2.0 vs lib/bubble-wrap/location.rb in bubble-wrap-1.3.0.osx
- old
+ new
@@ -1,8 +1,11 @@
require 'bubble-wrap/loader'
-BubbleWrap.require('motion/util/constants.rb')
-BubbleWrap.require('motion/core/string.rb')
-BubbleWrap.require('motion/location/**/*.rb') do
- file('motion/location/pollute.rb').depends_on 'motion/location/location.rb'
- file('motion/location/location.rb').depends_on 'motion/util/constants.rb'
- file('motion/location/location.rb').uses_framework('CoreLocation')
+
+BubbleWrap.require_ios("location") do
+ BubbleWrap.require('motion/util/constants.rb')
+ BubbleWrap.require('motion/core/string.rb')
+ BubbleWrap.require('motion/location/**/*.rb') do
+ file('motion/location/pollute.rb').depends_on 'motion/location/location.rb'
+ file('motion/location/location.rb').depends_on 'motion/util/constants.rb'
+ file('motion/location/location.rb').uses_framework('CoreLocation')
+ end
end
\ No newline at end of file