onebox 1.9.5 → 1.9.6
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.travis.yml +2 -2
- data/README.md +2 -2
- data/lib/onebox/engine/whitelisted_generic_onebox.rb +1 -1
- data/lib/onebox/version.rb +1 -1
- data/onebox.gemspec +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: aa081b87daa9423763a664ff17d75805c7b88475b2a14c31de625ed2f09dff65
|
4
|
+
data.tar.gz: fda601f24cd76ba2615fc906b218ca625ed4e55d793c81cd2affe80e87318e74
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: cdd85c13fe0e18d0d1b7ffac7028c0296fc953aa5dd6d3ca7ca56130feec8eb9453d14b32ab016a6df7905b03a17cde13f4f120cce9b7681550c967bb0da8693
|
7
|
+
data.tar.gz: 4ecddc28294c9f15559e48f1f3b6297bb8afadd23abb1ba9d720b265b3f6c3b719a819cb744ec5abc06bc8b8e855008dddbd37dc8603880057b024ee0da6a085
|
data/.travis.yml
CHANGED
data/README.md
CHANGED
@@ -75,7 +75,7 @@ Ruby Support
|
|
75
75
|
|
76
76
|
The onebox library is supported on all "officially" supported versions of Ruby.
|
77
77
|
|
78
|
-
This means you must be on Ruby 2.
|
78
|
+
This means you must be on Ruby 2.4 or above for it to work.
|
79
79
|
|
80
80
|
Development Preview Interface
|
81
81
|
-----------------------------
|
@@ -211,7 +211,7 @@ Issues / Discussion
|
|
211
211
|
-------------------
|
212
212
|
|
213
213
|
Discussion of the Onebox gem, its development and features should be done on
|
214
|
-
[Discourse Meta](https://meta.discourse.org).
|
214
|
+
[Discourse Meta](https://meta.discourse.org).
|
215
215
|
|
216
216
|
Contributing
|
217
217
|
------------
|
@@ -265,12 +265,12 @@ module Onebox
|
|
265
265
|
end
|
266
266
|
|
267
267
|
def generic_html
|
268
|
-
return card_html if is_card?
|
269
268
|
return article_html if is_article?
|
270
269
|
return video_html if is_video?
|
271
270
|
return image_html if is_image?
|
272
271
|
return embedded_html if is_embedded?
|
273
272
|
return article_html if has_text?
|
273
|
+
return card_html if is_card?
|
274
274
|
end
|
275
275
|
|
276
276
|
def is_card?
|
data/lib/onebox/version.rb
CHANGED
data/onebox.gemspec
CHANGED
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.
|
4
|
+
version: 1.9.6
|
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-07-
|
13
|
+
date: 2019-07-25 00:00:00.000000000 Z
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|
16
16
|
name: multi_json
|
@@ -415,7 +415,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
415
415
|
requirements:
|
416
416
|
- - ">="
|
417
417
|
- !ruby/object:Gem::Version
|
418
|
-
version: 2.
|
418
|
+
version: 2.4.0
|
419
419
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
420
420
|
requirements:
|
421
421
|
- - ">="
|