lib/appium_lib/driver.rb in appium_lib-0.15.0 vs lib/appium_lib/driver.rb in appium_lib-0.15.1

- old
+ new

@@ -154,11 +154,11 @@ def self.promote_singleton_appium_methods main_module raise 'Driver is nil' if $driver.nil? main_module.constants.each do |sub_module| #noinspection RubyResolve $driver.public_methods(false).each do |m| - const = Woven.const_get(sub_module) + const = main_module.const_get(sub_module) const.send(:define_singleton_method, m) do |*args, &block| begin super(*args, &block) # promote.rb rescue NoMethodError, ArgumentError $driver.send m, *args, &block if $driver.respond_to?(m) @@ -383,12 +383,12 @@ # @private # WebDriver capabilities. Must be valid for Sauce to work. def ios_capabilities { - platform: 'Mac 10.8', - version: '6.1', + platform: 'OS X 10.9', + version: '7', device: @device_cap || 'iPhone Simulator', name: @app_name || 'Ruby Console iOS Appium' } end @@ -625,6 +625,6 @@ end # end module Appium # Paging in Pry is annoying :q required to exit. # With pager disabled, the output is similar to IRB # Only set if Pry is defined. -Pry.config.pager = false if defined?(Pry) \ No newline at end of file +Pry.config.pager = false if defined?(Pry)