appium_lib_core 3.0.4 → 3.1.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.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 19e9c6b07471ef223f0806c75237f8ccb259ad05793919dda87c379ba0fa24c1
4
- data.tar.gz: 3f44d4c8eb67338bd402afa3c575a2147c32e611a0d7e9531f0dd57a70dfefbb
3
+ metadata.gz: 4b99e23248eb18bab61065888d154bdd8f919fb7119c303f56aa1d7e381cea2f
4
+ data.tar.gz: 151e93c374aeead4c6ac948dc0247426d3153ebcdb368066e063726f4c4b77f6
5
5
  SHA512:
6
- metadata.gz: f4872bb129fd5f22a2163d223ddfd83ba35f735d8f63ae403bc68363599cffe3afd1c66c43ef23eccbded9a76d85cbc47892f96d7866529cfa53e0c7fc8f47fc
7
- data.tar.gz: 3dbadb0c532d376183ed6604d38e715f36925cc04ee9569737144f6a8b66fd202a04407f2a070cdad22c175854241ccca5e41f4fbc9f88a39cd859115504a867
6
+ metadata.gz: 7d0a57d838dbccd400e06a71678e97f4ccad98b3ad49d1c139022f405da1c82e5f75e4da64be6e665337f48506d6bca04b4476d6a336899c13c9c9202510fda0
7
+ data.tar.gz: 0b5a97e95801d984a58e110afc5d2b736182bd878b5779472c039712233bb77c44b2566780678060df999d1cd382461212045a7fbd2c63b9e25c66c3713d16da
@@ -11,9 +11,9 @@ Metrics/ClassLength:
11
11
  Metrics/AbcSize:
12
12
  Enabled: false
13
13
  Metrics/CyclomaticComplexity:
14
- Max: 10
14
+ Max: 12
15
15
  Metrics/PerceivedComplexity:
16
- Max: 10
16
+ Max: 12
17
17
  Metrics/ParameterLists:
18
18
  Max: 6
19
19
  Lint/NestedMethodDefinition:
@@ -5,10 +5,23 @@ Read `release_notes.md` for commit level details.
5
5
  ## [Unreleased]
6
6
 
7
7
  ### Enhancements
8
- - Add `pixelFormat` argument in screen record for iOS
8
+ - `tvOS` platform support
9
+
10
+ ### Bug fixes
11
+
12
+ ### Deprecations
13
+
14
+ ## [3.1.0] - 2019-03-31
15
+
16
+ ### Enhancements
17
+ - `tvOS` platform support
18
+ - `platformName: :tvos, automationName: :xcuitest` can work for iOS tvOS
19
+ - It requires Appium 1.13
9
20
 
10
21
  ### Bug fixes
11
22
 
23
+ ### Deprecations
24
+
12
25
  ## [3.0.4] - 2019-03-24
13
26
 
14
27
  ### Enhancements
@@ -480,7 +480,7 @@ module Appium
480
480
  else # default and UiAutomator
481
481
  ::Appium::Core::Android::Uiautomator1::Bridge.for(self)
482
482
  end
483
- when :ios
483
+ when :ios, :tvos
484
484
  case automation_name
485
485
  when :xcuitest
486
486
  ::Appium::Core::Ios::Xcuitest::Bridge.for(self)
@@ -584,14 +584,14 @@ module Appium
584
584
  @device = @caps[:platformName]
585
585
  return @device unless @device
586
586
 
587
- @device = @device.is_a?(Symbol) ? @device : @device.downcase.strip.intern
587
+ @device = @device.is_a?(Symbol) ? @device.downcase : @device.downcase.strip.intern
588
588
  end
589
589
 
590
590
  # @private
591
591
  def set_automation_name
592
592
  @automation_name = @caps[:automationName] if @caps[:automationName]
593
593
  @automation_name = if @automation_name
594
- @automation_name.is_a?(Symbol) ? @automation_name : @automation_name.downcase.strip.intern
594
+ @automation_name.is_a?(Symbol) ? @automation_name.downcase : @automation_name.downcase.strip.intern
595
595
  end
596
596
  end
597
597
 
@@ -14,7 +14,7 @@
14
14
 
15
15
  module Appium
16
16
  module Core
17
- VERSION = '3.0.4' unless defined? ::Appium::Core::VERSION
18
- DATE = '2019-03-24' unless defined? ::Appium::Core::DATE
17
+ VERSION = '3.1.0' unless defined? ::Appium::Core::VERSION
18
+ DATE = '2019-03-31' unless defined? ::Appium::Core::DATE
19
19
  end
20
20
  end
@@ -1,3 +1,11 @@
1
+ #### v3.1.0 2019-03-31
2
+
3
+ - [b1944d8](https://github.com/appium/ruby_lib_core/commit/b1944d8c219fb3744cd337770baa7dd5c20dfd36) Release 3.1.0
4
+ - [289940b](https://github.com/appium/ruby_lib_core/commit/289940bf1b2da0b9cc6e34874fb950379515b2c5) Add tvos (#204)
5
+ - [a947a0a](https://github.com/appium/ruby_lib_core/commit/a947a0a7f4c26931a3cbe8e21084f7008ac63fd0) fix .nil? check
6
+ - [8a35c6e](https://github.com/appium/ruby_lib_core/commit/8a35c6ea99c78e41070a23579a1aae17b67399aa) fix test helper
7
+
8
+
1
9
  #### v3.0.4 2019-03-24
2
10
 
3
11
  - [c430740](https://github.com/appium/ruby_lib_core/commit/c43074089a9ecf18bdd3e5022530117fefcae8ab) Release 3.0.4
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: appium_lib_core
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.0.4
4
+ version: 3.1.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Kazuaki MATSUO
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2019-03-23 00:00:00.000000000 Z
11
+ date: 2019-03-31 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: selenium-webdriver