appium_lib 9.18.0 → 10.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -331,7 +331,6 @@ module Appium
331
331
  # An entry point to chain W3C actions. Returns `TouchAction.new` if it works as MJSONWP instead of W3C action.
332
332
  # Read https://www.rubydoc.info/github/appium/ruby_lib_core/Appium/Core/Base/Bridge/W3C#action-instance_method
333
333
  #
334
- # @param [bool] async Run actions async
335
334
  # @return [TouchAction|Selenium::WebDriver::PointerActions]
336
335
  #
337
336
  # @example
@@ -28,12 +28,8 @@ module Appium
28
28
  # ```ruby
29
29
  # scroll direction: "down"
30
30
  # ```
31
- def scroll(direction:, # rubocop:disable Metrics/ParameterLists
32
- distance: nil,
33
- name: nil,
34
- element: nil,
35
- to_visible: nil,
36
- predicate_string: nil)
31
+ # rubocop:disable Metrics/ParameterLists
32
+ def scroll(direction:, distance: nil, name: nil, element: nil, to_visible: nil, predicate_string: nil)
37
33
  return 'Set "up", "down", "left" or "right" for :direction' unless %w(up down left right).include?(direction)
38
34
 
39
35
  args = { direction: direction }
@@ -45,6 +41,7 @@ module Appium
45
41
 
46
42
  @driver.execute_script 'mobile: scroll', args
47
43
  end
44
+ # rubocop:enable Metrics/ParameterLists
48
45
 
49
46
  # @param scale [scale] X tap coordinate of type float. Mandatory parameter
50
47
  # @param velocity [float] Y tap coordinate of type float. Mandatory parameter
@@ -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.18.0'.freeze unless defined? ::Appium::VERSION
4
- DATE = '2019-01-13'.freeze unless defined? ::Appium::DATE
3
+ VERSION = '10.0.0'.freeze unless defined? ::Appium::VERSION
4
+ DATE = '2019-02-08'.freeze unless defined? ::Appium::DATE
5
5
  end
@@ -1,3 +1,11 @@
1
+ #### v10.0.0 2019-02-08
2
+
3
+ - [4e4ec29](https://github.com/appium/ruby_lib/commit/4e4ec298096f13f60db51bda2019c8e12a0d0c25) Release 10.0.0
4
+ - [f64e2e4](https://github.com/appium/ruby_lib/commit/f64e2e406e41b596a6e38de9227cc594938f8a06) Fix newline in doc (#850)
5
+ - [a3b3073](https://github.com/appium/ruby_lib/commit/a3b3073d041270d6bbcb21bf8c795c172a90a59a) bump core (#848)
6
+ - [41c940c](https://github.com/appium/ruby_lib/commit/41c940c73fd4ec12ac5bd8119a0a22422dc26819) remove wrong comment
7
+
8
+
1
9
  #### v9.18.0 2019-01-13
2
10
 
3
11
  - [32f3272](https://github.com/appium/ruby_lib/commit/32f327239055362ef630979d5975d0fac64d94c6) Release 9.18.0
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: appium_lib
3
3
  version: !ruby/object:Gem::Version
4
- version: 9.18.0
4
+ version: 10.0.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - code@bootstraponline.com
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2019-01-13 00:00:00.000000000 Z
12
+ date: 2019-02-08 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: appium_lib_core
@@ -17,14 +17,14 @@ dependencies:
17
17
  requirements:
18
18
  - - "~>"
19
19
  - !ruby/object:Gem::Version
20
- version: '2.3'
20
+ version: '3.0'
21
21
  type: :runtime
22
22
  prerelease: false
23
23
  version_requirements: !ruby/object:Gem::Requirement
24
24
  requirements:
25
25
  - - "~>"
26
26
  - !ruby/object:Gem::Version
27
- version: '2.3'
27
+ version: '3.0'
28
28
  - !ruby/object:Gem::Dependency
29
29
  name: nokogiri
30
30
  requirement: !ruby/object:Gem::Requirement