appium_lib 9.7.4 → 9.7.5

Sign up to get free protection for your applications and to get access to all the features.
@@ -105,11 +105,27 @@ module Appium
105
105
  # }
106
106
  # Appium::Driver.new(opts, false).start_driver
107
107
  #
108
+ # # Start iOS driver without global scope
109
+ # opts = {
110
+ # caps: {
111
+ # platformName: :ios,
112
+ # app: '/path/to/MyiOS.app'
113
+ # },
114
+ # appium_lib: {
115
+ # wait_timeout: 30
116
+ # },
117
+ # global_driver: false
118
+ # }
119
+ # Appium::Driver.new(opts).start_driver
120
+ #
108
121
  # @param opts [Object] A hash containing various options.
109
122
  # @param global_driver [Bool] A bool require global driver before initialize.
110
123
  # @return [Driver]
111
124
  def initialize(opts = {}, global_driver = nil)
112
125
  # TODO: set `global_driver = false` by default in the future.
126
+ # Capybara can't put `global_driver` as the 2nd argument.
127
+ global_driver = opts.delete :global_driver if global_driver.nil?
128
+
113
129
  if global_driver.nil?
114
130
  warn '[DEPRECATION] Appium::Driver.new(opts) will not generate global driver by default.' \
115
131
  'If you would like to generate the global driver dy default, ' \
@@ -1,5 +1,5 @@
1
1
  module Appium
2
2
  # Version and Date are defined on the 'Appium' module, not 'Appium::Common'
3
- VERSION = '9.7.4'.freeze unless defined? ::Appium::VERSION
4
- DATE = '2017-10-28'.freeze unless defined? ::Appium::DATE
3
+ VERSION = '9.7.5'.freeze unless defined? ::Appium::VERSION
4
+ DATE = '2017-11-04'.freeze unless defined? ::Appium::DATE
5
5
  end
@@ -1,3 +1,12 @@
1
+ #### v9.7.4 2017-10-28
2
+
3
+ - [8522f49](https://github.com/appium/ruby_lib/commit/8522f496eff2a72648a563af8ce06cb8c7270256) [Release 9 7 4 (#715)](https://github.com/appium/ruby_lib/issues/715)
4
+ - [ad6ca97](https://github.com/appium/ruby_lib/commit/ad6ca9709351b99f547b789846be3faf62f6558f) [fix: Define source in common section (#714)](https://github.com/appium/ruby_lib/issues/714)
5
+ - [bb80136](https://github.com/appium/ruby_lib/commit/bb80136adf909f49582ff69f2c9276669b4edf78) [remove todo (#712)](https://github.com/appium/ruby_lib/issues/712)
6
+ - [b7a6e1d](https://github.com/appium/ruby_lib/commit/b7a6e1d3e2ed0a04de571c857f6c469ac6f24153) [refactor: Define multi touch base class (#711)](https://github.com/appium/ruby_lib/issues/711)
7
+ - [14ff169](https://github.com/appium/ruby_lib/commit/14ff169cf91b36750d1e8cb498723884dcdc66b8) [feature: add unlock (#710)](https://github.com/appium/ruby_lib/issues/710)
8
+
9
+
1
10
  #### v9.7.3 2017-10-21
2
11
 
3
12
  - [e570a64](https://github.com/appium/ruby_lib/commit/e570a640106c57521335f837082cf00abf0d8c10) [update changelog (#709)](https://github.com/appium/ruby_lib/issues/709)
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: appium_lib
3
3
  version: !ruby/object:Gem::Version
4
- version: 9.7.4
4
+ version: 9.7.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - code@bootstraponline.com
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2017-10-28 00:00:00.000000000 Z
11
+ date: 2017-11-04 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: selenium-webdriver