Skip to content

Commit da4ed34

Browse files
authored
Require ruby 22 (#416)
* require ruby 2.2+ * replace ruby 1.9.3 to 2.2
1 parent 858863a commit da4ed34

File tree

4 files changed

+6
-6
lines changed

4 files changed

+6
-6
lines changed

android_tests/readme.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
ruby_lib_android
22
=====================
33

4-
ruby_lib's Android tests. Requires `Ruby 1.9.3` or better.
4+
ruby_lib's Android tests. Requires `Ruby 2.2+` or better.
55

66
- `rake install` Install gems required to run the tests.
77
- `rake android` Run all tests.

appium_lib.gemspec

+2-3
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,12 @@
11
require_relative 'lib/appium_lib/common/version'
22

33
Gem::Specification.new do |s|
4-
# 1.8.x is not supported
5-
s.required_ruby_version = '>= 1.9.3'
4+
s.required_ruby_version = '>= 2.2'
65

76
s.name = 'appium_lib'
87
s.version = Appium::VERSION
98
s.date = Appium::DATE
10-
s.license = 'http://www.apache.org/licenses/LICENSE-2.0.txt'
9+
s.license = 'Apache'
1110
s.description = s.summary = 'Ruby library for Appium'
1211
s.description += '.' # avoid identical warning
1312
s.authors = s.email = ['code@bootstraponline.com']

ios_tests/readme.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
ruby_lib_ios
22
=====================
33

4-
ruby_lib's iOS tests. Requires `Ruby 1.9.3` or better.
4+
ruby_lib's iOS tests. Requires `Ruby 2.2+` or better.
55

66
- `rake install` Install gems required to run the tests.
77
- `rake ios` Run all tests.

readme.md

+2-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,8 @@
1616

1717
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.
1818

19-
Make sure you're using Appium 1.0.0 or newer and Ruby 1.9.3+ with upgraded rubygems and bundler.
19+
Make sure you're using Appium 1.0.0 or newer and Ruby 2.2+ with upgraded rubygems and bundler.
20+
(XCUITest for iOS requires over Appium 1.6.0)
2021

2122
#### Start appium server
2223

0 commit comments

Comments
 (0)