glib-web 4.37.0 → 4.37.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.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 4e3330ddf2fc14630ca3e1a47cc4500bb6ef0e6dd3cb9617a67d49034ccb3b95
4
- data.tar.gz: bc130cbf2e69f387893fd3c84f6d5e431a9fc16e15ea17b7601281264c277727
3
+ metadata.gz: f94466866c1834af0529b421dea187d7689f374598f99fb7dfb3a45a94426e0a
4
+ data.tar.gz: 2ca3a25176d65787c3352fbdd96706cb0ee93375361086683472a540adb53029
5
5
  SHA512:
6
- metadata.gz: 7b282c99b9141afaaf6662296f859451b9eb021276c294adfd8d402214bb42b91c4cd63da3a0713a4ec6a9c3dc6300c29758016a5e9db79ba4422671ea7da7da
7
- data.tar.gz: 6432b2181a9f351ebd83d8adde7052b20f3b7b0a841fd98331532e1551efe475aacaf41cfd93de655badb1477f72251694b052d0c6c08089fbd9dcc17a098d34
6
+ metadata.gz: af2f812ec22ed8866580edfbe066e309febb3844733e84d6d6da2b7441746a838df219e3a87fba54f1bd93baa3c255b34e7bb2cd54b6de5336ac985fd7f15a77
7
+ data.tar.gz: dc83a0f938525f39f2b7ec67a0f3990bcd3030540bdad8ab504aae044c2f31264619bc12cb177fe581146711375a23443829dc97550d31da212c0385e3d8b26d
@@ -10,11 +10,13 @@ class Glib::JsonUi::ActionBuilder
10
10
  class Find < Action
11
11
  string :targetId
12
12
  action :onFind
13
+ action :onFailFind
13
14
  end
14
15
 
15
16
  class FindClosest < Action
16
17
  string :view
17
18
  action :onFind
19
+ action :onFailFind
18
20
  end
19
21
 
20
22
  # Experimental
@@ -92,7 +92,7 @@ page.scroll padding: glib_json_padding_body, childViews: ->(scroll) do
92
92
  scroll.button \
93
93
  text: 'Button with popover from server',
94
94
  onClick: ->(action) do
95
- key = SecureRandom.hex(3)
95
+ key = Rails.env.test? ? 'test_key' : SecureRandom.hex(3)
96
96
  action.popovers_open \
97
97
  url: json_ui_garage_url(path: 'views/popovers_open', key: key),
98
98
  styleClass: 'popover-container',
metadata CHANGED
@@ -1,11 +1,11 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: glib-web
3
3
  version: !ruby/object:Gem::Version
4
- version: 4.37.0
4
+ version: 4.37.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - ''
8
- autorequire:
8
+ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
11
  date: 2019-10-04 00:00:00.000000000 Z
@@ -136,7 +136,7 @@ dependencies:
136
136
  - - ">="
137
137
  - !ruby/object:Gem::Version
138
138
  version: '0'
139
- description:
139
+ description:
140
140
  email: ''
141
141
  executables: []
142
142
  extensions: []
@@ -450,10 +450,10 @@ files:
450
450
  - lib/glib/value.rb
451
451
  - lib/glib/version.rb
452
452
  - lib/tasks/db.rake
453
- homepage:
453
+ homepage:
454
454
  licenses: []
455
455
  metadata: {}
456
- post_install_message:
456
+ post_install_message:
457
457
  rdoc_options: []
458
458
  require_paths:
459
459
  - lib
@@ -469,7 +469,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
469
469
  version: '0'
470
470
  requirements: []
471
471
  rubygems_version: 3.4.6
472
- signing_key:
472
+ signing_key:
473
473
  specification_version: 4
474
474
  summary: ''
475
475
  test_files: []