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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 02dafd5344cb49f34bc7314f958114e9ae1a2cf90a6f1361db5cfd9359817041
4
- data.tar.gz: f84c673798a7d7feea32b9c10f6dfa217b12f89488c318dd31cb5abd35957276
3
+ metadata.gz: 4d144e7f32f39b31ce40a38835232d55a38204b2539427c968362c4686e676a4
4
+ data.tar.gz: 38d60358f2bc2655424216ec0245206ddf5a5c736dd7ea6e0884dc62bcd764a5
5
5
  SHA512:
6
- metadata.gz: 91032bb5d4742e57d702ee1634f1dd99197acb86e75f299a451b486275ae7ef20f1e58c7f3dc992d022d8d5b6b3c0e48c58d58fcc154eeb25ff6752a9bf28301
7
- data.tar.gz: b33532780734f52cda1f52b957084d7d4c5d445e76ca4394a3549fce3aa3f70ebbd398e88fe4dd7dfe59c2179313019146c6be142eecd441fe03d1aad7254719
6
+ metadata.gz: c4cc2a4a27158ada5bdc3db7c9c406e3a3307ad1f07089b25e070d571f4c81a1ba74f8a8389cc57d6c7ef82c4b51524e45457d532b0a1768affcc7ddd5119ee1
7
+ data.tar.gz: 69be2ef6fe08ad6b37ba57d74f80f8c787ee3cc2b9bb0ed31448df24bbb096c7e0e97f6701b2ff1d2f0b1b772382703aca90eaef36cad1c9539f4d9815437471
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' and node.text.to_s =~ /: / then
228
- node.text.to_s.split(/: +/,2).map(&:strip)
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
- super(url: @h[:url_to_open])
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.20
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-10-30 00:00:00.000000000 Z
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