appium_lib 10.6.0 → 12.0.0.rc1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.azure-pipelines.yml +18 -0
- data/.github/dependabot.yml +8 -0
- data/.github/workflows/rubocop.yml +27 -0
- data/.rubocop.yml +106 -8
- data/CHANGELOG.md +16 -0
- data/appium_lib.gemspec +5 -5
- data/docs/android_docs.md +209 -209
- data/docs/ios_docs.md +247 -247
- data/lib/appium_lib/android/common/helper.rb +4 -4
- data/lib/appium_lib/android/element/button.rb +4 -4
- data/lib/appium_lib/android/element/generic.rb +8 -12
- data/lib/appium_lib/android/espresso/element/button.rb +2 -2
- data/lib/appium_lib/android/espresso/element/generic.rb +20 -24
- data/lib/appium_lib/android/uiautomator2/element/button.rb +4 -4
- data/lib/appium_lib/appium.rb +32 -32
- data/lib/appium_lib/common/helper.rb +7 -5
- data/lib/appium_lib/common/wait.rb +3 -4
- data/lib/appium_lib/driver.rb +10 -48
- data/lib/appium_lib/ios/common/helper.rb +3 -2
- data/lib/appium_lib/ios/xcuitest/command/gestures.rb +14 -14
- data/lib/appium_lib/ios/xcuitest/command/multi_app_handler.rb +6 -12
- data/lib/appium_lib/ios/xcuitest/helper.rb +1 -1
- data/lib/appium_lib/ios/xcuitest.rb +0 -1
- data/lib/appium_lib/version.rb +2 -2
- data/readme.md +2 -9
- data/release_notes.md +25 -0
- metadata +30 -22
- data/.travis.yml +0 -19
data/readme.md
CHANGED
@@ -21,7 +21,7 @@ We can avoid the class driver with current `ruby_lib`, but if you'd like to impl
|
|
21
21
|
# Setup
|
22
22
|
## Requirement
|
23
23
|
- [Appium](https://github.com/appium/appium#requirements)
|
24
|
-
- Ruby: 2.
|
24
|
+
- Ruby: 2.5+
|
25
25
|
|
26
26
|
### Ruby Lib and Appium
|
27
27
|
- Ruby library version over `9.8.0` requires Appium over `1.8`
|
@@ -35,16 +35,9 @@ $ appium
|
|
35
35
|
```
|
36
36
|
|
37
37
|
## Install / Upgrade
|
38
|
-
- Update rubygems and bundler
|
39
|
-
```bash
|
40
|
-
$ gem update --system
|
41
|
-
$ gem update bundler
|
42
|
-
```
|
43
38
|
|
44
|
-
- Install the latest gem release
|
45
39
|
```bash
|
46
|
-
gem
|
47
|
-
gem install --no-rdoc --no-ri appium_lib
|
40
|
+
gem install appium_lib
|
48
41
|
```
|
49
42
|
|
50
43
|
## [Sauce Labs env vars](https://github.com/appium/ruby_lib/blob/master/lib/appium_lib/sauce_labs.rb)
|
data/release_notes.md
CHANGED
@@ -1,3 +1,28 @@
|
|
1
|
+
#### v11.2.0 2021-01-25
|
2
|
+
|
3
|
+
- [06f2e54](https://github.com/appium/ruby_lib/commit/06f2e54b4b55df25e624272b5a2cd7b23a000298) Release 11.2.0
|
4
|
+
- [8489c32](https://github.com/appium/ruby_lib/commit/8489c32dbb9c2b499af82e874aa532f2c9f63d8d) chore: Update rubocop requirement from = 1.8.0 to = 1.8.1 (#897)
|
5
|
+
- [eba6a68](https://github.com/appium/ruby_lib/commit/eba6a68b93f010101b3713fef162c23e6c75b330) chore: Update rubocop requirement from = 1.7.0 to = 1.8.0 (#896)
|
6
|
+
|
7
|
+
|
8
|
+
#### v11.1.0 2020-12-29
|
9
|
+
|
10
|
+
- [bc3da9b](https://github.com/appium/ruby_lib/commit/bc3da9bc1ee58d5e96811b72f3ed737ed0e9c401) Release 11.1.0
|
11
|
+
- [3c33cd6](https://github.com/appium/ruby_lib/commit/3c33cd639f8ce55fb81c5ae2116a863407529599) ci: Set up CI with Azure Pipelines (#895)
|
12
|
+
- [ecee089](https://github.com/appium/ruby_lib/commit/ecee08981f935295e6413cd98dea4366cbc7bc69) feat: work with Ruby 3 (#893)
|
13
|
+
- [bb3d715](https://github.com/appium/ruby_lib/commit/bb3d715e39509ac091b8f493cca42eb4fe8fd5bf) feat: work with Ruby 3 (#892)
|
14
|
+
- [eb5cee7](https://github.com/appium/ruby_lib/commit/eb5cee7a926b90bbedd6aa28f013a0b3c5f38510) chore: Update rubocop requirement from = 1.6.1 to = 1.7.0 (#891)
|
15
|
+
- [219181d](https://github.com/appium/ruby_lib/commit/219181d80f3b86999706f90a68996945fdc7b1d0) fix: rubocop (#890)
|
16
|
+
- [334b791](https://github.com/appium/ruby_lib/commit/334b791a3c4420598e3e832023aa1a16af92492f) chore: Update fakefs requirement from ~> 0.13.0 to ~> 1.3.0 (#888)
|
17
|
+
|
18
|
+
|
19
|
+
#### v11.0.0 2020-12-19
|
20
|
+
|
21
|
+
- [b4313b0](https://github.com/appium/ruby_lib/commit/b4313b09e62dd22bb95c2e0bc6edd296c7ece7b4) Release 11.0.0
|
22
|
+
- [42f01dd](https://github.com/appium/ruby_lib/commit/42f01dd3513e82f9a7ed25ac9055a65dfaa7d81f) feat: bump ruby version (#887)
|
23
|
+
- [dc228b3](https://github.com/appium/ruby_lib/commit/dc228b33487281d0428dcd20e92263d7132dd53e) ci: move to GitHub Actions (#882)
|
24
|
+
|
25
|
+
|
1
26
|
#### v10.6.0 2020-04-03
|
2
27
|
|
3
28
|
- [65f690f](https://github.com/appium/ruby_lib/commit/65f690f1fec62a5f8868270287b0099d8b22a2ac) Release 10.6.0
|
metadata
CHANGED
@@ -1,30 +1,30 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: appium_lib
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version:
|
4
|
+
version: 12.0.0.rc1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- code@bootstraponline.com
|
8
8
|
- Kazuaki Matsuo
|
9
|
-
autorequire:
|
9
|
+
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date:
|
12
|
+
date: 2021-10-15 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: appium_lib_core
|
16
16
|
requirement: !ruby/object:Gem::Requirement
|
17
17
|
requirements:
|
18
|
-
- -
|
18
|
+
- - '='
|
19
19
|
- !ruby/object:Gem::Version
|
20
|
-
version:
|
20
|
+
version: 5.0.0.rc5
|
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:
|
27
|
+
version: 5.0.0.rc5
|
28
28
|
- !ruby/object:Gem::Dependency
|
29
29
|
name: nokogiri
|
30
30
|
requirement: !ruby/object:Gem::Requirement
|
@@ -49,16 +49,22 @@ dependencies:
|
|
49
49
|
name: tomlrb
|
50
50
|
requirement: !ruby/object:Gem::Requirement
|
51
51
|
requirements:
|
52
|
-
- - "
|
52
|
+
- - ">="
|
53
53
|
- !ruby/object:Gem::Version
|
54
54
|
version: '1.1'
|
55
|
+
- - "<"
|
56
|
+
- !ruby/object:Gem::Version
|
57
|
+
version: '3.0'
|
55
58
|
type: :runtime
|
56
59
|
prerelease: false
|
57
60
|
version_requirements: !ruby/object:Gem::Requirement
|
58
61
|
requirements:
|
59
|
-
- - "
|
62
|
+
- - ">="
|
60
63
|
- !ruby/object:Gem::Version
|
61
64
|
version: '1.1'
|
65
|
+
- - "<"
|
66
|
+
- !ruby/object:Gem::Version
|
67
|
+
version: '3.0'
|
62
68
|
- !ruby/object:Gem::Dependency
|
63
69
|
name: appium_thor
|
64
70
|
requirement: !ruby/object:Gem::Requirement
|
@@ -85,14 +91,14 @@ dependencies:
|
|
85
91
|
requirements:
|
86
92
|
- - "~>"
|
87
93
|
- !ruby/object:Gem::Version
|
88
|
-
version:
|
94
|
+
version: 1.3.0
|
89
95
|
type: :development
|
90
96
|
prerelease: false
|
91
97
|
version_requirements: !ruby/object:Gem::Requirement
|
92
98
|
requirements:
|
93
99
|
- - "~>"
|
94
100
|
- !ruby/object:Gem::Version
|
95
|
-
version:
|
101
|
+
version: 1.3.0
|
96
102
|
- !ruby/object:Gem::Dependency
|
97
103
|
name: hashdiff
|
98
104
|
requirement: !ruby/object:Gem::Requirement
|
@@ -153,16 +159,16 @@ dependencies:
|
|
153
159
|
name: rubocop
|
154
160
|
requirement: !ruby/object:Gem::Requirement
|
155
161
|
requirements:
|
156
|
-
- -
|
162
|
+
- - '='
|
157
163
|
- !ruby/object:Gem::Version
|
158
|
-
version:
|
164
|
+
version: 1.22.1
|
159
165
|
type: :development
|
160
166
|
prerelease: false
|
161
167
|
version_requirements: !ruby/object:Gem::Requirement
|
162
168
|
requirements:
|
163
|
-
- -
|
169
|
+
- - '='
|
164
170
|
- !ruby/object:Gem::Version
|
165
|
-
version:
|
171
|
+
version: 1.22.1
|
166
172
|
- !ruby/object:Gem::Dependency
|
167
173
|
name: spec
|
168
174
|
requirement: !ruby/object:Gem::Requirement
|
@@ -205,11 +211,13 @@ executables: []
|
|
205
211
|
extensions: []
|
206
212
|
extra_rdoc_files: []
|
207
213
|
files:
|
214
|
+
- ".azure-pipelines.yml"
|
208
215
|
- ".github/ISSUE_TEMPLATE.md"
|
209
216
|
- ".github/PULL_REQUEST_TEMPLATE.md"
|
217
|
+
- ".github/dependabot.yml"
|
218
|
+
- ".github/workflows/rubocop.yml"
|
210
219
|
- ".gitignore"
|
211
220
|
- ".rubocop.yml"
|
212
|
-
- ".travis.yml"
|
213
221
|
- CHANGELOG.md
|
214
222
|
- Gemfile
|
215
223
|
- LICENSE-2.0.txt
|
@@ -289,7 +297,7 @@ homepage: https://github.com/appium/ruby_lib
|
|
289
297
|
licenses:
|
290
298
|
- Apache-2.0
|
291
299
|
metadata: {}
|
292
|
-
post_install_message:
|
300
|
+
post_install_message:
|
293
301
|
rdoc_options: []
|
294
302
|
require_paths:
|
295
303
|
- lib
|
@@ -297,15 +305,15 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
297
305
|
requirements:
|
298
306
|
- - ">="
|
299
307
|
- !ruby/object:Gem::Version
|
300
|
-
version: '2.
|
308
|
+
version: '2.6'
|
301
309
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
302
310
|
requirements:
|
303
|
-
- - "
|
311
|
+
- - ">"
|
304
312
|
- !ruby/object:Gem::Version
|
305
|
-
version:
|
313
|
+
version: 1.3.1
|
306
314
|
requirements: []
|
307
|
-
rubygems_version: 3.
|
308
|
-
signing_key:
|
315
|
+
rubygems_version: 3.2.15
|
316
|
+
signing_key:
|
309
317
|
specification_version: 4
|
310
318
|
summary: Ruby library for Appium
|
311
319
|
test_files: []
|
data/.travis.yml
DELETED
@@ -1,19 +0,0 @@
|
|
1
|
-
sudo: false
|
2
|
-
cache: bundler
|
3
|
-
language: ruby
|
4
|
-
rvm:
|
5
|
-
- 2.2
|
6
|
-
- 2.3
|
7
|
-
- 2.4
|
8
|
-
- 2.5
|
9
|
-
- 2.6
|
10
|
-
- 2.7
|
11
|
-
|
12
|
-
install:
|
13
|
-
- bundle install --retry=3
|
14
|
-
script:
|
15
|
-
- bundle exec rake rubocop
|
16
|
-
notifications:
|
17
|
-
email:
|
18
|
-
on_success: never
|
19
|
-
on_failure: never
|