octopress-codefence 1.3.0 → 1.3.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 92a0c66a42f5313ac495169bcb19f3d4b20c02fc
4
- data.tar.gz: df488b17e56493c8709539809d9f16acb5a28bdb
3
+ metadata.gz: 311bf586d6018cc12e4d01aaffd6fa89a3d4d424
4
+ data.tar.gz: 03ebb2f11a802f750bab2f8c47d1b89516e3dfa4
5
5
  SHA512:
6
- metadata.gz: 1d9b31623122e4ad64e391d39cd25ada15e768945bca0e55e051a9fb91c8df92eed6b662fd88b0e9acc043a8b744f842429578ebbbe7406245e2658cab6f8e86
7
- data.tar.gz: 9b93f32c2f015a5d446a44f6f249f3ec9df8e3129f811b6c819ee1fdfe76b72f798a77f0694294676cc516978db7ee8cdbe937c8db5b9d5b7ee38db50f6e69fb
6
+ metadata.gz: 55df2d41466df84606feca6a83d1b0c2c36e22a3055096294acd8e15cef4427e00d583b2b71c5637e7eb1056fe8880a1846e703d29ae48de0578b5917e6c6024
7
+ data.tar.gz: b1c15ef4aa8f9462aa394dd99f99666df3dab0f9f6b0b2ff19ac6f106048144200e42ecc6e4a261bd2efc1f98d867f2d25acd5db4ea7f8410a0d9cac09095dbc
data/CHANGELOG.md CHANGED
@@ -1,6 +1,9 @@
1
1
  # Changelog
2
2
 
3
- ## 1.2.1
3
+ ## 1.3.1
4
+ - Changed repo homepage url in gemspec.
5
+
6
+ ## 1.3.0
4
7
  - Updated to Octopress pygments 2.0. Now stylesheets can be added using Octopress Ink.
5
8
 
6
9
  ## 1.2.1
data/README.md CHANGED
@@ -34,7 +34,7 @@ Next, add the Octopress stlyesheets tag to your site layout this will inject sty
34
34
  {% octopress_css %}
35
35
  ```
36
36
 
37
- Finally, give it a try.
37
+ Finally, give it a try. Here's an code snippet sample.
38
38
 
39
39
  ```ruby mark:2-4 title:"Testing codefence" url:"https://github.com/octopress/codefence" link_text:"plugin link"
40
40
  class Float
@@ -62,6 +62,14 @@ Finally, give it a try.
62
62
  end
