glib-web 6.8.0 → 6.8.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: 0f8366db6a89ce988b77fb0392bc24078686aabf55873f2d8fcd38a5f39950bf
4
- data.tar.gz: b27ab6afcea23ef3ea93f9b1c8289cb0a905ff563fb768d537cb940afae50a2a
3
+ metadata.gz: 4a632657e59d940a2691d9793e2f9859c423b9ea344fa5b1f67f47d66c4a28c8
4
+ data.tar.gz: 44f187b5d84c31e7727b838dfddfe0ba654171d0375973042313c4f53b310f85
5
5
  SHA512:
6
- metadata.gz: 13c54527c80a6b95961dddec9e419c50c36c6d628a2c47577216e144583b44879caa7308c1e5b924a63d29aad3f935e83de86dc72095c333cf5660b8e8f53958
7
- data.tar.gz: 4b4037b3e40cd01c00086219414a846e10a978510ebd3084db7b614b5480b83577c326bea105a60f0871ecf7962ad3392cccb2d826fed58034eba32758fd6668
6
+ metadata.gz: aea444e0d5996db47728356004ad47fea27fd945e446edafa01de8332f4d92ed618c4b9cf29cd01212854d88b13d71ee0aa21958304e39a28d7bb2ef49616a2a
7
+ data.tar.gz: 2e89f1c25abc1760d65beb70eb89d1b1a5562d4b286922e6c5b9fd97817b008f16d2e5f8c6658cefad32d1b0c9e430733102ee87024f0199dace2f5561cc6a5e
@@ -15,7 +15,7 @@ module Glib
15
15
 
16
16
  def add_singleton_element(type, name, *args)
17
17
  name_components = name.to_s.split('_')
18
- json.set! type, Name.join(name_components) if type
18
+ json.set! type, Glib::JsonUi::Name.join(name_components) if type
19
19
  args = [yield] if block_given?
20
20
 
21
21
  # TODO: consider caching these instances
@@ -111,7 +111,11 @@ module Glib
111
111
 
112
112
  @depth += 1
113
113
  case action
114
- when 'initiate_navigation'
114
+ # Canonical slash spelling: the old 'initiate_navigation' pseudo-action
115
+ # read as separator form under Name.normalize (its underscore is part
116
+ # of the word, not a separator), so the normalized name missed this
117
+ # branch and the crawl logged the entry without ever executing it.
118
+ when 'initiate/navigation'
115
119
  # @read_only_actions.add([action, params['url']])
116
120
  http_actions.add([action, params['url']])
117
121
  JsonCrawler::NavInitiate.new(http, params, action)
@@ -60,7 +60,9 @@ module Glib
60
60
  router.step(
61
61
  http,
62
62
  'onClick' => {
63
- 'action' => user[:action] || 'initiate_navigation',
63
+ # Canonical slash spelling (see router.rb's initiate/navigation
64
+ # branch: the underscore spelling collides with Name.normalize).
65
+ 'action' => user[:action] || 'initiate/navigation',
64
66
  'url' => user[:url] || "http://#{HOST}#{path}"
65
67
  }
66
68
  )
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: glib-web
3
3
  version: !ruby/object:Gem::Version
4
- version: 6.8.0
4
+ version: 6.8.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - ''