onebox 1.8.99 → 1.9.0

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: b351a803a7d22c1acb918fd4786ed16d786c6d29f74b75c97b2f1f96005db344
4
- data.tar.gz: 4eebada5c2f25338608822d8019f880eeecf11258ddd20d48a40a8989dd058d4
3
+ metadata.gz: 333ca23b7aa11df0f6da6aa41fcfea9c4a9e3d82454cbcea249666fa414c5771
4
+ data.tar.gz: 31d6d3bd1605e29e10405b60eed73e7af6ce233cc6e44ba5ab8079efca59db73
5
5
  SHA512:
6
- metadata.gz: 0e321ec936dc2692f94afd96cd0580dec360030b9b5cfdfb73c94f7c59f7434ee70aa2c14de26364208de37584ddebb643e236f80af8b51b349868bca78c8ce1
7
- data.tar.gz: 542a738da21a03c9005fdddb5f0d84c1eb8d36307434e48955f2ed8bb4246f04801c910af967730ad5bb6305cf1ea04b04a2694890ec143952efe2c08ba3e579
6
+ metadata.gz: f31457e8599d209bc629f60cc8a3ff9ed6ae1f7ce4e2ac2e76143dd73152c85a025f1c927155650f005b0ed1e4faddfaa3a413824df8b12403483ccf52ca21e7
7
+ data.tar.gz: '024845d694b5a3969eb04d8dd5a52a8b4c18c91b2c9e935685257de60bd8ed67b715adcdcfdd9a03c5b258e6722fd100df4cdd2a67909d6ad4a058572e068e75'
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- onebox (1.8.99)
4
+ onebox (1.9.0)
5
5
  htmlentities (~> 4.3)
6
6
  moneta (~> 1.0)
7
7
  multi_json (~> 1.11)
@@ -21,6 +21,10 @@ module Onebox
21
21
  </audio>
22
22
  HTML
23
23
  end
24
+
25
+ def placeholder_html
26
+ "<div class='onebox-placeholder-container'><span class='placeholder-icon audio'></span></div>"
27
+ end
24
28
  end
25
29
  end
26
30
  end
@@ -19,6 +19,10 @@ module Onebox
19
19
  HTML
20
20
  end
21
21
 
22
+ def placeholder_html
23
+ "<div class='onebox-placeholder-container'><span class='placeholder-icon generic'></span></div>"
24
+ end
25
+
22
26
  private
23
27
  def match
24
28
  return @match if @match
@@ -20,7 +20,10 @@ module Onebox
20
20
  </iframe>
21
21
  HTML
22
22
  end
23
- alias placeholder_html to_html
23
+
24
+ def placeholder_html
25
+ "<div class='onebox-placeholder-container'><span class='placeholder-icon generic'></span></div>"
26
+ end
24
27
 
25
28
  private
26
29
 
@@ -22,6 +22,10 @@ module Onebox
22
22
  </div>
23
23
  HTML
24
24
  end
25
+
26
+ def placeholder_html
27
+ "<div class='onebox-placeholder-container'><span class='placeholder-icon video'></span></div>"
28
+ end
25
29
  end
26
30
  end
27
31
  end
@@ -20,7 +20,7 @@ module Onebox
20
20
  end
21
21
 
22
22
  def placeholder_html
23
- "<div class='onebox-video-placeholder'><span class='video-placeholder-icon'></span></div>"
23
+ "<div class='onebox-placeholder-container'><span class='placeholder-icon video'></span></div>"
24
24
  end
25
25
 
26
26
  def to_html
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Onebox
4
- VERSION = "1.8.99"
4
+ VERSION = "1.9.0"
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.8.99
4
+ version: 1.9.0
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-06 00:00:00.000000000 Z
13
+ date: 2019-07-08 00:00:00.000000000 Z
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
16
  name: multi_json