blogster 0.1.1

Sign up to get free protection for your applications and to get access to all the features.
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA1:
3
+ metadata.gz: 344e489be60b80222b1dafdd63a5ec132d371f7e
4
+ data.tar.gz: f1aa6432368fb5b30fe275693bbec3cee0d2e1c0
5
+ SHA512:
6
+ metadata.gz: 978e739ccd852ec0c019725d25bb1f5ca3ec54662e4ab035cb65d10b0e3813b2bc53ea8eeb23700d61ef6d26fcf3226019aa29e374017c7230fe2c6286a8d1b4
7
+ data.tar.gz: 51058a36bf84a8ed6ccf9da20b659421d3e50c2a87ad7846ff9476ae32a7b5db129bde0593365d97a1880e2d2d742851d31cd9663ea3b06fa130820f155148cd
@@ -0,0 +1,9 @@
1
+ /.bundle/
2
+ /.yardoc
3
+ /Gemfile.lock
4
+ /_yardoc/
5
+ /coverage/
6
+ /doc/
7
+ /pkg/
8
+ /spec/reports/
9
+ /tmp/
data/.rspec ADDED
@@ -0,0 +1,2 @@
1
+ --format documentation
2
+ --color
@@ -0,0 +1,5 @@
1
+ sudo: false
2
+ language: ruby
3
+ rvm:
4
+ - 2.3.0
5
+ before_install: gem install bundler -v 1.13.6
@@ -0,0 +1,74 @@
1
+ # Contributor Covenant Code of Conduct
2
+
3
+ ## Our Pledge
4
+
5
+ In the interest of fostering an open and welcoming environment, we as
6
+ contributors and maintainers pledge to making participation in our project and
7
+ our community a harassment-free experience for everyone, regardless of age, body
8
+ size, disability, ethnicity, gender identity and expression, level of experience,
9
+ nationality, personal appearance, race, religion, or sexual identity and
10
+ orientation.
11
+
12
+ ## Our Standards
13
+
14
+ Examples of behavior that contributes to creating a positive environment
15
+ include:
16
+
17
+ * Using welcoming and inclusive language
18
+ * Being respectful of differing viewpoints and experiences
19
+ * Gracefully accepting constructive criticism
20
+ * Focusing on what is best for the community
21
+ * Showing empathy towards other community members
22
+
23
+ Examples of unacceptable behavior by participants include:
24
+
25
+ * The use of sexualized language or imagery and unwelcome sexual attention or
26
+ advances
27
+ * Trolling, insulting/derogatory comments, and personal or political attacks
28
+ * Public or private harassment
29
+ * Publishing others' private information, such as a physical or electronic
30
+ address, without explicit permission
31
+ * Other conduct which could reasonably be considered inappropriate in a
32
+ professional setting
33
+
34
+ ## Our Responsibilities
35
+
36
+ Project maintainers are responsible for clarifying the standards of acceptable
37
+ behavior and are expected to take appropriate and fair corrective action in
38
+ response to any instances of unacceptable behavior.
39
+
40
+ Project maintainers have the right and responsibility to remove, edit, or
41
+ reject comments, commits, code, wiki edits, issues, and other contributions
42
+ that are not aligned to this Code of Conduct, or to ban temporarily or
43
+ permanently any contributor for other behaviors that they deem inappropriate,
44
+ threatening, offensive, or harmful.
45
+
46
+ ## Scope
47
+
48
+ This Code of Conduct applies both within project spaces and in public spaces
49
+ when an individual is representing the project or its community. Examples of
50
+ representing a project or community include using an official project e-mail
51
+ address, posting via an official social media account, or acting as an appointed
52
+ representative at an online or offline event. Representation of a project may be
53
+ further defined and clarified by project maintainers.
54
+
55
+ ## Enforcement
56
+
57
+ Instances of abusive, harassing, or otherwise unacceptable behavior may be
58
+ reported by contacting the project team at njichev@gmail.com. All
59
+ complaints will be reviewed and investigated and will result in a response that
60
+ is deemed necessary and appropriate to the circumstances. The project team is
61
+ obligated to maintain confidentiality with regard to the reporter of an incident.
62
+ Further details of specific enforcement policies may be posted separately.
63
+
64
+ Project maintainers who do not follow or enforce the Code of Conduct in good
65
+ faith may face temporary or permanent repercussions as determined by other
66
+ members of the project's leadership.
67
+
68
+ ## Attribution
69
+
70
+ This Code of Conduct is adapted from the [Contributor Covenant][homepage], version 1.4,
71
+ available at [http://contributor-covenant.org/version/1/4][version]
72
+
73
+ [homepage]: http://contributor-covenant.org
74
+ [version]: http://contributor-covenant.org/version/1/4/
data/Gemfile ADDED
@@ -0,0 +1,4 @@
1
+ source 'https://rubygems.org'
2
+
3
+ # Specify your gem's dependencies in blogster.gemspec
4
+ gemspec
@@ -0,0 +1,21 @@
1
+ The MIT License (MIT)
2
+
3
+ Copyright (c) 2017 Nikola Jichev
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/Plan.md ADDED
@@ -0,0 +1,4 @@
1
+ 1. Take all directories in current dir.
2
+ 2. Create a response for each sub-folder.
3
+ 3. Render md files in each sub-folder.
4
+ 4. Add some styles.
@@ -0,0 +1,50 @@
1
+ # Blogster
2
+
3
+ Welcome to Blogster!
4
+
5
+
6
+ ## Installation
7
+
8
+ Install it yourself as:
9
+
10
+ $ gem install blogster
11
+
12
+ ## Usage
13
+
14
+ Creating a new app with a name `app_name`.
15
+
16
+ $ blogster new app_name
17
+
18
+ This will create a new skeleton for our new application.
19
+ Including styles and layouts.
20
+
21
+ After you enter the new app.
22
+
23
+ $ cd app_name
24
+
25
+ You can generate posts with
26
+
27
+ $ blogster generate Post Vim-Usage
28
+
29
+ And then you can run the project with
30
+
31
+ $ blogster run
32
+
33
+ Bear in mind that in order to use `run` or `generate`, you have
34
+ to be inside a blogster root dir.
35
+
36
+ ## Development
37
+
38
+ After checking out the repo, run `bin/setup` to install dependencies. Then, run `rake spec` to run the tests. You can also run `bin/console` for an interactive prompt that will allow you to experiment.
39
+
40
+ To install this gem onto your local machine, run `bundle exec rake install`. To release a new version, update the version number in `version.rb`, and then run `bundle exec rake release`, which will create a git tag for the version, push git commits and tags, and push the `.gem` file to [rubygems.org](https://rubygems.org).
41
+
42
+ ## Contributing
43
+
44
+ Bug reports and pull requests are welcome on GitHub at https://github.com/njichev/blogster. This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the [Contributor Covenant](http://contributor-covenant.org) code of conduct.
45
+
46
+
47
+ ## License
48
+
49
+ The gem is available as open source under the terms of the [MIT License](http://opensource.org/licenses/MIT).
50
+
@@ -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
@@ -0,0 +1,14 @@
1
+ #!/usr/bin/env ruby
2
+
3
+ require 'bundler/setup'
4
+ require 'blogster'
5
+
6
+ # You can add fixtures and/or initialization code here to make experimenting
7
+ # with your gem easier. You can also use a different console, if you like.
8
+
9
+ # (If you use this, don't forget to add pry to your Gemfile!)
10
+ require 'pry'
11
+ Pry.start
12
+
13
+ # require "irb"
14
+ # IRB.start
@@ -0,0 +1,8 @@
1
+ #!/usr/bin/env bash
2
+ set -euo pipefail
3
+ IFS=$'\n\t'
4
+ set -vx
5
+
6
+ bundle install
7
+
8
+ # Do any other automated setup that you need to do here
@@ -0,0 +1,41 @@
1
+ # coding: utf-8
2
+ lib = File.expand_path('../lib', __FILE__)
3
+ $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
4
+ require 'blogster/version'
5
+
6
+ Gem::Specification.new do |spec|
7
+ spec.name = 'blogster'
8
+ spec.version = Blogster::VERSION
9
+ spec.authors = ['Nikola Jichev']
10
+ spec.email = ['njichev@gmail.com']
11
+
12
+ spec.summary = 'Simple static site generator.'
13
+ spec.description = 'You can create static blogs with this gem.'
14
+ spec.homepage = 'https://github.com/njichev/blogster'
15
+ spec.license = 'MIT'
16
+
17
+ # # Prevent pushing this gem to RubyGems.org. To allow pushes either set the 'allowed_push_host'
18
+ # # to allow pushing to a single host or delete this section to allow pushing to any host.
19
+ # if spec.respond_to?(:metadata)
20
+ # spec.metadata['allowed_push_host'] = 'https://github.com/njichev/blogster'
21
+ # else
22
+ # raise 'RubyGems 2.0 or newer is required to protect against ' \
23
+ # 'public gem pushes.'
24
+ # end
25
+
26
+ spec.files = `git ls-files -z`.split("\x0").reject do |f|
27
+ f.match(%r{^(test|spec|features)/})
28
+ end
29
+ spec.bindir = 'exe'
30
+ spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
31
+ spec.require_paths = ['lib']
32
+
33
+ spec.add_development_dependency 'bundler', '~> 1.13'
34
+ spec.add_development_dependency 'rake', '~> 10.0'
35
+ spec.add_development_dependency 'rspec', '~> 3.0'
36
+ spec.add_development_dependency 'sinatra', '~> 1.4'
37
+ spec.add_development_dependency 'pry', '~> 0.10'
38
+ spec.add_development_dependency 'pry-doc', '~> 0.10'
39
+ spec.add_development_dependency 'rdiscount', '~> 2.2'
40
+ spec.add_development_dependency 'slim', '~> 3.0'
41
+ end
File without changes
@@ -0,0 +1,57 @@
1
+ #!/usr/bin/env ruby
2
+ # Usage:
3
+ # `blogster generate about me`
4
+ # will create a markdown file in `./_about/me.md`
5
+
6
+ require 'fileutils'
7
+
8
+ user_path = ENV['PWD']
9
+ page, template_name, = ARGV
10
+
11
+ unless File.exist?("#{user_path}/.blogster")
12
+ puts 'You need to be in a blogster file structure.'
13
+ puts 'Run the new command first.'
14
+ exit
15
+ end
16
+
17
+ if ARGV.size < 2
18
+ puts 'You need to supply two arguments - a page and a template.'
19
+ exit
20
+ end
21
+
22
+ template_path = File.join(user_path, "_#{page.downcase}")
23
+ template = File.join(template_path.downcase, "#{template_name}.md".downcase)
24
+
25
+ puts "Creating #{template_path} folder."
26
+ FileUtils.mkdir_p template_path
27
+
28
+ if File.exist?(template)
29
+ puts 'This template already exists.'
30
+ puts 'Delete the old one first and then run the command again.'
31
+ exit
32
+ end
33
+
34
+ puts "Generating markdown file: #{template}"
35
+ File.open(template, 'w') do |file|
36
+ time = Time.now.strftime('%d/%m/%Y at %I:%M%p')
37
+
38
+ puts "Published on #{time}"
39
+ file.puts <<-PAGE_TEMPLATE
40
+ # #{page.capitalize}
41
+
42
+ ## #{template_name.capitalize}
43
+
44
+ *published on #{time}*
45
+
46
+ 1. Template generated.
47
+ 2. **You can edit this markdown however you want.**
48
+ 3. You can inline HTML and all the cool stuff you get with markdown files.
49
+
50
+ **Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.**
51
+
52
+
53
+ *Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.*
54
+ PAGE_TEMPLATE
55
+ end
56
+
57
+ puts 'Finished.'
data/exe/new ADDED
@@ -0,0 +1,24 @@
1
+ #!/usr/bin/env ruby
2
+ require 'fileutils'
3
+ user_path = ENV['PWD']
4
+ project_name = ARGV.first
5
+ root = File.dirname(__dir__)
6
+ template_path = File.join(root, 'template_folder', '.')
7
+
8
+ if ARGV.empty?
9
+ puts 'You must run new command with a file argument.'
10
+ puts 'In which the project will be generated.'
11
+ exit
12
+ end
13
+
14
+ project_path = File.join(user_path, project_name)
15
+
16
+ puts 'Creating new blogster project...'
17
+
18
+ puts "Generating project's path."
19
+ FileUtils.mkdir_p(project_path)
20
+
21
+ puts 'Generating project templates.'
22
+ FileUtils.cp_r(template_path, project_path)
23
+
24
+ puts 'Finished.'
data/exe/run ADDED
@@ -0,0 +1,17 @@
1
+ #!/usr/bin/env ruby
2
+
3
+ require_relative '../lib/blogster.rb'
4
+
5
+ user_path = ENV['PWD']
6
+
7
+ unless File.exist?("#{user_path}/.blogster")
8
+ puts 'You need to be inside a project root directory.'
9
+ exit
10
+ end
11
+
12
+ sub_directories = Dir['*/'].map { |file| File.join(user_path, file) }
13
+ parsed_files = Blogster::TemplatesParser.new(sub_directories)
14
+ templates = parsed_files.to_templates
15
+
16
+ Blogster.create(templates)
17
+ Blogster.run!
@@ -0,0 +1,53 @@
1
+ require 'sinatra/base'
2
+ require 'rdiscount'
3
+ require 'slim'
4
+
5
+ require_relative 'blogster/version'
6
+ require_relative 'blogster/templates'
7
+ require_relative 'blogster/templates_parser'
8
+ require_relative 'blogster/router'
9
+ require_relative 'blogster/application_controller'
10
+
11
+ module Blogster
12
+ class << self
13
+ attr_reader :templates
14
+
15
+ def create(templates)
16
+ @templates = templates
17
+ pages.each { |page| create_page(page) && create_page_templates(page) }
18
+ end
19
+
20
+ def pages
21
+ @pages ||= @templates.pages
22
+ end
23
+
24
+ def create_page(page)
25
+ Class.new(controller) do
26
+ get "/#{page}" do
27
+ end
28
+ end
29
+ end
30
+
31
+ def create_page_templates(page)
32
+ templates.each(page) do |template|
33
+ Class.new(controller) do
34
+ get "/#{page}/#{template.name}" do
35
+ slim :layout do
36
+ markdown template.file, layout: false
37
+ end
38
+ end
39
+ end
40
+ end
41
+ end
42
+
43
+ def run!
44
+ Router.run!
45
+ end
46
+
47
+ private
48
+
49
+ def controller
50
+ ApplicationController
51
+ end
52
+ end
53
+ end
@@ -0,0 +1,11 @@
1
+ class ApplicationController < Sinatra::Base
2
+ def self.inherited(subclass)
3
+ Router.use(subclass)
4
+ super
5
+ end
6
+
7
+ set :root, ENV['PWD']
8
+ set :views, proc { File.join(root, 'layout') }
9
+
10
+ enable :logging
11
+ end
@@ -0,0 +1,11 @@
1
+ # This is the base controller of our application.
2
+ # It will mount the dynamically created controllers
3
+ # in our app.
4
+ # This is achieved with inheritance callback.
5
+ class Router < Sinatra::Base
6
+ set :root, ENV['PWD']
7
+ set :views, proc { File.join(root, 'layout') }
8
+
9
+ set :port, 5000
10
+ set :bind, '0.0.0.0'
11
+ end
@@ -0,0 +1,51 @@
1
+ module Blogster
2
+ class Templates
3
+ attr_reader :templates
4
+
5
+ def initialize(templates = {})
6
+ @templates = templates
7
+ end
8
+
9
+ def each(page, &block)
10
+ templates[page].each(&block)
11
+ end
12
+
13
+ def [](page)
14
+ templates[page]
15
+ end
16
+
17
+ def []=(page, page_templates = [])
18
+ templates[page] = page_templates
19
+ end
20
+
21
+ def pages
22
+ templates.keys
23
+ end
24
+ end
25
+
26
+ class Template
27
+ attr_reader :path
28
+
29
+ def initialize(path, name)
30
+ @path = path
31
+ @name = name
32
+ end
33
+
34
+ def file
35
+ File.read(fullpath)
36
+ end
37
+
38
+ def fullpath
39
+ File.join(path, @name)
40
+ end
41
+
42
+ def name
43
+ @suffixless_name ||= @name.delete('.md')
44
+ end
45
+
46
+ def ==(other)
47
+ name == other.name &&
48
+ path == other.path
49
+ end
50
+ end
51
+ end
@@ -0,0 +1,44 @@
1
+ module Blogster
2
+ class TemplatesParser
3
+ attr_reader :dirs
4
+
5
+ def initialize(dirs)
6
+ @dirs = dirs
7
+ end
8
+
9
+ def to_templates
10
+ dirs.each do |dir|
11
+ page = get_page_from_dir(dir)
12
+ templates[page] = folder_files(dir).map do |path|
13
+ template_path, name = parse_template_path(path)
14
+ new_template(template_path, name)
15
+ end
16
+ end
17
+ templates
18
+ end
19
+
20
+ def get_page_from_dir(dir)
21
+ dir.split('/').last.delete('_')
22
+ end
23
+
24
+ def folder_files(dir)
25
+ Dir[File.join(dir, '*')]
26
+ end
27
+
28
+ def parse_template_path(path)
29
+ *template_path, name = path.split('/')
30
+ template_path = File.join(*template_path)
31
+ [template_path, name]
32
+ end
33
+
34
+ private
35
+
36
+ def templates
37
+ @templates ||= Blogster::Templates.new
38
+ end
39
+
40
+ def new_template(template_path, name)
41
+ Blogster::Template.new(template_path, name)
42
+ end
43
+ end
44
+ end
@@ -0,0 +1,3 @@
1
+ module Blogster
2
+ VERSION = '0.1.1'.freeze
3
+ end
File without changes
@@ -0,0 +1,7 @@
1
+ html
2
+ head
3
+ title
4
+ = 'Blogster'
5
+ link rel="stylesheet" href="/style/style.css" type='text/css'
6
+ body
7
+ == yield
@@ -0,0 +1,101 @@
1
+ body {
2
+ color: #333;
3
+ font-family: 'Segoe UI', 'Lucida Grande', Helvetica, sans-serif;
4
+ line-height: 1.5;
5
+ margin: 50px auto;
6
+ max-width: 800px;
7
+ }
8
+
9
+ h1, h2, h3, h4, h5, h6 {
10
+ font-weight: normal;
11
+ line-height: 1em;
12
+ margin: 20px 0;
13
+ }
14
+ h1 {
15
+ font-size: 2.25em;
16
+ }
17
+ h2 {
18
+ font-size: 1.75em;
19
+ }
20
+ h3 {
21
+ font-size: 1.5em;
22
+ }
23
+ h4, h5, h6 {
24
+ font-size: 1.25em;
25
+ }
26
+
27
+ a {
28
+ color: #08C;
29
+ text-decoration: none;
30
+ }
31
+ a:hover, a:focus {
32
+ text-decoration: underline;
33
+ }
34
+ a:visited {
35
+ color: #058;
36
+ }
37
+
38
+ img {
39
+ max-width: 100%;
40
+ }
41
+
42
+ li + li {
43
+ margin-top: 3px;
44
+ }
45
+ dt {
46
+ font-weight: bold;
47
+ }
48
+
49
+ code {
50
+ background: #EEE;
51
+ font-family: "Consolas", "Lucida Console", monospace;
52
+ padding: 1px 5px;
53
+ }
54
+ pre {
55
+ background: #EEE;
56
+ padding: 5px 10px;
57
+ white-space: pre-wrap;
58
+ }
59
+ pre code {
60
+ padding: 0;
61
+ }
62
+
63
+ blockquote {
64
+ border-left: 5px solid #EEE;
65
+ margin: 0;
66
+ padding: 0 10px;
67
+ }
68
+
69
+ table {
70
+ border-collapse: collapse;
71
+ width: 100%;
72
+ }
73
+ table + table {
74
+ margin-top: 1em;
75
+ }
76
+ thead {
77
+ background: #EEE;
78
+ text-align: left;
79
+ }
80
+ th, td {
81
+ border: 1px solid #EEE;
82
+ padding: 5px 10px;
83
+ }
84
+
85
+ hr {
86
+ background: #EEE;
87
+ border: 0;
88
+ height: 1px;
89
+ }
90
+
91
+ body {
92
+ color: #000;
93
+ font: 12pt serif;
94
+ margin: 0;
95
+ max-width: 100%;
96
+ }
97
+
98
+ a {
99
+ color: #666;
100
+ text-decoration: underline;
101
+ }
metadata ADDED
@@ -0,0 +1,184 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: blogster
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.1.1
5
+ platform: ruby
6
+ authors:
7
+ - Nikola Jichev
8
+ autorequire:
9
+ bindir: exe
10
+ cert_chain: []
11
+ date: 2017-02-09 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.13'
20
+ type: :development
21
+ prerelease: false
22
+ version_requirements: !ruby/object:Gem::Requirement
23
+ requirements:
24
+ - - "~>"
25
+ - !ruby/object:Gem::Version
26
+ version: '1.13'
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: sinatra
57
+ requirement: !ruby/object:Gem::Requirement
58
+ requirements:
59
+ - - "~>"
60
+ - !ruby/object:Gem::Version
61
+ version: '1.4'
62
+ type: :development
63
+ prerelease: false
64
+ version_requirements: !ruby/object:Gem::Requirement
65
+ requirements:
66
+ - - "~>"
67
+ - !ruby/object:Gem::Version
68
+ version: '1.4'
69
+ - !ruby/object:Gem::Dependency
70
+ name: pry
71
+ requirement: !ruby/object:Gem::Requirement
72
+ requirements:
73
+ - - "~>"
74
+ - !ruby/object:Gem::Version
75
+ version: '0.10'
76
+ type: :development
77
+ prerelease: false
78
+ version_requirements: !ruby/object:Gem::Requirement
79
+ requirements:
80
+ - - "~>"
81
+ - !ruby/object:Gem::Version
82
+ version: '0.10'
83
+ - !ruby/object:Gem::Dependency
84
+ name: pry-doc
85
+ requirement: !ruby/object:Gem::Requirement
86
+ requirements:
87
+ - - "~>"
88
+ - !ruby/object:Gem::Version
89
+ version: '0.10'
90
+ type: :development
91
+ prerelease: false
92
+ version_requirements: !ruby/object:Gem::Requirement
93
+ requirements:
94
+ - - "~>"
95
+ - !ruby/object:Gem::Version
96
+ version: '0.10'
97
+ - !ruby/object:Gem::Dependency
98
+ name: rdiscount
99
+ requirement: !ruby/object:Gem::Requirement
100
+ requirements:
101
+ - - "~>"
102
+ - !ruby/object:Gem::Version
103
+ version: '2.2'
104
+ type: :development
105
+ prerelease: false
106
+ version_requirements: !ruby/object:Gem::Requirement
107
+ requirements:
108
+ - - "~>"
109
+ - !ruby/object:Gem::Version
110
+ version: '2.2'
111
+ - !ruby/object:Gem::Dependency
112
+ name: slim
113
+ requirement: !ruby/object:Gem::Requirement
114
+ requirements:
115
+ - - "~>"
116
+ - !ruby/object:Gem::Version
117
+ version: '3.0'
118
+ type: :development
119
+ prerelease: false
120
+ version_requirements: !ruby/object:Gem::Requirement
121
+ requirements:
122
+ - - "~>"
123
+ - !ruby/object:Gem::Version
124
+ version: '3.0'
125
+ description: You can create static blogs with this gem.
126
+ email:
127
+ - njichev@gmail.com
128
+ executables:
129
+ - generate
130
+ - new
131
+ - run
132
+ extensions: []
133
+ extra_rdoc_files: []
134
+ files:
135
+ - ".gitignore"
136
+ - ".rspec"
137
+ - ".travis.yml"
138
+ - CODE_OF_CONDUCT.md
139
+ - Gemfile
140
+ - LICENSE.txt
141
+ - Plan.md
142
+ - README.md
143
+ - Rakefile
144
+ - bin/console
145
+ - bin/setup
146
+ - blogster.gemspec
147
+ - config.ru
148
+ - exe/generate
149
+ - exe/new
150
+ - exe/run
151
+ - lib/blogster.rb
152
+ - lib/blogster/application_controller.rb
153
+ - lib/blogster/router.rb
154
+ - lib/blogster/templates.rb
155
+ - lib/blogster/templates_parser.rb
156
+ - lib/blogster/version.rb
157
+ - template_folder/.blogster
158
+ - template_folder/layout/layout.slim
159
+ - template_folder/public/style/style.css
160
+ homepage: https://github.com/njichev/blogster
161
+ licenses:
162
+ - MIT
163
+ metadata: {}
164
+ post_install_message:
165
+ rdoc_options: []
166
+ require_paths:
167
+ - lib
168
+ required_ruby_version: !ruby/object:Gem::Requirement
169
+ requirements:
170
+ - - ">="
171
+ - !ruby/object:Gem::Version
172
+ version: '0'
173
+ required_rubygems_version: !ruby/object:Gem::Requirement
174
+ requirements:
175
+ - - ">="
176
+ - !ruby/object:Gem::Version
177
+ version: '0'
178
+ requirements: []
179
+ rubyforge_project:
180
+ rubygems_version: 2.5.1
181
+ signing_key:
182
+ specification_version: 4
183
+ summary: Simple static site generator.
184
+ test_files: []