appium_lib_core 1.2.0 → 1.2.1

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: f293c0d7c354e724d630c6bf05615648826eae78
4
- data.tar.gz: 1b46da98cf8d8865e81774035bd0a186f25dcf4a
3
+ metadata.gz: 623f1ed4495ea5c526111c804477061fc0fe5242
4
+ data.tar.gz: b9a869cfcd42bb21ed8742a4569e886472b5f282
5
5
  SHA512:
6
- metadata.gz: 58c4837373409a8f1d64551b737e75cfac7d552774dee51bf46fc64fd900c8e3eaa6f30137e201c73a6ef8f1bc2c8814d0b41068ddc7041518083941c360fa21
7
- data.tar.gz: e76ae72453b6e21fd96dabb9c2525652be2319883dd326a56143ef687597670cc60efcd387b34345c00bb964d32420d1c5a12a7437237dc20d0bc98a73871f03
6
+ metadata.gz: b0a4efa129c8c52c12a4ed75a67fc77cff8bfd3803de0c9040091ef174bbe720157082b0a96216a41a09884353cbdeab05fa42365f8dd9d4a8d7c8fb8773ffdd
7
+ data.tar.gz: cf87d6eb43d36a71980ddb61c61d60d5fc8b67db49dcebd06d1a46d53716596d03f9b5755734bf1c62b5df341958df1d75076dc04095c3a06069ffb2a6c3df18
@@ -8,6 +8,14 @@ All notable changes to this project will be documented in this file.
8
8
 
9
9
  ### Deprecations
10
10
 
11
+ ## [1.2.1] - 2017-12-23
12
+ ### Enhancements
13
+ - override default duration to make some action fast [#36](https://github.com/appium/ruby_lib_core/pull/36)
14
+
15
+ ### Bug fixes
16
+
17
+ ### Deprecations
18
+
11
19
  ## [1.2.0] - 2017-12-23
12
20
  ### Enhancements
13
21
  - Append `appium:` prefix for capabilities automatically due to W3C format.
@@ -2,10 +2,27 @@ module Appium
2
2
  module Core
3
3
  class Base
4
4
  class CoreBridgeW3C < ::Selenium::WebDriver::Remote::W3C::Bridge
5
+ # Used for default duration of each touch actions
6
+ # Override from 250 milliseconds to 50 milliseconds
7
+ ::Selenium::WebDriver::PointerActions::DEFAULT_MOVE_DURATION = 0.05
8
+
5
9
  def commands(command)
6
10
  ::Appium::Core::Commands::COMMANDS_EXTEND_W3C[command]
7
11
  end
8
12
 
13
+ # Perform touch actions for W3C module. Generate `touch` pointer action here and users can use this via `driver.action`
14
+ # - https://seleniumhq.github.io/selenium/docs/api/rb/Selenium/WebDriver/W3CActionBuilder.html
15
+ # - https://seleniumhq.github.io/selenium/docs/api/rb/Selenium/WebDriver/PointerActions.html
16
+ # - https://seleniumhq.github.io/selenium/docs/api/rb/Selenium/WebDriver/KeyActions.html
17
+ #
18
+ # @private
19
+ # override
20
+ #
21
+ # @example
22
+ #
23
+ # element = @driver.find_element(:id, "some id")
24
+ # @driver.action.click(element).perform # The `click` is a part of `PointerActions`
25
+ #
9
26
  def action(async = false)
10
27
  ::Selenium::WebDriver::W3CActionBuilder.new self,
11
28
  ::Selenium::WebDriver::Interactions.pointer(:touch, name: 'touch'),
@@ -1,6 +1,6 @@
1
1
  module Appium
2
2
  module Core
3
- VERSION = '1.2.0'.freeze unless defined? ::Appium::Core::VERSION
3
+ VERSION = '1.2.1'.freeze unless defined? ::Appium::Core::VERSION
4
4
  DATE = '2017-12-23'.freeze unless defined? ::Appium::Core::DATE
5
5
  end
6
6
  end
@@ -1,3 +1,10 @@
1
+ #### v1.2.1 2017-12-23
2
+
3
+ - [93e094e](https://github.com/appium/ruby_lib_core/commit/93e094eeebf200cae7c4b097d674367d3457d542) Release 1.2.1
4
+ - [ab5d7c5](https://github.com/appium/ruby_lib_core/commit/ab5d7c5ed31f318a9395e5aeafe1d0d655d3cff4) override default duration to make some action fast (#36)
5
+ - [ec2ec43](https://github.com/appium/ruby_lib_core/commit/ec2ec43fa1092321c07f14ced79cc7a5b37db8f8) add documentation
6
+
7
+
1
8
  #### v1.2.0 2017-12-23
2
9
 
3
10
  - [28f937b](https://github.com/appium/ruby_lib_core/commit/28f937bbaf15a7d99b8870b5b1ec1f063414ea3b) Release 1.2.0
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: appium_lib_core
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.2.0
4
+ version: 1.2.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Kazuaki MATSUO