bunto 3.2.1 → 3.4.5

Sign up to get free protection for your applications and to get access to all the features.
Files changed (67) hide show
  1. checksums.yaml +4 -4
  2. data/.rubocop.yml +21 -4
  3. data/LICENSE +1 -1
  4. data/README.markdown +20 -25
  5. data/exe/bunto +1 -1
  6. data/lib/bunto.rb +10 -4
  7. data/lib/bunto/collection.rb +11 -4
  8. data/lib/bunto/commands/build.rb +17 -2
  9. data/lib/bunto/commands/doctor.rb +1 -1
  10. data/lib/bunto/commands/new.rb +35 -5
  11. data/lib/bunto/commands/new_theme.rb +4 -2
  12. data/lib/bunto/commands/serve.rb +45 -15
  13. data/lib/bunto/commands/serve/servlet.rb +1 -1
  14. data/lib/bunto/configuration.rb +9 -7
  15. data/lib/bunto/converters/markdown/kramdown_parser.rb +2 -2
  16. data/lib/bunto/converters/markdown/redcarpet_parser.rb +1 -1
  17. data/lib/bunto/convertible.rb +21 -82
  18. data/lib/bunto/desktop.ini +1 -1
  19. data/lib/bunto/document.rb +118 -81
  20. data/lib/bunto/drops/bunto_drop.rb +1 -1
  21. data/lib/bunto/drops/static_file_drop.rb +11 -0
  22. data/lib/bunto/drops/url_drop.rb +5 -0
  23. data/lib/bunto/entry_filter.rb +9 -10
  24. data/lib/bunto/excerpt.rb +2 -3
  25. data/lib/bunto/external.rb +1 -1
  26. data/lib/bunto/filters.rb +10 -32
  27. data/lib/bunto/filters/grouping_filters.rb +63 -0
  28. data/lib/bunto/filters/url_filters.rb +40 -0
  29. data/lib/bunto/frontmatter_defaults.rb +1 -1
  30. data/lib/bunto/hooks.rb +9 -9
  31. data/lib/bunto/log_adapter.rb +1 -1
  32. data/lib/bunto/page.rb +8 -4
  33. data/lib/bunto/plugin.rb +1 -1
  34. data/lib/bunto/reader.rb +2 -1
  35. data/lib/bunto/readers/data_reader.rb +9 -10
  36. data/lib/bunto/readers/post_reader.rb +1 -1
  37. data/lib/bunto/readers/theme_assets_reader.rb +47 -0
  38. data/lib/bunto/regenerator.rb +1 -1
  39. data/lib/bunto/related_posts.rb +3 -9
  40. data/lib/bunto/renderer.rb +26 -6
  41. data/lib/bunto/site.rb +12 -7
  42. data/lib/bunto/static_file.rb +20 -9
  43. data/lib/bunto/tags/highlight.rb +3 -3
  44. data/lib/bunto/tags/include.rb +9 -5
  45. data/lib/bunto/tags/link.rb +4 -2
  46. data/lib/bunto/tags/post_url.rb +4 -2
  47. data/lib/bunto/theme.rb +8 -4
  48. data/lib/bunto/theme_builder.rb +2 -2
  49. data/lib/bunto/url.rb +31 -8
  50. data/lib/bunto/utils.rb +16 -2
  51. data/lib/bunto/utils/ansi.rb +1 -1
  52. data/lib/bunto/utils/exec.rb +25 -0
  53. data/lib/bunto/utils/platforms.rb +52 -2
  54. data/lib/bunto/utils/win_tz.rb +73 -0
  55. data/lib/bunto/version.rb +1 -1
  56. data/lib/site_template/_config.yml +8 -3
  57. data/lib/site_template/_posts/0000-00-00-welcome-to-bunto.markdown.erb +4 -4
  58. data/lib/site_template/about.md +1 -1
  59. data/lib/site_template/index.md +6 -0
  60. data/lib/theme_template/LICENSE.txt.erb +1 -1
  61. data/lib/theme_template/README.md.erb +4 -4
  62. data/lib/theme_template/gitignore.erb +1 -0
  63. data/lib/theme_template/theme.gemspec.erb +3 -2
  64. metadata +55 -40
  65. data/lib/site_template/css/main.scss +0 -39
  66. data/lib/site_template/feed.xml +0 -30
  67. data/lib/site_template/index.html +0 -23
