onebox 1.8.49 → 1.8.50

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: 436b288a464534f29ae523c8c02154bb954073c5e54626a912ca7ff68bea020b
4
- data.tar.gz: 3218a25d11cf3e6d6309a8477bfe4276c327e34fae286770c4710533f3ce28e6
3
+ metadata.gz: 7e62d2b22c537e8c97becadbcc8f4c5d4b0ea5b31b1b096cfb4904ee39ff583c
4
+ data.tar.gz: 8794956832c051ea3da3422490884d51b0dc244f12a4459447fd476573718fe1
5
5
  SHA512:
6
- metadata.gz: b333be477f8bfdcd7b0cc9606c72147f7d4e0a872278420f389b000c0f2e6d9473abc31ec9c6ffc406f77c629b45d900dac19cb864d0a01e7da10c7ee0c62af5
7
- data.tar.gz: 0d94a3f320e2a206b3ea0a7de43a23dcb336b1690cd3ff06ee56cdf7eea4ec7de93880ad92a86efdc6dd1583b503e948546113ee21b973d9667bf977486d538e
6
+ metadata.gz: 5cc79d2f6e1960dd1c24d203fa0a55227fd8e0f62a077084dc7efe4304a723f518cfd9a3b7a0a0976615f5a06cb2653495b5a0e4934db85d151411c6c4e4b4e4
7
+ data.tar.gz: 3155f199ad086c65413602dee4a11d94899e56d59e357db82edaac0ed3a50a53d113b12aaa7f60fb00ae56f6bd70c4b243228160bb7b604bee7e110cab545822
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Onebox
4
- VERSION = "1.8.49"
4
+ VERSION = "1.8.50"
5
5
  end
@@ -0,0 +1,37 @@
1
+ <h4><a href="{{link}}" target="_blank">{{title}}</a></h4>
2
+ {{^has_lines}}
3
+ <pre><code class='{{lang}}'>{{content}}</code></pre>
4
+ {{/has_lines}}
5
+ {{#has_lines}}
6
+ {{! This is a template comment | Sample rules for this box
7
+ <style>
8
+ pre.onebox code ol{
9
+ margin-left:0px;
10
+ }
11
+ pre.onebox code ol .lines{
12
+ margin-left:30px;
13
+ }
14
+ pre.onebox code ol.lines li {
15
+ list-style-type: decimal;
16
+ margin-left:45px;
17
+ }
18
+ pre.onebox code li{
19
+ list-style-type: none;
20
+ background-color:#fff;
21
+ border-bottom:1px solid #F0F0F0;
22
+ padding-left:5px;
23
+
24
+ }
25
+ pre.onebox code li.selected{
26
+ background-color:#cfc
27
+ }
28
+ </style>
29
+ }}
30
+ <pre class='onebox' ><code class='{{lang}}'><ol class='start lines' start="{{cr_results.from}}" style='counter-reset: li-counter {{cr_results.from_minus_one}} ;'>
31
+ {{#lines}}<li{{#selected}} class="selected"{{/selected}}>{{data}}</li>{{/lines}}
32
+ </ol></code></pre>
33
+ {{/has_lines}}
34
+
35
+ {{#truncated}}
36
+ This file has been truncated. <a href="{{link}}" target="_blank">show original</a>
37
+ {{/truncated}}
@@ -0,0 +1,14 @@
1
+ <h4><a href="{{link}}" target="_blank">{{title}}</a></h4>
2
+ {{^has_lines}}
3
+ <pre><code class='{{lang}}'>{{content}}</code></pre>
4
+ {{/has_lines}}
5
+
6
+ {{#has_lines}}
7
+ <pre class='onebox'><code class='{{lang}}'><ol class='start lines' start="{{cr_results.from}}" style='counter-reset: li-counter {{cr_results.from_minus_one}} ;'>
8
+ {{#lines}}<li{{#selected}} class="selected"{{/selected}}>{{data}}</li>{{/lines}}
9
+ </ol></code></pre>
10
+ {{/has_lines}}
11
+
12
+ {{#truncated}}
13
+ This file has been truncated. <a href="{{link}}" target="_blank">show original</a>
14
+ {{/truncated}}
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.49
4
+ version: 1.8.50
5
5
  platform: ruby
6
6
  authors:
7
7
  - Joanna Zeta
@@ -375,7 +375,6 @@ files:
375
375
  - templates/_layout.mustache
376
376
  - templates/amazon.mustache
377
377
  - templates/douban.mustache
378
- - templates/git_blob.mustache
379
378
  - templates/githubblob.mustache
380
379
  - templates/githubcommit.mustache
381
380
  - templates/githubgist.mustache
@@ -1,37 +0,0 @@
1
- <h4><a href="{{link}}" target="_blank">{{title}}</a></h4>
2
- {{^has_lines}}
3
- <pre><code class='{{lang}}'>{{content}}</code></pre>
4
- {{/has_lines}}
5
- {{#has_lines}}
6
- {{! This is a template comment | Sample rules for this box
7
- <style>
8
- pre.onebox code ol{
9
- margin-left:0px;
10
- }
11
- pre.onebox code ol .lines{
12
- margin-left:30px;
13
- }
14
- pre.onebox code ol.lines li {
15
- list-style-type: decimal;
16
- margin-left:45px;
17
- }
18
- pre.onebox code li{
19
- list-style-type: none;
20
- background-color:#fff;
21
- border-bottom:1px solid #F0F0F0;
22
- padding-left:5px;
23
-
24
- }
25
- pre.onebox code li.selected{
26
- background-color:#cfc
27
- }
28
- </style>
29
- }}
30
- <pre class='onebox' ><code class='{{lang}}'><ol class='start lines' start="{{cr_results.from}}" style='counter-reset: li-counter {{cr_results.from_minus_one}} ;'>
31
- {{#lines}}<li{{#selected}} class="selected"{{/selected}}>{{data}}</li>{{/lines}}
32
- </ol></code></pre>
33
- {{/has_lines}}
34
-
35
- {{#truncated}}
36
- This file has been truncated. <a href="{{link}}" target="_blank">show original</a>
37
- {{/truncated}}
@@ -1 +0,0 @@
1
- templates/git_blob.mustache
@@ -1 +0,0 @@
1
- templates/git_blob.mustache