statikaj 0.0.2 → 0.0.3.yanked
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 +15 -0
- data/CHANGELOG.md +14 -5
- data/Gemfile.lock +24 -0
- data/README.md +43 -21
- data/bin/statikaj +3 -0
- data/lib/statikaj/article.rb +20 -26
- data/lib/statikaj/cli.rb +44 -23
- data/lib/statikaj/render.rb +13 -5
- data/lib/statikaj/version.rb +1 -1
- data/statikaj.gemspec +1 -2
- data/templates/src/articles/1992-06-02-the-first-post.md +6 -1
- data/templates/src/templates/index.builder +7 -5
- metadata +9 -42
checksums.yaml
ADDED
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
---
|
|
2
|
+
!binary "U0hBMQ==":
|
|
3
|
+
metadata.gz: !binary |-
|
|
4
|
+
MjNmNGQxNzY1MzY5ZjVhOTU2MTg1OTc0NjM2YTlkZmFlMzJmODA0YQ==
|
|
5
|
+
data.tar.gz: !binary |-
|
|
6
|
+
ZmE3MTY2ODNlYzM3YTVhN2YwOGIxODhiNjUxYmUyNTBiZTU4NTcwYg==
|
|
7
|
+
!binary "U0hBNTEy":
|
|
8
|
+
metadata.gz: !binary |-
|
|
9
|
+
NTRlNTVkOTMxM2FlMDQ4NDRlODUyN2M4MGZmNTU2MGRiZWU3Y2NlNjM4OTU3
|
|
10
|
+
ZDMyZTJhYjlkN2ViNmM2ZTFjNWEyOTIyNTA2OGI2MzQ4MjllNzg0ZTU2YTIx
|
|
11
|
+
OWQ5MmNmNGE2ZGE4OTUzYzcxM2EwYjM1NmE2M2U5MmU3OTljZjc=
|
|
12
|
+
data.tar.gz: !binary |-
|
|
13
|
+
YWZlOTRiY2JhMDEzMDcwMTNiYzMzYzI0NjkxMzVlZDJhMjQzYTg3ZDBhMmQy
|
|
14
|
+
OGFhNmIwNmU2ZTBiYzkxMjQ4MDUwZTdjZDk3ZWNjYTVlNGJiY2E3NTUxY2Yz
|
|
15
|
+
ZmJkNjI5MWVlMmMyODRmNjc1NDJlZDU4ZjRiY2EwNzdiOGIwMGQ=
|
data/CHANGELOG.md
CHANGED
|
@@ -1,14 +1,23 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
-
## 0.0.
|
|
3
|
+
## 0.0.3
|
|
4
4
|
|
|
5
|
-
|
|
5
|
+
* added summary to article
|
|
6
|
+
* added permalink to article
|
|
7
|
+
* added url params on build
|
|
8
|
+
* added permalink to article
|
|
9
|
+
* added force option to rebuild old articles
|
|
10
|
+
* added atom support
|
|
6
11
|
|
|
7
|
-
*
|
|
12
|
+
* now the date of article return a Date object
|
|
8
13
|
|
|
9
|
-
|
|
14
|
+
* fixed cli require bug
|
|
15
|
+
|
|
16
|
+
## 0.0.2
|
|
17
|
+
|
|
18
|
+
* article generator
|
|
10
19
|
|
|
11
|
-
|
|
20
|
+
## 0.0.1
|
|
12
21
|
|
|
13
22
|
* blog install command
|
|
14
23
|
* build article
|
data/Gemfile.lock
ADDED
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
PATH
|
|
2
|
+
remote: .
|
|
3
|
+
specs:
|
|
4
|
+
statikaj (0.0.3.yanked)
|
|
5
|
+
builder
|
|
6
|
+
kramdown
|
|
7
|
+
thor
|
|
8
|
+
|
|
9
|
+
GEM
|
|
10
|
+
remote: https://rubygems.org/
|
|
11
|
+
specs:
|
|
12
|
+
builder (3.2.2)
|
|
13
|
+
kramdown (1.2.0)
|
|
14
|
+
rake (10.1.0)
|
|
15
|
+
thor (0.18.1)
|
|
16
|
+
|
|
17
|
+
PLATFORMS
|
|
18
|
+
java
|
|
19
|
+
ruby
|
|
20
|
+
|
|
21
|
+
DEPENDENCIES
|
|
22
|
+
bundler (~> 1.3)
|
|
23
|
+
rake
|
|
24
|
+
statikaj!
|
data/README.md
CHANGED
|
@@ -1,40 +1,62 @@
|
|
|
1
|
-
# Statikaj <a href='https://gemnasium.com/dukex/statikaj'><img src="https://gemnasium.com/dukex/statikaj.png" alt="Dependency Status" /></a>
|
|
1
|
+
# *Statikaj* <a href='https://gemnasium.com/dukex/statikaj'><img src="https://gemnasium.com/dukex/statikaj.png" alt="Dependency Status" /></a>
|
|
2
2
|
|
|
3
|
-
Simple static blog
|
|
3
|
+
Simple static blog-engine based on [cloudhead/toto](https://github.com/cloudhead/toto), perfect for hackers. Like **toto**, *Statikaj* is git-powered
|
|
4
4
|
|
|
5
5
|
|
|
6
|
+
## 10 seconds blog
|
|
6
7
|
|
|
7
|
-
|
|
8
|
+
$ gem install statikaj
|
|
9
|
+
$ statikaj new myblog
|
|
10
|
+
$ cd myblog
|
|
11
|
+
$ statikaj build --url http://myblog.com
|
|
12
|
+
$ rackup -p 3000 # http://localhost:3000
|
|
8
13
|
|
|
9
|
-
|
|
14
|
+
## Why?
|
|
10
15
|
|
|
11
|
-
|
|
16
|
+
Why you don't need generate your blog every http request. *Statikaj* **don't use database**, **don't parse ERB/Markdown** on production. Build your blog and send a static version to your server, *Statikaj* will works with any http server, you don't need ruby, java, php, etc, a small nginx or apache process will be OK.
|
|
12
17
|
|
|
13
|
-
|
|
18
|
+
## Creating and Writing a article
|
|
14
19
|
|
|
15
|
-
|
|
20
|
+
Create a article is very easy, first to create a correct file *Statikaj* provides the ```article``` command.
|
|
16
21
|
|
|
17
|
-
|
|
22
|
+
$ statikaj article
|
|
18
23
|
|
|
19
|
-
|
|
24
|
+
*Statikaj* ```article``` will prompt the article title, and will create a file into ```src/articles```, use your preferred markdown editor open the file. When you finished just builds yout blog again.
|
|
20
25
|
|
|
21
|
-
|
|
26
|
+
$ statikaj build --url http://myblog.com
|
|
22
27
|
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
28
|
+
### The article file
|
|
29
|
+
|
|
30
|
+
The article file show like it:
|
|
31
|
+
|
|
32
|
+
<pre>---
|
|
33
|
+
title: My Title
|
|
34
|
+
date: 29/09/2013
|
|
35
|
+
author: User
|
|
36
|
+
category: category
|
|
37
|
+
|
|
38
|
+
Once upon a time...</pre>
|
|
39
|
+
|
|
40
|
+
To create a **summary** use ```~~~``` as delimiter, like it:
|
|
41
|
+
|
|
42
|
+
<pre>---
|
|
43
|
+
title: My Title
|
|
44
|
+
date: 29/09/2013
|
|
45
|
+
author: User
|
|
46
|
+
category: category
|
|
47
|
+
|
|
48
|
+
Once upon a time, there was a lovely princess.
|
|
49
|
+
|
|
50
|
+
~~~
|
|
30
51
|
|
|
31
|
-
|
|
32
|
-
|
|
52
|
+
But she had an enchantment upon her of a fearful sort, which could only be broken by love's first kiss.
|
|
53
|
+
</pre>
|
|
33
54
|
|
|
34
|
-
|
|
55
|
+
## Works on your blog design
|
|
56
|
+
> TODO, for now see [src/templates](https://github.com/dukex/statikaj/tree/master/templates/src/templates)
|
|
35
57
|
|
|
36
|
-
## How use?
|
|
37
58
|
|
|
59
|
+
## Who uses it?
|
|
38
60
|
* [Apartamento131](https://github.com/dukex/apartamento131)
|
|
39
61
|
|
|
40
62
|
## Contributing
|
data/bin/statikaj
CHANGED
data/lib/statikaj/article.rb
CHANGED
|
@@ -4,9 +4,9 @@ require 'kramdown'
|
|
|
4
4
|
|
|
5
5
|
module Statikaj
|
|
6
6
|
class Article < Hash
|
|
7
|
-
def initialize obj, config
|
|
7
|
+
def initialize obj, config
|
|
8
8
|
@obj, @config = obj, config
|
|
9
|
-
self.load
|
|
9
|
+
self.load
|
|
10
10
|
end
|
|
11
11
|
|
|
12
12
|
def render(source)
|
|
@@ -19,8 +19,7 @@ module Statikaj
|
|
|
19
19
|
|
|
20
20
|
def load
|
|
21
21
|
data = if @obj.is_a? String
|
|
22
|
-
|
|
23
|
-
# use the date from the filename, or else toto won't find the article
|
|
22
|
+
meta, self[:body] = File.read(@obj).split(/\n\n/, 2)
|
|
24
23
|
@obj =~ /\/(\d{4}-\d{2}-\d{2})[^\/]*$/
|
|
25
24
|
($1 ? {:date => $1} : {}).merge(YAML.load(meta))
|
|
26
25
|
elsif @obj.is_a? Hash
|
|
@@ -42,48 +41,43 @@ module Statikaj
|
|
|
42
41
|
self[:slug] || self[:title].slugize
|
|
43
42
|
end
|
|
44
43
|
|
|
45
|
-
def summary
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
# self[:body].split(config[:delim]).first
|
|
49
|
-
# else
|
|
50
|
-
# self[:body].match(/(.{1,#{length || config[:length] || config[:max]}}.*?)(\n|\Z)/m).to_s
|
|
51
|
-
# end
|
|
52
|
-
# markdown(sum.length == self[:body].length ? sum : sum.strip.sub(/\.\Z/, '…'))
|
|
44
|
+
def summary
|
|
45
|
+
sum = self[:body].split("~~~").first
|
|
46
|
+
markdown(sum.length == self[:body].length ? sum : sum.strip.sub(/\.\Z/, '…'))
|
|
53
47
|
end
|
|
54
48
|
|
|
55
49
|
def url
|
|
56
|
-
|
|
50
|
+
"http://#{(@config[:url].sub("http://", '') + self.path).squeeze('/')}"
|
|
57
51
|
end
|
|
58
|
-
|
|
52
|
+
alias :permalink url
|
|
59
53
|
|
|
60
54
|
def body
|
|
61
|
-
markdown self[:body]
|
|
55
|
+
markdown self[:body].sub("~~~", '')
|
|
62
56
|
end
|
|
63
57
|
|
|
64
58
|
def path
|
|
65
|
-
|
|
66
|
-
# "/#{@config[:prefix]}#{self[:date].strftime("/%Y/%m/%d/#{slug}/")}".squeeze('/')
|
|
67
|
-
slug
|
|
59
|
+
"/#{slug}"
|
|
68
60
|
end
|
|
69
61
|
|
|
70
|
-
def title
|
|
62
|
+
def title
|
|
71
63
|
self[:title] || "an article"
|
|
72
64
|
end
|
|
73
65
|
|
|
74
|
-
def date
|
|
75
|
-
|
|
76
|
-
# @config[:date].call(self[:date])
|
|
77
|
-
self[:date].strftime("%B #{self[:date].day.ordinal} %Y")
|
|
66
|
+
def date
|
|
67
|
+
self[:date]
|
|
78
68
|
end
|
|
79
69
|
|
|
80
|
-
def author
|
|
70
|
+
def author
|
|
81
71
|
self[:author]
|
|
82
72
|
end
|
|
83
73
|
|
|
84
|
-
def
|
|
74
|
+
def category
|
|
75
|
+
self[:category]
|
|
76
|
+
end
|
|
77
|
+
|
|
78
|
+
def to_html
|
|
85
79
|
self.load; super(:article, @config)
|
|
86
80
|
end
|
|
87
|
-
|
|
81
|
+
alias :to_s to_html
|
|
88
82
|
end
|
|
89
83
|
end
|
data/lib/statikaj/cli.rb
CHANGED
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
require 'thor'
|
|
2
|
-
require 'erb'
|
|
3
2
|
require 'statikaj/article'
|
|
4
3
|
require 'statikaj/render'
|
|
5
4
|
require 'ext/ext'
|
|
@@ -8,28 +7,39 @@ module Statikaj
|
|
|
8
7
|
class CLI < Thor
|
|
9
8
|
include Thor::Actions
|
|
10
9
|
|
|
10
|
+
def self.source_root
|
|
11
|
+
File.expand_path('../../..', __FILE__)
|
|
12
|
+
end
|
|
13
|
+
|
|
11
14
|
desc 'new', 'Create a new project'
|
|
12
15
|
def new(name)
|
|
13
|
-
directory('templates', name)
|
|
16
|
+
directory('templates', name, verbose: true)
|
|
14
17
|
end
|
|
15
18
|
|
|
16
|
-
desc "build
|
|
19
|
+
desc "build", "Build the static blog version on public folder"
|
|
20
|
+
option :force, :type => :boolean, default: false, aliases: :f, desc: "force rebuild olds articles"
|
|
21
|
+
option :url, :type => :string, required: true, desc: "base blog url"
|
|
22
|
+
option :"no-category", :type => :boolean, default: false, desc: "without category support"
|
|
17
23
|
long_desc <<-LONGDESC
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
> $ statikaj build
|
|
22
|
-
> $ statikaj build ./source ~/myblog/public
|
|
24
|
+
> $ statikaj build --url http://myblog.com
|
|
25
|
+
> $ statikaj build --no-category --url http://myblog.com
|
|
26
|
+
> $ statikaj build -f --url http://myblog.com
|
|
23
27
|
LONGDESC
|
|
24
|
-
def build
|
|
25
|
-
source
|
|
26
|
-
destination
|
|
28
|
+
def build
|
|
29
|
+
source = Pathname.new "./src"
|
|
30
|
+
destination = Pathname.new "./public"
|
|
31
|
+
|
|
32
|
+
config = {}
|
|
33
|
+
config[:url] = options[:url].split("/").join("/")
|
|
27
34
|
|
|
28
35
|
articles_files = Dir[source.join('articles/*.md')].sort_by {|entry| File.basename(entry) }
|
|
29
|
-
articles = articles_files.map{|f| Article.new(f) }
|
|
36
|
+
articles = articles_files.map{|f| Article.new(f, config) }
|
|
37
|
+
categories = {}
|
|
30
38
|
|
|
31
39
|
articles.each do |article|
|
|
32
|
-
|
|
40
|
+
categories[article.category] ||= []
|
|
41
|
+
categories[article.category] << article
|
|
42
|
+
|
|
33
43
|
article_file = destination.join("#{article.slug}").to_s
|
|
34
44
|
|
|
35
45
|
render = Render.new(source, article: article)
|
|
@@ -38,19 +48,30 @@ module Statikaj
|
|
|
38
48
|
page.description = article.summary
|
|
39
49
|
end
|
|
40
50
|
|
|
41
|
-
|
|
42
|
-
file = File.new(article_file, "w+")
|
|
43
|
-
file.puts content
|
|
44
|
-
file.close
|
|
45
|
-
#end
|
|
51
|
+
create_file article_file, content, force: options[:force]
|
|
46
52
|
end
|
|
47
53
|
|
|
48
|
-
say "Creating index.html", :green
|
|
49
54
|
render = Render.new(source, page: 'index', articles: articles.reverse)
|
|
50
55
|
content = render.page {}
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
56
|
+
create_file destination.join("index.html"), content, force: true
|
|
57
|
+
|
|
58
|
+
render = Render.new(source, page: 'index', articles: articles.reverse, type: :atom)
|
|
59
|
+
atom_content = render.page do |page|
|
|
60
|
+
page.url = config[:url]
|
|
61
|
+
end
|
|
62
|
+
create_file destination.join("feed.atom"), atom_content, force: true
|
|
63
|
+
|
|
64
|
+
unless options[:"no-category"]
|
|
65
|
+
empty_directory destination.join("category")
|
|
66
|
+
categories.each do |key, _articles|
|
|
67
|
+
key = "No Category" if key.nil?
|
|
68
|
+
slug = key.downcase.strip.gsub(' ', '-').gsub(/[^\w-]/, '')
|
|
69
|
+
|
|
70
|
+
render = Render.new(source, page: 'category', url: slug, articles: _articles.reverse)
|
|
71
|
+
content = render.page {}
|
|
72
|
+
create_file destination.join("category/#{slug}"), content, force: true
|
|
73
|
+
end
|
|
74
|
+
end
|
|
54
75
|
end
|
|
55
76
|
|
|
56
77
|
desc "article", "Create new article"
|
|
@@ -58,7 +79,7 @@ module Statikaj
|
|
|
58
79
|
title = ask('Title: ')
|
|
59
80
|
slug = title.empty?? nil : title.strip.slugize
|
|
60
81
|
|
|
61
|
-
article = {'title' => title, 'date' => Time.now.strftime("%d/%m/%Y"), 'author' => 'User'}.to_yaml
|
|
82
|
+
article = {'title' => title, 'date' => Time.now.strftime("%d/%m/%Y"), 'author' => 'User', 'category' => 'category'}.to_yaml
|
|
62
83
|
article << "\n"
|
|
63
84
|
article << "Once upon a time...\n\n"
|
|
64
85
|
path = "src/articles/#{Time.now.strftime("%Y-%m-%d")}#{'-' + slug if slug}.md"
|
data/lib/statikaj/render.rb
CHANGED
|
@@ -1,12 +1,17 @@
|
|
|
1
|
+
require 'erb'
|
|
2
|
+
require 'builder'
|
|
3
|
+
require 'statikaj/version'
|
|
4
|
+
|
|
1
5
|
module Statikaj
|
|
2
6
|
class Render
|
|
3
|
-
attr_accessor :title, :articles, :description
|
|
7
|
+
attr_accessor :title, :articles, :description, :url
|
|
4
8
|
|
|
5
9
|
def initialize(source, options)
|
|
6
10
|
@source = source
|
|
7
11
|
@article = options.delete(:article) if options[:article]
|
|
8
12
|
@articles = options.delete(:articles) if options[:articles]
|
|
9
|
-
|
|
13
|
+
@type = options.fetch(:type, :html)
|
|
14
|
+
if options[:page] && @type == :html
|
|
10
15
|
render_page(options.delete(:page))
|
|
11
16
|
end
|
|
12
17
|
end
|
|
@@ -20,9 +25,7 @@ module Statikaj
|
|
|
20
25
|
|
|
21
26
|
def page(&blk)
|
|
22
27
|
yield self
|
|
23
|
-
|
|
24
|
-
@page
|
|
25
|
-
end
|
|
28
|
+
send("to_#{@type}"){ @page }
|
|
26
29
|
end
|
|
27
30
|
|
|
28
31
|
private
|
|
@@ -31,6 +34,11 @@ module Statikaj
|
|
|
31
34
|
ERB.new(layout).result(binding)
|
|
32
35
|
end
|
|
33
36
|
|
|
37
|
+
def to_atom
|
|
38
|
+
xml = Builder::XmlMarkup.new(:indent => 2)
|
|
39
|
+
instance_eval File.read(@source.join("templates/index.builder"))
|
|
40
|
+
end
|
|
41
|
+
|
|
34
42
|
def render_page(page_name)
|
|
35
43
|
page = File.read(@source.join("templates/pages/#{page_name}.rhtml"))
|
|
36
44
|
@page = ERB.new(page).result(binding)
|
data/lib/statikaj/version.rb
CHANGED
data/statikaj.gemspec
CHANGED
|
@@ -20,8 +20,7 @@ Gem::Specification.new do |spec|
|
|
|
20
20
|
|
|
21
21
|
spec.add_development_dependency "bundler", "~> 1.3"
|
|
22
22
|
spec.add_development_dependency "rake"
|
|
23
|
-
spec.add_development_dependency "pry"
|
|
24
23
|
spec.add_dependency "kramdown"
|
|
25
24
|
spec.add_dependency "thor"
|
|
26
|
-
spec.add_dependency "
|
|
25
|
+
spec.add_dependency "builder"
|
|
27
26
|
end
|
|
@@ -2,9 +2,14 @@
|
|
|
2
2
|
title: The first post!
|
|
3
3
|
date: 02/06/1992
|
|
4
4
|
author: Duke
|
|
5
|
+
category: fun
|
|
5
6
|
|
|
6
7
|
|
|
7
|
-
Pitchfork viral kale chips Neutra. Irony Echo Park ennui asymmetrical. Literally Intelligentsia asymmetrical PBR, hashtag actually photo booth hella shabby chic.
|
|
8
|
+
Pitchfork viral kale chips Neutra. Irony Echo Park ennui asymmetrical. Literally Intelligentsia asymmetrical PBR, hashtag actually photo booth hella shabby chic.
|
|
9
|
+
|
|
10
|
+
~~~
|
|
11
|
+
|
|
12
|
+
Mustache narwhal tattooed Terry Richardson Marfa chia Vice ugh. Food truck fanny pack try-hard Echo Park. Fingerstache banh mi aesthetic deep v, iPhone squid Banksy locavore. Fingerstache pour-over forage chillwave, pork belly shabby chic put a bird on it fashion axe before they sold out irony.
|
|
8
13
|
|
|
9
14
|
Beard keffiyeh food truck, skateboard messenger bag put a bird on it wolf hoodie gluten-free Godard Portland. Freegan Bushwick Schlitz, distillery vegan keytar sustainable 90's stumptown fixie cardigan Terry Richardson squid chillwave kogi. Kogi shabby chic salvia Brooklyn. PBR&B quinoa meggings, gluten-free +1 disrupt salvia Blue Bottle next level Tumblr mumblecore kale chips hoodie YOLO. Helvetica scenester Neutra PBR, Banksy readymade pug drinking vinegar slow-carb semiotics kale chips Truffaut swag pop-up. Odd Future polaroid wayfarers, scenester ethnic Helvetica pug street art Etsy Carles four loko stumptown synth post-ironic. American Apparel forage kitsch, try-hard you probably haven't heard of them cornhole Brooklyn.
|
|
10
15
|
|
|
@@ -1,15 +1,18 @@
|
|
|
1
1
|
xml.instruct!
|
|
2
2
|
xml.feed "xmlns" => "http://www.w3.org/2005/Atom" do
|
|
3
|
-
xml.title
|
|
4
|
-
xml.id
|
|
3
|
+
xml.title title
|
|
4
|
+
xml.id "urn:md5:#{Digest::MD5.hexdigest(url)}"
|
|
5
5
|
xml.updated articles.first[:date].iso8601 unless articles.empty?
|
|
6
|
-
xml.author { xml.name
|
|
6
|
+
xml.author { xml.name "A" }
|
|
7
|
+
xml.link "rel" => "self", "href" => "#{url}/feed.atom", "type" => "application/atom+xml"
|
|
8
|
+
xml.link "rel" => "alternate", "href" => url, "type" => "text/html"
|
|
9
|
+
xml.generator "Statikaj", "uri" => "https://github.com/dukex/statikaj", "version" => Statikaj::VERSION
|
|
7
10
|
|
|
8
11
|
articles.reverse[0...10].each do |article|
|
|
9
12
|
xml.entry do
|
|
10
13
|
xml.title article.title
|
|
11
14
|
xml.link "rel" => "alternate", "href" => article.url
|
|
12
|
-
xml.id article.url
|
|
15
|
+
xml.id "urn:md5:#{Digest::MD5.hexdigest(article.url)}"
|
|
13
16
|
xml.published article[:date].iso8601
|
|
14
17
|
xml.updated article[:date].iso8601
|
|
15
18
|
xml.author { xml.name article[:author] }
|
|
@@ -18,4 +21,3 @@ xml.feed "xmlns" => "http://www.w3.org/2005/Atom" do
|
|
|
18
21
|
end
|
|
19
22
|
end
|
|
20
23
|
end
|
|
21
|
-
|
metadata
CHANGED
|
@@ -1,20 +1,18 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: statikaj
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.0.
|
|
5
|
-
prerelease:
|
|
4
|
+
version: 0.0.3.yanked
|
|
6
5
|
platform: ruby
|
|
7
6
|
authors:
|
|
8
7
|
- Duke
|
|
9
8
|
autorequire:
|
|
10
9
|
bindir: bin
|
|
11
10
|
cert_chain: []
|
|
12
|
-
date: 2013-09-
|
|
11
|
+
date: 2013-09-29 00:00:00.000000000 Z
|
|
13
12
|
dependencies:
|
|
14
13
|
- !ruby/object:Gem::Dependency
|
|
15
14
|
name: bundler
|
|
16
15
|
requirement: !ruby/object:Gem::Requirement
|
|
17
|
-
none: false
|
|
18
16
|
requirements:
|
|
19
17
|
- - ~>
|
|
20
18
|
- !ruby/object:Gem::Version
|
|
@@ -22,7 +20,6 @@ dependencies:
|
|
|
22
20
|
type: :development
|
|
23
21
|
prerelease: false
|
|
24
22
|
version_requirements: !ruby/object:Gem::Requirement
|
|
25
|
-
none: false
|
|
26
23
|
requirements:
|
|
27
24
|
- - ~>
|
|
28
25
|
- !ruby/object:Gem::Version
|
|
@@ -30,7 +27,6 @@ dependencies:
|
|
|
30
27
|
- !ruby/object:Gem::Dependency
|
|
31
28
|
name: rake
|
|
32
29
|
requirement: !ruby/object:Gem::Requirement
|
|
33
|
-
none: false
|
|
34
30
|
requirements:
|
|
35
31
|
- - ! '>='
|
|
36
32
|
- !ruby/object:Gem::Version
|
|
@@ -38,23 +34,6 @@ dependencies:
|
|
|
38
34
|
type: :development
|
|
39
35
|
prerelease: false
|
|
40
36
|
version_requirements: !ruby/object:Gem::Requirement
|
|
41
|
-
none: false
|
|
42
|
-
requirements:
|
|
43
|
-
- - ! '>='
|
|
44
|
-
- !ruby/object:Gem::Version
|
|
45
|
-
version: '0'
|
|
46
|
-
- !ruby/object:Gem::Dependency
|
|
47
|
-
name: pry
|
|
48
|
-
requirement: !ruby/object:Gem::Requirement
|
|
49
|
-
none: false
|
|
50
|
-
requirements:
|
|
51
|
-
- - ! '>='
|
|
52
|
-
- !ruby/object:Gem::Version
|
|
53
|
-
version: '0'
|
|
54
|
-
type: :development
|
|
55
|
-
prerelease: false
|
|
56
|
-
version_requirements: !ruby/object:Gem::Requirement
|
|
57
|
-
none: false
|
|
58
37
|
requirements:
|
|
59
38
|
- - ! '>='
|
|
60
39
|
- !ruby/object:Gem::Version
|
|
@@ -62,7 +41,6 @@ dependencies:
|
|
|
62
41
|
- !ruby/object:Gem::Dependency
|
|
63
42
|
name: kramdown
|
|
64
43
|
requirement: !ruby/object:Gem::Requirement
|
|
65
|
-
none: false
|
|
66
44
|
requirements:
|
|
67
45
|
- - ! '>='
|
|
68
46
|
- !ruby/object:Gem::Version
|
|
@@ -70,7 +48,6 @@ dependencies:
|
|
|
70
48
|
type: :runtime
|
|
71
49
|
prerelease: false
|
|
72
50
|
version_requirements: !ruby/object:Gem::Requirement
|
|
73
|
-
none: false
|
|
74
51
|
requirements:
|
|
75
52
|
- - ! '>='
|
|
76
53
|
- !ruby/object:Gem::Version
|
|
@@ -78,7 +55,6 @@ dependencies:
|
|
|
78
55
|
- !ruby/object:Gem::Dependency
|
|
79
56
|
name: thor
|
|
80
57
|
requirement: !ruby/object:Gem::Requirement
|
|
81
|
-
none: false
|
|
82
58
|
requirements:
|
|
83
59
|
- - ! '>='
|
|
84
60
|
- !ruby/object:Gem::Version
|
|
@@ -86,15 +62,13 @@ dependencies:
|
|
|
86
62
|
type: :runtime
|
|
87
63
|
prerelease: false
|
|
88
64
|
version_requirements: !ruby/object:Gem::Requirement
|
|
89
|
-
none: false
|
|
90
65
|
requirements:
|
|
91
66
|
- - ! '>='
|
|
92
67
|
- !ruby/object:Gem::Version
|
|
93
68
|
version: '0'
|
|
94
69
|
- !ruby/object:Gem::Dependency
|
|
95
|
-
name:
|
|
70
|
+
name: builder
|
|
96
71
|
requirement: !ruby/object:Gem::Requirement
|
|
97
|
-
none: false
|
|
98
72
|
requirements:
|
|
99
73
|
- - ! '>='
|
|
100
74
|
- !ruby/object:Gem::Version
|
|
@@ -102,7 +76,6 @@ dependencies:
|
|
|
102
76
|
type: :runtime
|
|
103
77
|
prerelease: false
|
|
104
78
|
version_requirements: !ruby/object:Gem::Requirement
|
|
105
|
-
none: false
|
|
106
79
|
requirements:
|
|
107
80
|
- - ! '>='
|
|
108
81
|
- !ruby/object:Gem::Version
|
|
@@ -118,6 +91,7 @@ files:
|
|
|
118
91
|
- .gitignore
|
|
119
92
|
- CHANGELOG.md
|
|
120
93
|
- Gemfile
|
|
94
|
+
- Gemfile.lock
|
|
121
95
|
- LICENSE.txt
|
|
122
96
|
- README.md
|
|
123
97
|
- Rakefile
|
|
@@ -140,32 +114,25 @@ files:
|
|
|
140
114
|
homepage: https://github.com/dukex/statikaj
|
|
141
115
|
licenses:
|
|
142
116
|
- MIT
|
|
117
|
+
metadata: {}
|
|
143
118
|
post_install_message:
|
|
144
119
|
rdoc_options: []
|
|
145
120
|
require_paths:
|
|
146
121
|
- lib
|
|
147
122
|
required_ruby_version: !ruby/object:Gem::Requirement
|
|
148
|
-
none: false
|
|
149
123
|
requirements:
|
|
150
124
|
- - ! '>='
|
|
151
125
|
- !ruby/object:Gem::Version
|
|
152
126
|
version: '0'
|
|
153
|
-
segments:
|
|
154
|
-
- 0
|
|
155
|
-
hash: -1496453532116018902
|
|
156
127
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
|
157
|
-
none: false
|
|
158
128
|
requirements:
|
|
159
|
-
- - ! '
|
|
129
|
+
- - ! '>'
|
|
160
130
|
- !ruby/object:Gem::Version
|
|
161
|
-
version:
|
|
162
|
-
segments:
|
|
163
|
-
- 0
|
|
164
|
-
hash: -1496453532116018902
|
|
131
|
+
version: 1.3.1
|
|
165
132
|
requirements: []
|
|
166
133
|
rubyforge_project:
|
|
167
|
-
rubygems_version:
|
|
134
|
+
rubygems_version: 2.0.7
|
|
168
135
|
signing_key:
|
|
169
|
-
specification_version:
|
|
136
|
+
specification_version: 4
|
|
170
137
|
summary: Statikaj is simple tool to create statikaj blogs.
|
|
171
138
|
test_files: []
|