munge 0.18.0 → 0.19.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (82) hide show
  1. checksums.yaml +4 -4
  2. data/lib/munge.rb +32 -31
  3. data/lib/munge/application.rb +7 -7
  4. data/lib/munge/bootloader.rb +0 -11
  5. data/lib/munge/cli.rb +3 -3
  6. data/lib/munge/cli/commands/build.rb +17 -21
  7. data/lib/munge/cli/commands/clean.rb +28 -33
  8. data/lib/munge/cli/commands/init.rb +1 -1
  9. data/lib/munge/cli/commands/server.rb +3 -3
  10. data/lib/munge/cli/dispatch.rb +56 -13
  11. data/lib/munge/config.rb +2 -2
  12. data/lib/munge/{system.rb → conglomerate.rb} +21 -14
  13. data/lib/munge/{system → conglomerate}/collection.rb +5 -26
  14. data/lib/munge/{system → conglomerate}/item_factory.rb +1 -1
  15. data/lib/munge/{system → conglomerate}/item_factory/content_parser.rb +1 -1
  16. data/lib/munge/{system → conglomerate}/item_factory/item_identifier.rb +1 -1
  17. data/lib/munge/conglomerate/processor.rb +138 -0
  18. data/lib/munge/conglomerate/reader.rb +33 -0
  19. data/lib/munge/{system → conglomerate}/router.rb +3 -3
  20. data/lib/munge/{system → conglomerate}/router/itemish.rb +1 -1
  21. data/lib/munge/{errors.rb → error.rb} +1 -25
  22. data/lib/munge/{extras → extra}/livereload.rb +5 -5
  23. data/lib/munge/{extras → extra}/livereload/messaging.rb +1 -1
  24. data/lib/munge/{extras → extra}/livereload/server.rb +1 -1
  25. data/lib/munge/{extras → extra}/livereload/update_client.rb +1 -1
  26. data/lib/munge/{extras → extra}/livereload/update_server.rb +1 -1
  27. data/lib/munge/{extras → extra}/livereload/vendor/livereload.js +0 -0
  28. data/lib/munge/{formatters → formatter}/default.rb +1 -1
  29. data/lib/munge/{formatters → formatter}/dots.rb +1 -1
  30. data/lib/munge/{formatters → formatter}/silent.rb +1 -1
  31. data/lib/munge/function/clean.rb +18 -0
  32. data/lib/munge/function/write.rb +68 -0
  33. data/lib/munge/go/sass.rb +5 -5
  34. data/lib/munge/go/sass/asset_urls.rb +2 -2
  35. data/lib/munge/{helpers → helper}/asset_paths.rb +1 -1
  36. data/lib/munge/{helpers → helper}/asset_tags.rb +1 -1
  37. data/lib/munge/{helpers → helper}/capture.rb +1 -1
  38. data/lib/munge/helper/data.rb +21 -0
  39. data/lib/munge/helper/define_module.rb +13 -0
  40. data/lib/munge/{helpers → helper}/find.rb +3 -3
  41. data/lib/munge/{helpers → helper}/link.rb +3 -3
  42. data/lib/munge/{helpers → helper}/livereload.rb +1 -1
  43. data/lib/munge/helper/rendering.rb +51 -0
  44. data/lib/munge/{helpers → helper}/tag.rb +4 -8
  45. data/lib/munge/item.rb +4 -5
  46. data/lib/munge/load.rb +60 -0
  47. data/lib/munge/pre_init.rb +10 -7
  48. data/lib/munge/{routers → router}/add_directory_index.rb +1 -1
  49. data/lib/munge/{routers → router}/auto_add_extension.rb +1 -1
  50. data/lib/munge/{routers → router}/fingerprint.rb +1 -1
  51. data/lib/munge/{routers → router}/remove_index_basename.rb +1 -1
  52. data/lib/munge/version.rb +1 -1
  53. data/lib/munge/vfs/dry_run.rb +28 -0
  54. data/lib/munge/vfs/filesystem.rb +44 -0
  55. data/lib/munge/vfs/memory.rb +33 -0
  56. data/lib/munge/write_manager/all.rb +11 -11
  57. data/lib/munge/write_manager/only_needed.rb +9 -9
  58. data/munge.gemspec +25 -17
  59. data/seeds/boot.rb +21 -0
  60. data/seeds/boot.yml +10 -0
  61. data/seeds/config.rb +7 -0
  62. data/seeds/layouts/blog_archives.html.erb +1 -1
  63. data/seeds/layouts/blog_index.html.erb +1 -1
  64. data/seeds/layouts/default.html.erb +1 -1
  65. data/seeds/lib/routing.rb +8 -8
  66. data/seeds/lib/sass.rb +1 -1
  67. data/seeds/lib/view_helpers.rb +3 -11
  68. data/seeds/rules.rb +1 -1
  69. data/seeds/src/home/index.html.erb +1 -1
  70. metadata +64 -46
  71. data/lib/munge/cleaner.rb +0 -31
  72. data/lib/munge/helpers/rendering.rb +0 -100
  73. data/lib/munge/init.rb +0 -45
  74. data/lib/munge/io/dry_run.rb +0 -31
  75. data/lib/munge/io/filesystem.rb +0 -38
  76. data/lib/munge/io/noop.rb +0 -27
  77. data/lib/munge/runner.rb +0 -68
  78. data/lib/munge/system/processor.rb +0 -52
  79. data/lib/munge/system/readers/filesystem.rb +0 -52
  80. data/lib/munge/transformers/tilt_transformer.rb +0 -40
  81. data/lib/munge/util/import.rb +0 -15
  82. data/seeds/setup.rb +0 -3
