glib-web 4.30.2 → 4.30.3

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: b14e6dcfd26ba29391427a0badb905dc07fd62fce19af91541a3ac2aef23aa4a
4
- data.tar.gz: 3bcf076bbd92f5a6f18f233432a2ac28eb1226864ddbd9aff28b34929f21ed51
3
+ metadata.gz: 60d2217c90243dbbb336aed040ad7e828f5d71569c307fb50c03fc5171a7ef48
4
+ data.tar.gz: 12f1a6370e967b62c4d7934c5d53dfdf7db895965df6a2a01345430a12823cbe
5
5
  SHA512:
6
- metadata.gz: 238f01ebd22c9c78bab87c31034e1aab68ccf2de531b6cfeb48005b2c4f25dec1bc9ee9dea1dd6f70177b1c4485f06eda7746b6e1e96f6158ffc142824368fe4
7
- data.tar.gz: 873f04a9d1d4518555c23b4f9efeee49c02bf569908c7507cc50d6a00ca9a422a70c90769007cf3d261b80d3f4919e10498436caa39002fee4f6c0ca2fd8f8f2
6
+ metadata.gz: 3fffda598df3306cf8df2ddc1a1cedcc4ee7bfa8c9077316cc404063959bd003ce43674f1bf5fcab84951a0e441972431330dd0dcf5cce4ecd397568779621ad
7
+ data.tar.gz: 87f195a35e7f302c300676cf611c40089807dc3a3f2bd7be10fe1036e9cfbdb00f33df0486bef059a0a1d31de89136b0f164100a9469ec7471f9d63aca91c0e7
@@ -93,7 +93,7 @@ module Glib::Auth
93
93
  end
94
94
  end
95
95
 
96
- resource_instance = instance_variable_get("@#{resource_name}") || policy_name
96
+ resource_instance = instance_variable_get("@#{resource_name}") || options[:resource] || policy_name
97
97
 
98
98
  query = "#{action_name}?"
99
99
  policy_instance = policy(resource_instance, policy_name, options.fetch(:context, nil))
@@ -21,14 +21,13 @@ page.scroll padding: glib_json_padding_body, childViews: ->(scroll) do
21
21
 
22
22
  f.spacer width: 10
23
23
 
24
- # TODO: Fix. Crawler test is failing.
25
- # f.shareButton \
26
- # network: 'email',
27
- # url: '',
28
- # text: 'Email',
29
- # onClick: ->(action) do
30
- # action.windows_openWeb url: 'mailto://test@email.com'
31
- # end
24
+ f.shareButton \
25
+ network: 'email',
26
+ url: '',
27
+ text: 'Email',
28
+ onClick: ->(action) do
29
+ action.windows_openWeb url: 'mailto://test@email.com'
30
+ end
32
31
 
33
32
  f.spacer width: 10
34
33
 
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: 4.30.2
4
+ version: 4.30.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - ''