testa_appium_driver 0.1.18 → 0.1.20

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.
Files changed (36) hide show
  1. checksums.yaml +4 -4
  2. data/Gemfile +1 -0
  3. data/Gemfile.lock +5 -1
  4. data/appium-driver.iml +79 -0
  5. data/testa_appium_driver.gemspec +4 -8
  6. metadata +11 -40
  7. data/.gitattributes +0 -23
  8. data/.gitignore +0 -17
  9. data/.rspec +0 -3
  10. data/.rubocop.yml +0 -5
  11. data/bin/console +0 -17
  12. data/bin/setup +0 -8
  13. data/lib/testa_appium_driver/android/class_selectors.rb +0 -438
  14. data/lib/testa_appium_driver/android/driver.rb +0 -71
  15. data/lib/testa_appium_driver/android/locator/attributes.rb +0 -118
  16. data/lib/testa_appium_driver/android/locator.rb +0 -142
  17. data/lib/testa_appium_driver/android/scroll_actions/uiautomator_scroll_actions.rb +0 -62
  18. data/lib/testa_appium_driver/android/selenium_element.rb +0 -12
  19. data/lib/testa_appium_driver/common/bounds.rb +0 -150
  20. data/lib/testa_appium_driver/common/constants.rb +0 -38
  21. data/lib/testa_appium_driver/common/exceptions/strategy_mix_exception.rb +0 -12
  22. data/lib/testa_appium_driver/common/helpers.rb +0 -271
  23. data/lib/testa_appium_driver/common/locator/scroll_actions.rb +0 -398
  24. data/lib/testa_appium_driver/common/locator.rb +0 -599
  25. data/lib/testa_appium_driver/common/scroll_actions/json_wire_scroll_actions.rb +0 -4
  26. data/lib/testa_appium_driver/common/scroll_actions/w3c_scroll_actions.rb +0 -305
  27. data/lib/testa_appium_driver/common/scroll_actions.rb +0 -267
  28. data/lib/testa_appium_driver/common/selenium_element.rb +0 -19
  29. data/lib/testa_appium_driver/driver.rb +0 -335
  30. data/lib/testa_appium_driver/ios/driver.rb +0 -49
  31. data/lib/testa_appium_driver/ios/locator/attributes.rb +0 -85
  32. data/lib/testa_appium_driver/ios/locator.rb +0 -72
  33. data/lib/testa_appium_driver/ios/selenium_element.rb +0 -8
  34. data/lib/testa_appium_driver/ios/type_selectors.rb +0 -188
  35. data/lib/testa_appium_driver/version.rb +0 -5
  36. data/lib/testa_appium_driver.rb +0 -6
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 6f0527dfee143abad81380d995ce9e655d2e0a5e645383b18e5ab61a68580832
4
- data.tar.gz: c9dc71aa4da48c5a0c0c4fdfcaa3279b51f463bf3ab97a6b2c9943aa82b05e55
3
+ metadata.gz: 88935bd93d4d46f4808188b085698cbbb0e5111ee5f83fb5bc6ce65e925500b6
4
+ data.tar.gz: 29d24a950d4645192dfa3c4346003ca9a79e0a92c552b2be18604fa4830cef67
5
5
  SHA512:
6
- metadata.gz: e5dd004be42ac602a9491c99da2ddf76a10a74340e0c4fb8db6c9d810e9d0eb2790f813cd3409bd658ce6e65705ff485291e3db55719246087cd42fe493a9790
7
- data.tar.gz: 4b4c7b31cb9d8db1c46a2aefbaa4022cc3e51deacadf48cdf8ba9dac39bee7b9ccf7636a78938e36c3a7bd54db21f348485f779e11427162ffd639d40a4a6957
6
+ metadata.gz: b9627b8d47ad0cdd769801511aaeba0516ec09aeb59b65e75229c94f1d3a2b7099f479694f650189617db3802f36aa27c53ec883c0d9548e063e4686efc8d968
7
+ data.tar.gz: b5db4829e15fa5b7d5b90f0b2ae0ab906b720d9b677671e40cfd014b2b27edea0b3b6b9d736d53ca7eb4d116250bc52dd777f9624d240908731af783e1cf4335
data/Gemfile CHANGED
@@ -10,3 +10,4 @@ gem "rake", "~> 13.0"
10
10
  gem "rspec", "~> 3.0"
