onebox 1.9.7 → 1.9.8

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: 8c9d5a4956cf55adbd923e14fb176a8ab58305a9be871125cbe0838f9fddbe26
4
- data.tar.gz: 9e183ec332d32fbe955c88f79c252579a51ee15958335c085cb197d15ead2f84
3
+ metadata.gz: 412af2ca283c07e7f49ceb8ca8c2175d32882bfec6174e6d961c35763d4484b6
4
+ data.tar.gz: f062f50e4a536601cc2cb220571ad4e95a643d22d8d8638177a8174c9bd0f568
5
5
  SHA512:
6
- metadata.gz: 936c418fe3d5c64d7e53b2d40894bb2f89ba6f024e988cfcdfc64eeb25088cafba5ea8b321fde2da40caaf13edce65a11e7cb1a4b3b63dd0b6b6b445978cb274
7
- data.tar.gz: de4ffcbb2f5ca96e8127226c77726fd8b732a5aa58bf3f722a9b0fd44541e0daeea0d4ce5172049780163b62570098949155b8d8e653f078bac9781e77f3d04b
6
+ metadata.gz: 3f1fa65f3a838550ebc3e6bc39221c46df74e8673b2c68bbb1fc6d9da2b6d3ac3666b893c29e46ea1050f421aad0e12e20a44009b2633463f78f42fc8321ad98
7
+ data.tar.gz: 49e191dd53a866d5e7385db9b89fbf3de51778b6d109d3c7bc687819f93e9c215d408b2f317ec13e9a5db5317cc854e999342345e258d4986c3395962f803a85
@@ -22,7 +22,7 @@ module Onebox
22
22
  private
23
23
 
24
24
  def get_oembed_url
25
- if id = url.scan(/\A.*?-([a-zA-Z0-9]*)\Z/).flatten.first
25
+ if id = url.scan(/([a-zA-Z0-9]*)\Z/).flatten.first
26
26
  oembed_url = "https://simplecast.com/s/#{id}"
27
27
  else
28
28
  oembed_url = url
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Onebox
4
- VERSION = "1.9.7"
4
+ VERSION = "1.9.8"
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: onebox
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.9.7
4
+ version: 1.9.8
5
5
  platform: ruby
6
6
  authors:
7
7
  - Joanna Zeta
@@ -10,7 +10,7 @@ authors:
10
10
  autorequire:
11
11
  bindir: bin
12
12
  cert_chain: []
13
- date: 2019-08-05 00:00:00.000000000 Z
13
+ date: 2019-08-08 00:00:00.000000000 Z
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
16
  name: multi_json
@@ -422,7 +422,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
422
422
  - !ruby/object:Gem::Version
423
423
  version: '0'
424
424
  requirements: []
425
- rubygems_version: 3.0.3
425
+ rubygems_version: 3.0.4
426
426
  signing_key:
427
427
  specification_version: 4
428
428
  summary: A gem for generating embeddable HTML previews from URLs.