lib/sugarcube-appkit.rb in sugarcube-3.0.0 vs lib/sugarcube-appkit.rb in sugarcube-3.0.1
- old
+ new
@@ -1,12 +1,2 @@
-unless defined?(Motion::Project::Config)
- raise "The sugarcube gem must be required within a RubyMotion project Rakefile."
-end
-
-
-require 'sugarcube'
-SugarCube.osx_only!('appkit')
-
-Motion::Project::App.pre_setup do |app|
- SugarCube.add_app_files(app, 'sugarcube-cocoakit')
- SugarCube.add_app_files(app, 'sugarcube-appkit')
-end
+puts "`sugarcube-appkit' has been renamed to (platform agnostic) `sugarcube-ui'"
+require 'sugarcube-ui'