diff --git a/.gitignore b/.gitignore index 673f282..edc85b0 100644 --- a/.gitignore +++ b/.gitignore @@ -1,16 +1,25 @@ -/target -/classes -/checkouts -pom.xml -*.jar -*.class -.lein-deps-sum -.lein-failures -.lein-plugins -/build -.DS_Store -*.clj -.rvmrc *.gem +*.rbc +.bundle +.config +.yardoc +Gemfile.lock +InstalledFiles +_yardoc +coverage +doc/ +lib/bundler/man +pkg +rdoc +spec/reports +test/tmp +test/version_tmp +tmp + +/build .repl_history -.dat* +.rvmrc +.ruby-gemset +.ruby-version +.DS_Store +.dat* \ No newline at end of file diff --git a/Gemfile b/Gemfile index ef86f71..c70dc6f 100644 --- a/Gemfile +++ b/Gemfile @@ -2,8 +2,3 @@ source 'https://rubygems.org' # Specify your gem's dependencies in ProMotion.gemspec gemspec - -# Use this in development -gem "rake" -gem "motion-stump" -gem 'motion-redgreen' diff --git a/ProMotion.gemspec b/ProMotion.gemspec index e97820c..248bab0 100644 --- a/ProMotion.gemspec +++ b/ProMotion.gemspec @@ -19,5 +19,8 @@ Gem::Specification.new do |gem| gem.name = "ProMotion" gem.require_paths = ["lib"] gem.version = ProMotion::VERSION - # gem.add_dependency("motion-table", "~> 0.1.6") + + gem.add_development_dependency("motion-stump") + gem.add_development_dependency("motion-redgreen") + gem.add_development_dependency("rake") end diff --git a/Rakefile b/Rakefile index a69ffca..4c782ba 100644 --- a/Rakefile +++ b/Rakefile @@ -1,7 +1,12 @@ $:.unshift("/Library/RubyMotion/lib") require 'motion/project/template/ios' require 'bundler' -Bundler.require + +# this follow from gemspec +Bundler.require(:development) + +# this follow development code +require 'ProMotion' Motion::Project::App.setup do |app| app.name = 'ProMotionTest'