onebox 1.8.84 → 1.8.85

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: c9b50b734723c9e23516eef827a2ef7a823c084fac2cf0cc03892adb1dcab4dc
4
- data.tar.gz: a677472a42ea5df1c4aaf7c96a213c5d2c041dd2d515a4546eb6b1b03383dfda
3
+ metadata.gz: 292475b14d190bdb60b037b4a31cb613dd4e7380a68a3498082a78db162dd149
4
+ data.tar.gz: f6c171120798bea4d9d3151b50787dae070e0b9fdfc1861310fbd308cc48b76f
5
5
  SHA512:
6
- metadata.gz: 233915396f3c330770d7299785f6101c9a7269d59dae2fca5c35718c75c1852aa95bb4a0bfd03fb8df6b7f424b8ce7db1cb7f2d50d93eaf270b2141dedd281c2
7
- data.tar.gz: 63f2e5e86390ab51618ab3b45664b16e0d0ee322f662ef61de1cbf3f96b7fa33759e4570092ae1c798e90184f0e262b18ba035e7dc5934d7916fa3528360daa9
6
+ metadata.gz: e994b15b1b413515c7bcc5e5969e901bad6afd8165a9000727bb13afc395b4e4c74cdadc545ceddab55eea5bad7b7c80677906debbcdf8f706488271c8ce9771
7
+ data.tar.gz: aeaea261b44ff47529dcbf500f44b8a5324f356f51dd3691c39a5d37bf6fd0812b0f7a7a1a1e131a98e4416154101e5cc476ec5d792d1666e372d09a981696cb
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- onebox (1.8.83)
4
+ onebox (1.8.85)
5
5
  htmlentities (~> 4.3)
6
6
  moneta (~> 1.0)
7
7
  multi_json (~> 1.11)
@@ -7,7 +7,7 @@ module Onebox
7
7
  include StandardEmbed
8
8
  include LayoutSupport
9
9
 
10
- matches_regexp(/^https?:\/\/(?:www\.)?(?:instagram\.com|instagr\.am)\/p\//)
10
+ matches_regexp(/^https?:\/\/(?:www\.)?(?:instagram\.com|instagr\.am)\/[a-zA-Z0-9]+\/p\//)
11
11
  always_https
12
12
 
13
13
  def data
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Onebox
4
- VERSION = "1.8.84"
4
+ VERSION = "1.8.85"
5
5
  end
@@ -4,6 +4,6 @@
4
4
 
5
5
  {{#image}}<img src="{{image}}" class="thumbnail"/>{{/image}}
6
6
 
7
- <h3><a href='{{link}}' target="_blank">{{title}}</a></h3>
7
+ <h3><a href="{{link}}" target="_blank">{{title}}</a></h3>
8
8
 
9
9
  <p>{{description}}</p>
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.8.84
4
+ version: 1.8.85
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-04-10 00:00:00.000000000 Z
13
+ date: 2019-04-12 00:00:00.000000000 Z
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
16
  name: multi_json