appium_lib_core 9.5.1 → 9.5.2

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 65d659dce3980c45c306b4e6e2da0f9e089428b2de1bd881bf8a276f37e66900
4
- data.tar.gz: 6d8e9e621366cef67cbd8e40ddbe8e1a79eb0e191cb5295bdd19e583dfc770fa
3
+ metadata.gz: ed3c50c78d8ac4e95f6e7b7a0c837d638b263595cdcfd1e59c73fa7b71eeb70b
4
+ data.tar.gz: f0f79ecc0cd874377b1c9ff35fb3b0bc1d9f7bd65b26aa8eb60b99583d6cf7f7
5
5
  SHA512:
6
- metadata.gz: fbd3f5b0aa25fbb1ca35ef4002a1a49470a329bcab6d0ea12c01679cb3ee8834f41f33b702fa31caaa44e80236b8e6cd2d07c74c3dec54711a1b68a128243475
7
- data.tar.gz: bbab7740cde1fd3995a1c55dcf46ff8452f1db4286b595995c0840a3a81947acc7245b97a1bd2667ca514b5b52466f1fbdb1b4e1ba9d58c00f9eef8d35903615
6
+ metadata.gz: ea9d481550f2bd11e1df240e9d0c1f76c65a4b5465e4d490450a60facaf1cfcdf8c92a7387a71391ab89fb648a8229f3476a124f74607a207caef44b95350500
7
+ data.tar.gz: 8d9991dccc182a06445f0708af1d76d0ad6f044e0623d8ef521e254869a46b81e625ac68eb133171d5be56465ec8cf6cf4e135a8dc010f59e8b03b90f71e6e00
data/CHANGELOG.md CHANGED
@@ -10,6 +10,9 @@ Read `release_notes.md` for commit level details.
10
10
 
11
11
  ### Deprecations
12
12
 
13
+ ## [9.5.2] - 2025-01-30
14
+ - Fix yardoc
15
+
13
16
  ## [9.5.1] - 2025-01-29
14
17
 
15
18
  ### Enhancements
@@ -126,16 +126,14 @@ module Appium
126
126
  #
127
127
 
128
128
  # @!method location=
129
- # Set the location of the device.
130
- #
131
- # @param [::Appium::Location] location Set the location.
129
+ # Set the [::Appium::Location] of the device.
132
130
  #
133
131
  # @example
134
132
  #
135
133
  # driver.location = ::Appium::Location.new(10, 10, 10)
136
134
  #
137
135
 
138
- # @!method set_location
136
+ # @!method set_location(latitude, longitude, altitude, speed: nil, satellites: nil)
139
137
  # Set the location of the device.
140
138
  #
141
139
  # @param [String, Number] latitude Set the latitude.
@@ -145,7 +143,6 @@ module Appium
145
143
  # in meters/second @since Appium 1.21.0 and in knots for emulators @since Appium 1.22.0.
146
144
  # @param [String, Number] satellites Sets the count of geo satellites being tracked in range 1..12 @since Appium 1.22.0.
147
145
  # This number is respected on Emulators.
148
- # @param [::Appium::Location]
149
146
  #
150
147
  # @example
151
148
  #
@@ -59,9 +59,9 @@ module Appium
59
59
  # Appium only.
60
60
  # Attach to an existing session.
61
61
  #
62
- # @param [String] The session id to attach to.
62
+ # @param [String] session_id The session id to attach to.
63
63
  # @param [String] platform_name The platform name to keep in the dummy capabilities
64
- # @param [String] platform_name The automation name to keep in the dummy capabilities
64
+ # @param [String] automation_name The automation name to keep in the dummy capabilities
65
65
  # @return [::Appium::Core::Base::Capabilities]
66
66
  #
67
67
  # @example
@@ -625,14 +625,14 @@ module Appium
625
625
  #
626
626
  # @param [String] path The absolute local path or remote http URL to an .ipa or .apk file,
627
627
  # or a .zip containing one of these.
628
- # @param [Boolean] replace Only for Android. Whether to reinstall/upgrade the package if it is already present
628
+ # @option [Boolean] replace Only for Android. Whether to reinstall/upgrade the package if it is already present
629
629
  # on the device under test. +true+ by default
630
- # @param [Integer] timeout Only for Android. How much time to wait for the installation to complete.
630
+ # @option [Integer] timeout Only for Android. How much time to wait for the installation to complete.
631
631
  # 60000ms by default.
632
- # @param [Boolean] allow_test_packages Only for Android. Whether to allow installation of packages marked as test
632
+ # @option [Boolean] allow_test_packages Only for Android. Whether to allow installation of packages marked as test
633
633
  # in the manifest. +false+ by default
634
- # @param [Boolean] use_sdcard Only for Android. Whether to use the SD card to install the app. +false+ by default
635
- # @param [Boolean] grant_permissions Only for Android. whether to automatically grant application permissions
634
+ # @option [Boolean] use_sdcard Only for Android. Whether to use the SD card to install the app. +false+ by default
635
+ # @option [Boolean] grant_permissions Only for Android. whether to automatically grant application permissions
636
636
  # on Android 6+ after the installation completes. +false+ by default
