yui_rest_client 0.5.2 → 0.5.3

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
  SHA256:
3
- metadata.gz: 054eac696bc03538afc5b08fa12c156e6706d478080139f2aae45a84b08848c8
4
- data.tar.gz: e5ff3ffce8cd7f73f755e64da9805195d162870d73beb83bbacba3a019beb62d
3
+ metadata.gz: 76771a74c44b2a8cb909809120062822d37d88fbe451ac6e0325b1281f1733b1
4
+ data.tar.gz: 277d068f67155a3b9070a458b419bb54cebad0c2b5e1de9b58e425170f7c29f6
5
5
  SHA512:
6
- metadata.gz: a850ce076c6250c3d68713bf9e9a629834598cc8ff7b9b1cb74949d9201ef6f75809f16cccd34232c7bfb3d5b7f3fee91e8dd91986d76edd0738a5feae7ca92b
7
- data.tar.gz: 42cfa2bb2347ac72c952a6718de07f87b0e3f00481169aead945b464454a1eede7002eb1ee2806f9ba63650529b0ef1ec2c176d1e8878a4577ae7ae6a7edc78e
6
+ metadata.gz: c8f9c51fe506d8e09310dcda6dc3939bde70697187e13fe8ce754ddc4324ca93dfc69f8c6c4f24255faca558460e902028795240dd7b7f61bdae3a669bc936c6
7
+ data.tar.gz: e956fc1c76d0f4f675e0c91b93e5eed3199411971f6313580a2288a809857e88194a6ff62c440b9ad0dc2adbc440e3165683166f1dd5559f8b7fff9dc7f79d63
@@ -1,6 +1,6 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module YuiRestClient
4
- VERSION = '0.5.2'
4
+ VERSION = '0.5.3'
5
5
  API_VERSION = 'v1'
6
6
  end
@@ -4,13 +4,14 @@ module YuiRestClient
4
4
  module Widgets
5
5
  # Class representing a menucollection in UI. It can be YMenuButton, YMenuBar.
6
6
  class Menucollection < Widgets::Base
7
- # Sends action to click on one item of a menu (menu button or menu bar) in UI.
8
- # @param item [String] value to select from menu.
9
- # @example Click button with label 'test_button' for menucollection with id 'test_id'.
7
+ # Sends action to click one item of a menu (menu button or menu bar) in UI.
8
+ # @param path [String] value to select from menu.
9
+ # @example Click menu item with label 'sub_menu_item' for menucollection
10
+ # with id 'test_id'.
10
11
  # @example
11
- # app.menucollection(id: 'test_id').click('test_item')
12
- def click(item)
13
- action(action: Actions::PRESS, value: item)
12
+ # app.menucollection(id: 'test_id').click('menu_item|sub_menu_item')
13
+ def click(path)
14
+ action(action: Actions::SELECT, value: path)
14
15
  end
15
16
 
16
17
  # Returns the list of items available to select from widget.
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: yui_rest_client
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.5.2
4
+ version: 0.5.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Joaquin Rivera
@@ -12,7 +12,7 @@ authors:
12
12
  autorequire:
13
13
  bindir: exe
14
14
  cert_chain: []
15
- date: 2020-11-05 00:00:00.000000000 Z
15
+ date: 2020-11-09 00:00:00.000000000 Z
16
16
  dependencies:
17
17
  - !ruby/object:Gem::Dependency
18
18
  name: bundler