mkblog 0.0.3 → 0.0.4
Sign up to get free protection for your applications and to get access to all the features.
data/lib/mkblog_version.rb
CHANGED
@@ -5,10 +5,10 @@ layout: nil
|
|
5
5
|
<feed xmlns="http://www.w3.org/2005/Atom">
|
6
6
|
|
7
7
|
<title>Larry Cai</title>
|
8
|
-
<link href="http
|
9
|
-
<link href="http
|
8
|
+
<link href="http://<%= project %>.github.com/atom.xml" rel="self"/>
|
9
|
+
<link href="http://<%= project %>.github.com"/>
|
10
10
|
<updated>{{ site.time | date_to_xmlschema }}</updated>
|
11
|
-
<id
|
11
|
+
<id><%= project %>.github.com</id>
|
12
12
|
<author>
|
13
13
|
<name>Larry Cai</name>
|
14
14
|
<email>larry.caiyu@gmail.com</email>
|
@@ -17,9 +17,9 @@ layout: nil
|
|
17
17
|
{% for post in site.posts %}
|
18
18
|
<entry>
|
19
19
|
<title>{{ post.title }}</title>
|
20
|
-
<link href="http
|
20
|
+
<link href="http://<%= project %>.github.com{{ post.url }}"/>
|
21
21
|
<updated>{{ post.date | date_to_xmlschema }}</updated>
|
22
|
-
<id>http
|
22
|
+
<id>http://<%= project %>.github.com{{ post.id }}</id>
|
23
23
|
<content type="html">{{ post.content | xml_escape }}</content>
|
24
24
|
</entry>
|
25
25
|
{% endfor %}
|
@@ -35,15 +35,11 @@ full_posts: 3
|
|
35
35
|
</div>
|
36
36
|
</div>
|
37
37
|
<h2>Open Source</h2>
|
38
|
-
<div id='github-projects'>
|
39
|
-
<div class="repo"> <h3><a href="http://github.com/larrycai/doxia-module-markdown">doxia-module-markdown</a></h3> <span class="desc">markdown plugin for maven site</span></div>
|
40
|
-
<div class="repo"> <h3><a href="http://github.com/larrycai/astyleclipse">astyleclipse</a></h3> <span class="desc">astyle c++ format plugin for eclipse 3.1 (doesn't works now)</span></div>
|
41
|
-
<div class="repo"> <h3><a href="http://github.com/larrycai/redmine-plugin">redmine-plugin (forked)</a></h3> <span class="desc">redmine plugin inside jenkins to connect with redmine</span></div>
|
42
|
-
</div>
|
38
|
+
<div id='github-projects'></div>
|
43
39
|
</div>
|
44
40
|
|
45
41
|
<script type="text/javascript" charset="utf-8">
|
46
|
-
$.githubUser('
|
42
|
+
$.githubUser('<%= project %>', function(data) {
|
47
43
|
$('#github-projects').html('');
|
48
44
|
|
49
45
|
var repos = data.user.repositories;
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: mkblog
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.4
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -9,11 +9,11 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2012-03-
|
12
|
+
date: 2012-03-17 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: aruba
|
16
|
-
requirement: &
|
16
|
+
requirement: &25600236 !ruby/object:Gem::Requirement
|
17
17
|
none: false
|
18
18
|
requirements:
|
19
19
|
- - ~>
|
@@ -21,10 +21,10 @@ dependencies:
|
|
21
21
|
version: 0.4.6
|
22
22
|
type: :development
|
23
23
|
prerelease: false
|
24
|
-
version_requirements: *
|
24
|
+
version_requirements: *25600236
|
25
25
|
- !ruby/object:Gem::Dependency
|
26
26
|
name: jekyll
|
27
|
-
requirement: &
|
27
|
+
requirement: &25599936 !ruby/object:Gem::Requirement
|
28
28
|
none: false
|
29
29
|
requirements:
|
30
30
|
- - ! '>='
|
@@ -32,10 +32,10 @@ dependencies:
|
|
32
32
|
version: '0'
|
33
33
|
type: :runtime
|
34
34
|
prerelease: false
|
35
|
-
version_requirements: *
|
35
|
+
version_requirements: *25599936
|
36
36
|
- !ruby/object:Gem::Dependency
|
37
37
|
name: rdiscount
|
38
|
-
requirement: &
|
38
|
+
requirement: &25599648 !ruby/object:Gem::Requirement
|
39
39
|
none: false
|
40
40
|
requirements:
|
41
41
|
- - ! '>='
|
@@ -43,7 +43,7 @@ dependencies:
|
|
43
43
|
version: '0'
|
44
44
|
type: :runtime
|
45
45
|
prerelease: false
|
46
|
-
version_requirements: *
|
46
|
+
version_requirements: *25599648
|
47
47
|
description: ! 'generate jekyll based blog '
|
48
48
|
email:
|
49
49
|
- larry.caiyu@gmail.com
|
@@ -55,7 +55,7 @@ files:
|
|
55
55
|
- lib/mkblog_version.rb
|
56
56
|
- bin/mkblog
|
57
57
|
- templates/about.textile
|
58
|
-
- templates/atom.xml
|
58
|
+
- templates/atom.xml.erb
|
59
59
|
- templates/blog.html
|
60
60
|
- templates/drafts/outsource-your-blog.textile
|
61
61
|
- templates/favicon.ico
|
@@ -74,10 +74,9 @@ files:
|
|
74
74
|
- templates/images/title.gif
|
75
75
|
- templates/images/twitter.gif
|
76
76
|
- templates/images/weibo.gif
|
77
|
-
- templates/index.html
|
77
|
+
- templates/index.html.erb
|
78
78
|
- templates/javascripts/jquery.github.js
|
79
79
|
- templates/javascripts/jquery.js
|
80
|
-
- templates/open-source.html
|
81
80
|
- templates/Rakefile
|
82
81
|
- templates/README.markdown
|
83
82
|
- templates/stylesheets/master.css
|
data/templates/open-source.html
DELETED
@@ -1,33 +0,0 @@
|
|
1
|
-
---
|
2
|
-
layout: master
|
3
|
-
title: Open-Source Projects
|
4
|
-
---
|
5
|
-
|
6
|
-
<h2>Open-Source</h2>
|
7
|
-
|
8
|
-
<p>I have some tiny open-source projects hosted on <a href='http://github.com/larrycai' rel='me' target='_blank'>GitHub</a>, and listed below</p>
|
9
|
-
|
10
|
-
<div id='github-projects' class='big'>
|
11
|
-
<div class="repo"> <h3><a href="http://github.com/larrycai/doxia-module-markdown">doxia-module-markdown</a></h3> <span class="desc">markdown plugin for maven site</span></div>
|
12
|
-
<div class="repo"> <h3><a href="http://github.com/larrycai/astyleclipse">astyleclipse</a></h3> <span class="desc">astyle c++ format plugin for eclipse 3.1 (doesn't works now)</span></div>
|
13
|
-
<div class="repo"> <h3><a href="http://github.com/larrycai/redmine-plugin">redmine-plugin (forked)</a></h3> <span class="desc">redmine plugin inside jenkins to connect with redmine</span></div>
|
14
|
-
</div>
|
15
|
-
|
16
|
-
<script type="text/javascript" charset="utf-8">
|
17
|
-
$.githubUser('larrycai', function(data) {
|
18
|
-
$('#github-projects').html('');
|
19
|
-
|
20
|
-
var repos = data.user.repositories;
|
21
|
-
repos.sort(function(a,b) {
|
22
|
-
return b.watchers - a.watchers;
|
23
|
-
});
|
24
|
-
|
25
|
-
$(repos).each(function() {
|
26
|
-
$('#github-projects').append("\
|
27
|
-
<div class='repo'>\
|
28
|
-
<h3><a href='" + this.url + "'>" + this.name + "</a></h3>\
|
29
|
-
<span class='desc'>"+this.description+"</span>\
|
30
|
-
</div>");
|
31
|
-
});
|
32
|
-
});
|
33
|
-
</script>
|