appium_lib 6.0.0 → 7.0.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.
Files changed (88) hide show
  1. checksums.yaml +4 -4
  2. data/.gitignore +2 -0
  3. data/.rubocop.yml +28 -0
  4. data/.travis.yml +10 -0
  5. data/Rakefile +9 -1
  6. data/android_tests/Gemfile +1 -1
  7. data/android_tests/Rakefile +20 -13
  8. data/android_tests/lib/android/specs/android/element/alert.rb +1 -1
  9. data/android_tests/lib/android/specs/android/element/button.rb +2 -2
  10. data/android_tests/lib/android/specs/android/element/generic.rb +1 -2
  11. data/android_tests/lib/android/specs/android/element/text.rb +2 -3
  12. data/android_tests/lib/android/specs/android/element/textfield.rb +2 -2
  13. data/android_tests/lib/android/specs/android/helper.rb +5 -3
  14. data/android_tests/lib/android/specs/android/patch.rb +2 -2
  15. data/android_tests/lib/android/specs/common/device.rb +16 -9
  16. data/android_tests/lib/android/specs/common/device_touchaction.rb +5 -2
  17. data/android_tests/lib/android/specs/common/element/window.rb +1 -1
  18. data/android_tests/lib/android/specs/common/helper.rb +14 -15
  19. data/android_tests/lib/android/specs/common/patch.rb +11 -9
  20. data/android_tests/lib/android/specs/common/version.rb +3 -3
  21. data/android_tests/lib/android/specs/common/web_context.rb +2 -3
  22. data/android_tests/lib/android/specs/driver.rb +38 -29
  23. data/android_tests/lib/android/specs/install.rb +3 -3
  24. data/android_tests/lib/format.rb +6 -8
  25. data/android_tests/lib/run.rb +25 -17
  26. data/android_tests/readme.md +4 -2
  27. data/appium_lib.gemspec +13 -11
  28. data/contributing.md +1 -1
  29. data/docs/android_docs.md +358 -274
  30. data/docs/ios_docs.md +333 -270
  31. data/docs/migration.md +10 -0
  32. data/docs_gen/make_docs.rb +3 -1
  33. data/ios_tests/Gemfile +1 -1
  34. data/ios_tests/Rakefile +17 -10
  35. data/ios_tests/appium.txt +1 -1
  36. data/ios_tests/lib/common.rb +8 -4
  37. data/ios_tests/lib/format.rb +5 -7
  38. data/ios_tests/lib/ios/specs/common/element/window.rb +1 -1
  39. data/ios_tests/lib/ios/specs/common/helper.rb +40 -39
  40. data/ios_tests/lib/ios/specs/common/patch.rb +15 -11
  41. data/ios_tests/lib/ios/specs/common/version.rb +3 -3
  42. data/ios_tests/lib/ios/specs/common/web_context.rb +1 -2
  43. data/ios_tests/lib/ios/specs/device/device.rb +7 -7
  44. data/ios_tests/lib/ios/specs/device/multi_touch.rb +6 -8
  45. data/ios_tests/lib/ios/specs/device/touch_actions.rb +12 -12
  46. data/ios_tests/lib/ios/specs/driver.rb +23 -22
  47. data/ios_tests/lib/ios/specs/ios/element/alert.rb +6 -2
  48. data/ios_tests/lib/ios/specs/ios/element/button.rb +2 -2
  49. data/ios_tests/lib/ios/specs/ios/element/generic.rb +1 -1
  50. data/ios_tests/lib/ios/specs/ios/element/text.rb +4 -1
  51. data/ios_tests/lib/ios/specs/ios/element/textfield.rb +6 -6
  52. data/ios_tests/lib/ios/specs/ios/helper.rb +5 -5
  53. data/ios_tests/lib/ios/specs/ios/patch.rb +2 -2
  54. data/ios_tests/lib/run.rb +1 -1
  55. data/ios_tests/readme.md +3 -3
  56. data/ios_tests/upload/sauce_storage.rb +8 -8
  57. data/ios_tests/upload/upload.rb +1 -1
  58. data/lib/appium_lib/android/client_xpath.rb +7 -7
  59. data/lib/appium_lib/android/element/alert.rb +2 -2
  60. data/lib/appium_lib/android/element/button.rb +16 -16
  61. data/lib/appium_lib/android/element/generic.rb +12 -13
  62. data/lib/appium_lib/android/element/text.rb +5 -5
  63. data/lib/appium_lib/android/element/textfield.rb +5 -5
  64. data/lib/appium_lib/android/helper.rb +82 -52
  65. data/lib/appium_lib/android/mobile_methods.rb +2 -2
  66. data/lib/appium_lib/android/patch.rb +3 -3
  67. data/lib/appium_lib/common/element/window.rb +1 -1
  68. data/lib/appium_lib/common/helper.rb +30 -35
  69. data/lib/appium_lib/common/patch.rb +22 -20
  70. data/lib/appium_lib/common/version.rb +3 -3
  71. data/lib/appium_lib/common/wait.rb +9 -10
  72. data/lib/appium_lib/device/device.rb +39 -33
  73. data/lib/appium_lib/device/multi_touch.rb +5 -7
  74. data/lib/appium_lib/device/touch_actions.rb +14 -15
  75. data/lib/appium_lib/driver.rb +97 -76
  76. data/lib/appium_lib/ios/element/alert.rb +1 -1
  77. data/lib/appium_lib/ios/element/button.rb +5 -5
  78. data/lib/appium_lib/ios/element/generic.rb +5 -6
  79. data/lib/appium_lib/ios/element/text.rb +5 -5
  80. data/lib/appium_lib/ios/element/textfield.rb +15 -15
  81. data/lib/appium_lib/ios/helper.rb +103 -90
  82. data/lib/appium_lib/ios/mobile_methods.rb +2 -2
  83. data/lib/appium_lib/ios/patch.rb +4 -4
  84. data/lib/appium_lib/logger.rb +7 -5
  85. data/lib/appium_lib/rails/duplicable.rb +3 -1
  86. data/readme.md +7 -1
  87. data/release_notes.md +152 -0
  88. metadata +28 -54
