lib/bubble-wrap/camera.rb in bubble-wrap-1.2.0 vs lib/bubble-wrap/camera.rb in bubble-wrap-1.3.0.osx
- old
+ new
@@ -1,8 +1,12 @@
require 'bubble-wrap/loader'
-BubbleWrap.require('motion/util/constants.rb')
-BubbleWrap.require('motion/core/device.rb')
-BubbleWrap.require('motion/core/device/**/*.rb') do
- file('motion/core/device/camera_wrapper.rb').depends_on 'motion/core/device/camera.rb'
- file('motion/core/device/camera.rb').depends_on ['motion/core/device.rb', 'motion/util/constants.rb']
- file('motion/core/device/screen.rb').depends_on 'motion/core/device.rb'
+
+BubbleWrap.require_ios("camera") do
+ BubbleWrap.require('motion/util/constants.rb')
+ BubbleWrap.require('motion/core/device.rb')
+ BubbleWrap.require('motion/core/device/*.rb')
+ BubbleWrap.require('motion/core/device/ios/*.rb') do
+ file('motion/core/device/ios/camera_wrapper.rb').depends_on 'motion/core/device/ios/camera.rb'
+ file('motion/core/device/ios/camera.rb').depends_on ['motion/core/ios/device.rb', 'motion/util/constants.rb']
+ file('motion/core/device/ios/screen.rb').depends_on 'motion/core/ios/device.rb'
+ end
end
\ No newline at end of file