@@ -1,5 +1,5 @@
1
1
  module Munge
2
- module Routers
2
+ module Router
3
3
  class AddDirectoryIndex
4
4
  def initialize(extensions:, index:)
5
5
  @extensions = extensions
@@ -1,5 +1,5 @@
1
1
  module Munge
2
- module Routers
2
+ module Router
3
3
  class AutoAddExtension
4
4
  def initialize(keep_extensions:)
5
5
  @keep_extensions = keep_extensions
@@ -1,5 +1,5 @@
1
1
  module Munge
2
- module Routers
2
+ module Router
3
3
  class Fingerprint
4
4
  def initialize(extensions:,
5
5
  separator:)
@@ -1,5 +1,5 @@
1
1
  module Munge
2
- module Routers
2
+ module Router
3
3
  class RemoveBasename
4
4
  def initialize(extensions:, basenames:, keep_explicit:)
5
5
  @extensions = extensions
@@ -1,3 +1,3 @@
1
1
  module Munge
2
- VERSION = "0.18.0".freeze
2
+ VERSION = "0.19.0".freeze
3
3
  end
@@ -0,0 +1,28 @@
1
+ module Munge
2
+ module Vfs
3
+ class DryRun
4
+ def initialize(vfs)
5
+ @vfs = vfs
6
+ end
7
+
8
+ def read(relpath)
9
+ @vfs.read(relpath)
10
+ end
11
+
12
+ def exist?(relpath)
13
+ @vfs.exist?(relpath)
14
+ end
15
+
16
+ def write(_relpath, _content)
17
+ end
18
+
19
+ def stat(relpath)
20
+ @vfs.stat(relpath)
21
+ end
22
+
23
+ def tree
24
+ @vfs.tree
25
+ end
26
+ end
27
+ end
28
+ end
@@ -0,0 +1,44 @@
1
+ module Munge
2
+ module Vfs
3
+ class Filesystem
4
+ def initialize(root)
5
+ @root = root
6
+ end
7
+
8
+ def write(relpath, contents)
9
+ FileUtils.mkdir_p(File.dirname(File.join(@root, relpath)))
10
+
11
+ File.write(File.join(@root, relpath), contents)
12
+ end
13
+
14
+ def read(relpath)
15
+ File.read(File.join(@root, relpath))
16
+ end
17
+
18
+ def rm(relpath)
19
+ File.delete(File.join(@root, relpath))
20
+ end
21
+
22
+ def exist?(relpath)
23
+ File.exist?(File.join(@root, relpath))
24
+ end
25
+
26
+ def stat(relpath)
27
+ File.stat(File.join(@root, relpath))
28
+ end
29
+
30
+ def tree
31
+ pattern = File.join(@root, "**", "*")
32
+
33
+ files = Dir.glob(pattern).select { |path| File.file?(path) }
34
+
35
+ files.map do |file|
36
+ root_path = Pathname.new(@root)
37
+ file_path = Pathname.new(file)
38
+
39
+ file_path.relative_path_from(root_path).to_s
40
+ end
41
+ end
42
+ end
43
+ end
44
+ end
@@ -0,0 +1,33 @@
1
+ module Munge
2
+ module Vfs
3
+ class Memory
4
+ def initialize(fs = {})
5
+ @fs = fs
6
+ end
7
+
8
+ def write(relpath, contents)
9
+ @fs[relpath] = contents
10
+ end
11
+
12
+ def read(relpath)
13
+ @fs[relpath]
14
+ end
15
+
16
+ def rm(relpath)
17
+ @fs.delete(relpath)
18
+ end
19
+
20
+ def exist?(relpath)
21
+ @fs.key?(relpath)
22
+ end
23
+
24
+ def stat(relpath)
25
+ nil
26
+ end
27
+
28
+ def tree
29
+ @fs.keys
30
+ end
31
+ end
32
+ end
33
+ end
@@ -1,26 +1,26 @@
1
1
  module Munge
