nexmo_markdown_renderer 0.9.1 → 0.9.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/nexmo_markdown_renderer/filters/audio_filter.rb +4 -4
- data/lib/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 4906bea77681b55c935fdbb6d42d29d1307e04024a3c8b3555a153008a95e3b0
|
4
|
+
data.tar.gz: cd8b09aaa9bfc18de1370a97a6a62b9ad349d3c977b39f4cebfdf92451f074af
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 7a264ecc51348e47ccbba43171e08fc172c9d14ff78237249b87d5d8b69c16d5585a8629d31d33201562aef178cdafeca2a81c7c07006c9691ba2ecdea0ae6c6
|
7
|
+
data.tar.gz: 3bb7e18a53fe57848ec35babd9bec7654513726166d4803099a4e966849359594924552697dcb5645b56ed1e4eeda5b1a2e683947a3acf987a0ef625d76dbb20
|
@@ -4,15 +4,15 @@ module Nexmo
|
|
4
4
|
def call(input)
|
5
5
|
input.gsub(/[u{🔈}]\[(.+?)\]/) do
|
6
6
|
audio = <<~HEREDOC
|
7
|
-
<audio controls>
|
7
|
+
<audio preload="none" controls>
|
8
8
|
<source src="#{$1}" type="audio/mpeg">
|
9
9
|
</audio>
|
10
10
|
HEREDOC
|
11
|
-
|
11
|
+
|
12
12
|
"FREEZESTART#{Base64.urlsafe_encode64(audio)}FREEZEEND"
|
13
13
|
end
|
14
14
|
end
|
15
15
|
end
|
16
|
-
|
16
|
+
|
17
17
|
end
|
18
|
-
end
|
18
|
+
end
|
data/lib/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: nexmo_markdown_renderer
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.9.
|
4
|
+
version: 0.9.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Nexmo
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2022-04-14 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: banzai
|