11
11
 
12
12
  gem "rubocop", "~> 1.26.0", require: false
13
+ gem "rubocop-performance", require: false
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- testa_appium_driver (0.1.18)
4
+ testa_appium_driver (0.1.20)
5
5
  appium_lib_core
6
6
  json (~> 2.3)
7
7
 
@@ -50,6 +50,9 @@ GEM
50
50
  unicode-display_width (>= 1.4.0, < 3.0)
51
51
  rubocop-ast (1.18.0)
52
52
  parser (>= 3.1.1.0)
53
+ rubocop-performance (1.15.0)
54
+ rubocop (>= 1.7.0, < 2.0)
55
+ rubocop-ast (>= 0.4.0)
53
56
  ruby-progressbar (1.11.0)
54
57
  rubyzip (2.3.2)
55
58
  selenium-webdriver (4.3.0)
@@ -70,6 +73,7 @@ DEPENDENCIES
70
73
  rake (~> 13.0)
71
74
  rspec (~> 3.0)
72
75
  rubocop (~> 1.26.0)
76
+ rubocop-performance
73
77
  testa_appium_driver!
74
78
 
75
79
  BUNDLED WITH
data/appium-driver.iml ADDED
@@ -0,0 +1,79 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <module type="RUBY_MODULE" version="4">
3
+ <component name="NewModuleRootManager" inherit-compiler-output="true">
4
+ <exclude-output />
5
+ <content url="file://$MODULE_DIR$">
6
+ <sourceFolder url="file://$MODULE_DIR$/spec" isTestSource="true" />
7
+ </content>
8
+ <orderEntry type="jdk" jdkName="RVM: ruby-2.7.6" jdkType="RUBY_SDK" />
9
+ <orderEntry type="sourceFolder" forTests="false" />
10
+ <orderEntry type="library" scope="PROVIDED" name="appium_lib_core (v5.2.2, RVM: ruby-2.7.6) [gem]" level="application" />
11
+ <orderEntry type="library" scope="PROVIDED" name="ast (v2.4.2, RVM: ruby-2.7.6) [gem]" level="application" />
12
+ <orderEntry type="library" scope="PROVIDED" name="bundler (v2.3.14, RVM: ruby-2.7.6) [gem]" level="application" />
13
+ <orderEntry type="library" scope="PROVIDED" name="childprocess (v4.1.0, RVM: ruby-2.7.6) [gem]" level="application" />
14
+ <orderEntry type="library" scope="PROVIDED" name="diff-lcs (v1.5.0, RVM: ruby-2.7.6) [gem]" level="application" />
15
+ <orderEntry type="library" scope="PROVIDED" name="eventmachine (v1.2.7, RVM: ruby-2.7.6) [gem]" level="application" />
16
+ <orderEntry type="library" scope="PROVIDED" name="faye-websocket (v0.11.1, RVM: ruby-2.7.6) [gem]" level="application" />
17
+ <orderEntry type="library" scope="PROVIDED" name="json (v2.6.2, RVM: ruby-2.7.6) [gem]" level="application" />
18
+ <orderEntry type="library" scope="PROVIDED" name="parallel (v1.22.1, RVM: ruby-2.7.6) [gem]" level="application" />
19
+ <orderEntry type="library" scope="PROVIDED" name="parser (v3.1.2.0, RVM: ruby-2.7.6) [gem]" level="application" />
20
+ <orderEntry type="library" scope="PROVIDED" name="rainbow (v3.1.1, RVM: ruby-2.7.6) [gem]" level="application" />
21
+ <orderEntry type="library" scope="PROVIDED" name="rake (v13.0.6, RVM: ruby-2.7.6) [gem]" level="application" />
22
+ <orderEntry type="library" scope="PROVIDED" name="regexp_parser (v2.4.0, RVM: ruby-2.7.6) [gem]" level="application" />
23
+ <orderEntry type="library" scope="PROVIDED" name="rexml (v3.2.5, RVM: ruby-2.7.6) [gem]" level="application" />
24
+ <orderEntry type="library" scope="PROVIDED" name="rspec (v3.11.0, RVM: ruby-2.7.6) [gem]" level="application" />
25
+ <orderEntry type="library" scope="PROVIDED" name="rspec-core (v3.11.0, RVM: ruby-2.7.6) [gem]" level="application" />
26
+ <orderEntry type="library" scope="PROVIDED" name="rspec-expectations (v3.11.0, RVM: ruby-2.7.6) [gem]" level="application" />
27
+ <orderEntry type="library" scope="PROVIDED" name="rspec-mocks (v3.11.1, RVM: ruby-2.7.6) [gem]" level="application" />
28
+ <orderEntry type="library" scope="PROVIDED" name="rspec-support (v3.11.0, RVM: ruby-2.7.6) [gem]" level="application" />
29
+ <orderEntry type="library" scope="PROVIDED" name="rubocop (v1.26.0, RVM: ruby-2.7.6) [gem]" level="application" />
30
+ <orderEntry type="library" scope="PROVIDED" name="rubocop-ast (v1.18.0, RVM: ruby-2.7.6) [gem]" level="application" />
31
+ <orderEntry type="library" scope="PROVIDED" name="rubocop-performance (v1.15.0, RVM: ruby-2.7.6) [gem]" level="application" />
32
+ <orderEntry type="library" scope="PROVIDED" name="ruby-progressbar (v1.11.0, RVM: ruby-2.7.6) [gem]" level="application" />
33
+ <orderEntry type="library" scope="PROVIDED" name="rubyzip (v2.3.2, RVM: ruby-2.7.6) [gem]" level="application" />
34
+ <orderEntry type="library" scope="PROVIDED" name="selenium-webdriver (v4.3.0, RVM: ruby-2.7.6) [gem]" level="application" />
35
+ <orderEntry type="library" scope="PROVIDED" name="unicode-display_width (v2.1.0, RVM: ruby-2.7.6) [gem]" level="application" />
36
+ <orderEntry type="library" scope="PROVIDED" name="websocket (v1.2.9, RVM: ruby-2.7.6) [gem]" level="application" />
37
+ <orderEntry type="library" scope="PROVIDED" name="websocket-driver (v0.7.5, RVM: ruby-2.7.6) [gem]" level="application" />
38
+ <orderEntry type="library" scope="PROVIDED" name="websocket-extensions (v0.1.5, RVM: ruby-2.7.6) [gem]" level="application" />
39
+ </component>
40
+ <component name="RakeTasksCache">
41
+ <option name="myRootTask">
42
+ <RakeTaskImpl id="rake">
43
+ <subtasks>
44
+ <RakeTaskImpl description="Build testa_appium_driver-0.1.18.gem into the pkg directory" fullCommand="build" id="build" />
45
+ <RakeTaskImpl id="build">
46
+ <subtasks>
47
+ <RakeTaskImpl description="Generate SHA512 checksum if testa_appium_driver-0.1.18.gem into the checksums directory" fullCommand="build:checksum" id="checksum" />
48
+ </subtasks>
49
+ </RakeTaskImpl>
50
+ <RakeTaskImpl description="Remove any temporary products" fullCommand="clean" id="clean" />
51
+ <RakeTaskImpl description="Remove any generated files" fullCommand="clobber" id="clobber" />
52
+ <RakeTaskImpl description="Build and install testa_appium_driver-0.1.18.gem into system gems" fullCommand="install" id="install" />
53
+ <RakeTaskImpl id="install">
54
+ <subtasks>
55
+ <RakeTaskImpl description="Build and install testa_appium_driver-0.1.18.gem into system gems without network access" fullCommand="install:local" id="local" />
56
+ </subtasks>
57
+ </RakeTaskImpl>
58
+ <RakeTaskImpl description="Create tag v0.1.18 and build and push testa_appium_driver-0.1.18.gem to rubygems.org" fullCommand="release[remote]" id="release[remote]" />
59
+ <RakeTaskImpl description="Run RuboCop" fullCommand="rubocop" id="rubocop" />
60
+ <RakeTaskImpl id="rubocop">
61
+ <subtasks>
62
+ <RakeTaskImpl description="Auto-correct RuboCop offenses" fullCommand="rubocop:auto_correct" id="auto_correct" />
63
+ </subtasks>
64
+ </RakeTaskImpl>
65
+ <RakeTaskImpl description="Run RSpec code examples" fullCommand="spec" id="spec" />
66
+ <RakeTaskImpl description="" fullCommand="default" id="default" />
67
+ <RakeTaskImpl description="" fullCommand="release" id="release" />
68
+ <RakeTaskImpl id="release">
69
+ <subtasks>
70
+ <RakeTaskImpl description="" fullCommand="release:guard_clean" id="guard_clean" />
71
+ <RakeTaskImpl description="" fullCommand="release:rubygem_push" id="rubygem_push" />
72
+ <RakeTaskImpl description="" fullCommand="release:source_control_push" id="source_control_push" />
73
+ </subtasks>
74
+ </RakeTaskImpl>
75
+ </subtasks>
76
+ </RakeTaskImpl>
77
+ </option>
78
+ </component>
79
+ </module>
@@ -1,10 +1,8 @@
1
1
  # frozen_string_literal: true