63
63
  ```
64
64
 
65
+ Here's a sample:
66
+
67
+ <img src="http://cl.ly/TFCm/content.png" alt='sample screenshot of the code snippet above renderd with the light theme' width="816px">
68
+
69
+ Here's a look at the dark theme:
70
+
71
+ <img src="http://cl.ly/TFPX/content.png" alt='sample screenshot of the code snippet above renderd with the dark theme' width="816px">
72
+
65
73
  More documentation coming soon.
66
74
 
67
75
  ## Contributing
@@ -1,5 +1,5 @@
1
1
  module Octopress
2
2
  class Codefence
3
- VERSION = "1.3.0"
3
+ VERSION = "1.3.1"
4
4
  end
5
5
  end
@@ -10,7 +10,7 @@ Gem::Specification.new do |gem|
10
10
  gem.email = ["brandon@imathis.com"]
11
11
  gem.description = %q{Write beautiful fenced code snippets with in any template.}
12
12
  gem.summary = %q{Write beautiful fenced code snippets with in any template.}
13
- gem.homepage = "https://github.com/octopress/octopress-codefence"
13
+ gem.homepage = "https://github.com/octopress/codefence"
14
14
  gem.license = "MIT"
15
15
 
16
16
  gem.add_runtime_dependency 'octopress-pygments', '>= 2.0.0'
data/test/expected.html CHANGED
@@ -1,24 +1,6 @@
1
1
  <!DOCTYPE html>
2
2
  <html>
3
- <head>
4
- <meta charset="utf-8">
5
- <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
6
- <title></title>
7
- <meta name="viewport" content="width=device-width">
8
-
9
-
10
- <link href='/stylesheets/site-all-391da67140fc22971f84f9b7dbfbf124.css' media='all' rel='stylesheet' type='text/css'>
11
- </head>
12
- <body>
13
-
14
- <div class="container">
15
- <div class="site">
16
- <div class="header">
17
- <h1 class="title"><a href="/">Your New Jekyll Site</a></h1>
18
- <a class="extra" href="/">home</a>
19
- </div>
20
-
21
- <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>
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>
22
4
  </div></div></pre></div></figure>
23
5
 
24
6
 
@@ -36,25 +18,5 @@
36
18
  </div></div><div data-line='8' class='pygments-code-row numbered'><div class='pygments-code-line'> for
37
19
  </div></div><div data-line='9' class='pygments-code-row numbered'><div class='pygments-code-line'>things</div></div></pre></div></figure>
38
20
 
39
-
40
-
41
- <div class="footer">
42
- <div class="contact">
43
- <p>
44
- Your Name<br />
45
- What You Are<br />
46
- your@email.com
47
- </p>
48
- </div>
49
- <div class="contact">
50
- <p>
51
- <a href="http://github.com/yourusername/">github.com/yourusername</a><br />
52
- <a href="http://twitter.com/yourusername/">twitter.com/yourusername</a><br />
53
- </p>
54
- </div>
55
- </div>
56
- </div>
57
- </div> <!-- /container -->
58
-
59
- </body>
21
+ </body>
60
22
  </html>
data/test/site/index.html CHANGED
@@ -1,24 +1,6 @@
1
1
  <!DOCTYPE html>
2
2
  <html>
3
- <head>
4
- <meta charset="utf-8">
5
- <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
6
- <title></title>
7
- <meta name="viewport" content="width=device-width">
8
-
9
-
10
- <link href='/stylesheets/site-all-391da67140fc22971f84f9b7dbfbf124.css' media='all' rel='stylesheet' type='text/css'>
11
- </head>
12
- <body>
13
-
14
- <div class="container">
15
- <div class="site">
16
- <div class="header">
17
- <h1 class="title"><a href="/">Your New Jekyll Site</a></h1>
18
- <a class="extra" href="/">home</a>
19
- </div>
20
-
21
- <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>
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>
22
4
  </div></div></pre></div></figure>
23
5
 
24
6
 
@@ -36,25 +18,5 @@
36
18
  </div></div><div data-line='8' class='pygments-code-row numbered'><div class='pygments-code-line'> for
37
19
  </div></div><div data-line='9' class='pygments-code-row numbered'><div class='pygments-code-line'>things</div></div></pre></div></figure>
38
20
 
39
-
40
-
41
- <div class="footer">
42
- <div class="contact">
43
- <p>
44
- Your Name<br />
45
- What You Are<br />
46
- your@email.com
47
- </p>
48
- </div>
49
- <div class="contact">
50
- <p>
51
- <a href="http://github.com/yourusername/">github.com/yourusername</a><br />
52
- <a href="http://twitter.com/yourusername/">twitter.com/yourusername</a><br />
53
- </p>
54
- </div>
55
- </div>
56
- </div>
57
- </div> <!-- /container -->
58
-
59
- </body>
21
+ </body>
60
22
  </html>
@@ -1,42 +1,4 @@
1
1
  <!DOCTYPE html>
2
2
  <html>
3
- <head>
4
- <meta charset="utf-8">
5
- <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
6
- <title>{{ page.title }}</title>
7
- <meta name="viewport" content="width=device-width">
8
-
9
-
10
- {% octopress_css %}
11
- </head>
12
- <body>
13
-
14
- <div class="container">
15
- <div class="site">
16
- <div class="header">
17
- <h1 class="title"><a href="/">{{ site.name }}</a></h1>
18
- <a class="extra" href="/">home</a>
19
- </div>
20
-
21
- {{ content }}
22
-
23
- <div class="footer">
24
- <div class="contact">
25
- <p>
26
- Your Name<br />
27
- What You Are<br />
28
- your@email.com
29
- </p>
30
- </div>
31
- <div class="contact">
32
- <p>
33
- <a href="http://github.com/yourusername/">github.com/yourusername</a><br />
34
- <a href="http://twitter.com/yourusername/">twitter.com/yourusername</a><br />
35
- </p>
36
- </div>
37
- </div>
38
- </div>
39
- </div> <!-- /container -->
40
-
41
- </body>
3
+ <body>{{ content }}</body>
42
4
  </html>
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: octopress-codefence
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.3.0
4
+ version: 1.3.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Brandon Mathis
@@ -65,7 +65,7 @@ files:
65
65
  - test/source/_layouts/default.html
66
66
  - test/source/index.html
67
67
  - test/test.rb
68
- homepage: https://github.com/octopress/octopress-codefence
68
+ homepage: https://github.com/octopress/codefence
69
69
  licenses:
70
70
  - MIT
71
71
  metadata: {}