testa_appium_driver 0.1.17 → 0.1.20

Sign up to get free protection for your applications and to get access to all the features.
Files changed (36) hide show
  1. checksums.yaml +4 -4
  2. data/Gemfile +1 -0
  3. data/Gemfile.lock +6 -2
  4. data/appium-driver.iml +10 -5
  5. data/testa_appium_driver.gemspec +5 -9
  6. metadata +15 -45
  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: 20c9a54ccf31dc2175741de356bde61db83927ad64f71f6b818e0deaffcf2c11
4
- data.tar.gz: ea7352197d3dcde42ed2b67403f287382b3acfd89424b19857143ebf0c9f665f
3
+ metadata.gz: 88935bd93d4d46f4808188b085698cbbb0e5111ee5f83fb5bc6ce65e925500b6
4
+ data.tar.gz: 29d24a950d4645192dfa3c4346003ca9a79e0a92c552b2be18604fa4830cef67
5
5
  SHA512:
6
- metadata.gz: 4e6ecb34292fffa478a1389d7626a7728fcbd2ebe592cfcc20d59ae487f3eb6c910872cb960d3d6bfa78c2d0e615c694847f8ae65a24ff0379fa3e99e3313bc3
7
- data.tar.gz: 5f11da7dbf7b188a88b4cae6738437a06846e7fcb7b4c0bf8396a123317d4363d5a2f0b3cb126194543f5239f056401e5c0ba0b552d3580db19b46f1bdad46f8
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,8 +1,8 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- testa_appium_driver (0.1.17)
5
- appium_lib_core (<= 5.4.0)
4
+ testa_appium_driver (0.1.20)
5
+ appium_lib_core
6
6
  json (~> 2.3)
7
7
 
8
8
  GEM
@@ -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 CHANGED
@@ -3,7 +3,6 @@
3
3
  <component name="NewModuleRootManager" inherit-compiler-output="true">
4
4
  <exclude-output />
5
5
  <content url="file://$MODULE_DIR$">
6
- <sourceFolder url="file://$MODULE_DIR$/lib" isTestSource="false" />
7
6
  <sourceFolder url="file://$MODULE_DIR$/spec" isTestSource="true" />
8
7
  </content>
9
8
  <orderEntry type="jdk" jdkName="RVM: ruby-2.7.6" jdkType="RUBY_SDK" />
@@ -29,6 +28,7 @@
29
28
  <orderEntry type="library" scope="PROVIDED" name="rspec-support (v3.11.0, RVM: ruby-2.7.6) [gem]" level="application" />
30
29
  <orderEntry type="library" scope="PROVIDED" name="rubocop (v1.26.0, RVM: ruby-2.7.6) [gem]" level="application" />
31
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
32
  <orderEntry type="library" scope="PROVIDED" name="ruby-progressbar (v1.11.0, RVM: ruby-2.7.6) [gem]" level="application" />
33
33
  <orderEntry type="library" scope="PROVIDED" name="rubyzip (v2.3.2, RVM: ruby-2.7.6) [gem]" level="application" />
34
34
  <orderEntry type="library" scope="PROVIDED" name="selenium-webdriver (v4.3.0, RVM: ruby-2.7.6) [gem]" level="application" />
@@ -41,16 +41,21 @@
41
41
  <option name="myRootTask">
42
42
  <RakeTaskImpl id="rake">
43
43
  <subtasks>
44
- <RakeTaskImpl description="Build testa_appium_driver-0.1.131.gem into the pkg directory" fullCommand="build" id="build" />
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>
45
50
  <RakeTaskImpl description="Remove any temporary products" fullCommand="clean" id="clean" />
46
51
  <RakeTaskImpl description="Remove any generated files" fullCommand="clobber" id="clobber" />
47
- <RakeTaskImpl description="Build and install testa_appium_driver-0.1.131.gem into system gems" fullCommand="install" id="install" />
52
+ <RakeTaskImpl description="Build and install testa_appium_driver-0.1.18.gem into system gems" fullCommand="install" id="install" />
48
53
  <RakeTaskImpl id="install">
