lib/motion-sqlite3.rb in motion-sqlite3-0.3.1 vs lib/motion-sqlite3.rb in motion-sqlite3-0.3.2
- old
+ new
@@ -1,6 +1,7 @@
require 'motion-sqlite3/version'
+require 'motion.h'
unless defined?(Motion::Project::Config)
raise "This file must be required within a RubyMotion project Rakefile."
end
@@ -8,9 +9,7 @@
Dir.glob(File.join(File.dirname(__FILE__), "motion-sqlite3/**/*.rb")).each do |file|
app.files.unshift(file)
end
app.libs << "/usr/lib/libsqlite3.dylib"
-
- vendor_dir = File.expand_path(File.join(File.dirname(__FILE__), "../vendor/sqlite3"))
- app.vendor_project(vendor_dir, :static, :products => [])
+ app.include "sqlite3.h"
end