637
637
  #
638
638
  # Other parameters such as https://github.com/appium/appium-xcuitest-driver#mobile-installapp also can be set.
@@ -1014,7 +1014,7 @@ module Appium
1014
1014
 
1015
1015
  # Convert vanilla element response to ::Appium::Core::Element
1016
1016
  #
1017
- # @param [Hash] id The id which can get as a response from server
1017
+ # @param [Hash] response_id id The id which can get as a response from server
1018
1018
  # @return [::Appium::Core::Element]
1019
1019
  #
1020
1020
  # @example
@@ -56,7 +56,6 @@ module Appium
56
56
  # in meters/second @since Appium 1.21.0 and in knots for emulators @since Appium 1.22.0.
57
57
  # @param [String, Number] satellites Sets the count of geo satellites being tracked in range 1..12 @since Appium 1.22.0.
58
58
  # This number is respected on Emulators.
59
- # @param [::Appium::Location]
60
59
  #
61
60
  # @example
62
61
  #
@@ -46,18 +46,7 @@ module Appium
46
46
  # Can be fully qualified, or simple, and simple defaults to <code>androidx.test.espresso.matcher</code> package
47
47
  # (e.g.: <code>class=CursorMatchers</code> fully qualified is <code>class=androidx.test.espresso.matcher.CursorMatchers</code>
48
48
  #
49
- # See example how to send viewmatcher and datamatcher in Ruby client
50
- #
51
- #
52
- # @overload find_element(how, what)
53
- # @param [Symbol, String] how The method to find the element by
54
- # @param [String] what The locator to use
55
- #
56
- # @overload find_element(opts)
57
- # @param [Hash] opts Find options
58
- # @option opts [Symbol] :how Key named after the method to find the element by, containing the locator
59
- # @return [Element]
60
- # @raise [Error::NoSuchElementError] if the element doesn't exist
49
+ # See test code in the client repository to see how to send viewmatcher and datamatcher in Ruby client
61
50
  #
62
51
  # @example Find element with each keys
63
52
  #
@@ -101,7 +90,6 @@ module Appium
101
90
  # e.tag_name #=> "XCUIElementTypeStaticText"
102
91
  #
103
92
  # rubocop:enable Layout/LineLength
104
-
105
93
  APPIUM_EXTRA_FINDERS = {
106
94
  accessibility_id: 'accessibility id',
107
95
  image: '-image',
@@ -290,7 +290,7 @@ module Appium
290
290
  # an endpoint to get running session's capabilities.
291
291
  #
292
292
  #
293
- # @param [String] The session id to attach to.
293
+ # @param [String] session_id The session id to attach to.
294
294
  # @param [String] url The WebDriver URL to attach to with the session_id.
295
295
  # @param [String] automation_name The platform name to keep in the dummy capabilities
296
296
  # @param [String] platform_name The automation name to keep in the dummy capabilities
@@ -23,7 +23,7 @@ module Appium
23
23
  # rubocop:disable Layout/LineLength
24
24
 
25
25
  # @since Appium 1.20.0
26
- # @!method start_recording_screen(remote_path: nil, user: nil, pass: nil, method: 'PUT', file_field_name: nil, form_fields: nil, headers: nil, force_restart: nil, fps: nil, preset: nil, video_filter: nil, enable_capture_clicks: nil, enable_cursor_capture: nil, device_id: nil)
26
+ # @!method start_recording_screen(remote_path: nil, user: nil, pass: nil, method: 'PUT', file_field_name: nil, form_fields: nil, headers: nil, force_restart: nil, fps: nil, preset: nil, video_filter: nil, enable_capture_clicks: nil, enable_cursor_capture: nil, device_id: nil, time_limit: nil)
27
27
  #
28
28
  # Record the display of devices running iOS Simulator since Xcode 9 or real devices since iOS 11
29
29
  # (ffmpeg utility is required: 'brew install ffmpeg').
@@ -14,7 +14,7 @@
14
14
 
15
15
  module Appium
16
16
  module Core
17
- VERSION = '9.5.1' unless defined? ::Appium::Core::VERSION
18
- DATE = '2025-01-29' unless defined? ::Appium::Core::DATE
17
+ VERSION = '9.5.2' unless defined? ::Appium::Core::VERSION
18
+ DATE = '2025-01-30' unless defined? ::Appium::Core::DATE
19
19
  end
20
20
  end
@@ -27,7 +27,8 @@ module Appium
27
27
  # @param [Hash] hash Hash value to make symbolise
28
28
  #
29
29
  # @example
30
- # opts = Appium.symbolize_keys(opts)
30
+ #
31
+ # opts = Appium.symbolize_keys(opts)
31
32
  #
32
33
  def self.symbolize_keys(hash, nested: false, enable_deprecation_msg: true)
33
34
  # FIXME: As https://github.com/appium/ruby_lib/issues/945, we must remove this implicit string to symbol.
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: appium_lib_core
3
3
  version: !ruby/object:Gem::Version
4
- version: 9.5.1
4
+ version: 9.5.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Kazuaki MATSUO
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2025-01-29 00:00:00.000000000 Z
11
+ date: 2025-01-30 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: faye-websocket