octopress-codefence 1.3.1 → 1.3.2

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
  SHA1:
3
- metadata.gz: 311bf586d6018cc12e4d01aaffd6fa89a3d4d424
4
- data.tar.gz: 03ebb2f11a802f750bab2f8c47d1b89516e3dfa4
3
+ metadata.gz: 56f65a05571d2186ca1557c12d24f0f5869f9740
4
+ data.tar.gz: 118ed72ad0e05b0bf7cc7a5c9eeb85d4c4e8ac7b
5
5
  SHA512:
6
- metadata.gz: 55df2d41466df84606feca6a83d1b0c2c36e22a3055096294acd8e15cef4427e00d583b2b71c5637e7eb1056fe8880a1846e703d29ae48de0578b5917e6c6024
7
- data.tar.gz: b1c15ef4aa8f9462aa394dd99f99666df3dab0f9f6b0b2ff19ac6f106048144200e42ecc6e4a261bd2efc1f98d867f2d25acd5db4ea7f8410a0d9cac09095dbc
6
+ metadata.gz: a2bb05dc4dcbbc40371ba4c5b8e812ecd57b3144c38c53b49fd5f0e2a1d75c753ff2d3803a66611c9f0e886941ab0bcda85ae8de950c8513c4ba120228e28b6e
7
+ data.tar.gz: f643aa6bf1af9d639fba1c4e721bc4e0f5201e19379735cdd9834be3f73ccb03fdb02aa970c6bdd09362bf43c282da40e06d5b4ba28472c91c90dbeb76f3015b
data/CHANGELOG.md CHANGED
@@ -1,5 +1,8 @@
1
1
  # Changelog
2
2
 
3
+ ## 1.3.2
4
+ - Removed test files from gem pkg
5
+
3
6
  ## 1.3.1
4
7
  - Changed repo homepage url in gemspec.
5
8
 
data/README.md CHANGED
@@ -2,7 +2,8 @@
2
2
 
3
3
  Write beautiful fenced code snippets within any template.
4
4
 
