appium_lib_core 3.4.2 → 3.5.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.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 350f5574450e63fe95bd114cd55aa1891719a11c293f3f135af7f6aeee09a361
4
- data.tar.gz: 646a0f57ee355f48e71b1ef6ebc763b45d1b375a8632fecf3b3043aae3f99264
3
+ metadata.gz: 4b62c59d17450d1d9c3f8ebed9ca3b3aacaa1deaf3cfe9e114699a8e8bf82460
4
+ data.tar.gz: d212637f293f9545044a77acf07b4ba2209bda5a76d049ed27a354fb7514ab00
5
5
  SHA512:
6
- metadata.gz: 4dbf445ed0af0a776e47d412b093b868ee692138344deb4dcdecadb557b9ac857e46ff75a427cd0c42e9667d968b0bcd2c98d47d6a34c62dd029ea48a11253a9
7
- data.tar.gz: f919faafb466351267ec22f045f642b7ec60300cbd8d16e5c2960c19f745e267b66c59047e162822f064215aa54ee4ce697b7dbedb2393304238fef4481e3cb1
6
+ metadata.gz: 12a1336c1600c555c9c02030bd4a090d2a59569160ef6a14973077f336662a06d1d078cedcd1971f9688533d36b076b422bd92fed6d060880c6da7fdc200c50d
7
+ data.tar.gz: 93072d58a034a15cf78d3e95b4f524eb0a91708529af9cfde5e4cc3bffa51c8333d3f0a38080cb96d6dfe8e39fb5af4355b33c8a73fe78f248b6e7ee1358ecb2
@@ -10,6 +10,15 @@ Read `release_notes.md` for commit level details.
10
10
 
11
11
  ### Deprecations
12
12
 
13
+ ## [3.5.0] - 2020-01-11
14
+
15
+ ### Enhancements
16
+ - Add `:viewmatcher` selector like `@driver.find_elements :view_matcher, { name: 'withText', args: %w(Accessibility), class: 'androidx.test.espresso.matcher.ViewMatchers' }`
17
+
18
+ ### Bug fixes
19
+
20
+ ### Deprecations
21
+
13
22
  ## [3.4.2] - 2019-12-29
14
23
 
15
24
  ### Enhancements
@@ -27,6 +27,7 @@ module Appium
27
27
  uiautomator: '-android uiautomator', # Unavailable in Espresso
28
28
  viewtag: '-android viewtag', # Available in Espresso
29
29
  data_matcher: '-android datamatcher', # Available in Espresso
30
+ view_matcher: '-android viewmatcher', # Available in Espresso
30
31
  # iOS
31
32
  uiautomation: '-ios uiautomation',
32
33
  predicate: '-ios predicate string',
@@ -52,8 +53,9 @@ module Appium
52
53
  #
53
54
  # You can handle settings for the comparision following {https://github.com/appium/appium-base-driver/blob/master/lib/basedriver/device-settings.js#L6 here}
54
55
  #
55
- # == Espresso datamatcher
56
- # Espresso has an {https://medium.com/androiddevelopers/adapterviews-and-espresso-f4172aa853cf _onData_ matcher} for more reference
56
+ # == Espresso viewmatcher and datamatcher
57
+ # Espresso has {https://developer.android.com/training/testing/espresso/basics _onView_ matcher}
58
+ # and {https://medium.com/androiddevelopers/adapterviews-and-espresso-f4172aa853cf _onData_ matcher} for more reference
57
59
  # that allows you to target adapters instead of Views. This method find methods based on reflections
58
60
  #
59
61
  # This is a selector strategy that allows users to pass a selector of the form:
@@ -67,7 +69,7 @@ module Appium
67
69
  # Can be fully qualified, or simple, and simple defaults to <code>androidx.test.espresso.matcher</code> package
68
70
  # (e.g.: <code>class=CursorMatchers</code> fully qualified is <code>class=androidx.test.espresso.matcher.CursorMatchers</code>
69
71
  #
70
- # See example how to send datamatcher in Ruby client
72
+ # See example how to send viewmatcher and datamatcher in Ruby client
71
73
  #
72
74
  #
73
75
  # @overload find_element(how, what)
@@ -502,6 +502,9 @@ module Appium
502
502
  when :youiengine
503
503
  # https://github.com/YOU-i-Labs/appium-youiengine-driver
504
504
  ::Appium::Logger.debug('YouiEngine')
505
+ when :mac
506
+ # In this case also can be mac
507
+ ::Appium::Logger.debug('mac')
505
508
  else
506
509
  ::Appium::Logger.warn("No matched driver by platformName: #{device} and automationName: #{automation_name}")
507
510
  end
@@ -14,7 +14,7 @@
14
14
 
15
15
  module Appium
16
16
  module Core
17
- VERSION = '3.4.2' unless defined? ::Appium::Core::VERSION
18
- DATE = '2019-12-29' unless defined? ::Appium::Core::DATE
17
+ VERSION = '3.5.0' unless defined? ::Appium::Core::VERSION
18
+ DATE = '2020-01-11' unless defined? ::Appium::Core::DATE
19
19
  end
20
20
  end
@@ -1,3 +1,10 @@
1
+ #### v3.5.0 2020-01-11
2
+
3
+ - [79174fd](https://github.com/appium/ruby_lib_core/commit/79174fd6821398eacc32a897c1161140087b11e6) Release 3.5.0
4
+ - [21684c5](https://github.com/appium/ruby_lib_core/commit/21684c5a0cf10ccd55b578dfef039b04fcce515f) feat: add mac for only in automation name
5
+ - [fc7149c](https://github.com/appium/ruby_lib_core/commit/fc7149cbaa199c5bd460d7af49efa2ef09b04243) feat: Add viewmatcher (#247)
6
+
7
+
1
8
  #### v3.4.2 2019-12-29
2
9
 
3
10
  - [416ad24](https://github.com/appium/ruby_lib_core/commit/416ad247dc8b5fc36fb88a302a3c0bd335911c65) Release 3.4.2
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: 3.4.2
4
+ version: 3.5.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Kazuaki MATSUO
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2019-12-29 00:00:00.000000000 Z
11
+ date: 2020-01-10 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: selenium-webdriver