2
2
  module WriteManager
3
3
  class All
4
- def initialize(io)
5
- @io = io
4
+ def initialize(vfs)
5
+ @vfs = vfs
6
6
  @written_routes = []
7
7
  end
8
8
 
9
9
  attr_reader :written_routes
10
10
 
11
- def on_new(route, abspath, content)
12
- @io.write(abspath, content)
13
- @written_routes.push(abspath)
11
+ def on_new(_route, relpath, content)
12
+ @vfs.write(relpath, content)
13
+ @written_routes.push(relpath)
14
14
  end
15
15
 
16
- def on_changed(route, abspath, content)
17
- @io.write(abspath, content)
18
- @written_routes.push(abspath)
16
+ def on_changed(_route, relpath, content)
17
+ @vfs.write(relpath, content)
18
+ @written_routes.push(relpath)
19
19
  end
20
20
 
21
- def on_identical(route, abspath, content)
22
- @io.write(abspath, content)
23
- @written_routes.push(abspath)
21
+ def on_identical(_route, relpath, content)
22
+ @vfs.write(relpath, content)
23
+ @written_routes.push(relpath)
24
24
  end
25
25
  end
26
26
  end
@@ -1,24 +1,24 @@
1
1
  module Munge
2
2
  module WriteManager
3
3
  class OnlyNeeded
4
- def initialize(io)
5
- @io = io
4
+ def initialize(vfs)
5
+ @vfs = vfs
6
6
  @written_routes = []
7
7
  end
8
8
 
9
9
  attr_reader :written_routes
10
10
 
11
- def on_new(route, abspath, content)
12
- @io.write(abspath, content)
13
- @written_routes.push(abspath)
11
+ def on_new(_route, relpath, content)
12
+ @vfs.write(relpath, content)
13
+ @written_routes.push(relpath)
14
14
  end
15
15
 
16
- def on_changed(route, abspath, content)
17
- @io.write(abspath, content)
18
- @written_routes.push(abspath)
16
+ def on_changed(_route, relpath, content)
17
+ @vfs.write(relpath, content)
18
+ @written_routes.push(relpath)
19
19
  end
20
20
 
21
- def on_identical(_route, _abspath, _content)
21
+ def on_identical(_route, _relpath, _content)
22
22
  end
23
23
  end
24
24
  end
@@ -4,25 +4,32 @@ $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
4
4
  require "munge/version"
5
5
 
6
6
  Gem::Specification.new do |spec|
