ruby-macrodroid 0.9.20 → 0.9.21
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- checksums.yaml.gz.sig +0 -0
- data.tar.gz.sig +0 -0
- data/lib/ruby-macrodroid/actions.rb +8 -3
- metadata +2 -2
- metadata.gz.sig +0 -0
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 4d144e7f32f39b31ce40a38835232d55a38204b2539427c968362c4686e676a4
|
4
|
+
data.tar.gz: 38d60358f2bc2655424216ec0245206ddf5a5c736dd7ea6e0884dc62bcd764a5
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: c4cc2a4a27158ada5bdc3db7c9c406e3a3307ad1f07089b25e070d571f4c81a1ba74f8a8389cc57d6c7ef82c4b51524e45457d532b0a1768affcc7ddd5119ee1
|
7
|
+
data.tar.gz: 69be2ef6fe08ad6b37ba57d74f80f8c787ee3cc2b9bb0ed31448df24bbb096c7e0e97f6701b2ff1d2f0b1b772382703aca90eaef36cad1c9539f4d9815437471
|
checksums.yaml.gz.sig
CHANGED
Binary file
|
data.tar.gz.sig
CHANGED
Binary file
|
@@ -224,8 +224,12 @@ class OpenWebPageAction < ApplicationAction
|
|
224
224
|
|
225
225
|
a.map do |node|
|
226
226
|
|
227
|
-
if node.name == 'description'
|
228
|
-
node.text.to_s
|
227
|
+
if node.name == 'description' then
|
228
|
+
if node.text.to_s =~ /: / then
|
229
|
+
node.text.to_s.split(/: +/,2).map(&:strip)
|
230
|
+
else
|
231
|
+
[:url, node.text.to_s]
|
232
|
+
end
|
229
233
|
else
|
230
234
|
[node.name.to_sym, node.text.to_s.strip]
|
231
235
|
end
|
@@ -295,7 +299,8 @@ class OpenWebPageAction < ApplicationAction
|
|
295
299
|
end
|
296
300
|
|
297
301
|
def invoke()
|
298
|
-
|
302
|
+
serverside = @h[:serverside].to_s.downcase == 'true'
|
303
|
+
super(url_to_open: @h[:url_to_open], serverside: serverside)
|
299
304
|
end
|
300
305
|
|
301
306
|
def to_s(colour: false, indent: 0)
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: ruby-macrodroid
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.9.
|
4
|
+
version: 0.9.21
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- James Robertson
|
@@ -35,7 +35,7 @@ cert_chain:
|
|
35
35
|
cu2W9lmvKJ505bT8+KLouVOtLlxYZknIB/uIea9r5rrGEJDMdYEYl4ZySFmkvJR4
|
36
36
|
tf7VMFcAy1q1HMyemsBUJk5h
|
37
37
|
-----END CERTIFICATE-----
|
38
|
-
date: 2020-
|
38
|
+
date: 2020-11-01 00:00:00.000000000 Z
|
39
39
|
dependencies:
|
40
40
|
- !ruby/object:Gem::Dependency
|
41
41
|
name: glw
|
metadata.gz.sig
CHANGED
Binary file
|