@@ -1,6 +1,6 @@
1
1
  class Bunto::ThemeBuilder
2
2
  SCAFFOLD_DIRECTORIES = %w(
3
- _layouts _includes _sass
3
+ assets _layouts _includes _sass
4
4
  ).freeze
5
5
 
6
6
  attr_reader :name, :path, :code_of_conduct
@@ -28,7 +28,7 @@ class Bunto::ThemeBuilder
28
28
  def template_file(filename)
29
29
  [
30
30
  root.join("theme_template", "#{filename}.erb"),
31
- root.join("theme_template", filename.to_s)
31
+ root.join("theme_template", filename.to_s),
32
32
  ].find(&:exist?)
33
33
  end
34
34
 
@@ -1,4 +1,4 @@
1
- require "uri"
1
+ require "addressable/uri"
2
2
 
3
3
  # Public: Methods that generate a URL for a resource such as a Post or a Page.
4
4
  #
@@ -84,14 +84,36 @@ module Bunto
84
84
  end
85
85
  end
86
86
 
87
+ # We include underscores in keys to allow for 'i_month' and so forth.
88
+ # This poses a problem for keys which are followed by an underscore
89
+ # but the underscore is not part of the key, e.g. '/:month_:day'.
90
+ # That should be :month and :day, but our key extraction regexp isn't
91
+ # smart enough to know that so we have to make it an explicit
92
+ # possibility.
93
+ def possible_keys(key)
94
+ if key.end_with?("_")
95
+ [key, key.chomp("_")]
96
+ else
97
+ [key]
98
+ end
99
+ end
100
+
87
101
  def generate_url_from_drop(template)
88
102
  template.gsub(%r!:([a-z_]+)!) do |match|
89
- replacement = @placeholders.public_send(match.sub(":".freeze, "".freeze))
90
- if replacement.nil?
91
- "".freeze
92
- else
93
- self.class.escape_path(replacement)
103
+ pool = possible_keys(match.sub(":".freeze, "".freeze))
104
+
105
+ winner = pool.find { |key| @placeholders.key?(key) }
106
+ if winner.nil?
107
+ raise NoMethodError,
108
+ "The URL template doesn't have #{pool.join(" or ")} keys. "\
109
+ "Check your permalink template!"
94
110
  end
