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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 4356955f181a0a32247062f921b4ae7afb27c5260b7b921163a1c238f0752b53
4
- data.tar.gz: e462317ed42a6e9d0ff893c1ce91601d6c6f5e3f4decdde236ebdd85b8ff3695
3
+ metadata.gz: aa081b87daa9423763a664ff17d75805c7b88475b2a14c31de625ed2f09dff65
4
+ data.tar.gz: fda601f24cd76ba2615fc906b218ca625ed4e55d793c81cd2affe80e87318e74
5
5
  SHA512:
6
- metadata.gz: 1228f2393b57bc452573e8175f7d6b7a95b19ce47dfc4ad25380116b15a82af0317004c97b9aab7062d63ab6bf5f061a60ad223c2194ece3c860d5322de20df8
7
- data.tar.gz: 6e6cec3adfc0cf98184116b6d31254f3817c788803d62ae88e6134efed9aa58657ec6886564fddf374b8876b0d736c220367474561d405d99b286fee6a15ba45
6
+ metadata.gz: cdd85c13fe0e18d0d1b7ffac7028c0296fc953aa5dd6d3ca7ca56130feec8eb9453d14b32ab016a6df7905b03a17cde13f4f120cce9b7681550c967bb0da8693
7
+ data.tar.gz: 4ecddc28294c9f15559e48f1f3b6297bb8afadd23abb1ba9d720b265b3f6c3b719a819cb744ec5abc06bc8b8e855008dddbd37dc8603880057b024ee0da6a085
data/.travis.yml CHANGED
@@ -1,9 +1,9 @@
1
1
  language: ruby
2
2
  sudo: false
3
3
  rvm:
4
- - 2.3
5
4
  - 2.4
6
5
  - 2.5
6
+ - 2.6
7
7
  notifications:
8
8
  email:
9
9
  on_success: change
@@ -14,4 +14,4 @@ script:
14
14
  cache:
15
15
  bundler: true
16
16
  before_install:
17
- - gem install bundler
17
+ - gem install bundler
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.3 or above for it to work.
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?
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Onebox
4
- VERSION = "1.9.5"
4
+ VERSION = "1.9.6"
5
5
  end
data/onebox.gemspec CHANGED
@@ -41,5 +41,5 @@ Gem::Specification.new do |spec|
41
41
  spec.add_development_dependency 'haml', '~> 4.0'
42
42
  spec.add_development_dependency 'listen', '~> 2.10.0'
43
43
 
44
- spec.required_ruby_version = '>=2.3.0'
44
+ spec.required_ruby_version = '>=2.4.0'
45
45
  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.5
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-24 00:00:00.000000000 Z
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.3.0
418
+ version: 2.4.0
419
419
  required_rubygems_version: !ruby/object:Gem::Requirement
420
420
  requirements:
421
421
  - - ">="