From 53e23c472d5deb8362303e39f9990c99aef24afb Mon Sep 17 00:00:00 2001 From: Todd Werth Date: Sun, 19 Apr 2015 21:33:08 -0700 Subject: [PATCH] Changed live_stylesheets to live, because, well, that's too long to type. Updated RMQ to latest version --- README.md | 2 +- Rakefile | 1 - docs/cookbook/command_line.md | 2 +- lib/project/ext/kernel.rb | 2 +- redpotion.gemspec | 2 +- 5 files changed, 4 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index d7b55a2..93e86f3 100644 --- a/README.md +++ b/README.md @@ -153,7 +153,7 @@ You should have this: ## Live stylesheet reloading -In REPL, type: `live_stylesheets` +In REPL, type: `live` ![image](http://clrsight.co/jh/LiveReload4.gif?+) diff --git a/Rakefile b/Rakefile index fe262a8..cd4afbf 100644 --- a/Rakefile +++ b/Rakefile @@ -21,7 +21,6 @@ Motion::Project::App.setup do |app| end app.development do - app.info_plist["ProjectRootPath"] = File.dirname(__FILE__) end end task :"build:simulator" => :"schema:build" diff --git a/docs/cookbook/command_line.md b/docs/cookbook/command_line.md index 31d8e75..056ef90 100644 --- a/docs/cookbook/command_line.md +++ b/docs/cookbook/command_line.md @@ -1,6 +1,6 @@ ## Live stylesheet reloading -In REPL, type: `live_stylesheets` +In REPL, type: `live` ![image](http://clrsight.co/jh/LiveReload4.gif?+) diff --git a/lib/project/ext/kernel.rb b/lib/project/ext/kernel.rb index d827b8e..028b9d0 100644 --- a/lib/project/ext/kernel.rb +++ b/lib/project/ext/kernel.rb @@ -1,6 +1,6 @@ if RUBYMOTION_ENV == "development" module Kernel - def live_stylesheets(interval = 0.5, debug=false) + def live(interval = 1.0, debug=false) rmq_live_stylesheets interval, debug end diff --git a/redpotion.gemspec b/redpotion.gemspec index 27f04b0..d759d53 100644 --- a/redpotion.gemspec +++ b/redpotion.gemspec @@ -23,7 +23,7 @@ Gem::Specification.new do |spec| spec.executables << 'potion' - spec.add_runtime_dependency "ruby_motion_query", "~> 1.3.2" + spec.add_runtime_dependency "ruby_motion_query", "~> 1.3.4" spec.add_runtime_dependency "ProMotion", "~> 2.3" spec.add_runtime_dependency "motion_print" spec.add_runtime_dependency "motion-cocoapods"