49
54
  <subtasks>
50
- <RakeTaskImpl description="Build and install testa_appium_driver-0.1.131.gem into system gems without network access" fullCommand="install:local" id="local" />
55
+ <RakeTaskImpl description="Build and install testa_appium_driver-0.1.18.gem into system gems without network access" fullCommand="install:local" id="local" />
51
56
  </subtasks>
52
57
  </RakeTaskImpl>
53
- <RakeTaskImpl description="Create tag v0.1.131 and build and push testa_appium_driver-0.1.131.gem to rubygems.org" fullCommand="release[remote]" id="release[remote]" />
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]" />
54
59
  <RakeTaskImpl description="Run RuboCop" fullCommand="rubocop" id="rubocop" />
55
60
  <RakeTaskImpl id="rubocop">
56
61
  <subtasks>
@@ -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,16 +19,14 @@ 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"]
32
28
 
33
- spec.add_runtime_dependency "appium_lib_core", ["<= 5.4.0"]
29
+ spec.add_runtime_dependency "appium_lib_core"
34
30
  spec.add_runtime_dependency "json", ["~> 2.3"]
35
31
 
36
32
  spec.add_development_dependency "rubocop", ["= 1.19.0"]
metadata CHANGED
@@ -1,29 +1,29 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: testa_appium_driver
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.17
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-30 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
15
15
  requirement: !ruby/object:Gem::Requirement
16
16
  requirements:
17
- - - "<="
17
+ - - ">="
18
18
  - !ruby/object:Gem::Version
19
- version: 5.4.0
19
+ version: '0'
20
20
  type: :runtime
21
21
  prerelease: false
22
22
  version_requirements: !ruby/object:Gem::Requirement
23
23
  requirements:
24
- - - "<="
24
+ - - ">="
25
25
  - !ruby/object:Gem::Version
26
- version: 5.4.0
26
+ version: '0'
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: json
29
29
  requirement: !ruby/object:Gem::Requirement
@@ -75,45 +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
- - appium-driver.iml
90
- - bin/console
91
- - bin/setup
92
- - lib/testa_appium_driver.rb
93
- - lib/testa_appium_driver/android/class_selectors.rb
94
- - lib/testa_appium_driver/android/driver.rb
95
- - lib/testa_appium_driver/android/locator.rb
96
- - lib/testa_appium_driver/android/locator/attributes.rb
97
- - lib/testa_appium_driver/android/scroll_actions/uiautomator_scroll_actions.rb
98
- - lib/testa_appium_driver/android/selenium_element.rb
99
- - lib/testa_appium_driver/common/bounds.rb
100
- - lib/testa_appium_driver/common/constants.rb
101
- - lib/testa_appium_driver/common/exceptions/strategy_mix_exception.rb
102
- - lib/testa_appium_driver/common/helpers.rb
103
- - lib/testa_appium_driver/common/locator.rb
104
- - lib/testa_appium_driver/common/locator/scroll_actions.rb
105
- - lib/testa_appium_driver/common/scroll_actions.rb
106
- - lib/testa_appium_driver/common/scroll_actions/json_wire_scroll_actions.rb
107
- - lib/testa_appium_driver/common/scroll_actions/w3c_scroll_actions.rb
108
- - lib/testa_appium_driver/common/selenium_element.rb
109
- - lib/testa_appium_driver/driver.rb
110
- - lib/testa_appium_driver/ios/driver.rb
111
- - lib/testa_appium_driver/ios/locator.rb
112
- - lib/testa_appium_driver/ios/locator/attributes.rb
113
- - lib/testa_appium_driver/ios/selenium_element.rb
114
- - lib/testa_appium_driver/ios/type_selectors.rb
115
- - lib/testa_appium_driver/version.rb
116
- - 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"
117
87
  homepage: https://github.com/Karazum/testa_appium_driver
118
88
  licenses:
119
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