test/activity/navigation_activity.rb in ruboto-0.11.0 vs test/activity/navigation_activity.rb in ruboto-0.12.0.rc.0

- old
+ new

@@ -32,22 +32,22 @@ end def java_backed_by_ruby_class i = android.content.Intent.new i.setClassName($package_name, 'org.ruboto.RubotoActivity') - configBundle = android.os.Bundle.new - configBundle.put_string('ClassName', 'NavigationTargetActivity') - i.putExtra('Ruboto Config', configBundle) + config_bundle = android.os.Bundle.new + config_bundle.put_string('ClassName', 'NavigationTargetActivity') + i.putExtra('Ruboto Config', config_bundle) startActivity(i) end def java_backed_by_script_name i = android.content.Intent.new i.setClassName($package_name, 'org.ruboto.RubotoActivity') - configBundle = android.os.Bundle.new - configBundle.put_string('Script', 'navigation_target_activity.rb') - i.putExtra('Ruboto Config', configBundle) + config_bundle = android.os.Bundle.new + config_bundle.put_string('Script', 'navigation_target_activity.rb') + i.putExtra('Ruboto Config', config_bundle) startActivity(i) end def start_inline_activity start_ruboto_activity do @@ -78,21 +78,21 @@ end def start_infile_activity i = android.content.Intent.new i.setClassName($package_name, 'org.ruboto.RubotoActivity') - configBundle = android.os.Bundle.new - configBundle.put_string('ClassName', 'InfileActivity') - i.putExtra('Ruboto Config', configBundle) + config_bundle = android.os.Bundle.new + config_bundle.put_string('ClassName', 'InfileActivity') + i.putExtra('Ruboto Config', config_bundle) startActivity(i) end def start_ruby_file_activity i = android.content.Intent.new i.setClassName($package_name, 'org.ruboto.RubotoActivity') - configBundle = android.os.Bundle.new - configBundle.put_string('ClassName', 'RubyFileActivity') - i.putExtra('Ruboto Config', configBundle) + config_bundle = android.os.Bundle.new + config_bundle.put_string('ClassName', 'RubyFileActivity') + i.putExtra('Ruboto Config', config_bundle) startActivity(i) end def start_ruboto_activity_no_config i = android.content.Intent.new