appium_lib 0.22.0 → 0.22.1

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.
@@ -1,6 +1,6 @@
1
1
  # encoding: utf-8
2
2
  module Appium
3
3
  # Version and Date are defined on the 'Appium' module, not 'Appium::Common'
4
- VERSION = '0.22.0' unless defined? ::Appium::VERSION
5
- DATE = '2014-03-19' unless defined? ::Appium::DATE
4
+ VERSION = '0.22.1' unless defined? ::Appium::VERSION
5
+ DATE = '2014-03-20' unless defined? ::Appium::DATE
6
6
  end
@@ -304,13 +304,6 @@ module Appium
304
304
  @device = opts.fetch :device, ENV['DEVICE']
305
305
  raise 'Device must be set' unless @device
306
306
 
307
- @device = 'Android' if @device.to_s == 'android'
308
- @device = 'Selendroid' if @device.to_s == 'selendroid'
309
- @device = 'iPhone Simulator' if @device.to_s == 'ios'
310
-
311
- raise 'Device must be set iPhone Simulator, iPad Simulator, Android' unless @device &&
312
- ['iPhone Simulator', 'iPad Simulator', 'Android', 'Selendroid'].include?(@device)
313
-
314
307
  @version = opts[:version]
315
308
  if @device == 'Android' || @device == 'Selendroid'
316
309
  @version = '4.3' unless @version # default android to 4.3
@@ -1,3 +1,10 @@
1
+ #### v0.22.1 2014-03-20
2
+
3
+ - [82c40cd](https://github.com/appium/ruby_lib/commit/82c40cdd97eb7278d77b2b668cae554e55f1836d) Release 0.22.1
4
+ - [c436daa](https://github.com/appium/ruby_lib/commit/c436daa916dfb7b3a824f498c98f4718d3aacca1) Disable device white list
5
+ - [4cca152](https://github.com/appium/ruby_lib/commit/4cca152aa2519f5b3ae1292886c286f87d9fbbe8) Fix release rake task
6
+
7
+
1
8
  #### v0.22.0 2014-03-19
2
9
 
3
10
  - [4d88ecd](https://github.com/appium/ruby_lib/commit/4d88ecd87be7a2319dd0b7e437e230300269175f) Release 0.22.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: 0.22.0
4
+ version: 0.22.1
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: 2014-03-19 00:00:00.000000000 Z
11
+ date: 2014-03-20 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: selenium-webdriver