7
- spec.name = "munge"
8
- spec.version = Munge::VERSION
9
- spec.authors = ["Zach Ahn"]
10
- spec.email = ["zach.ahn@gmail.com"]
11
-
12
- spec.summary = "Static site generator aiming to simplify complex build rules"
13
- spec.description = "Documentation for this release is located in https://github.com/zachahn/munge/blob/v#{Munge::VERSION}/README.md"
14
- spec.homepage = "https://github.com/zachahn/munge"
15
- spec.license = "MIT"
16
-
17
- spec.files =
18
- `git ls-files -z`
19
- .split("\x0")
20
- .select { |f| f =~ %r{^(?:exe/|lib/|seeds/|munge.gemspec|README|LICENSE|Gemfile)} }
21
- spec.bindir = "exe"
22
- spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
7
+ spec.name = "munge"
8
+ spec.version = Munge::VERSION
9
+ spec.authors = ["Zach Ahn"]
10
+ spec.email = ["engineering@zachahn.com"]
11
+
12
+ spec.summary = "Static site generator aiming to simplify complex build rules"
13
+ spec.description =
14
+ "== Documentation\n" \
15
+ "\n" \
16
+ "Documentation for this release is located in " \
17
+ "https://github.com/zachahn/munge/blob/v#{Munge::VERSION}/README.md"
18
+ spec.homepage = "https://github.com/zachahn/munge"
19
+ spec.license = "MIT"
20
+
21
+ spec.files =
22
+ Dir.chdir(File.expand_path("..", __FILE__)) do
23
+ `git ls-files -z`
24
+ .split("\x0")
25
+ .select { |f| f =~ %r{^(?:exe/|lib/|seeds/|munge.gemspec|README|LICENSE|Gemfile)} }
26
+ end
27
+
28
+ spec.bindir = "exe"
29
+ spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
23
30
  spec.require_paths = ["lib"]
24
31
 
25
- spec.required_ruby_version = '>= 2.1.0'
32
+ spec.required_ruby_version = ">= 2.2.0"
26
33
 
27
34
  spec.add_development_dependency "bundler", "~> 1.9"
28
35
  spec.add_development_dependency "rake", "~> 10.0"
@@ -44,6 +51,7 @@ Gem::Specification.new do |spec|
44
51
  spec.add_runtime_dependency "rainbow", ">= 1.99.1", "< 3.0"
45
52
  spec.add_runtime_dependency "tilt", "~> 2.0"
46
53
  spec.add_runtime_dependency "sass", "~> 3.4"
54
+ spec.add_runtime_dependency "fixer_upper", "~> 0.5.0"
47
55
 
48
56
  if Gem::Version.new(RUBY_VERSION) >= Gem::Version.new("2.2.2")
49
57
  spec.add_runtime_dependency "reel", "~> 0.6"
@@ -0,0 +1,21 @@
1
+ def app
2
+ Thread.current.thread_variable_get("app")
3
+ end
4
+
5
+ def conglomerate
6
+ Thread.current.thread_variable_get("conglomerate")
7
+ end
8
+
9
+ def config
10
+ Thread.current.thread_variable_get("config")
11
+ end
12
+
13
+ def root_path
14
+ Thread.current.thread_variable_get("root_path")
15
+ end
16
+
17
+ Dir.glob("lib/**/*.rb").sort.each do |file|
18
+ if File.file?(file)
19
+ load file
20
+ end
21
+ end
@@ -0,0 +1,10 @@
1
+ ---
2
+ config_path: config.rb
3
+ boot_path: boot.rb
4
+ application_path: config/application.rb
5
+ rules_path: rules.rb
6
+
7
+ application_key: app
8
+ conglomerate_key: conglomerate
9
+ config_key: config
10
+ root_path_key: root_path
@@ -1,3 +1,10 @@
1
+ config = Thread.current.thread_variable_get("config")
2
+
3
+ def __end__
4
+ contents = File.read(__FILE__)
5
+ contents.split(/^__END__$/, 2).last
6
+ end
7
+
1
8
  yml = YAML.safe_load(__end__)
2
9
 
3
10
  # Path to content
@@ -1,6 +1,6 @@
1
1
  <% layout("blog.html") do %>
2
2
  <ul>
3
- <% posts.each do |post| %>
3
+ <% instance[:posts].each do |post| %>
4
4
  <li><a href="<%= path_to(post) %>"><%= post.basename %></a></li>
5
5
  <% end %>
6
6
  </ul>
@@ -1,5 +1,5 @@
1
1
  <% layout("blog.html") do %>
