appium_lib_core 5.0.1 → 5.0.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: 6d7090e2267f551b98bc21215bfc636753ebd0ab2fccc2e95bba5e2ea7781659
4
- data.tar.gz: 719c1d37595a5501c2935de660971458c02314c1c5ca15f9b0b2615bae5f188f
3
+ metadata.gz: e643028012001727a3587bf56c533a58f3156cb54a33ce6ae76344032b6eba2b
4
+ data.tar.gz: e267c16743d9ae2054c82aaf2af36743eadcf11405cda1bc65d0988e2a0b019d
5
5
  SHA512:
6
- metadata.gz: be218fca9b0d444cabeb4577ddcec877ea180106b61704b10be452ca6ffbfd2bdf56e8ccdf3185a5a23d6aa5cc7a63d383cf4d48c86c446ec9ad72ef9d225526
7
- data.tar.gz: fe8efa1222a796c36134231e9a04a94a8e3bf195c7dd42824d34f5aa94f3b2816ed8eafbd611e8b19c34df85193d5a98540714043aae946382ed985e2107ff73
6
+ metadata.gz: 2e433f4df5d820edd9a8625b0e53e3d16eb498310e3d7891ae4f5002bae518488a4595398a294b3f2a7a7a81d84dce0ded6ede87289d5a47f6a5a6f9a4ca0656
7
+ data.tar.gz: 07ccc1ce6007394bb72328cfd0f2f7ed292f0456177baef9dc9aec999ba511565dcd9635f10c5ce7e43383a115801d5d3c728a52a08c20a254558d4752ddc863
data/.rubocop.yml CHANGED
@@ -58,6 +58,8 @@ Style/KeywordParametersOrder:
58
58
  Enabled: false
59
59
  Gemspec/DateAssignment:
60
60
  Enabled: true
61
+ Gemspec/RequireMFA:
62
+ Enabled: true
61
63
  Layout/LineEndStringConcatenationIndentation:
62
64
  Enabled: true
63
65
  Layout/SpaceBeforeBrackets:
@@ -104,6 +106,8 @@ Lint/UnexpectedBlockArity:
104
106
  Enabled: true
105
107
  Lint/UnmodifiedReduceAccumulator:
106
108
  Enabled: true
109
+ Lint/UselessRuby2Keywords:
110
+ Enabled: true
107
111
  Security/IoMethods:
108
112
  Enabled: true
109
113
  Style/ArgumentsForwarding:
@@ -144,3 +148,5 @@ Style/StringChars:
144
148
  Enabled: true
145
149
  Style/SwapValues:
146
150
  Enabled: true
151
+ Style/OpenStructUse:
152
+ Enabled: true
data/CHANGELOG.md CHANGED
@@ -10,6 +10,11 @@ Read `release_notes.md` for commit level details.
10
10
 
11
11
  ### Deprecations
12
12
 
13
+ ## [5.0.2] - 2021-12-01
14
+
15
+ ### Bug fixes
16
+ - (internal) Fix firstMatch format in a new session creation
17
+
13
18
  ## [5.0.1] - 2021-11-23
14
19
 
15
20
  ### Enhancements
@@ -77,8 +77,8 @@ module Appium
77
77
  def create_session(capabilities)
78
78
  @available_commands = ::Appium::Core::Commands::COMMANDS.dup
79
79
 
80
- caps = add_appium_prefix(capabilities)
81
- response = execute(:new_session, {}, { capabilities: { alwaysMatch: caps, firstMatch: [] } })
80
+ always_match = add_appium_prefix(capabilities)
81
+ response = execute(:new_session, {}, { capabilities: { alwaysMatch: always_match, firstMatch: [{}] } })
82
82
 
83
83
  @session_id = response['sessionId']
84
84
  raise ::Selenium::WebDriver::Error::WebDriverError, 'no sessionId in returned payload' unless @session_id
@@ -14,7 +14,7 @@
14
14
 
15
15
  module Appium
16
16
  module Core
17
- VERSION = '5.0.1' unless defined? ::Appium::Core::VERSION
18
- DATE = '2021-11-23' unless defined? ::Appium::Core::DATE
17
+ VERSION = '5.0.2' unless defined? ::Appium::Core::VERSION
18
+ DATE = '2021-12-01' unless defined? ::Appium::Core::DATE
19
19
  end
20
20
  end
data/release_notes.md CHANGED
@@ -1,3 +1,10 @@
1
+ #### v5.0.2 2021-12-01
2
+
3
+ - [3cc0fb1](https://github.com/appium/ruby_lib_core/commit/3cc0fb129a0ec74367c716941adefae75fe6a6d6) Release 5.0.2
4
+ - [a87c63a](https://github.com/appium/ruby_lib_core/commit/a87c63a5e00ca826eb89cee3b4874c4bbb787980) chore: tweak naming
5
+ - [36e50b2](https://github.com/appium/ruby_lib_core/commit/36e50b28c04a5afda8d25f6b855d35fda5ff6b2b) fix: sends [{}] (#360)
6
+
7
+
1
8
  #### v5.0.1 2021-11-23
2
9
 
3
10
  - [f17ba52](https://github.com/appium/ruby_lib_core/commit/f17ba524608a6e715923331bb9bfff73e0709bcb) Release 5.0.1
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: 5.0.1
4
+ version: 5.0.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: 2021-11-24 00:00:00.000000000 Z
11
+ date: 2021-12-02 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: selenium-webdriver