onebox 1.8.45 → 1.8.46

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
- SHA256:
3
- metadata.gz: 976199e6cc94d6971c2b4fc3cf368dedb400a07dbab55fc74efc195c4f3fcb0a
4
- data.tar.gz: b06f019295985ad7d848015bab974d6fb46f04809d8d40b473ea9aafc804698c
2
+ SHA1:
3
+ metadata.gz: 862dc2da71c237f54cb8e829f36b5ced43bd1d4b
4
+ data.tar.gz: ae712764fa0a32e6254ebf93d7461af79271681b
5
5
  SHA512:
6
- metadata.gz: 92870f699c531d89dc2a2255404a9ed0cd2fe003a8b7bbc8cef6a360659da5282085900c4bc588f0445ab844c8bc2dcda3687afc9a241493f1e96c66d1ad0527
7
- data.tar.gz: cdd33743c03dd704d7da82b08d3ed45713e94332cf03eaa073009234b5571086438fb9fa04f98e29704fec401806076436a5253f5c2a2501160fa556115ccbda
6
+ metadata.gz: b12e237e7133ea9e8427a3e823b068edc4b5915e6e17ac82c3a999a31d43359817c300165c9ead7f97b1c3f22081e88b0e4f356092ca999d2f913c6e0685bb7d
7
+ data.tar.gz: 6683a5ac9eec6ec00a80ede42fa5c80a698823fdfe67e826c6b34efb3eb651d93d7a226bb1dcae5806122506e8c2e3ac7dfdc2ee8fef5eeeff5ede93a2fdc110
@@ -5,7 +5,7 @@ module Onebox
5
5
  include LayoutSupport
6
6
  include HTML
7
7
 
8
- matches_regexp(/^https?:\/\/(mobile\.|www\.)?twitter\.com\/.+?\/status(es)?\/\d+(\/(video|photo)\/\d?+)?+\/?$/)
8
+ matches_regexp(/^https?:\/\/(mobile\.|www\.)?twitter\.com\/.+?\/status(es)?\/\d+(\/(video|photo)\/\d?+)?+(\/?\?.*)?\/?$/)
9
9
  always_https
10
10
 
11
11
  private
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Onebox
4
- VERSION = "1.8.45"
4
+ VERSION = "1.8.46"
5
5
  end
@@ -9,7 +9,7 @@
9
9
  </h4>
10
10
 
11
11
  {{#message}}
12
- <pre class="message" style="white-space: pre-wrap;">{{message}}</pre>
12
+ <pre class="message" style="white-space: normal;">{{message}}</pre>
13
13
  {{/message}}
14
14
 
15
15
  <div class="date">
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.45
4
+ version: 1.8.46
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: 2018-03-22 00:00:00.000000000 Z
13
+ date: 2018-04-23 00:00:00.000000000 Z
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
16
  name: multi_json
@@ -411,7 +411,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
411
411
  version: '0'
412
412
  requirements: []
413
413
  rubyforge_project:
414
- rubygems_version: 2.7.4
414
+ rubygems_version: 2.6.13
415
415
  signing_key:
416
416
  specification_version: 4
417
417
  summary: A gem for generating embeddable HTML previews from URLs.