2
2
 
3
- require_relative "lib/testa_appium_driver/version"
4
-
5
3
  Gem::Specification.new do |spec|
6
4
  spec.name = "testa_appium_driver"
7
- spec.version = TestaAppiumDriver::VERSION
5
+ spec.version = "0.1.20"
8
6
  spec.authors = ["karlo.razumovic"]
9
7
  spec.email = ["karlo.razumovic@gmail.com"]
10
8
 
@@ -21,11 +19,9 @@ Gem::Specification.new do |spec|
21
19
  spec.metadata["source_code_uri"] = "https://github.com/Karazum/testa_appium_driver"
22
20
  spec.metadata["changelog_uri"] = "https://github.com/Karazum/testa_appium_driver"
23
21
 
24
- # Specify which files should be added to the gem when it is released.
25
- # The `git ls-files -z` loads the files in the RubyGem that have been added into git.
26
- spec.files = Dir.chdir(File.expand_path(__dir__)) do
27
- `git ls-files -z`.split("\x0").reject { |f| f.match(%r{\A(?:test|spec|features)/}) }
28
- end
22
+ # this can be optimized
23
+ spec.files = Dir["#{File.dirname(__FILE__)}/*"]
24
+
29
25
  spec.bindir = "exe"
30
26
  spec.executables = spec.files.grep(%r{\Aexe/}) { |f| File.basename(f) }