111
+
112
+ value = @placeholders[winner]
113
+ value = "" if value.nil?
114
+ replacement = self.class.escape_path(value)
115
+
116
+ match.sub(":#{winner}", replacement)
95
117
  end.gsub(%r!//!, "/".freeze)
96
118
  end
97
119
 
@@ -123,7 +145,8 @@ module Bunto
123
145
  # pct-encoded = "%" HEXDIG HEXDIG
124
146
  # sub-delims = "!" / "$" / "&" / "'" / "(" / ")"
125
147
  # / "*" / "+" / "," / ";" / "="
126
- URI.escape(path, %r{[^a-zA-Z\d\-._~!$&'()*+,;=:@\/]}).encode("utf-8")
148
+ path = Addressable::URI.encode(path)
149
+ path.encode("utf-8").sub("#", "%23")
127
150
  end
128
151
 
129
152
  # Unescapes a URL path segment
@@ -137,7 +160,7 @@ module Bunto
137
160
  #
138
161
  # Returns the unescaped path.
139
162
  def self.unescape_path(path)
140
- URI.unescape(path.encode("utf-8"))
163
+ Addressable::URI.unencode(path.encode("utf-8"))
141
164
  end
142
165
  end
143
166
  end
@@ -2,14 +2,17 @@
2
2
  module Bunto
3
3
  module Utils
4
4
  extend self
5
- autoload :Platforms, "bunto/utils/platforms"
6
5
  autoload :Ansi, "bunto/utils/ansi"
6
+ autoload :Exec, "bunto/utils/exec"
7
+ autoload :Platforms, "bunto/utils/platforms"
8
+ autoload :WinTZ, "bunto/utils/win_tz"
7
9
 
8
10
  # Constants for use in #slugify
9
- SLUGIFY_MODES = %w(raw default pretty).freeze
11
+ SLUGIFY_MODES = %w(raw default pretty ascii).freeze
10
12
  SLUGIFY_RAW_REGEXP = Regexp.new('\\s+').freeze
11
13
  SLUGIFY_DEFAULT_REGEXP = Regexp.new("[^[:alnum:]]+").freeze
12
14
  SLUGIFY_PRETTY_REGEXP = Regexp.new("[^[:alnum:]._~!$&'()+,;=@]+").freeze
15
+ SLUGIFY_ASCII_REGEXP = Regexp.new("[^[A-Za-z0-9]]+").freeze
13
16
 
14
17
  # Takes an indented string and removes the preceding spaces on each line
15
18
 
@@ -160,6 +163,9 @@ module Bunto
160
163
  # When mode is "pretty", some non-alphabetic characters (._~!$&'()+,;=@)
161
164
  # are not replaced with hyphen.
162
165
  #
166
+ # When mode is "ascii", some everything else except ASCII characters
167
+ # a-z (lowercase), A-Z (uppercase) and 0-9 (numbers) are not replaced with hyphen.
168
+ #
163
169
  # If cased is true, all uppercase letters in the result string are
164
170
  # replaced with their lowercase counterparts.
165
171
  #
@@ -173,6 +179,9 @@ module Bunto
173
179
  # slugify("The _config.yml file", "pretty", true)
174
180
  # # => "The-_config.yml file"
175
181
  #
182
+ # slugify("The _config.yml file", "ascii")
183
+ # # => "the-config.yml-file"
184
+ #
176
185
  # Returns the slugified string.
177
186
  def slugify(string, mode: nil, cased: false)
178
187
  mode ||= "default"
@@ -193,6 +202,11 @@ module Bunto
193
202
  # "._~!$&'()+,;=@" is human readable (not URI-escaped) in URL
194
203
  # and is allowed in both extN and NTFS.
195
204
  SLUGIFY_PRETTY_REGEXP
205
+ when "ascii"
206
+ # For web servers not being able to handle Unicode, the safe
207
+ # method is to ditch anything else but latin letters and numeric
208
+ # digits.
209
+ SLUGIFY_ASCII_REGEXP
196
210
  end
197
211
 
198
212
  # Strip according to the mode
@@ -17,7 +17,7 @@ module Bunto
17
17
  :yellow => 33,
18
18
  :white => 37,
19
19
  :blue => 34,
20
- :cyan => 36
20
+ :cyan => 36,
21
21
  }.freeze
22
22
 
23
23
  # Strip ANSI from the current string. It also strips cursor stuff,
@@ -0,0 +1,25 @@
1
+ require "open3"
2
+
3
+ module Bunto
4
+ module Utils
5
+ module Exec
6
+ extend self
7
+
8
+ # Runs a program in a sub-shell.
9
+ #
10
+ # *args - a list of strings containing the program name and arguments
11
+ #
12
+ # Returns a Process::Status and a String of output in an array in
13
+ # that order.
14
+ def run(*args)
15
+ stdin, stdout, stderr, process = Open3.popen3(*args)
16
+ out = stdout.read.strip
17
+ err = stderr.read.strip
18
+
19
+ [stdin, stdout, stderr].each(&:close)
20
+ [process.value, out + err]
21
+ end
22
+
23
+ end
24
+ end
25
+ end
@@ -13,18 +13,68 @@ module Bunto
13
13
  end
14
14
  end
15
15
 
16
+ # --
17
+ # Allows you to detect "real" Windows, or what we would consider
18
+ # "real" Windows. That is, that we can pass the basic test and the
19
+ # /proc/version returns nothing to us.
20
+ # --
21
+
22
+ def vanilla_windows?
23
+ RbConfig::CONFIG["host_os"] =~ %r!mswin|mingw|cygwin!i && \
24
+ !proc_version
25
+ end
26
+
27
+ # --
28
+ # XXX: Remove in 4.0
29
+ # --
30
+
31
+ alias_method :really_windows?, \
32
+ :vanilla_windows?
33
+
34
+ #
35
+
36
+ def bash_on_windows?
37
+ RbConfig::CONFIG["host_os"] =~ %r!linux! && \
38
+ proc_version =~ %r!microsoft!i
39
+ end
40
+
41
+ #
42
+
43
+ def windows?
44
+ vanilla_windows? || bash_on_windows?
45
+ end
46
+
47
+ #
48
+
49
+ def linux?
50
+ RbConfig::CONFIG["host_os"] =~ %r!linux! && \
51
+ proc_version !~ %r!microsoft!i
52
+ end
53
+
16
54
  # Provides windows?, linux?, osx?, unix? so that we can detect
17
55
  # platforms. This is mostly useful for `bunto doctor` and for testing
18
56
  # where we kick off certain tests based on the platform.
19
57
 
20
- { :windows? => %r!mswin|mingw|cygwin!, :linux? => %r!linux!, \
21
- :osx? => %r!darwin|mac os!, :unix? => %r!solaris|bsd! }.each do |k, v|
58
+ { :osx? => %r!darwin|mac os!, :unix? => %r!solaris|bsd! }.each do |k, v|
22
59
  define_method k do
23
60
  !!(
24
61
  RbConfig::CONFIG["host_os"] =~ v
25
62
  )
26
63
  end
27
64
  end
65
+
66
+ #
67
+
68
+ private
69
+ def proc_version
70
+ @cached_proc_version ||= begin
71
+ Pathutil.new(
72
+ "/proc/version"
73
+ ).read
74
+ rescue Errno::ENOENT
75
+ nil
76
+ end
77
+ end
28
78
  end
29
79
  end
30
80
  end
@@ -0,0 +1,73 @@
1
+ module Bunto
2
+ module Utils
3
+ module WinTZ
4
+ extend self
5
+
6
+ # Public: Calculate the Timezone for Windows when the config file has a defined
7
+ # 'timezone' key.
8
+ #
9
+ # timezone - the IANA Time Zone specified in "_config.yml"
10
+ #
11
+ # Returns a string that ultimately re-defines ENV["TZ"] in Windows
12
+ def calculate(timezone)
13
+ External.require_with_graceful_fail("tzinfo")
14
+ tz = TZInfo::Timezone.get(timezone)
15
+ difference = Time.now.to_i - tz.now.to_i
16
+ #
17
+ # POSIX style definition reverses the offset sign.
18
+ # e.g. Eastern Standard Time (EST) that is 5Hrs. to the 'west' of Prime Meridian
19
+ # is denoted as:
20
+ # EST+5 (or) EST+05:00
21
+ # Reference: http://www.gnu.org/software/libc/manual/html_node/TZ-Variable.html
22
+ sign = difference < 0 ? "-" : "+"
23
+ offset = sign == "-" ? "+" : "-" unless difference.zero?
24
+ #
25
+ # convert the difference (in seconds) to hours, as a rational number, and perform
26
+ # a modulo operation on it.
27
+ modulo = modulo_of(rational_hour(difference))
28
+ #
29
+ # Format the hour as a two-digit number.
30
+ # Establish the minutes based on modulo expression.
31
+ hh = format("%02d", absolute_hour(difference).ceil)
32
+ mm = modulo.zero? ? "00" : "30"
33
+
34
+ Bunto.logger.debug "Timezone:", "#{timezone} #{offset}#{hh}:#{mm}"
35
+ #
36
+ # Note: The 3-letter-word below doesn't have a particular significance.
37
+ "WTZ#{sign}#{hh}:#{mm}"
38
+ end
39
+
40
+ private
41
+
42
+ # Private: Convert given seconds to an hour as a rational number.
43
+ #
44
+ # seconds - supplied as an integer, it is converted to a rational number.
45
+ # 3600 - no. of seconds in an hour.
46
+ #
47
+ # Returns a rational number.
48
+ def rational_hour(seconds)
49
+ seconds.to_r/3600
50
+ end
51
+
52
+ # Private: Convert given seconds to an hour as an absolute number.
53
+ #
54
+ # seconds - supplied as an integer, it is converted to its absolute.
55
+ # 3600 - no. of seconds in an hour.
56
+ #
57
+ # Returns an integer.
58
+ def absolute_hour(seconds)
59
+ seconds.abs/3600
60
+ end
61
+
62
+ # Private: Perform a modulo operation on a given fraction.
63
+ #
64
+ # fraction - supplied as a rational number, its numerator is divided
65
+ # by its denominator and the remainder returned.
66
+ #
67
+ # Returns an integer.
68
+ def modulo_of(fraction)
69
+ fraction.numerator % fraction.denominator
70
+ end
71
+ end
72
+ end
73
+ end
@@ -1,3 +1,3 @@
1
1
  module Bunto
2
- VERSION = "3.2.1".freeze
2
+ VERSION = "3.4.5".freeze
3
3
  end
@@ -2,11 +2,11 @@
2
2
  #
3
3
  # This config file is meant for settings that affect your whole blog, values
4
4
  # which you are expected to set up once and rarely edit after that. If you find
5
- # yourself editing these this file very often, consider using Bunto's data files
5
+ # yourself editing this file very often, consider using Bunto's data files
6
6
  # feature for the data you need to update frequently.
7
7
  #
8
8
  # For technical reasons, this file is *NOT* reloaded automatically when you use
9
- # 'bunto serve'. If you change this file, please restart the server process.
9
+ # 'bundle exec bunto serve'. If you change this file, please restart the server process.
10
10
 
11
11
  # Site settings
12
12
  # These are used to personalize your new site. If you look in the HTML files,
@@ -20,10 +20,15 @@ description: > # this means to ignore newlines until "baseurl:"
20
20
  line in _config.yml. It will appear in your document head meta (for
21
21
  Google search results) and in your feed.xml site description.
22
22
  baseurl: "" # the subpath of your site, e.g. /blog
23
- url: "http://example.com" # the base hostname & protocol for your site
23
+ url: "" # the base hostname & protocol for your site, e.g. http://example.com
24
24
  twitter_username: buntowaf
25
25
  github_username: bunto
26
26
 
27
27
  # Build settings
28
28
  markdown: kramdown
29
29
  theme: minima
30
+ gems:
31
+ - bunto-feed
32
+ exclude:
33
+ - Gemfile
34
+ - Gemfile.lock
@@ -14,12 +14,12 @@ Bunto also offers powerful support for code snippets:
14
14
  def print_hi(name)
15
15
  puts "Hi, #{name}"
16
16
  end
17
- print_hi('Tom')
18
- #=> prints 'Hi, Tom' to STDOUT.
17
+ print_hi('Suriyaa')
18
+ #=> prints 'Hi, Suriyaa' to STDOUT.
19
19
  {% endhighlight %}
20
20
 
21
21
  Check out the [Bunto docs][bunto-docs] for more info on how to get the most out of Bunto. File all bugs/feature requests at [Bunto’s GitHub repo][bunto-gh]. If you have questions, you can ask them on [Bunto Talk][bunto-talk].
22
22
 
23
- [bunto-docs]: http://bunto.github.io/docs/home
23
+ [bunto-docs]: https://buntowaf.tk/docs/home
24
24
  [bunto-gh]: https://github.com/bunto/bunto
25
- [bunto-talk]: https://talk.bunto.github.io/
25
+ [bunto-talk]: https://talk.buntowaf.tk/
@@ -4,7 +4,7 @@ title: About
4
4
  permalink: /about/
5
5
  ---
6
6
 
7
- This is the base Bunto theme. You can find out more info about customizing your Bunto theme, as well as basic Bunto usage documentation at [bunto.github.io](http://bunto.github.io/)
7
+ This is the base Bunto theme. You can find out more info about customizing your Bunto theme, as well as basic Bunto usage documentation at [buntowaf.tk](https://buntowaf.tk/)
8
8
 
9
9
  You can find the source code for the Bunto new theme at:
10
10
  {% include icon-github.html username="bunto" %} /
@@ -0,0 +1,6 @@
1
+ ---
2
+ # You don't need to edit this file, it's empty on purpose.
3
+ # Edit theme's home layout instead if you wanna make some changes
4
+ # See: https://buntowaf.tk/docs/themes/#overriding-theme-defaults
5
+ layout: home
6
+ ---
@@ -1,6 +1,6 @@
1
1
  The MIT License (MIT)
2
2
 
3
- Copyright (c) 2016 <%= user_name %>
3
+ Copyright (c) <%= Time.now.year %> <%= user_name %>
4
4
 
5
5
  Permission is hereby granted, free of charge, to any person obtaining a copy
6
6
  of this software and associated documentation files (the "Software"), to deal
@@ -6,13 +6,13 @@ TODO: Delete this and the text above, and describe your gem
6
6
 
7
7
  ## Installation
8
8
 
9
- Add this line to your Bunto site's Gemfile:
9
+ Add this line to your Bunto site's `Gemfile`:
10
10
 
11
11
  ```ruby
12
12
  gem <%= theme_name.inspect %>
13
13
  ```
14
14
 
15
- And add this line to your Bunto site:
15
+ And add this line to your Bunto site's `_config.yml`:
16
16
 
17
17
  ```yaml
18
18
  theme: <%= theme_name %>
@@ -38,11 +38,11 @@ Bug reports and pull requests are welcome on GitHub at https://github.com/[USERN
38
38
 
39
39
  To set up your environment to develop this theme, run `bundle install`.
40
40
 
41
- You theme is setup just like a normal Jelyll site! To test your theme, run `bundle exec bunto serve` and open your browser at `http://localhost:4000`. This starts a Bunto server using your theme. Add pages, documents, data, etc. like normal to test your theme's contents. As you make modifications to your theme and to your content, your site will regenerate and you should see the changes in the browser after a refresh, just like normal.
41
+ Your theme is setup just like a normal Bunto site! To test your theme, run `bundle exec bunto serve` and open your browser at `http://localhost:4000`. This starts a Bunto server using your theme. Add pages, documents, data, etc. like normal to test your theme's contents. As you make modifications to your theme and to your content, your site will regenerate and you should see the changes in the browser after a refresh, just like normal.
42
42
 
43
43
  When your theme is released, only the files in `_layouts`, `_includes`, and `_sass` tracked with Git will be released.
44
44
 
45
45
  ## License
46
46
 
47
- The theme is available as open source under the terms of the [MIT License](http://opensource.org/licenses/MIT).
47
+ The theme is available as open source under the terms of the [MIT License](https://opensource.org/licenses/MIT).
48
48
 
@@ -1,3 +1,4 @@
1
+ *.gem
1
2
  .bundle
2
3
  .sass-cache
3
4
  _site
@@ -10,9 +10,10 @@ Gem::Specification.new do |spec|
10
10
  spec.homepage = "TODO: Put your gem's website or public repo URL here."
11
11
  spec.license = "MIT"
12
12
 
13
- spec.files = `git ls-files -z`.split("\x0").select { |f| f.match(%r{^(<%= theme_directories.join("|") %>|LICENSE|README)/i}) }
13
+ spec.files = `git ls-files -z`.split("\x0").select { |f| f.match(%r{^(<%= theme_directories.join("|") %>|LICENSE|README)}i) }
14
+
15
+ spec.add_runtime_dependency "bunto", "~> <%= bunto_version_with_minor %>"
14
16
 
15
- spec.add_development_dependency "bunto", "~> <%= bunto_version_with_minor %>"
16
17
  spec.add_development_dependency "bundler", "~> 1.12"
17
18
  spec.add_development_dependency "rake", "~> 10.0"
18
19
  end
metadata CHANGED
@@ -1,143 +1,157 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: bunto
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.2.1
4
+ version: 3.4.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Suriyaa Kudo
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2016-08-13 00:00:00.000000000 Z
11
+ date: 2017-07-17 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
- name: liquid
14
+ name: addressable
15
15
  requirement: !ruby/object:Gem::Requirement
16
16
  requirements:
17
17
  - - "~>"
18
18
  - !ruby/object:Gem::Version
19
- version: '3.0'
19
+ version: '2.4'
20
20
  type: :runtime
21
21
  prerelease: false
22
22
  version_requirements: !ruby/object:Gem::Requirement
23
23
  requirements:
24
24
  - - "~>"
25
25
  - !ruby/object:Gem::Version
26
- version: '3.0'
26
+ version: '2.4'
27
27
  - !ruby/object:Gem::Dependency
28
- name: kramdown
28
+ name: colorator
29
29
  requirement: !ruby/object:Gem::Requirement
30
30
  requirements:
31
31
  - - "~>"
32
32
  - !ruby/object:Gem::Version
33
- version: '1.3'
33
+ version: '1.0'
34
34
  type: :runtime
35
35
  prerelease: false
36
36
  version_requirements: !ruby/object:Gem::Requirement
37
37
  requirements:
38
38
  - - "~>"
39
39
  - !ruby/object:Gem::Version
40
- version: '1.3'
40
+ version: '1.0'
41
41
  - !ruby/object:Gem::Dependency
42
- name: mercenary
42
+ name: bunto-sass-converter
43
43
  requirement: !ruby/object:Gem::Requirement
44
44
  requirements:
45
45
  - - "~>"
46
46
  - !ruby/object:Gem::Version
47
- version: 0.3.3
47
+ version: '3.0'
48
48
  type: :runtime
49
49
  prerelease: false
50
50
  version_requirements: !ruby/object:Gem::Requirement
51
51
  requirements:
52
52
  - - "~>"
53
53
  - !ruby/object:Gem::Version
54
- version: 0.3.3
54
+ version: '3.0'
55
55
  - !ruby/object:Gem::Dependency
56
- name: safe_yaml
56
+ name: bunto-watch
57
57
  requirement: !ruby/object:Gem::Requirement
58
58
  requirements:
59
59
  - - "~>"
60
60
  - !ruby/object:Gem::Version
61
- version: '1.0'
61
+ version: '3.0'
62
62
  type: :runtime
63
63
  prerelease: false
64
64
  version_requirements: !ruby/object:Gem::Requirement
65
65
  requirements:
66
66
  - - "~>"
67
67
  - !ruby/object:Gem::Version
68
- version: '1.0'
68
+ version: '3.0'
69
69
  - !ruby/object:Gem::Dependency
70
- name: colorator
70
+ name: kramdown
71
71
  requirement: !ruby/object:Gem::Requirement
72
72
  requirements:
73
73
  - - "~>"
74
74
  - !ruby/object:Gem::Version
75
- version: '1.0'
75
+ version: '1.3'
76
76
  type: :runtime
77
77
  prerelease: false
78
78
  version_requirements: !ruby/object:Gem::Requirement
79
79
  requirements:
80
80
  - - "~>"
81
81
  - !ruby/object:Gem::Version
82
- version: '1.0'
82
+ version: '1.3'
83
83
  - !ruby/object:Gem::Dependency
84
- name: rouge
84
+ name: liquid
85
85
  requirement: !ruby/object:Gem::Requirement
86
86
  requirements:
87
87
  - - "~>"
88
88
  - !ruby/object:Gem::Version
89
- version: '1.7'
89
+ version: '3.0'
90
90
  type: :runtime
91
91
  prerelease: false
92
92
  version_requirements: !ruby/object:Gem::Requirement
93
93
  requirements:
94
94
  - - "~>"
95
95
  - !ruby/object:Gem::Version
96
- version: '1.7'
96
+ version: '3.0'
97
97
  - !ruby/object:Gem::Dependency
98
- name: bunto-sass-converter
98
+ name: mercenary
99
99
  requirement: !ruby/object:Gem::Requirement
100
100
  requirements:
101
101
  - - "~>"
102
102
  - !ruby/object:Gem::Version
103
- version: '2.0'
103
+ version: 0.3.3
104
104
  type: :runtime
105
105
  prerelease: false
106
106
  version_requirements: !ruby/object:Gem::Requirement
107
107
  requirements:
108
108
  - - "~>"
109
109
  - !ruby/object:Gem::Version
110
- version: '2.0'
110
+ version: 0.3.3
111
111
  - !ruby/object:Gem::Dependency
112
- name: bunto-watch
112
+ name: pathutil
113
113
  requirement: !ruby/object:Gem::Requirement
114
114
  requirements:
115
115
  - - "~>"
116
116
  - !ruby/object:Gem::Version
117
- version: '1.0'
117
+ version: '0.9'
118
118
  type: :runtime
119
119
  prerelease: false
120
120
  version_requirements: !ruby/object:Gem::Requirement
121
121
  requirements:
122
122
  - - "~>"
123
123
  - !ruby/object:Gem::Version
124
- version: '1.0'
124
+ version: '0.9'
125
125
  - !ruby/object:Gem::Dependency
126
- name: pathutil
126
+ name: rouge
127
127
  requirement: !ruby/object:Gem::Requirement
128
128
  requirements:
129
129
  - - "~>"
130
130
  - !ruby/object:Gem::Version
131
- version: '0.9'
131
+ version: '1.7'
132
132
  type: :runtime
133
133
  prerelease: false
134
134
  version_requirements: !ruby/object:Gem::Requirement
135
135
  requirements:
136
136
  - - "~>"
137
137
  - !ruby/object:Gem::Version
138
- version: '0.9'
139
- description: Bunto is a simple, static site generator & web application framework.
140
- email: SuriyaaKudoIsc@users.noreply.github.com
138
+ version: '1.7'
139
+ - !ruby/object:Gem::Dependency
140
+ name: safe_yaml
141
+ requirement: !ruby/object:Gem::Requirement
142
+ requirements:
143
+ - - "~>"
144
+ - !ruby/object:Gem::Version
145
+ version: '1.0'
146
+ type: :runtime
147
+ prerelease: false
148
+ version_requirements: !ruby/object:Gem::Requirement
149
+ requirements:
150
+ - - "~>"
151
+ - !ruby/object:Gem::Version
152
+ version: '1.0'
153
+ description: Bunto is a simple, blog aware, static site generator.
154
+ email: suriyaa@buntowaf.tk
141
155
  executables:
142
156
  - bunto
143
157
  extensions: []
@@ -179,6 +193,7 @@ files:
179
193
  - lib/bunto/drops/drop.rb
180
194
  - lib/bunto/drops/excerpt_drop.rb
181
195
  - lib/bunto/drops/site_drop.rb
196
+ - lib/bunto/drops/static_file_drop.rb
182
197
  - lib/bunto/drops/unified_payload_drop.rb
183
198
  - lib/bunto/drops/url_drop.rb
184
199
  - lib/bunto/entry_filter.rb
@@ -186,6 +201,8 @@ files:
186
201
  - lib/bunto/excerpt.rb
187
202
  - lib/bunto/external.rb
188
203
  - lib/bunto/filters.rb
204
+ - lib/bunto/filters/grouping_filters.rb
205
+ - lib/bunto/filters/url_filters.rb
189
206
  - lib/bunto/frontmatter_defaults.rb
190
207
  - lib/bunto/generator.rb
191
208
  - lib/bunto/hooks.rb
@@ -207,6 +224,7 @@ files:
207
224
  - lib/bunto/readers/page_reader.rb
208
225
  - lib/bunto/readers/post_reader.rb
209
226
  - lib/bunto/readers/static_file_reader.rb
227
+ - lib/bunto/readers/theme_assets_reader.rb
210
228
  - lib/bunto/regenerator.rb
211
229
  - lib/bunto/related_posts.rb
212
230
  - lib/bunto/renderer.rb
@@ -222,15 +240,15 @@ files:
222
240
  - lib/bunto/url.rb
223
241
  - lib/bunto/utils.rb
224
242
  - lib/bunto/utils/ansi.rb
243
+ - lib/bunto/utils/exec.rb
225
244
  - lib/bunto/utils/platforms.rb
245
+ - lib/bunto/utils/win_tz.rb
226
246
  - lib/bunto/version.rb
227
247
  - lib/site_template/.gitignore
228
248
  - lib/site_template/_config.yml
229
249
  - lib/site_template/_posts/0000-00-00-welcome-to-bunto.markdown.erb
230
250
  - lib/site_template/about.md
231
- - lib/site_template/css/main.scss
232
- - lib/site_template/feed.xml
233
- - lib/site_template/index.html
251
+ - lib/site_template/index.md
234
252
  - lib/theme_template/CODE_OF_CONDUCT.md.erb
235
253
  - lib/theme_template/Gemfile
236
254
  - lib/theme_template/LICENSE.txt.erb
@@ -248,10 +266,7 @@ homepage: https://github.com/bunto/bunto
248
266
  licenses:
249
267
  - MIT
250
268
  metadata: {}
251
- post_install_message: "--------------------------------------------------------\nThank
252
- you for installing Bunto!\n\nBunto is a Web Application Framework build by Suriyaa\nKudo
253
- which can be used as a simple, static site \ngenerator for personal, project, or
254
- organization sites.\n\nFor more information visit:\nhttps://github.com/bunto/bunto\n--------------------------------------------------------\n"
269
+ post_install_message:
255
270
  rdoc_options:
256
271
  - "--charset=UTF-8"
257
272
  require_paths:
@@ -268,8 +283,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
268
283
  version: '0'
269
284
  requirements: []
270
285
  rubyforge_project:
271
- rubygems_version: 2.6.6
286
+ rubygems_version: 2.6.12
272
287
  signing_key:
273
288
  specification_version: 2
274
- summary: A simple, static site generator & web application framework.
289
+ summary: A simple, blog aware, static site generator.
275
290
  test_files: []