@@ -7,11 +7,11 @@ module Appium
7
7
  # ```ruby
8
8
  # find_elements :uiautomation, 'elements()
9
9
  # ```
10
- def extended(mod)
10
+ def extended(_mod)
11
11
  Selenium::WebDriver::SearchContext.class_eval do
12
12
  Selenium::WebDriver::SearchContext::FINDERS[:uiautomation] = '-ios uiautomation'
13
13
  end
14
14
  end
15
15
  end # class << self
16
16
  end # module Ios
17
- end # module Appium
17
+ end # module Appium
@@ -9,15 +9,15 @@ module Appium
9
9
  # Enable access to iOS accessibility label
10
10
  # accessibility identifier is supported as 'name'
11
11
  def label
12
- self.attribute('label')
12
+ attribute('label')
13
13
  end
14
14
 
15
15
  # Cross platform way of entering text into a textfield
16
- def type text
16
+ def type(text)
17
17
  # type
18
- $driver.execute_script %(au.getElement('#{self.ref}').setValue('#{text}');)
18
+ $driver.execute_script %(au.getElement('#{ref}').setValue('#{text}');)
19
19
  end # def type
20
20
  end # Selenium::WebDriver::Element.class_eval
21
21
  end # def patch_webdriver_element
22
22
  end # module Ios
23
- end # module Appium
23
+ end # module Appium
@@ -7,19 +7,21 @@ module Appium
7
7
  def_delegators :logger, :ap, :fatal, :error, :warn, :info, :debug, :level, :level=, :formatter, :formatter=
8
8
 
9
9
  [:fatal, :error, :warn, :info, :debug].each do |level|
10
- define_method("ap_#{level}") {|obj| logger.ap(obj, level) }
10
+ define_method("ap_#{level}") { |obj| logger.ap(obj, level) }
11
11
  end
12
12
 
13
- private
14
-
13
+ attr_writer :logger
14
+
15
+ private
16
+
15
17
  def logger
16
18
  @logger ||= begin
17
19
  logger = ::Logger.new($stdout)
18
20
  logger.level = ::Logger::WARN
19
- logger.formatter = proc { |severity, datetime, progname, msg| "#{msg}\n" } # do no special formatting
21
+ logger.formatter = proc { |_severity, _datetime, _progname, msg| "#{msg}\n" } # do no special formatting
20
22
  logger
21
23
  end
22
24
  end
23
25
  end # class << self
24
26
  end # module Logger
25
- end # module Appium
27
+ end # module Appium
@@ -1,3 +1,5 @@
1
+ # rubocop:disable Style/BlockComments
2
+ # rubocop:disable Lint/HandleExceptions
1
3
  # https://github.com/rails/rails/blob/e120d21211f9644e9b832e51ba7aa6c45448b782/activesupport/lib/active_support/core_ext/object/duplicable.rb
2
4
  =begin
3
5
  Copyright (c) 2005-2011 David Heinemeier Hansson
@@ -113,4 +115,4 @@ class BigDecimal
113
115
  rescue TypeError
114
116
  # can't dup, so use superclass implementation
115
117
  end