31
27
  spec.require_paths = ["lib"]
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: testa_appium_driver
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.18
4
+ version: 0.1.20
5
5
  platform: ruby
6
6
  authors:
7
7
  - karlo.razumovic
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2022-08-31 00:00:00.000000000 Z
11
+ date: 2023-01-17 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: appium_lib_core
@@ -75,44 +75,15 @@ executables: []
75
75
  extensions: []
76
76
  extra_rdoc_files: []
77
77
  files:
78
- - ".gitattributes"
79
- - ".gitignore"
80
- - ".rspec"
81
- - ".rubocop.yml"
82
- - CHANGELOG.md
83
- - CODE_OF_CONDUCT.md
84
- - Gemfile
85
- - Gemfile.lock
86
- - LICENSE.txt
87
- - README.md
88
- - Rakefile
89
- - bin/console
90
- - bin/setup
91
- - lib/testa_appium_driver.rb
92
- - lib/testa_appium_driver/android/class_selectors.rb
93
- - lib/testa_appium_driver/android/driver.rb
94
- - lib/testa_appium_driver/android/locator.rb
95
- - lib/testa_appium_driver/android/locator/attributes.rb
96
- - lib/testa_appium_driver/android/scroll_actions/uiautomator_scroll_actions.rb
97
- - lib/testa_appium_driver/android/selenium_element.rb
98
- - lib/testa_appium_driver/common/bounds.rb
99
- - lib/testa_appium_driver/common/constants.rb
100
- - lib/testa_appium_driver/common/exceptions/strategy_mix_exception.rb
101
- - lib/testa_appium_driver/common/helpers.rb
102
- - lib/testa_appium_driver/common/locator.rb
103
- - lib/testa_appium_driver/common/locator/scroll_actions.rb
104
- - lib/testa_appium_driver/common/scroll_actions.rb
105
- - lib/testa_appium_driver/common/scroll_actions/json_wire_scroll_actions.rb
106
- - lib/testa_appium_driver/common/scroll_actions/w3c_scroll_actions.rb
107
- - lib/testa_appium_driver/common/selenium_element.rb
108
- - lib/testa_appium_driver/driver.rb
109
- - lib/testa_appium_driver/ios/driver.rb
110
- - lib/testa_appium_driver/ios/locator.rb
111
- - lib/testa_appium_driver/ios/locator/attributes.rb
112
- - lib/testa_appium_driver/ios/selenium_element.rb
113
- - lib/testa_appium_driver/ios/type_selectors.rb
114
- - lib/testa_appium_driver/version.rb
115
- - testa_appium_driver.gemspec
78
+ - "./CHANGELOG.md"
79
+ - "./CODE_OF_CONDUCT.md"
80
+ - "./Gemfile"
81
+ - "./Gemfile.lock"
82
+ - "./LICENSE.txt"
83
+ - "./README.md"
84
+ - "./Rakefile"
85
+ - "./appium-driver.iml"
86
+ - "./testa_appium_driver.gemspec"
116
87
  homepage: https://github.com/Karazum/testa_appium_driver
