miyano 0.3.1

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml ADDED
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA256:
3
+ metadata.gz: 7b823029ec906b1777e99a40b47582edf6b52e8ceb771c08373998b3378c564d
4
+ data.tar.gz: 954993e76b9d8ec3af5fffd17ba233fa318c2c862ff6c71a5f3aeba8b13f0f8e
5
+ SHA512:
6
+ metadata.gz: c226da4a6ea3b9c98d281da36b1d77d6553e0be88c9138936d9515471af1cca169e42e5a2dbe02f3f27080a695773b28f7da7195ecea7a8f37b0fedee3e0fccc
7
+ data.tar.gz: 3965ed4c7aeae2f6143ae6f9506e07170c64029b53d02718c8be6e612fd26c035fa489f9f9f9fbe090b1b9ead0921f114fd8ed620655a8b831788b2c262e9338
data/.gitignore ADDED
@@ -0,0 +1,21 @@
1
+ /.bundle/
2
+ /.yardoc
3
+ /_yardoc/
4
+ /coverage/
5
+ /doc/
6
+ /pkg/
7
+ /spec/reports/
8
+ /tmp/
9
+
10
+ # rspec failure tracking
11
+ .rspec_status
12
+
13
+ # add
14
+ /.sass-cache/
15
+ .DS_Store
16
+ .rspec
17
+ /bin/
18
+ Gemfile.lock
19
+ /_site/
20
+ /post/
21
+ /layout/
data/.travis.yml ADDED
@@ -0,0 +1,5 @@
1
+ sudo: false
2
+ language: ruby
3
+ rvm:
4
+ - 2.4.0
5
+ before_install: gem install bundler -v 1.16.1
data/Gemfile ADDED
@@ -0,0 +1,10 @@
1
+ source "https://rubygems.org"
2
+
3
+ git_source(:github) {|repo_name| "https://github.com/#{repo_name}" }
4
+
5
+ # Specify your gem's dependencies in miyano.gemspec
6
+ gemspec
7
+
8
+ # local bear test
9
+
10
+ #gem "beardown", :path => ""
data/LICENSE.txt ADDED
@@ -0,0 +1,21 @@
1
+ The MIT License (MIT)
2
+
3
+ Copyright (c) 2018 wuusn
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in
13
+ all copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
21
+ THE SOFTWARE.
data/README.md ADDED
@@ -0,0 +1,54 @@
1
+ # Miyano
2
+
3
+ Example: https://yuxin.io
4
+
5
+ Guide: https://yuxin.io/introduce_miyano/
6
+
7
+ Not a big thing like [Jekyll](https://jekyllrb.com) which makes you feel free to deep DIY you blog.
8
+
9
+ The big thing brings free but also along with the complex, which needs you to pay more attention to the
10
+ attributes or the property of the post to adapt to the blog system every time you write a post than the **content** itself which is matter.
11
+
12
+ This small tool is designed for [Bear](http://www.bear-writer.com) lovers.
13
+
14
+ Focus on the right thing - writing the content.
15
+
16
+ ## Installation
17
+
18
+ $ gem install miyano
19
+
20
+ ## Usage
21
+
22
+ ### Create new blog
23
+
24
+ $ miyano new myblog
25
+
26
+ **For Markdown Compatibility Mode**
27
+
28
+ $ miyano new myblog -m
29
+
30
+ ### Change dir
31
+
32
+ $ cd myblog
33
+
34
+ ### Build and Try it
35
+
36
+ $ miyano build
37
+
38
+ $ miyano try
39
+
40
+ Then open browser and go to `localhost:8000`
41
+
42
+ ### Push to Github Pages
43
+
44
+ $ miyano push
45
+
46
+ **Give a Star to Support me!**
47
+
48
+ ## Contributing
49
+
50
+ Bug reports and pull requests are welcome on GitHub at https://github.com/wuusn/miyano.
51
+
52
+ ## License
53
+
54
+ The gem is available as open source under the terms of the [MIT License](https://opensource.org/licenses/MIT).
data/Rakefile ADDED
@@ -0,0 +1,6 @@
1
+ require "bundler/gem_tasks"
2
+ require "rspec/core/rake_task"
3
+
4
+ RSpec::Core::RakeTask.new(:spec)
5
+
6
+ task :default => :spec
data/exe/miyano ADDED
@@ -0,0 +1,19 @@
1
+ #!/usr/bin/env ruby
2
+
3
+ require "miyano"
4
+
5
+ if ARGV.empty?
6
+ conf = File.join Dir.home, ".miyano"
7
+ if File.exist? conf
8
+ blog_root = File.read(conf).strip
9
+ unless blog_root.empty?
10
+ ARGV[0] = "push"
11
+ FileUtils.cd blog_root do
12
+ Miyano::CLI.start
13
+ end
14
+ return
15
+ end
16
+ end
17
+ end
18
+ Miyano::CLI.start
19
+
data/lib/miyano.rb ADDED
@@ -0,0 +1,9 @@
1
+ $VERBOSE = nil
2
+ require "miyano/version"
3
+ require "miyano/site"
4
+ require "miyano/post"
5
+ require "miyano/cli"
6
+ require "miyano/builder"
7
+
8
+ module Miyano
9
+ end
@@ -0,0 +1,53 @@
1
+ require "zip"
2
+ require "beardown"
3
+ require "tilt"
4
+
5
+ module Miyano
6
+ class Builder
7
+ protected
8
+ def build_bear
9
+ require "beardown/compat" if File.exist? "post/.compat"
10
+ files = Dir["post/*.bearnote"]
11
+ files.each do |f|
12
+ name = File.basename(f, ".*")
13
+ bearnote = Zip::File.open f
14
+
15
+ # the name of the zip file maybe different from the name of zip dir
16
+ # i.e. first zip as `foo.zip`, the zip dir is `foo`, then rename to `bar.zip`, the zip dir still remains `foo`
17
+ zipdir = File.dirname bearnote.entries[0].name
18
+ #zipdir = zipdir.force_encoding "UTF-8"
19
+ assets = bearnote.glob("#{zipdir}/assets/*")
20
+ assets.each do |asset|
21
+ dir = "_site/#{name}/assets"
22
+ FileUtils.mkdir_p dir
23
+ path = File.join dir, File.basename(asset.name)
24
+ asset.extract path unless File.exist? path
25
+ end
26
+
27
+ text = bearnote.glob("#{zipdir}/text.txt")
28
+ .first.get_input_stream
29
+ .read.force_encoding("UTF-8")
30
+
31
+ FileUtils.mkdir_p "_site/#{name}"
32
+ File.open("_site/#{name}/index.html", "w") do |html|
33
+ html.write render_bear(f, text)
34
+ end
35
+ end
36
+ end
37
+
38
+ def render_bear(f, text)
39
+ doc = Beardown.new text
40
+ name = File.basename f, ".*"
41
+ name = name
42
+ cre_date = File.birthtime f
43
+ mod_date = File.mtime f
44
+
45
+ post = Post.new name, cre_date, mod_date, doc.title,
46
+ doc.html, doc.content, doc.tags
47
+ @site.add_post post
48
+
49
+ template = Tilt.new "layout/post.html.erb"
50
+ template.render post
51
+ end
52
+ end
53
+ end
@@ -0,0 +1,12 @@
1
+ module Miyano
2
+ class Builder
3
+ protected
4
+ def build_default_css
5
+ css = "layout/default.scss"
6
+ template = Tilt.new css
7
+ File.open("_site/default.css", "w") do |f|
8
+ f.write template.render
9
+ end
10
+ end
11
+ end
12
+ end
@@ -0,0 +1,24 @@
1
+ module Miyano
2
+ class Builder
3
+ protected
4
+
5
+ def build_html
6
+ files = Dir["post/*.html"]
7
+ files.each do |f|
8
+ name = File.basename(f, ".*")
9
+ FileUtils.mkdir_p "_site/#{name}"
10
+ FileUtils.cp f, "_site/#{name}/index.html"
11
+ render_html f
12
+ end
13
+ end
14
+
15
+ def render_html(f)
16
+ name = File.basename f, ".*"
17
+ cre_date = File.birthtime f
18
+ mod_date = File.mtime f
19
+
20
+ post = Post.new name, cre_date, mod_date, name
21
+ @site.add_post post
22
+ end
23
+ end
24
+ end
@@ -0,0 +1,11 @@
1
+ module Miyano
2
+ class Builder
3
+ protected
4
+ def build_index
5
+ template = Tilt.new "layout/index.html.erb"
6
+ File.open("_site/index.html", "w") do |html|
7
+ html.write template.render @site
8
+ end
9
+ end
10
+ end
11
+ end
@@ -0,0 +1,19 @@
1
+ module Miyano
2
+ class Builder
3
+ protected
4
+ def build_tags
5
+ @site._tags.each do |tag, _|
6
+ site = Site.new
7
+ site.current_tag = tag
8
+ @site.posts.each do |post|
9
+ site.add_post post if post.tags.include? tag
10
+ end
11
+ template = Tilt.new "layout/index.html.erb"
12
+ FileUtils.mkdir_p "_site/tag/#{tag}"
13
+ File.open("_site/tag/#{tag}/index.html", "w") do |html|
14
+ html.write template.render site
15
+ end
16
+ end
17
+ end
18
+ end
19
+ end
@@ -0,0 +1,26 @@
1
+ require "miyano/build/bear"
2
+ require "miyano/build/html"
3
+ require "miyano/build/default_css"
4
+ require "miyano/build/index"
5
+ require "miyano/build/tags"
6
+
7
+ module Miyano
8
+ class Builder
9
+
10
+ def initialize
11
+ @site = Site.new
12
+ end
13
+
14
+ def build_the_world
15
+ # post
16
+ ["bear","html"].each do |attr|
17
+ send "build_#{attr}"
18
+ end
19
+
20
+ # layout
21
+ ["default_css", "index", "tags"].each do |attr|
22
+ send "build_#{attr}"
23
+ end
24
+ end
25
+ end
26
+ end
data/lib/miyano/cli.rb ADDED
@@ -0,0 +1,34 @@
1
+ require "thor"
2
+ require "webrick"
3
+ require "miyano/cli/build"
4
+ require "miyano/cli/push"
5
+
6
+ module Miyano
7
+ class CLI < Thor
8
+ desc "version", "show version"
9
+ def version
10
+ puts "Miyano #{Miyano::VERSION}"
11
+ end
12
+
13
+ desc "new [DIR]", "create new blog"
14
+ method_option :compat, :aliases => "-m", :desc => "Markdown Compatibility Mode"
15
+ def new(dir)
16
+ compat = options[:compat]? "_compat" : ""
17
+ url = "https://github.com/wuusn/miyano_template#{compat}.git"
18
+ `git clone --depth 1 #{url} #{dir}`
19
+ `rm -rf #{dir}/.git*`
20
+ end
21
+
22
+ desc "try", "try as a local web server"
23
+ def try
24
+ root = "_site"
25
+ server = WEBrick::HTTPServer.new :Port => 8000,
26
+ :DocumentRoot => root
27
+ trap "INT" do server.shutdown end
28
+ server.start
29
+ end
30
+
31
+ register(Build, "build", "build", "build posts and layouts")
32
+ register(Push, "push", "push", "push to Github Pages")
33
+ end
34
+ end
@@ -0,0 +1,25 @@
1
+ module Miyano
2
+ class Build < Thor::Group
3
+ def check_root
4
+ unless Dir.exist?("post") and Dir.exist?("layout")
5
+ fail "!!wrong dirctory"
6
+ end
7
+ end
8
+
9
+ def clean
10
+ if Dir.exist?("_site")
11
+ FileUtils.cd "_site" do
12
+ files = Dir["*"]
13
+ files.delete "CNAME"
14
+ files.each do |f|
15
+ FileUtils.rm_rf f
16
+ end
17
+ end
18
+ end
19
+ end
20
+
21
+ def build
22
+ Builder.new.build_the_world
23
+ end
24
+ end
25
+ end
@@ -0,0 +1,45 @@
1
+ module Miyano
2
+ class Push < Thor::Group
3
+ def configs
4
+ @dir = "_site".freeze
5
+ end
6
+
7
+ def check_root
8
+ unless Dir.exist?("post") and Dir.exist?("layout")
9
+ fail "!!wrong dirctory"
10
+ end
11
+ end
12
+
13
+ def check_if_first
14
+ unless Dir.exist? File.join @dir, ".git"
15
+ FileUtils.mkdir_p @dir
16
+ FileUtils.cd @dir do
17
+ p "Enter the url of your Github Pages repo"
18
+ p "(eg: https://github.com/username/username.github.io)"
19
+ p "WARN: It will delete all files already in the repo"
20
+ print "repo url:";repo = STDIN.gets.chomp
21
+ `git init`
22
+ `git remote add origin #{repo}`
23
+ `git pull origin master`
24
+ files = Dir["*"]
25
+ files.delete "CNAME"
26
+ files.each do |f|
27
+ FileUtils.rm_rf f
28
+ end
29
+ end
30
+ end
31
+ end
32
+
33
+ def build_everytime
34
+ CLI.new.build
35
+ end
36
+
37
+ def push
38
+ FileUtils.cd @dir do
39
+ `git add .`
40
+ `git commit -m "site updated at #{Time.now}"`
41
+ `git push -u origin master`
42
+ end
43
+ end
44
+ end
45
+ end
@@ -0,0 +1,29 @@
1
+ module Miyano
2
+ class Post
3
+ attr_reader :name, :title,
4
+ :cre_date, :mod_date,
5
+ :content, :text,
6
+ :url
7
+
8
+ def initialize(name, cre_date, mod_date, title="", content="",
9
+ text="", tags=[])
10
+ @name, @title = name, title
11
+ @cre_date, @mod_date = cre_date, mod_date
12
+ @content, @text, @tags = content, text, tags
13
+ @url = "/#{@name}/"
14
+ end
15
+
16
+ def date(format="%b %-d, %Y")
17
+ @mod_date.strftime format
18
+ end
19
+
20
+ def tags
21
+ @tags
22
+ end
23
+
24
+ def summary
25
+ @text[0..30]
26
+ end
27
+
28
+ end
29
+ end
@@ -0,0 +1,65 @@
1
+ module Miyano
2
+ class Site
3
+
4
+ def initialize
5
+ @posts = []
6
+ @tags = {}
7
+ end
8
+
9
+ def posts
10
+ @posts
11
+ end
12
+
13
+ def add_post(post)
14
+ @posts << post
15
+ @posts.sort_by! {|p| [p.mod_date, p.cre_date]}
16
+ @posts.reverse!
17
+
18
+ post.tags.each do |tag|
19
+ if @tags.include? tag
20
+ @tags[tag] += 1
21
+ else
22
+ @tags[tag] = 1
23
+ end
24
+ end
25
+ @tags = @tags.sort_by {|key, value| [-value, key.length]}
26
+ .to_h
27
+ end
28
+
29
+ def _tags
30
+ @tags
31
+ end
32
+
33
+ def tags
34
+ prefix = @current_tag
35
+ ret_tags = []
36
+
37
+ if prefix.nil?
38
+ @tags.each do |_t, _|
39
+ t = _t.split("/").first
40
+ ret_tags << t unless ret_tags.include? t
41
+ end
42
+ return ret_tags
43
+ end
44
+
45
+ @tags.each do |_t, _|
46
+ next if _t.length <= prefix.length
47
+ if _t.start_with? prefix
48
+ t = _t.delete_prefix prefix
49
+ t = t.delete_prefix! "/"
50
+ t = t.split("/").first if t
51
+ ret_tags << t unless t.nil? or ret_tags.include? t
52
+ end
53
+ end
54
+ return ret_tags
55
+ end
56
+
57
+ def current_tag
58
+ @current_tag
59
+ end
60
+
61
+ def current_tag=(tag)
62
+ @current_tag = tag
63
+ end
64
+ end
65
+ end
@@ -0,0 +1,3 @@
1
+ module Miyano
2
+ VERSION = "0.3.1"
3
+ end
data/miyano.gemspec ADDED
@@ -0,0 +1,46 @@
1
+ lib = File.expand_path("../lib", __FILE__)
2
+ $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
3
+ require "miyano/version"
4
+
5
+ Gem::Specification.new do |spec|
6
+ spec.name = "miyano"
7
+ spec.version = Miyano::VERSION
8
+ spec.authors = ["wuusn"]
9
+ spec.email = ["wuusin@gmail.com"]
10
+
11
+ spec.summary = %q{A BearNote Blog system depoly on Github Pages.}
12
+ spec.homepage = "https://github.com/wuusn/miyano"
13
+ spec.license = "MIT"
14
+
15
+ # Prevent pushing this gem to RubyGems.org. To allow pushes either set the 'allowed_push_host'
16
+ # to allow pushing to a single host or delete this section to allow pushing to any host.
17
+ if spec.respond_to?(:metadata)
18
+ spec.metadata["allowed_push_host"] = "https://rubygems.org"
19
+ else
20
+ raise "RubyGems 2.0 or newer is required to protect against " \
21
+ "public gem pushes."
22
+ end
23
+
24
+ spec.files = `git ls-files -z`.split("\x0").reject do |f|
25
+ f.match(%r{^(test|spec|features)/})
26
+ end
27
+ spec.bindir = "exe"
28
+ spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
29
+ spec.require_paths = ["lib"]
30
+
31
+ spec.add_development_dependency "bundler", "~> 1.16"
32
+ spec.add_development_dependency "rake", "~> 10.0"
33
+ spec.add_development_dependency "rspec", "~> 3.0"
34
+ spec.add_development_dependency "cucumber", "~> 3.1.0"
35
+ spec.add_development_dependency "aruba", "~> 0.14.3"
36
+
37
+ spec.add_dependency "thor", "~> 0.20.0"
38
+ spec.add_dependency "sass", "~> 3.5.5"
39
+ spec.add_dependency "tilt", "~> 2.0.8"
40
+ spec.add_dependency "rubyzip", "~> 1.2.1"
41
+ spec.add_dependency "rouge", "~> 3.1.1"
42
+ spec.add_dependency "beardown", ">= 0.1.4"
43
+ spec.add_dependency "beardown-compat", ">= 0.1.2"
44
+
45
+ spec.required_ruby_version = ">= 2.5.0"
46
+ end
metadata ADDED
@@ -0,0 +1,235 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: miyano
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.3.1
5
+ platform: ruby
6
+ authors:
7
+ - wuusn
8
+ autorequire:
9
+ bindir: exe
10
+ cert_chain: []
11
+ date: 2018-03-12 00:00:00.000000000 Z
12
+ dependencies:
13
+ - !ruby/object:Gem::Dependency
14
+ name: bundler
15
+ requirement: !ruby/object:Gem::Requirement
16
+ requirements:
17
+ - - "~>"
18
+ - !ruby/object:Gem::Version
19
+ version: '1.16'
20
+ type: :development
21
+ prerelease: false
22
+ version_requirements: !ruby/object:Gem::Requirement
23
+ requirements:
24
+ - - "~>"
25
+ - !ruby/object:Gem::Version
26
+ version: '1.16'
27
+ - !ruby/object:Gem::Dependency
28
+ name: rake
29
+ requirement: !ruby/object:Gem::Requirement
30
+ requirements:
31
+ - - "~>"
32
+ - !ruby/object:Gem::Version
33
+ version: '10.0'
34
+ type: :development
35
+ prerelease: false
36
+ version_requirements: !ruby/object:Gem::Requirement
37
+ requirements:
38
+ - - "~>"
39
+ - !ruby/object:Gem::Version
40
+ version: '10.0'
41
+ - !ruby/object:Gem::Dependency
42
+ name: rspec
43
+ requirement: !ruby/object:Gem::Requirement
44
+ requirements:
45
+ - - "~>"
46
+ - !ruby/object:Gem::Version
47
+ version: '3.0'
48
+ type: :development
49
+ prerelease: false
50
+ version_requirements: !ruby/object:Gem::Requirement
51
+ requirements:
52
+ - - "~>"
53
+ - !ruby/object:Gem::Version
54
+ version: '3.0'
55
+ - !ruby/object:Gem::Dependency
56
+ name: cucumber
57
+ requirement: !ruby/object:Gem::Requirement
58
+ requirements:
59
+ - - "~>"
60
+ - !ruby/object:Gem::Version
61
+ version: 3.1.0
62
+ type: :development
63
+ prerelease: false
64
+ version_requirements: !ruby/object:Gem::Requirement
65
+ requirements:
66
+ - - "~>"
67
+ - !ruby/object:Gem::Version
68
+ version: 3.1.0
69
+ - !ruby/object:Gem::Dependency
70
+ name: aruba
71
+ requirement: !ruby/object:Gem::Requirement
72
+ requirements:
73
+ - - "~>"
74
+ - !ruby/object:Gem::Version
75
+ version: 0.14.3
76
+ type: :development
77
+ prerelease: false
78
+ version_requirements: !ruby/object:Gem::Requirement
79
+ requirements:
80
+ - - "~>"
81
+ - !ruby/object:Gem::Version
82
+ version: 0.14.3
83
+ - !ruby/object:Gem::Dependency
84
+ name: thor
85
+ requirement: !ruby/object:Gem::Requirement
86
+ requirements:
87
+ - - "~>"
88
+ - !ruby/object:Gem::Version
89
+ version: 0.20.0
90
+ type: :runtime
91
+ prerelease: false
92
+ version_requirements: !ruby/object:Gem::Requirement
93
+ requirements:
94
+ - - "~>"
95
+ - !ruby/object:Gem::Version
96
+ version: 0.20.0
97
+ - !ruby/object:Gem::Dependency
98
+ name: sass
99
+ requirement: !ruby/object:Gem::Requirement
100
+ requirements:
101
+ - - "~>"
102
+ - !ruby/object:Gem::Version
103
+ version: 3.5.5
104
+ type: :runtime
105
+ prerelease: false
106
+ version_requirements: !ruby/object:Gem::Requirement
107
+ requirements:
108
+ - - "~>"
109
+ - !ruby/object:Gem::Version
110
+ version: 3.5.5
111
+ - !ruby/object:Gem::Dependency
112
+ name: tilt
113
+ requirement: !ruby/object:Gem::Requirement
114
+ requirements:
115
+ - - "~>"
116
+ - !ruby/object:Gem::Version
117
+ version: 2.0.8
118
+ type: :runtime
119
+ prerelease: false
120
+ version_requirements: !ruby/object:Gem::Requirement
121
+ requirements:
122
+ - - "~>"
123
+ - !ruby/object:Gem::Version
124
+ version: 2.0.8
125
+ - !ruby/object:Gem::Dependency
126
+ name: rubyzip
127
+ requirement: !ruby/object:Gem::Requirement
128
+ requirements:
129
+ - - "~>"
130
+ - !ruby/object:Gem::Version
131
+ version: 1.2.1
132
+ type: :runtime
133
+ prerelease: false
134
+ version_requirements: !ruby/object:Gem::Requirement
135
+ requirements:
136
+ - - "~>"
137
+ - !ruby/object:Gem::Version
138
+ version: 1.2.1
139
+ - !ruby/object:Gem::Dependency
140
+ name: rouge
141
+ requirement: !ruby/object:Gem::Requirement
142
+ requirements:
143
+ - - "~>"
144
+ - !ruby/object:Gem::Version
145
+ version: 3.1.1
146
+ type: :runtime
147
+ prerelease: false
148
+ version_requirements: !ruby/object:Gem::Requirement
149
+ requirements:
150
+ - - "~>"
151
+ - !ruby/object:Gem::Version
152
+ version: 3.1.1
153
+ - !ruby/object:Gem::Dependency
154
+ name: beardown
155
+ requirement: !ruby/object:Gem::Requirement
156
+ requirements:
157
+ - - ">="
158
+ - !ruby/object:Gem::Version
159
+ version: 0.1.4
160
+ type: :runtime
161
+ prerelease: false
162
+ version_requirements: !ruby/object:Gem::Requirement
163
+ requirements:
164
+ - - ">="
165
+ - !ruby/object:Gem::Version
166
+ version: 0.1.4
167
+ - !ruby/object:Gem::Dependency
168
+ name: beardown-compat
169
+ requirement: !ruby/object:Gem::Requirement
170
+ requirements:
171
+ - - ">="
172
+ - !ruby/object:Gem::Version
173
+ version: 0.1.2
174
+ type: :runtime
175
+ prerelease: false
176
+ version_requirements: !ruby/object:Gem::Requirement
177
+ requirements:
178
+ - - ">="
179
+ - !ruby/object:Gem::Version
180
+ version: 0.1.2
181
+ description:
182
+ email:
183
+ - wuusin@gmail.com
184
+ executables:
185
+ - miyano
186
+ extensions: []
187
+ extra_rdoc_files: []
188
+ files:
189
+ - ".gitignore"
190
+ - ".travis.yml"
191
+ - Gemfile
192
+ - LICENSE.txt
193
+ - README.md
194
+ - Rakefile
195
+ - exe/miyano
196
+ - lib/miyano.rb
197
+ - lib/miyano/build/bear.rb
198
+ - lib/miyano/build/default_css.rb
199
+ - lib/miyano/build/html.rb
200
+ - lib/miyano/build/index.rb
201
+ - lib/miyano/build/tags.rb
202
+ - lib/miyano/builder.rb
203
+ - lib/miyano/cli.rb
204
+ - lib/miyano/cli/build.rb
205
+ - lib/miyano/cli/push.rb
206
+ - lib/miyano/post.rb
207
+ - lib/miyano/site.rb
208
+ - lib/miyano/version.rb
209
+ - miyano.gemspec
210
+ homepage: https://github.com/wuusn/miyano
211
+ licenses:
212
+ - MIT
213
+ metadata:
214
+ allowed_push_host: https://rubygems.org
215
+ post_install_message:
216
+ rdoc_options: []
217
+ require_paths:
218
+ - lib
219
+ required_ruby_version: !ruby/object:Gem::Requirement
220
+ requirements:
221
+ - - ">="
222
+ - !ruby/object:Gem::Version
223
+ version: 2.5.0
224
+ required_rubygems_version: !ruby/object:Gem::Requirement
225
+ requirements:
226
+ - - ">="
227
+ - !ruby/object:Gem::Version
228
+ version: '0'
229
+ requirements: []
230
+ rubyforge_project:
231
+ rubygems_version: 2.7.6
232
+ signing_key:
233
+ specification_version: 4
234
+ summary: A BearNote Blog system depoly on Github Pages.
235
+ test_files: []