5
- [![Build Status](https://travis-ci.org/octopress/octopress-codefence.png?branch=master)](https://travis-ci.org/octopress/octopress-codefence)
5
+ [![Gem Version](https://badge.fury.io/rb/octopress-codefence.png)](http://badge.fury.io/rb/octopress-codefence)
6
+ [![Build Status](https://travis-ci.org/octopress/codefence.png?branch=master)](https://travis-ci.org/octopress/codefence)
6
7
 
7
8
  ## Installation
8
9
 
@@ -1,5 +1,5 @@
1
1
  module Octopress
2
2
  class Codefence
3
- VERSION = "1.3.1"
3
+ VERSION = "1.3.2"
4
4
  end
5
5
  end
@@ -16,6 +16,6 @@ Gem::Specification.new do |gem|
16
16
  gem.add_runtime_dependency 'octopress-pygments', '>= 2.0.0'
17
17
  gem.add_runtime_dependency 'jekyll-page-hooks', '>= 1.0.2'
18
18
 
19
- gem.files = `git ls-files`.split($/)
19
+ gem.files = `git ls-files`.split($/).reject {|f| f =~ /^test\// }
20
20
  gem.require_paths = ["lib"]
21
21
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: octopress-codefence
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.3.1
4
+ version: 1.3.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Brandon Mathis
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-01-08 00:00:00.000000000 Z
11
+ date: 2014-01-19 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: octopress-pygments
@@ -56,15 +56,6 @@ files:
56
56
  - lib/octopress-codefence.rb
57
57
  - lib/octopress-codefence/version.rb
58
58
  - octopress-codefence.gemspec
59
- - test/Gemfile
60
- - test/_config.yml
61
- - test/expected.html
62
- - test/site/index.html
63
- - test/site/stylesheets/site-all-391da67140fc22971f84f9b7dbfbf124.css
64
- - test/source/.gitignore
65
- - test/source/_layouts/default.html
66
- - test/source/index.html
67
- - test/test.rb
68
59
  homepage: https://github.com/octopress/codefence
69
60
  licenses:
70
61
  - MIT
data/test/Gemfile DELETED
@@ -1,3 +0,0 @@
1
- source 'https://rubygems.org'
2
-
3
- gem 'octopress-codefence', :path => '../'
data/test/_config.yml DELETED
@@ -1,10 +0,0 @@
1
- name: Your New Jekyll Site
2
- markdown: redcarpet
3
- pygments: true
4
- destination: site
5
- source: source
6
- pygments_aliases:
7
- abc: ruby
8
-
9
- gems:
10
- - octopress-codefence
data/test/expected.html DELETED
@@ -1,22 +0,0 @@
1
- <!DOCTYPE html>
2
- <html>
3
- <body><figure class='pygments-code-figure'><div class='pygments-code'><pre class='pygments-code-pre ruby'><div data-line='1' class='pygments-code-row numbered'><div class='pygments-code-line'><span class="nb">puts</span> <span class="vi">@awesome</span> <span class="k">if</span> <span class="kp">true</span>
4
- </div></div></pre></div></figure>
5
-
6
-
7
- <figure class='pygments-code-figure'><div class='pygments-code'><pre class='pygments-code-pre plain'><div data-line='1' class='pygments-code-row numbered'><div class='pygments-code-line'>{{>will it work}}
8
- </div></div><div data-line='2' class='pygments-code-row numbered'><div class='pygments-code-line'>{% it should %}</div></div></pre></div></figure>
9
-
10
-
11
- <figure class='pygments-code-figure'><figcaption class='pygments-code-caption'><span class='pygments-code-caption-title'>testing tabs</span></figcaption><div class='pygments-code'><pre class='pygments-code-pre plain'><div data-line='1' class='pygments-code-row numbered'><div class='pygments-code-line'>testing
12
- </div></div><div data-line='2' class='pygments-code-row numbered'><div class='pygments-code-line'> tabs
13
- </div></div><div data-line='3' class='pygments-code-row numbered'><div class='pygments-code-line'> because
14
- </div></div><div data-line='4' class='pygments-code-row numbered'><div class='pygments-code-line'> sometimes
15
- </div></div><div data-line='5' class='pygments-code-row numbered'><div class='pygments-code-line'> you
16
- </div></div><div data-line='6' class='pygments-code-row numbered'><div class='pygments-code-line'> need
17
- </div></div><div data-line='7' class='pygments-code-row numbered'><div class='pygments-code-line'> tabs
18
- </div></div><div data-line='8' class='pygments-code-row numbered'><div class='pygments-code-line'> for
19
- </div></div><div data-line='9' class='pygments-code-row numbered'><div class='pygments-code-line'>things</div></div></pre></div></figure>
20
-
21
- </body>
22
- </html>
data/test/site/index.html DELETED
@@ -1,22 +0,0 @@
1
- <!DOCTYPE html>
2
- <html>
3
- <body><figure class='pygments-code-figure'><div class='pygments-code'><pre class='pygments-code-pre ruby'><div data-line='1' class='pygments-code-row numbered'><div class='pygments-code-line'><span class="nb">puts</span> <span class="vi">@awesome</span> <span class="k">if</span> <span class="kp">true</span>
4
- </div></div></pre></div></figure>
5
-
6
-
7
- <figure class='pygments-code-figure'><div class='pygments-code'><pre class='pygments-code-pre plain'><div data-line='1' class='pygments-code-row numbered'><div class='pygments-code-line'>{{>will it work}}
8
- </div></div><div data-line='2' class='pygments-code-row numbered'><div class='pygments-code-line'>{% it should %}</div></div></pre></div></figure>
9
-
10
-
11
- <figure class='pygments-code-figure'><figcaption class='pygments-code-caption'><span class='pygments-code-caption-title'>testing tabs</span></figcaption><div class='pygments-code'><pre class='pygments-code-pre plain'><div data-line='1' class='pygments-code-row numbered'><div class='pygments-code-line'>testing
12
- </div></div><div data-line='2' class='pygments-code-row numbered'><div class='pygments-code-line'> tabs
13
- </div></div><div data-line='3' class='pygments-code-row numbered'><div class='pygments-code-line'> because
14
- </div></div><div data-line='4' class='pygments-code-row numbered'><div class='pygments-code-line'> sometimes
15
- </div></div><div data-line='5' class='pygments-code-row numbered'><div class='pygments-code-line'> you
16
- </div></div><div data-line='6' class='pygments-code-row numbered'><div class='pygments-code-line'> need
17
- </div></div><div data-line='7' class='pygments-code-row numbered'><div class='pygments-code-line'> tabs
18
- </div></div><div data-line='8' class='pygments-code-row numbered'><div class='pygments-code-line'> for
19
- </div></div><div data-line='9' class='pygments-code-row numbered'><div class='pygments-code-line'>things</div></div></pre></div></figure>
20
-
21
- </body>
22
- </html>
@@ -1 +0,0 @@
1
- .pygments-code .gd:after,.pygments-code .gd .x:after,.pygments-code .gi:after,.pygments-code .gi .x:after{content:"";position:absolute;z-index:-1;left:0;right:0;top:0;bottom:0}.pygments-code{border:1px solid #e5e5e5;background:#fff;color:#586e75}.pygments-code span{color:#586e75}.pygments-code span{font-style:normal;font-weight:normal}.pygments-code .c{color:#93a1a1;font-style:italic}.pygments-code .cm{color:#93a1a1;font-style:italic}.pygments-code .cp{color:#93a1a1;font-style:italic}.pygments-code .c1{color:#93a1a1;font-style:italic}.pygments-code .cs{color:#93a1a1;font-weight:bold;font-style:italic}.pygments-code .err{color:#dc322f;background:none}.pygments-code .k{color:#cb4b16}.pygments-code .o{color:#586e75;font-weight:bold}.pygments-code .p{color:#586e75}.pygments-code .ow{color:#2aa198;font-weight:bold}.pygments-code .gd{color:#586e75}.pygments-code .gd:after{background:#f6cbcb}.pygments-code .gd .x{color:#586e75}.pygments-code .gd .x:after{background:#f2b7b6}.pygments-code .ge{color:#586e75;font-style:italic}.pygments-code .gh{color:#93a1a1}.pygments-code .gi{color:#586e75}.pygments-code .gi:after{background:#e6eacc}.pygments-code .gi .x{color:#586e75}.pygments-code .gi .x:after{background:#ced699}.pygments-code .gs{color:#586e75;font-weight:bold}.pygments-code .gu{color:#6c71c4}.pygments-code .kc{color:#859900;font-weight:bold}.pygments-code .kd{color:#268bd2}.pygments-code .kp{color:#cb4b16;font-weight:bold}.pygments-code .kr{color:#d33682;font-weight:bold}.pygments-code .kt{color:#2aa198}.pygments-code .n{color:#268bd2}.pygments-code .na{color:#268bd2}.pygments-code .nb{color:#859900}.pygments-code .nc{color:#d33682}.pygments-code .no{color:#b58900}.pygments-code .nl{color:#859900}.pygments-code .ne{color:#268bd2;font-weight:bold}.pygments-code .nf{color:#268bd2;font-weight:bold}.pygments-code .nn{color:#b58900}.pygments-code .nt{color:#268bd2;font-weight:bold}.pygments-code .nx{color:#b58900}.pygments-code .vg{color:#268bd2}.pygments-code .vi{color:#268bd2}.pygments-code .nv{color:#268bd2}.pygments-code .mf{color:#2aa198}.pygments-code .m{color:#2aa198}.pygments-code .mh{color:#2aa198}.pygments-code .mi{color:#2aa198}.pygments-code .s{color:#2aa198}.pygments-code .sd{color:#2aa198}.pygments-code .s2{color:#2aa198}.pygments-code .se{color:#dc322f}.pygments-code .si{color:#268bd2}.pygments-code .sr{color:#2aa198}.pygments-code .s1{color:#2aa198}.pygments-code-figure{font-size:13px}.pygments-code-figure *{box-sizing:border-box}.pygments-code-pre{background:#fcfcfc;width:100%;margin-bottom:0;display:table}.pygments-code-row{display:table-row;width:100%}.pygments-code-row:before,.pygments-code-row .pygments-code-line{padding-left:1.6em;padding-right:1.6em}.pygments-code-row:first-child:before,.pygments-code-row:first-child .pygments-code-line{padding-top:0.8em}.pygments-code-row:last-child:before,.pygments-code-row:last-child .pygments-code-line{padding-bottom:0.8em}.pygments-code-row.numbered:before,.pygments-code-row.numbered .pygments-code-line{padding-left:0.8em;padding-right:0.8em}.pygments-code-row.numbered:before{display:table-cell;content:attr(data-line);min-width:1.2em;color:#93a1a1;text-align:right;line-height:1.45em;background:#fff;border-right:1px solid #ededed;text-shadow:#f7f7f7 0 -1px}.pygments-code-line{display:table-cell;width:100%;position:relative;z-index:1}.marked-line{position:relative}.marked-line .pygments-code-line:before{content:"";position:absolute;background:rgba(0,186,255,0.05);left:0;top:0;bottom:0;right:0;border-right:1px solid rgba(0,186,255,0.13)}.marked-line.unnumbered .pygments-code-line:before{border-left:3px solid rgba(0,186,255,0.5)}.marked-line.numbered:before{background:rgba(0,186,255,0.05);border-left:3px solid rgba(0,186,255,0.5);border-right-color:rgba(0,112,153,0.05)}.start-marked-line:before,.start-marked-line .pygments-code-line:before{border-top:1px solid rgba(0,186,255,0.13)}.end-marked-line:before,.end-marked-line .pygments-code-line:before{border-bottom:1px solid rgba(0,186,255,0.13)}.pygments-code{overflow:scroll;overflow-y:hidden;overflow-x:auto;line-height:1.45em}.pygments-code-table{margin-bottom:0;background:#fff}.pygments-code-table pre{padding:.8em;background:none;border-radius:0;border:none;margin-bottom:0}.pygments-code-figure{margin-left:0;margin-right:0;background:none;padding:0;border:0}.pygments-code-figure pre{margin-bottom:0}.pygments-code-caption{position:relative;text-align:center;line-height:2em;text-shadow:#fff 0 1px 0;color:#474747;font-weight:normal;margin-bottom:0;background-color:#ccc;background-image:linear-gradient(#fff, #f0f0f0 6%, #e5e5e5 90%, #e5e5e5);border-top-left-radius:5px;border-top-right-radius:5px;font-family:"Helvetica Neue", Arial, "Lucida Grande", "Lucida Sans Unicode", Lucida, sans-serif;border:1px solid #cbcbcb}.pygments-code-caption+.pygments-code{border-top:0}.pygments-code-caption-link{position:absolute;right:.8em;color:#666;z-index:1;text-shadow:#cbcccc 0 1px 0;padding-left:3em}pre{margin-top:0;font-size:13px;font-family:Menlo, Monaco, 'Andale Mono', 'lucida console', 'Courier New', monospace}
@@ -1 +0,0 @@
1
- _site
@@ -1,4 +0,0 @@
1
- <!DOCTYPE html>
2
- <html>
3
- <body>{{ content }}</body>
4
- </html>
@@ -1,24 +0,0 @@
1
- ---
2
- layout: default
3
- ---
4
-
5
- ``` ruby
6
- puts @awesome if true
7
- ```
8
-
9
- ```
10
- {{>will it work}}
11
- {% it should %}
12
- ```
13
-
14
- ``` plain testing tabs
15
- testing
16
- tabs
17
- because
18
- sometimes
19
- you
20
- need
21
- tabs
22
- for
23
- things
24
- ```
data/test/test.rb DELETED
@@ -1,13 +0,0 @@
1
- require 'colorator'
2
-
3
- `rm -rf site; bundle exec jekyll build --trace`
4
-
5
- diff = `diff expected.html site/index.html`
6
-
7
- if diff.size == 0 and File.exist?('site/index.html')
8
- puts "passed".green
9
- else
10
- puts "failed".red
11
- puts diff
12
- abort
13
- end