From f10e7043e63bcadaf4a542c0a848b4f21fa0cbb5 Mon Sep 17 00:00:00 2001 From: Derek Melchin Date: Thu, 30 Aug 2018 16:02:27 -0600 Subject: [PATCH 1/2] Update rake --- Gemfile.lock | 5 ++++- Rakefile | 2 ++ 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/Gemfile.lock b/Gemfile.lock index ce05dc9..f5c9c9f 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -1,10 +1,13 @@ GEM remote: https://rubygems.org/ specs: - rake (10.3.2) + rake (12.3.1) PLATFORMS ruby DEPENDENCIES rake + +BUNDLED WITH + 1.16.2 diff --git a/Rakefile b/Rakefile index 587d36a..e5e480b 100644 --- a/Rakefile +++ b/Rakefile @@ -1,5 +1,7 @@ # -*- coding: utf-8 -*- $:.unshift("/Library/RubyMotion/lib") +$:.unshift("~/.rubymotion/rubymotion-templates") + require 'motion/project/template/ios' begin From d4093fe712beb3a9538ab50bc0de2a9e1f03ccae Mon Sep 17 00:00:00 2001 From: Derek Melchin Date: Thu, 30 Aug 2018 16:03:10 -0600 Subject: [PATCH 2/2] Remove unused parameters --- app/controllers/setup_wizard_controller.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/controllers/setup_wizard_controller.rb b/app/controllers/setup_wizard_controller.rb index 03ffe68..54d90af 100644 --- a/app/controllers/setup_wizard_controller.rb +++ b/app/controllers/setup_wizard_controller.rb @@ -23,7 +23,7 @@ def viewDidAppear(animated) view.button.addTarget(self, action: 'next_step:', forControlEvents: UIControlEventTouchUpInside) end - def next_step(sender) + def next_step(_) @nav.pushViewController(next_controller, animated: true) end