2
- <% posts.each do |post| %>
2
+ <% instance[:posts].each do |post| %>
3
3
  <%= render(post) %>
4
4
  <%= link_to(post, "Permalink") %>
5
5
  <% end %>
@@ -2,7 +2,7 @@
2
2
  <html lang="en">
3
3
  <head>
4
4
  <meta charset="UTF-8">
5
- <title><%= site_name %></title>
5
+ <title><%= globals[:site_name] %></title>
6
6
  <link rel="stylesheet" href="<%= path_to(items["assets/stylesheets/basic.css"]) %>" media="screen" charset="utf-8">
7
7
  </head>
8
8
  <body>
@@ -1,29 +1,29 @@
1
1
  if ENV["MUNGE_ENV"] == "production"
2
- system.router.register(
3
- Routers::Fingerprint.new(
2
+ conglomerate.router.register(
3
+ Munge::Router::Fingerprint.new(
4
4
  extensions: config[:router_fingerprint_extensions],
5
5
  separator: config[:router_fingeprint_separator]
6
6
  )
7
7
  )
8
8
  end
9
9
 
10
- system.router.register(
11
- Routers::RemoveBasename.new(
10
+ conglomerate.router.register(
11
+ Munge::Router::RemoveBasename.new(
12
12
  extensions: config[:router_remove_basename_original_extensions],
13
13
  basenames: config[:router_remove_basename_route_basenames],
14
14
  keep_explicit: config[:router_remove_basename_keep_explicit]
15
15
  )
16
16
  )
17
17
 
18
- system.router.register(
19
- Routers::AddDirectoryIndex.new(
18
+ conglomerate.router.register(
19
+ Munge::Router::AddDirectoryIndex.new(
20
20
  extensions: config[:router_add_index_original_extensions],
21
21
  index: config[:router_add_index_basename]
22
22
  )
23
23
  )
24
24
 
25
- system.router.register(
26
- Routers::AutoAddExtension.new(
25
+ conglomerate.router.register(
26
+ Munge::Router::AutoAddExtension.new(
27
27
  keep_extensions: config[:router_keep_extensions]
28
28
  )
29
29
  )
@@ -2,6 +2,6 @@ require "munge/go/sass"
2
2
 
3
3
  Munge::Go.add_sass_load_path!(root_path, config[:source_path], AssetRoots.stylesheets_root)
4
4
 
5
- Munge::Go.set_sass_system!(system)
5
+ Munge::Go.set_sass_conglomerate!(conglomerate)
6
6
 
7
7
  Munge::Go.add_sass_functions!(AssetRoots)
@@ -1,12 +1,4 @@
1
- tilt_transformer = Transformers::TiltTransformer.new(system)
2
- tilt_transformer.register(Munge::Helpers::Capture)
3
- tilt_transformer.register(Munge::Helpers::Find)
4
- tilt_transformer.register(Munge::Helpers::Link)
5
- tilt_transformer.register(Munge::Helpers::Rendering)
6
- tilt_transformer.register(Munge::Helpers::Tag)
7
- tilt_transformer.register(Munge::Helpers::AssetPaths)
8
- tilt_transformer.register(Munge::Helpers::AssetTags)
9
- tilt_transformer.register(Munge::Helpers::Livereload)
10
- tilt_transformer.register(AssetRoots)
1
+ conglomerate.processor.include(AssetRoots)
11
2
 
12
- system.processor.register(tilt_transformer)
3
+ conglomerate.processor.register("erb", to: Tilt::ERBTemplate)
4
+ conglomerate.processor.register("scss", to: Tilt::ScssTemplate)
@@ -68,4 +68,4 @@ html_pages =
68
68
  .select { |item| item.extensions.include?("html") }
69
69
  .sort_by(&:route)
70
70
 
71
- system.global_data[:sitemap_pages] = html_pages
71
+ conglomerate.global_data[:sitemap_pages] = html_pages
@@ -2,7 +2,7 @@
2
2
  title: Woohoo!
3
3
  ---
4
4
 
5
- <h1><%= title %></h1>
5
+ <h1><%= instance[:title] %></h1>
6
6
 
7
7
  <h2>Getting started</h2>
8
8
 
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: munge
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.18.0
4
+ version: 0.19.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Zach Ahn
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2017-05-06 00:00:00.000000000 Z
11
+ date: 2017-07-02 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -288,6 +288,20 @@ dependencies:
288
288
  - - "~>"
289
289
  - !ruby/object:Gem::Version
290
290
  version: '3.4'
291
+ - !ruby/object:Gem::Dependency
292
+ name: fixer_upper
293
+ requirement: !ruby/object:Gem::Requirement
294
+ requirements:
295
+ - - "~>"
296
+ - !ruby/object:Gem::Version
297
+ version: 0.5.0
298
+ type: :runtime
299
+ prerelease: false
300
+ version_requirements: !ruby/object:Gem::Requirement
301
+ requirements:
302
+ - - "~>"
303
+ - !ruby/object:Gem::Version
304
+ version: 0.5.0
291
305
  - !ruby/object:Gem::Dependency
292
306
  name: reel
293
307
  requirement: !ruby/object:Gem::Requirement
@@ -302,9 +316,12 @@ dependencies:
302
316
  - - "~>"
303
317
  - !ruby/object:Gem::Version
304
318
  version: '0.6'
305
- description: Documentation for this release is located in https://github.com/zachahn/munge/blob/v0.18.0/README.md
319
+ description: |-
320
+ == Documentation
321
+
322
+ Documentation for this release is located in https://github.com/zachahn/munge/blob/v0.19.0/README.md
306
323
  email:
307
- - zach.ahn@gmail.com
324
+ - engineering@zachahn.com
308
325
  executables:
309
326
  - munge
310
327
  extensions: []
@@ -317,7 +334,6 @@ files:
317
334
  - lib/munge.rb
318
335
  - lib/munge/application.rb
319
336
  - lib/munge/bootloader.rb
320
- - lib/munge/cleaner.rb
321
337
  - lib/munge/cli.rb
322
338
  - lib/munge/cli/commands/build.rb
323
339
  - lib/munge/cli/commands/clean.rb
@@ -327,58 +343,61 @@ files:
327
343
  - lib/munge/cli/commands/view.rb
328
344
  - lib/munge/cli/dispatch.rb
329
345
  - lib/munge/config.rb
330
- - lib/munge/errors.rb
331
- - lib/munge/extras/livereload.rb
332
- - lib/munge/extras/livereload/messaging.rb
333
- - lib/munge/extras/livereload/server.rb
334
- - lib/munge/extras/livereload/update_client.rb
335
- - lib/munge/extras/livereload/update_server.rb
336
- - lib/munge/extras/livereload/vendor/livereload.js
337
- - lib/munge/formatters/default.rb
338
- - lib/munge/formatters/dots.rb
339
- - lib/munge/formatters/silent.rb
346
+ - lib/munge/conglomerate.rb
347
+ - lib/munge/conglomerate/collection.rb
348
+ - lib/munge/conglomerate/item_factory.rb
349
+ - lib/munge/conglomerate/item_factory/content_parser.rb
350
+ - lib/munge/conglomerate/item_factory/item_identifier.rb
351
+ - lib/munge/conglomerate/processor.rb
352
+ - lib/munge/conglomerate/reader.rb
353
+ - lib/munge/conglomerate/router.rb
354
+ - lib/munge/conglomerate/router/itemish.rb
355
+ - lib/munge/error.rb
356
+ - lib/munge/extra/livereload.rb
357
+ - lib/munge/extra/livereload/messaging.rb
358
+ - lib/munge/extra/livereload/server.rb
359
+ - lib/munge/extra/livereload/update_client.rb
360
+ - lib/munge/extra/livereload/update_server.rb
361
+ - lib/munge/extra/livereload/vendor/livereload.js
362
+ - lib/munge/formatter/default.rb
363
+ - lib/munge/formatter/dots.rb
364
+ - lib/munge/formatter/silent.rb
365
+ - lib/munge/function/clean.rb
366
+ - lib/munge/function/write.rb
340
367
  - lib/munge/go/sass.rb
341
368
  - lib/munge/go/sass/asset_urls.rb
342
- - lib/munge/helpers/asset_paths.rb
343
- - lib/munge/helpers/asset_tags.rb
344
- - lib/munge/helpers/capture.rb
345
- - lib/munge/helpers/find.rb
346
- - lib/munge/helpers/link.rb
347
- - lib/munge/helpers/livereload.rb
348
- - lib/munge/helpers/rendering.rb
349
- - lib/munge/helpers/tag.rb
350
- - lib/munge/init.rb
351
- - lib/munge/io/dry_run.rb
352
- - lib/munge/io/filesystem.rb
353
- - lib/munge/io/noop.rb
369
+ - lib/munge/helper/asset_paths.rb
370
+ - lib/munge/helper/asset_tags.rb
371
+ - lib/munge/helper/capture.rb
372
+ - lib/munge/helper/data.rb
373
+ - lib/munge/helper/define_module.rb
374
+ - lib/munge/helper/find.rb
375
+ - lib/munge/helper/link.rb
376
+ - lib/munge/helper/livereload.rb
377
+ - lib/munge/helper/rendering.rb
378
+ - lib/munge/helper/tag.rb
354
379
  - lib/munge/item.rb
380
+ - lib/munge/load.rb
355
381
  - lib/munge/pre_init.rb
356
382
  - lib/munge/reporter.rb
357
- - lib/munge/routers/add_directory_index.rb
358
- - lib/munge/routers/auto_add_extension.rb
359
- - lib/munge/routers/fingerprint.rb
360
- - lib/munge/routers/remove_index_basename.rb
361
- - lib/munge/runner.rb
362
- - lib/munge/system.rb
363
- - lib/munge/system/collection.rb
364
- - lib/munge/system/item_factory.rb
365
- - lib/munge/system/item_factory/content_parser.rb
366
- - lib/munge/system/item_factory/item_identifier.rb
367
- - lib/munge/system/processor.rb
368
- - lib/munge/system/readers/filesystem.rb
369
- - lib/munge/system/router.rb
370
- - lib/munge/system/router/itemish.rb
371
- - lib/munge/transformers/tilt_transformer.rb
383
+ - lib/munge/router/add_directory_index.rb
384
+ - lib/munge/router/auto_add_extension.rb
385
+ - lib/munge/router/fingerprint.rb
386
+ - lib/munge/router/remove_index_basename.rb
372
387
  - lib/munge/util/boolean_regex.rb
373
- - lib/munge/util/import.rb
374
388
  - lib/munge/util/path.rb
375
389
  - lib/munge/util/symbol_hash.rb
376
390
  - lib/munge/version.rb
391
+ - lib/munge/vfs/dry_run.rb
392
+ - lib/munge/vfs/filesystem.rb
393
+ - lib/munge/vfs/memory.rb
377
394
  - lib/munge/write_manager/all.rb
378
395
  - lib/munge/write_manager/only_needed.rb
379
396
  - munge.gemspec
380
397
  - seeds/.gitignore
381
398
  - seeds/Gemfile.tt
399
+ - seeds/boot.rb
400
+ - seeds/boot.yml
382
401
  - seeds/config.rb
383
402
  - seeds/data.yml
384
403
  - seeds/layouts/blog.html.erb
@@ -392,7 +411,6 @@ files:
392
411
  - seeds/lib/sass.rb
393
412
  - seeds/lib/view_helpers.rb
394
413
  - seeds/rules.rb
395
- - seeds/setup.rb
396
414
  - seeds/src/assets/fonts/.empty_directory
397
415
  - seeds/src/assets/images/.empty_directory
398
416
  - seeds/src/assets/javascripts/.empty_directory
@@ -415,7 +433,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
415
433
  requirements:
416
434
  - - ">="
417
435
  - !ruby/object:Gem::Version
418
- version: 2.1.0
436
+ version: 2.2.0
419
437
  required_rubygems_version: !ruby/object:Gem::Requirement
420
438
  requirements:
421
439
  - - ">="
@@ -423,7 +441,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
423
441
  version: '0'
424
442
  requirements: []
425
443
  rubyforge_project:
426
- rubygems_version: 2.6.8
444
+ rubygems_version: 2.6.12
427
445
  signing_key:
428
446
  specification_version: 4
429
447
  summary: Static site generator aiming to simplify complex build rules