116
- end
118
+ end
data/readme.md CHANGED
@@ -1,9 +1,15 @@
1
- #### appium_lib [![Gem Version](https://badge.fury.io/rb/appium_lib.svg)](http://badge.fury.io/rb/appium_lib)[![Dependency Status](https://gemnasium.com/appium/ruby_lib.svg)](https://gemnasium.com/appium/ruby_lib)
1
+ [![Downloads](https://img.shields.io/gem/dt/appium_lib.svg)](https://rubygems.org/gems/appium_lib)
2
+ [![Pull Requests](http://issuestats.com/github/appium/ruby_lib/badge/pr)](http://issuestats.com/github/appium/ruby_lib)
3
+ [![Issues](http://issuestats.com/github/appium/ruby_lib/badge/issue)](http://issuestats.com/github/appium/ruby_lib)
4
+ #### appium_lib [![Gem Version](https://badge.fury.io/rb/appium_lib.svg)](http://badge.fury.io/rb/appium_lib)[![Dependency Status](https://gemnasium.com/appium/ruby_lib.svg)](https://gemnasium.com/appium/ruby_lib) [![Travis Master](https://travis-ci.org/appium/ruby_lib.svg?branch=master)](https://travis-ci.org/appium/ruby_lib/builds)
5
+
6
+
2
7
 
3
8
  - [appium_lib on RubyGems](https://rubygems.org/gems/appium_lib)
4
9
  - [Documentation for appium_lib](https://github.com/appium/ruby_lib/tree/master/docs)
5
10
  - [Appium Ruby Console](https://github.com/appium/ruby_console)
6
11
  - [Bootcamp quick start guide](http://sauceio.com/index.php/tag/appium-bootcamp/) & [Bootcamp example source](https://github.com/tourdedave/appium-getting-started-code-exampes)
12
+ - [Mobile automation walkthrough with Ruby and Sauce](http://stackshare.io/sauce-labs/mobile-automation-with-appium-and-sauce-labs) & [code examples](https://github.com/jlipps/appium-ruby-example)
7
13
 
8
14
  Helper methods for writing cross platform (iOS, Android) tests in Ruby using Appium. Note that user waits should not exceed 120 seconds if they're going to run on Sauce Labs.
9
15
 
@@ -1,3 +1,155 @@
1
+ #### v7.0.0 2015-05-08
2
+
3
+ - [af83896](https://github.com/appium/ruby_lib/commit/af838966d0724793d3dbfa35798ca6dd9f8a3143) Release 7.0.0
4
+ - [7bb780d](https://github.com/appium/ruby_lib/commit/7bb780d2f3d4bbbc2dcade6cd0aa9fdf5cd7b3d9) Fix make_docs script
5
+ - [b8cc4dd](https://github.com/appium/ruby_lib/commit/b8cc4dd425c6b1605d0a67ded8b51dac0ac0373d) Add note about implicit wait change
6
+ - [2599a46](https://github.com/appium/ruby_lib/commit/2599a465896add2cf11634d26bf81bba4a99f39c) Fix set_location Android test on emulator
7
+ - [8162e27](https://github.com/appium/ruby_lib/commit/8162e274732172229df48834c188fbf7d3819430) Work around empty app strings
8
+ - [1657f8c](https://github.com/appium/ruby_lib/commit/1657f8c58c8c8505c3e7f07657fddc6c0b8f154e) Merge pull request #333 from hipyard/geolocation_pr
9
+ - [dbb32b2](https://github.com/appium/ruby_lib/commit/dbb32b25e11576411ae4f62735b4f38e71e074d4) add set_location method for setting geolocation
10
+ - [e441d6d](https://github.com/appium/ruby_lib/commit/e441d6d7d2219194cda58f194c07553e81c4d4d8) Merge pull request #334 from hipyard/settable_logger
11
+ - [ed56450](https://github.com/appium/ruby_lib/commit/ed56450de85926f9bf991f4c50dca81fadad3376) logger setter method
12
+ - [8634cad](https://github.com/appium/ruby_lib/commit/8634cad862f98fcd74e2262261dc86c21f3b5595) Merge pull request #336 from JaniJegoroff/fix-tests
13
+ - [4afcf6f](https://github.com/appium/ruby_lib/commit/4afcf6fac61a973f41e165cf2bb8e48aab5d9ac4) Fix for "undefined local variable or method" errors
14
+ - [9ea0754](https://github.com/appium/ruby_lib/commit/9ea07543fd760b3da09ae2673618caff0a383ae2) Merge pull request #330 from JaniJegoroff/add-locked-method
15
+ - [73a7dc0](https://github.com/appium/ruby_lib/commit/73a7dc0b45098e4b26e5fef62207a87e4d6e61a1) Add device_locked? method
16
+ - [1348a8c](https://github.com/appium/ruby_lib/commit/1348a8c015b36d7346542443229b3dfe338a3e48) Update .rubocop.yml
17
+ - [de37577](https://github.com/appium/ruby_lib/commit/de37577fec4eac123c8b07873acd6d0a81de1cc4) Update dependencies
18
+ - [b19d0e0](https://github.com/appium/ruby_lib/commit/b19d0e03940d80314cb61c3c86f28c6f54e9da57) Improve promote method documentation
19
+ - [1b88060](https://github.com/appium/ruby_lib/commit/1b88060dc0a439e02323f52d6d695b1587aeba17) Merge pull request #329 from appium/rubocop
20
+ - [e9d1986](https://github.com/appium/ruby_lib/commit/e9d1986a1e46319bfb42fa30de8c4778f6dbc3fb) Fix remaining rubocop issues
21
+ - [7feace9](https://github.com/appium/ruby_lib/commit/7feace96c7030455a45c7527d3b5c4f184c3abab) Merge pull request #327 from JaniJegoroff/stable-android-tests
22
+ - [502c9d5](https://github.com/appium/ruby_lib/commit/502c9d56e1f1fcfcce1f6016b1484499ec5f2522) Fix for Android tests
23
+ - [b73c782](https://github.com/appium/ruby_lib/commit/b73c78237c4b331b9e4602bd92da7a2de45afc15) Fix rubocop Rakefile issues
24
+ - [93cb8a5](https://github.com/appium/ruby_lib/commit/93cb8a59aa7f4fb0b398aa67cd5b93b6e34534b2) Run rubocop on more files
25
+ - [cd8638b](https://github.com/appium/ruby_lib/commit/cd8638b8dc5a3a313dbbad4c42ed9291789139a8) Merge pull request #325 from JaniJegoroff/rubocop-android-tests
26
+ - [bd54f96](https://github.com/appium/ruby_lib/commit/bd54f9690e57695f85da8378a1f45fc7a314681b) Rubocop - Style/UnlessElse
27
+ - [3c520a9](https://github.com/appium/ruby_lib/commit/3c520a90e8639bdb265f3849ff5d84ad751f5d78) Rubocop - Metrics/LineLength
28
+ - [e80398f](https://github.com/appium/ruby_lib/commit/e80398f149d8f3767512831b91af598e98ec4d59) Rubocop - Lint/RescueException
29
+ - [b41a3da](https://github.com/appium/ruby_lib/commit/b41a3dabbf662eaa3d6498245d2f305d7e0d96a9) Rubocop - Style/Semicolon
30
+ - [af3ea2e](https://github.com/appium/ruby_lib/commit/af3ea2ee0f8aba75262966025965ef5cc6af0f86) Rubocop - Style/PredicateName
31
+ - [7907af6](https://github.com/appium/ruby_lib/commit/7907af6f67add544ca122eb696ec5647b6a8652b) Rubocop - Style/BlockComments
32
+ - [95d34b7](https://github.com/appium/ruby_lib/commit/95d34b71e268d67c7561e96d8a9206f6d9895b0b) Rubocop - Style/SignalException
33
+ - [cd6728f](https://github.com/appium/ruby_lib/commit/cd6728f4836aea74bed25b1d4571d73319cd280d) Rubocop - Style/SymbolProc
34
+ - [e383ac6](https://github.com/appium/ruby_lib/commit/e383ac618411c5055839bbd3a908e050e4039fdc) Rubocop - Style/PercentLiteralDelimiters
35
+ - [211bd82](https://github.com/appium/ruby_lib/commit/211bd821deb40a20034c1c20bcc1572a8ba47aef) Rubocop - Style/LeadingCommentSpace
36
+ - [d141499](https://github.com/appium/ruby_lib/commit/d14149962c3ec7788beda980fa849dc5ca4683e8) Rubocop - Style/CommentIndentation
37
+ - [45dbc04](https://github.com/appium/ruby_lib/commit/45dbc0414df6c59879760d92b14ac3aa999b3d6f) Rubocop - Style/CommentAnnotation
38
+ - [db0961f](https://github.com/appium/ruby_lib/commit/db0961f03351bb04cdc6f43421bd1099b1e9bbfa) Rubocop - Style/DeprecatedHashMethods
39
+ - [d710d6e](https://github.com/appium/ruby_lib/commit/d710d6e68c19abaf1f30ea7c645f83c3efc80af0) Rubocop - Style/EmptyLinesAroundBlockBody
40
+ - [e8875c1](https://github.com/appium/ruby_lib/commit/e8875c176710d49b1aa65db074cf4cc5f602df09) Rubocop - Style/SpaceInsideParens
41
+ - [b489f48](https://github.com/appium/ruby_lib/commit/b489f48adc96c4241ec53dfe73b94161d1d8dbd1) Rubocop - Lint/AmbiguousRegexpLiteral
42
+ - [807f258](https://github.com/appium/ruby_lib/commit/807f258766be2a892f7e1ddb8fb9eb89dd36c680) Rubocop - Style/TrailingComma
43
+ - [432144f](https://github.com/appium/ruby_lib/commit/432144fbc54ff91985b54c9100b2b45f238a0b90) Rubocop - Style/MethodDefParentheses
44
+ - [510a2a6](https://github.com/appium/ruby_lib/commit/510a2a6ebc8ad3bfd6e8ad3c2720b8ac2ea76885) Rubocop - Lint/DeprecatedClassMethods
45
+ - [47f1790](https://github.com/appium/ruby_lib/commit/47f179040dfaab80e043eaf11e5d2582b91c06c6) Rubocop - Style/BracesAroundHashParameters
46
+ - [1b946fb](https://github.com/appium/ruby_lib/commit/1b946fbc2de48d73623c0f20340d74e2b2ecec9b) Rubocop - Style/HashSyntax
47
+ - [86163f7](https://github.com/appium/ruby_lib/commit/86163f7ec0a247dd73885de14011821b6ebb2100) Rubocop - Style/TrailingBlankLines
48
+ - [a7aef30](https://github.com/appium/ruby_lib/commit/a7aef30492334e57aa9e1e421062840765b852b3) Rubocop rake task
49
+ - [1be017b](https://github.com/appium/ruby_lib/commit/1be017b14e1fedef9511a0341839b45d1d754c36) Merge pull request #324 from appium/rubocop
50
+ - [fb534a0](https://github.com/appium/ruby_lib/commit/fb534a0078a0ce2097990591455f35d3d843da9b) Fix more rubocop issues
51
+ - [893165d](https://github.com/appium/ruby_lib/commit/893165dc1a869a2d240c054e13d26438728efb98) Merge pull request #323 from JaniJegoroff/rubocop-ios-tests
52
+ - [b1d9d5f](https://github.com/appium/ruby_lib/commit/b1d9d5fbdc54cb19a4b334d8820dfa7122118a9d) Rubocop - Metrics/LineLength
53
+ - [39d8b4e](https://github.com/appium/ruby_lib/commit/39d8b4e8354cf8afbd96d8721582cdcab4b49b48) Rubocop - Lint/RescueException
54
+ - [1460120](https://github.com/appium/ruby_lib/commit/1460120819e09c5879882661de49e7042d0892a4) Rubocop - Lint/HandleExceptions
55
+ - [7f04d50](https://github.com/appium/ruby_lib/commit/7f04d50f7bea7a042115653d3f45d84d181b302c) Rubocop - Style/Semicolon
56
+ - [1615e6d](https://github.com/appium/ruby_lib/commit/1615e6df1bd0dd5e721a5226cffb781d5a7c08bf) Rubocop -Lint/ShadowingOuterLocalVariable
57
+ - [15e7c62](https://github.com/appium/ruby_lib/commit/15e7c62e068fdff2b935c53ad731351655027ce0) Rubocop - Style/SignalException
58
+ - [0ecda98](https://github.com/appium/ruby_lib/commit/0ecda987aa73799dd45c423b5a1b7d28f595ca17) Rubocop - Style/BlockComments
59
+ - [6dc9ee1](https://github.com/appium/ruby_lib/commit/6dc9ee16ab4d71f69da30f2e277dec787ebea8fd) Rubocop - Style/BlockComments
60
+ - [a9d9573](https://github.com/appium/ruby_lib/commit/a9d9573a0b79490d357cd44ae8ac51f77bbfb83e) Rubocop - Style/SpaceAroundEqualsInParameterDefault
61
+ - [66f4e14](https://github.com/appium/ruby_lib/commit/66f4e146a945db5a992c14805542ce3a4eb39ba0) Rubocop - Style/LeadingCommentSpace
62
+ - [6c8efda](https://github.com/appium/ruby_lib/commit/6c8efdaca119c2b16728aac34ec97ed5516a689a) Rubocop - Style/PredicateName
63
+ - [aef6dc9](https://github.com/appium/ruby_lib/commit/aef6dc9bfff3a7f17180ef5f3cd71013b8e3b256) Rubocop - Style/EmptyLinesAroundBlockBody
64
+ - [c964236](https://github.com/appium/ruby_lib/commit/c9642368577156ac339755df0677432c8b21e11e) Rubocop - Style/CommentIndentation
65
+ - [d9478af](https://github.com/appium/ruby_lib/commit/d9478afd066cd9add9993306ab6936cd450478b5) Rubocop - Style/SpaceAroundOperators
66
+ - [22a329e](https://github.com/appium/ruby_lib/commit/22a329e4412be870fae9ddfef23974382038f05b) Rubocop - Style/BarePercentLiterals
67
+ - [9b855c9](https://github.com/appium/ruby_lib/commit/9b855c904d578f7dcc317bee3d5db2f0d5108843) Rubocop - Style/SymbolProc
68
+ - [4720e82](https://github.com/appium/ruby_lib/commit/4720e829b878ca048fa363073ba1f1fbe6afe1ec) Rubocop - Lint/AmbiguousRegexpLiteral
69
+ - [7477497](https://github.com/appium/ruby_lib/commit/747749775a814bfc231037c1f41860e0df8a3b52) Rubocop - Style/StringLiterals
70
+ - [40c060b](https://github.com/appium/ruby_lib/commit/40c060b64b64115a6780832955c84781db0381d4) Rubocop - Style/SpaceAfterNot
71
+ - [2793129](https://github.com/appium/ruby_lib/commit/2793129df74057592069593db1eee80a4c5d673d) Rubocop - Style/CommentAnnotation
72
+ - [e7750e9](https://github.com/appium/ruby_lib/commit/e7750e9897febdbd27192548af7b156925b9273d) Rubocop - Style/RedundantSelf
73
+ - [403badd](https://github.com/appium/ruby_lib/commit/403badd2aaba11bd833210083a809fdd46da7e4e) Rubocop - Style/MethodDefParentheses
74
+ - [a62ed2a](https://github.com/appium/ruby_lib/commit/a62ed2abf937da9875f7f16e8ffa0f390a5a33d7) Fix Rubocop rake task pattern
75
+ - [1aaa1db](https://github.com/appium/ruby_lib/commit/1aaa1db2020a9dc37e3caa858c9290a814daf9e4) Rubocop rake task
76
+ - [d2e1857](https://github.com/appium/ruby_lib/commit/d2e185708e41807e11bc1e607b9baada8e711823) Rubocop - Style/TrailingWhitespace
77
+ - [602cb2a](https://github.com/appium/ruby_lib/commit/602cb2a18dfca30f4d0b6aeed84a5786175c1929) Rubocop - Style/TrailingBlankLines
78
+ - [19507f5](https://github.com/appium/ruby_lib/commit/19507f584515484eba7b98acfada55bcf9d81e0e) Merge pull request #322 from JaniJegoroff/fix-ios-tests
79
+ - [f0f4f84](https://github.com/appium/ruby_lib/commit/f0f4f847a244ed06b5bf53b5c9b02a3562b1cce2) Fixed iOS tests and updated documentation
80
+ - [305ce9c](https://github.com/appium/ruby_lib/commit/305ce9c956be4879b3bb70f56a4df71fb4380c62) Add .rubocop.yml
81
+ - [4b0383c](https://github.com/appium/ruby_lib/commit/4b0383c86c0fcfa98ab759b3f9d1b386ac33bb6b) Add travis. Update migration doc
82
+ - [3dc3d0c](https://github.com/appium/ruby_lib/commit/3dc3d0cec10cd256dc4adb89e6c53b85107678ef) Merge pull request #320 from JaniJegoroff/rubocop-warning-fixes
83
+ - [e539d7c](https://github.com/appium/ruby_lib/commit/e539d7c7596af1c56587a5056fef74d936ddc0ce) Renamed method installed? to app_installed?
84
+ - [4ba5ed9](https://github.com/appium/ruby_lib/commit/4ba5ed90f19c5d9cf71b461142bc1a5890d20574) Link to new Ruby docs
85
+ - [47276b5](https://github.com/appium/ruby_lib/commit/47276b5c11f47e0940d4407031f8bd7918c43094) Rubocop - Lint/UselessAssignment
86
+ - [7ec6396](https://github.com/appium/ruby_lib/commit/7ec6396a166793c467fc7b1539d34f7ac6b55105) Rubocop - Style/ClassAndModuleChildren
87
+ - [25cd420](https://github.com/appium/ruby_lib/commit/25cd420a602744ed30ff0fb99aef9c2821d46d8b) Rubocop - Style/PredicateName
88
+ - [52d4910](https://github.com/appium/ruby_lib/commit/52d4910133c828de8d807de30e88104d772ab28c) Rubocop - Style/MethodName
89
+ - [9df1000](https://github.com/appium/ruby_lib/commit/9df1000719f99aff44f1ac9623190531bf76b6c7) Rubocop - Style/CommentAnnotation
90
+ - [156d595](https://github.com/appium/ruby_lib/commit/156d59563c663d937a3405098bb6204854d91592) Rubocop - Style/BlockComments
91
+ - [dbda46d](https://github.com/appium/ruby_lib/commit/dbda46dcf7072fa5e8ad6304920f246245377f13) Rubocop - Style/LineEndConcatenation
92
+ - [8c34235](https://github.com/appium/ruby_lib/commit/8c342350ad939875893e8efda347de7e0b4fd03b) Rubocop - Metrics/BlockNesting
93
+ - [97e54a6](https://github.com/appium/ruby_lib/commit/97e54a6b73669ffe52d23665b8492d49b54e03fa) Rubocop - Style/VariableName
94
+ - [5222346](https://github.com/appium/ruby_lib/commit/52223461b25e61de5fb3f3e73fbf8a3aef356188) Rubocop - Style/AlignParameters
95
+ - [22f849e](https://github.com/appium/ruby_lib/commit/22f849e6318c9843ea9f03c3cb68b9e60b29c323) Rubocop - Metrics/MethodLength (custom method length)
96
+ - [58aae60](https://github.com/appium/ruby_lib/commit/58aae603561270163a792354da9113fb59242f67) Rubocop - Style/ConstantName (cop disabled)
97
+ - [2bc8006](https://github.com/appium/ruby_lib/commit/2bc8006d2e21ba9088f3e6ed14be9c57af905565) Rubocop - Style/IfUnlessModifier
98
+ - [3434ec7](https://github.com/appium/ruby_lib/commit/3434ec76648eb354e6ea77c382f800ea7c64d098) Rubocop - Style/AlignHash
99
+ - [548f632](https://github.com/appium/ruby_lib/commit/548f632ce73b7ded082982301369248004af4a55) Rubocop - Style/MultilineOperationIndentation
100
+ - [610c172](https://github.com/appium/ruby_lib/commit/610c172530d141a98c28880f9cc0973be6123183) Rubocop - Lint/AmbiguousRegexpLiteral
101
+ - [c68702d](https://github.com/appium/ruby_lib/commit/c68702d78459b94a656db7644eb03aae5616d26c) Rubocop - Style/SignalException
102
+ - [318372e](https://github.com/appium/ruby_lib/commit/318372e7a90d34f2ce00816b9f824d41adebb36c) Rubocop - Style/NilComparison
103
+ - [7994d0f](https://github.com/appium/ruby_lib/commit/7994d0fe82d1353d4f91bddea3cbbb583d0ef5d6) Rubocop - Style/PercentLiteralDelimiters
104
+ - [4a6902d](https://github.com/appium/ruby_lib/commit/4a6902dbbfe74eb83d290643138aab803c4abf5f) Rubocop - Style/GuardClause
105
+ - [07ebfbf](https://github.com/appium/ruby_lib/commit/07ebfbfac19aba459b5711ace9fe87cfe877c2db) Rubocop - Style/SingleSpaceBeforeFirstArg
106
+ - [ded2c9a](https://github.com/appium/ruby_lib/commit/ded2c9a400549942178146addcc3eb86251f768b) Rubocop - Style/CaseEquality
107
+ - [cd7c67e](https://github.com/appium/ruby_lib/commit/cd7c67e56293297c49becaff1eb213e782ab5819) Rubocop - Style/MultilineTernaryOperator
108
+ - [afddea3](https://github.com/appium/ruby_lib/commit/afddea3188c4ce877e6babdf32833e0485b5864b) Rubocop - Style/CaseIndentation
109
+ - [a843671](https://github.com/appium/ruby_lib/commit/a8436714e000887cbf2b22a77369686df32e937a) Rubocop - Style/EmptyLinesAroundClassBody
110
+ - [829b17d](https://github.com/appium/ruby_lib/commit/829b17dd7625c3ece5b79ae8c8c053fa6c70d337) Rubocop - Lint/ShadowingOuterLocalVariable
111
+ - [f5fd8cf](https://github.com/appium/ruby_lib/commit/f5fd8cf487194a53c9c72d738c1c69e669b97cfb) Rubocop - Style/RedundantSelf
112
+ - [4444168](https://github.com/appium/ruby_lib/commit/444416801d5bf7176c83e4bddd60969b375a4ec5) Rubocop - Style/LeadingCommentSpace
113
+ - [b18ae54](https://github.com/appium/ruby_lib/commit/b18ae540e02f3de50851fbf5128d53a31328fbb5) Rubocop - Lint/UnusedMethodArgument
114
+ - [4e24752](https://github.com/appium/ruby_lib/commit/4e2475266401ae72f7506ed5e14cf340d19e4898) Rubocop - Style/FirstParameterIndentation
115
+ - [5841e9d](https://github.com/appium/ruby_lib/commit/5841e9d6c6879f2aa3a0b13791e6a93086f8a96f) Rubocop - Style/DeprecatedHashMethods
116
+ - [0264c37](https://github.com/appium/ruby_lib/commit/0264c376d9f81ce1037a106314594e23438ca723) Rubocop - Lint/DeprecatedClassMethods
117
+ - [1923f64](https://github.com/appium/ruby_lib/commit/1923f6484b7920199604647b682ba935213bb813) Rubocop - Metrics/LineLength
118
+ - [0ab729a](https://github.com/appium/ruby_lib/commit/0ab729a16b6678ac993dafd93d05d8cf6ceb0703) Custom config file for Rubocop
119
+ - [6f18e6f](https://github.com/appium/ruby_lib/commit/6f18e6f24519bc77581da2fcd1a9d048b2850e15) Rubocop - Style/ColonMethodCall
120
+ - [7ba83e5](https://github.com/appium/ruby_lib/commit/7ba83e575ae255f561e919a5a850cab96a14b3bc) Rubocop - Style/IndentationWidth
121
+ - [20ebd0b](https://github.com/appium/ruby_lib/commit/20ebd0bc014e7f9e5ee3066b20562d602bf87751) Rubocop - Style/BracesAroundHashParameters
122
+ - [9b08ab7](https://github.com/appium/ruby_lib/commit/9b08ab7f43ca6b0bbfea42afcec61146348bcd19) Rubocop - Style/HashSyntax
123
+ - [7f28fb2](https://github.com/appium/ruby_lib/commit/7f28fb250abf7b6ea0279c9b19432f13ecfee90c) Rubocop - Style/MultilineOperationIndentation
124
+ - [978b648](https://github.com/appium/ruby_lib/commit/978b6485b6b959f0cd2b481d67d2972914e84abf) Rubocop - Style/CommentAnnotation
125
+ - [e939a7c](https://github.com/appium/ruby_lib/commit/e939a7cd8d720aaabc8c5a8f1e9bdfc82db1bdd2) Rubocop - Style/CommentIndentation
126
+ - [40b6e10](https://github.com/appium/ruby_lib/commit/40b6e10b1aacad0747c1ff26795c27064f77538a) Rubocop - Style/EmptyLinesAroundModuleBody
127
+ - [49ba5a9](https://github.com/appium/ruby_lib/commit/49ba5a9c9a7d5178f8f65b10a6f78670c4e9bada) Rubocop - Style/ClassCheck
128
+ - [5b40de9](https://github.com/appium/ruby_lib/commit/5b40de93f3b533304802e1dbf90ea9448a5f5ffa) Rubocop - Style/SelfAssignment
129
+ - [3e20158](https://github.com/appium/ruby_lib/commit/3e20158258d0ca85bb947cba81e4b1c70f6c44b9) Rubocop - Style/EmptyLines
130
+ - [91de46e](https://github.com/appium/ruby_lib/commit/91de46e1fde964a64ff580a629e5d87481603cb7) Revert "Rubocop - Style/RegexpLiteral"
131
+ - [d79ad18](https://github.com/appium/ruby_lib/commit/d79ad184c27a88766b38b27f5dd0ad0d361af592) Rubocop - Style/RegexpLiteral
132
+ - [9a38dfb](https://github.com/appium/ruby_lib/commit/9a38dfb2255e47c732cc5ae72a76d366f96be198) Rubocop - Lint/AmbiguousOperator
133
+ - [ab06fa4](https://github.com/appium/ruby_lib/commit/ab06fa4f47c8fde0108cafa3de15fb8eb5176170) Rubocop - Lint/UnusedBlockArgument
134
+ - [4ce71f8](https://github.com/appium/ruby_lib/commit/4ce71f82b554c193bd741c100c9fdd15f193773c) Rubocop - Style/SymbolProc
135
+ - [8389f70](https://github.com/appium/ruby_lib/commit/8389f70a91dc9ae540b94b89ed67f65dce9fefc5) Rubocop - Style/BarePercentLiterals
136
+ - [b818def](https://github.com/appium/ruby_lib/commit/b818defb371a4fe69b30254255556422ecc8e9c0) Rubocop - Style/MethodDefParentheses
137
+ - [f2ed949](https://github.com/appium/ruby_lib/commit/f2ed949ae8fa94ca54241a37856c5805afc8e983) Rubocop - Style/SpaceAroundOperators
138
+ - [4fe1f3c](https://github.com/appium/ruby_lib/commit/4fe1f3c6f852d17c4463bddff87005947cd3e5da) Rubocop - Style/AccessModifierIndentation
139
+ - [76a8888](https://github.com/appium/ruby_lib/commit/76a8888350af9f2e94777d48dd56440fc74ef5d7) Rubocop - Style/RedundantReturn
140
+ - [96c65d7](https://github.com/appium/ruby_lib/commit/96c65d7ecb12d426bb8b004abe27d487cf7144ba) Rubocop - Style/TrailingComma
141
+ - [da9c079](https://github.com/appium/ruby_lib/commit/da9c079b81d9078d6f1d9381231f4b2ca27df4db) Rubocop - Style/SpaceInsideBlockBraces
142
+ - [3fc783e](https://github.com/appium/ruby_lib/commit/3fc783e98800c1bad9bda20ce956e9e1729e6caf) Rubocop - Style/TrailingWhitespace
143
+ - [55b3c90](https://github.com/appium/ruby_lib/commit/55b3c9022dcf21141b6efd4d0f6afc440910c288) Rubocop - Style/SpaceAroundEqualsInParameterDefault
144
+ - [677d7e2](https://github.com/appium/ruby_lib/commit/677d7e21eff15d72c02386c97b4cc454442d0f51) Rubocop - Style/TrailingBlankLines
145
+ - [0084c57](https://github.com/appium/ruby_lib/commit/0084c57cdbde899edd4d79dfbead2a6b107eaf86) Rubocop rake task
146
+ - [0059d23](https://github.com/appium/ruby_lib/commit/0059d2337f8d8f2948028c73ecd8a1c681c6636c) Set default wait to 0
147
+ - [b5bb400](https://github.com/appium/ruby_lib/commit/b5bb4003d78988ec33546cf02d274c86bfa83dbb) Validate resourceId before searching
148
+ - [c41ee41](https://github.com/appium/ruby_lib/commit/c41ee416214571e304465d135ff18be8c5bcf86b) Add issuestats badges
149
+ - [2bb8694](https://github.com/appium/ruby_lib/commit/2bb869486e31145124c64cfd555bac9f57e576b7) Raise command error on nil mainWindow for iOS
150
+ - [f2122de](https://github.com/appium/ruby_lib/commit/f2122de35a9bed7756207d679f9a83c68dcc4642) Don't crash when mainWindow is UIAElementNil
151
+
152
+
1
153
  #### v6.0.0 2015-01-26
2
154
 
3
155
  - [ea11190](https://github.com/appium/ruby_lib/commit/ea11190b9ab36e34226d988f85fe612af6f769de) Release 6.0.0
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: appium_lib
3
3
  version: !ruby/object:Gem::Version
4
- version: 6.0.0
4
+ version: 7.0.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - code@bootstraponline.com
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-01-26 00:00:00.000000000 Z
11
+ date: 2015-05-08 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: selenium-webdriver
@@ -16,20 +16,14 @@ dependencies:
16
16
  requirements:
17
17
  - - "~>"
18
18
  - !ruby/object:Gem::Version
19
- version: '2.41'
20
- - - ">="
21
- - !ruby/object:Gem::Version
22
- version: 2.41.0
19
+ version: '2.45'
23
20
  type: :runtime
24
21
  prerelease: false
25
22
  version_requirements: !ruby/object:Gem::Requirement
26
23
  requirements:
27
24
  - - "~>"
28
25
  - !ruby/object:Gem::Version
29
- version: '2.41'
30
- - - ">="
31
- - !ruby/object:Gem::Version
32
- version: 2.41.0
26
+ version: '2.45'
33
27
  - !ruby/object:Gem::Dependency
34
28
  name: awesome_print
35
29
  requirement: !ruby/object:Gem::Requirement
@@ -37,9 +31,6 @@ dependencies:
37
31
  - - "~>"
38
32
  - !ruby/object:Gem::Version
39
33
  version: '1.6'
40
- - - ">="
41
- - !ruby/object:Gem::Version
42
- version: 1.6.0
43
34
  type: :runtime
44
35
  prerelease: false
45
36
  version_requirements: !ruby/object:Gem::Requirement
@@ -47,9 +38,6 @@ dependencies:
47
38
  - - "~>"
48
39
  - !ruby/object:Gem::Version
49
40
  version: '1.6'
50
- - - ">="
51
- - !ruby/object:Gem::Version
52
- version: 1.6.0
53
41
  - !ruby/object:Gem::Dependency
54
42
  name: json
55
43
  requirement: !ruby/object:Gem::Requirement
@@ -57,9 +45,6 @@ dependencies:
57
45
  - - "~>"
58
46
  - !ruby/object:Gem::Version
59
47
  version: '1.8'
60
- - - ">="
61
- - !ruby/object:Gem::Version
62
- version: 1.8.1
63
48
  type: :runtime
64
49
  prerelease: false
65
50
  version_requirements: !ruby/object:Gem::Requirement
@@ -67,9 +52,6 @@ dependencies:
67
52
  - - "~>"
68
53
  - !ruby/object:Gem::Version
69
54
  version: '1.8'
70
- - - ">="
71
- - !ruby/object:Gem::Version
72
- version: 1.8.1
73
55
  - !ruby/object:Gem::Dependency
74
56
  name: toml
75
57
  requirement: !ruby/object:Gem::Requirement
@@ -77,9 +59,6 @@ dependencies:
77
59
  - - "~>"
78
60
  - !ruby/object:Gem::Version
79
61
  version: '0.0'
80
- - - ">="
81
- - !ruby/object:Gem::Version
82
- version: 0.0.4
83
62
  type: :runtime
84
63
  prerelease: false
85
64
  version_requirements: !ruby/object:Gem::Requirement
@@ -87,23 +66,20 @@ dependencies:
87
66
  - - "~>"
88
67
  - !ruby/object:Gem::Version
89
68
  version: '0.0'
90
- - - ">="
91
- - !ruby/object:Gem::Version
92
- version: 0.0.4
93
69
  - !ruby/object:Gem::Dependency
94
70
  name: nokogiri
95
71
  requirement: !ruby/object:Gem::Requirement
96
72
  requirements:
97
73
  - - "~>"
98
74
  - !ruby/object:Gem::Version
99
- version: 1.6.3.1
75
+ version: 1.6.6
100
76
  type: :runtime
101
77
  prerelease: false
102
78
  version_requirements: !ruby/object:Gem::Requirement
103
79
  requirements:
104
80
  - - "~>"
105
81
  - !ruby/object:Gem::Version
106
- version: 1.6.3.1
82
+ version: 1.6.6
107
83
  - !ruby/object:Gem::Dependency
108
84
  name: posix-spawn
109
85
  requirement: !ruby/object:Gem::Requirement
@@ -111,9 +87,6 @@ dependencies:
111
87
  - - "~>"
112
88
  - !ruby/object:Gem::Version
113
89
  version: '0.3'
114
- - - ">="
115
- - !ruby/object:Gem::Version
116
- version: 0.3.8
117
90
  type: :development
118
91
  prerelease: false
119
92
  version_requirements: !ruby/object:Gem::Requirement
@@ -121,23 +94,20 @@ dependencies:
121
94
  - - "~>"
122
95
  - !ruby/object:Gem::Version
123
96
  version: '0.3'
124
- - - ">="
125
- - !ruby/object:Gem::Version
126
- version: 0.3.8
127
97
  - !ruby/object:Gem::Dependency
128
98
  name: hashdiff
129
99
  requirement: !ruby/object:Gem::Requirement
130
100
  requirements:
131
101
  - - "~>"
132
102
  - !ruby/object:Gem::Version
133
- version: 0.2.0
103
+ version: 0.2.2
134
104
  type: :development
135
105
  prerelease: false
136
106
  version_requirements: !ruby/object:Gem::Requirement
137
107
  requirements:
138
108
  - - "~>"
139
109
  - !ruby/object:Gem::Version
140
- version: 0.2.0
110
+ version: 0.2.2
141
111
  - !ruby/object:Gem::Dependency
142
112
  name: spec
143
113
  requirement: !ruby/object:Gem::Requirement
@@ -158,34 +128,28 @@ dependencies:
158
128
  requirements:
159
129
  - - "~>"
160
130
  - !ruby/object:Gem::Version
161
- version: 0.5.0
131
+ version: 0.6.7
162
132
  type: :development
163
133
  prerelease: false
164
134
  version_requirements: !ruby/object:Gem::Requirement
165
135
  requirements:
166
136
  - - "~>"
167
137
  - !ruby/object:Gem::Version
168
- version: 0.5.0
138
+ version: 0.6.7
169
139
  - !ruby/object:Gem::Dependency
170
140
  name: rake
171
141
  requirement: !ruby/object:Gem::Requirement
172
142
  requirements:
173
143
  - - "~>"
174
144
  - !ruby/object:Gem::Version
175
- version: '10.2'
176
- - - ">="
177
- - !ruby/object:Gem::Version
178
- version: 10.2.2
145
+ version: '10.4'
179
146
  type: :development
180
147
  prerelease: false
181
148
  version_requirements: !ruby/object:Gem::Requirement
182
149
  requirements:
183
150
  - - "~>"
184
151
  - !ruby/object:Gem::Version
185
- version: '10.2'
186
- - - ">="
187
- - !ruby/object:Gem::Version
188
- version: 10.2.2
152
+ version: '10.4'
189
153
  - !ruby/object:Gem::Dependency
190
154
  name: yard
191
155
  requirement: !ruby/object:Gem::Requirement
@@ -193,9 +157,6 @@ dependencies:
193
157
  - - "~>"
194
158
  - !ruby/object:Gem::Version
195
159
  version: '0.8'
196
- - - ">="
197
- - !ruby/object:Gem::Version
198
- version: 0.8.7.3
199
160
  type: :development
200
161
  prerelease: false
201
162
  version_requirements: !ruby/object:Gem::Requirement
@@ -203,9 +164,20 @@ dependencies:
203
164
  - - "~>"
204
165
  - !ruby/object:Gem::Version
205
166
  version: '0.8'
206
- - - ">="
167
+ - !ruby/object:Gem::Dependency
168
+ name: rubocop
169
+ requirement: !ruby/object:Gem::Requirement
170
+ requirements:
171
+ - - "~>"
172
+ - !ruby/object:Gem::Version
173
+ version: 0.30.1
174
+ type: :development
175
+ prerelease: false
176
+ version_requirements: !ruby/object:Gem::Requirement
177
+ requirements:
178
+ - - "~>"
207
179
  - !ruby/object:Gem::Version
208
- version: 0.8.7.3
180
+ version: 0.30.1
209
181
  description: Ruby library for Appium.
210
182
  email:
211
183
  - code@bootstraponline.com
@@ -214,6 +186,8 @@ extensions: []
214
186
  extra_rdoc_files: []
215
187
  files:
216
188
  - ".gitignore"
189
+ - ".rubocop.yml"
190
+ - ".travis.yml"
217
191
  - Gemfile
218
192
  - LICENSE-2.0.txt
219
193
  - Rakefile
@@ -375,7 +349,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
375
349
  version: '0'
376
350
  requirements: []
377
351
  rubyforge_project:
378
- rubygems_version: 2.4.3
352
+ rubygems_version: 2.4.6
379
353
  signing_key:
380
354
  specification_version: 4
381
355
  summary: Ruby library for Appium