117
88
  licenses:
118
89
  - MIT
data/.gitattributes DELETED
@@ -1,23 +0,0 @@
1
- # Set the default behavior, in case people don't have core.autocrlf set.
2
- * text=auto
3
-
4
- # Declare files that will always have LF line endings on checkout.
5
- *.rb text eol=lf
6
- *.yml text eol=lf
7
- *.sh text eol=lf
8
- *.Dockerfile eol=lf
9
- *.dockerfile eol=lf
10
- *.conf eol=lf
11
- *.ru eol=lf
12
- *.json eol=lf
13
- *.js eol=lf
14
- *.css eol=lf
15
- *.erb eol=lf
16
- *.html eol=lf
17
- *.map eol=lf
18
-
19
- # Denote all files that are truly binary and should not be modified.
20
- *.png binary
21
- *.jpg binary
22
- *.bin binary
23
- *.zip binary
data/.gitignore DELETED
@@ -1,17 +0,0 @@
1
- /.bundle/
2
- /.yardoc
3
- /_yardoc/
4
- /coverage/
5
- /doc/
6
- /pkg/
7
- /spec/reports/
8
- /tmp/
9
-
10
- # rspec failure tracking
11
- .rspec_status
12
-
13
- /.idea/deployment.xml
14
- /.idea/workspace.xml
15
- /.idea/misc.xml
16
- testa_appium_driver-*.gem
17
- appium-driver.iml
data/.rspec DELETED
@@ -1,3 +0,0 @@
1
- --format documentation
2
- --color
3
- --require spec_helper
data/.rubocop.yml DELETED
@@ -1,5 +0,0 @@
1
- # we have to have per project rubcop files (IDE limitation),
2
- # but we want only one config across all projects
3
- # you can override any global cops here, in this file
4
- inherit_from:
5
- - ../.rubocop.yml
data/bin/console DELETED
@@ -1,17 +0,0 @@
1
- #!/usr/bin/env ruby
2
- # frozen_string_literal: true
3
-
4
- require "bundler/setup"
5
-
6
- #noinspection RubyResolve
7
- require "testa_appium_driver"
8
-
9
- # You can add fixtures and/or initialization code here to make experimenting
10
- # with your gem easier. You can also use a different console, if you like.
11
-
12
- # (If you use this, don't forget to add pry to your Gemfile!)
13
- # require "pry"
14
- # Pry.start
15
-
16
- require "irb"
17
- IRB.start(__FILE__)
data/bin/setup DELETED
@@ -1,8 +0,0 @@
1
- #!/usr/bin/env bash
2
- set -euo pipefail
3
- IFS=$'\n\t'
4
- set -vx
5
-
6
- bundle install
7
-
8
- # Do any other automated setup that you need to do here