middleman 3.0.0.alpha.3 → 3.0.0.alpha.4
Sign up to get free protection for your applications and to get access to all the features.
- data/.gitignore +1 -2
- data/.yardopts +2 -0
- data/CHANGELOG.md +97 -0
- data/README.md +84 -13
- data/Rakefile +6 -2
- data/bin/middleman +5 -4
- data/features/builder.feature +7 -0
- data/features/clean_build.feature +11 -0
- data/features/current_page_request_path_backwards.feature +6 -0
- data/features/front-matter.feature +28 -1
- data/features/generator.feature +4 -4
- data/features/helpers_external.feature +6 -0
- data/features/helpers_lorem.feature +5 -0
- data/features/instance_vars.feature +20 -0
- data/features/markdown.feature +23 -3
- data/features/minify_css.feature +6 -1
- data/features/minify_javascript.feature +33 -1
- data/features/mount_rack.feature +8 -0
- data/features/partials.feature +7 -1
- data/features/preview_changes.feature +18 -0
- data/features/wildcard_page_helper.feature +19 -0
- data/fixtures/build-with-errors-app/config.rb +1 -0
- data/fixtures/build-with-errors-app/source/index.html.erb +1 -0
- data/fixtures/clean-app/source/index.html.haml +1 -6
- data/fixtures/clean-dir-app/config.rb +2 -0
- data/fixtures/clean-dir-app/source/about.html +1 -0
- data/fixtures/different-engine-partial/config.rb +0 -0
- data/fixtures/different-engine-partial/source/index.html.erb +1 -0
- data/fixtures/different-engine-partial/source/layouts/layout.erb +7 -0
- data/fixtures/different-engine-partial/source/shared/_footer.slim +1 -0
- data/fixtures/different-engine-partial/source/shared/_header.erb +1 -0
- data/fixtures/external-helpers/config.rb +4 -0
- data/fixtures/external-helpers/lib/hello_helper.rb +5 -0
- data/fixtures/external-helpers/source/index.html.erb +1 -0
- data/fixtures/instance-vars-app/config.rb +0 -0
- data/fixtures/instance-vars-app/source/_vartial.erb +5 -0
- data/fixtures/instance-vars-app/source/instance-var-set.html.erb +2 -0
- data/fixtures/instance-vars-app/source/layout.erb +3 -0
- data/fixtures/instance-vars-app/source/no-instance-var.html.erb +1 -0
- data/fixtures/markdown-app/config.rb +9 -0
- data/fixtures/markdown-app/source/autolink.html.markdown +5 -0
- data/fixtures/markdown-app/source/fenced_code_blocks.html.markdown +7 -0
- data/fixtures/markdown-app/source/index.html.markdown +4 -0
- data/fixtures/markdown-app/source/no_intra_emphasis.html.markdown +5 -0
- data/fixtures/markdown-app/source/smarty_pants.html.markdown +5 -0
- data/fixtures/markdown-app/source/space_after_headers.html.markdown +5 -0
- data/fixtures/markdown-app/source/strikethrough.html.markdown +5 -0
- data/fixtures/markdown-app/source/superscript.html.markdown +5 -0
- data/fixtures/markdown-app/source/tables.html.markdown +8 -0
- data/fixtures/passthrough-app/config.rb +17 -0
- data/fixtures/passthrough-app/source/.htaccess +1 -0
- data/fixtures/passthrough-app/source/inline-coffeescript.html.haml +3 -0
- data/fixtures/passthrough-app/source/inline-css.html.haml +4 -0
- data/fixtures/passthrough-app/source/inline-js.html.haml +7 -0
- data/fixtures/passthrough-app/source/javascripts/coffee_test.js.coffee +3 -0
- data/fixtures/passthrough-app/source/javascripts/js_test.js +8 -0
- data/fixtures/passthrough-app/source/stylesheets/site.css.sass +1 -0
- data/fixtures/preview-app/config.rb +0 -0
- data/fixtures/preview-app/source/content.html.erb +1 -0
- data/fixtures/preview-app/source/layout.erb +1 -0
- data/fixtures/sinatra-app/config.rb +11 -0
- data/fixtures/sinatra-app/source/index.html.erb +5 -0
- data/fixtures/test-app/config.rb +2 -2
- data/fixtures/test-app/source/front-matter-2.php.erb +7 -0
- data/fixtures/test-app/source/front-matter-change.html.erb +5 -0
- data/fixtures/test-app/source/index.html.slim +9 -0
- data/fixtures/test-app/source/javascripts/js_test.js +8 -0
- data/fixtures/test-app/source/lorem.html.erb +12 -0
- data/fixtures/test-app/source/request-path.html.erb +1 -0
- data/fixtures/wildcard-app/config.rb +1 -0
- data/fixtures/wildcard-app/source/admin/index.html.erb +1 -0
- data/fixtures/wildcard-app/source/admin/page.html.erb +1 -0
- data/fixtures/wildcard-app/source/index.html.erb +1 -0
- data/fixtures/wildcard-app/source/layouts/admin.erb +2 -0
- data/fixtures/wildcard-app/source/layouts/layout.erb +2 -0
- data/fixtures/wildcard-directory-index-app/config.rb +2 -0
- data/fixtures/wildcard-directory-index-app/source/admin/index.html.erb +1 -0
- data/fixtures/wildcard-directory-index-app/source/admin/page.html.erb +1 -0
- data/fixtures/wildcard-directory-index-app/source/index.html.erb +1 -0
- data/fixtures/wildcard-directory-index-app/source/layouts/admin.erb +2 -0
- data/fixtures/wildcard-directory-index-app/source/layouts/layout.erb +2 -0
- data/lib/middleman.rb +63 -8
- data/lib/middleman/base.rb +56 -12
- data/lib/middleman/builder.rb +18 -12
- data/lib/middleman/cli.rb +5 -5
- data/lib/middleman/core_extensions/assets.rb +12 -0
- data/lib/middleman/core_extensions/builder.rb +4 -4
- data/lib/middleman/core_extensions/extensions.rb +5 -51
- data/lib/middleman/core_extensions/front_matter.rb +30 -11
- data/lib/middleman/core_extensions/rendering.rb +18 -12
- data/lib/middleman/core_extensions/routing.rb +12 -0
- data/lib/middleman/core_extensions/show_exceptions.rb +16 -0
- data/lib/middleman/core_extensions/sitemap.rb +10 -4
- data/lib/middleman/extensions/minify_css.rb +4 -2
- data/lib/middleman/extensions/minify_javascript.rb +8 -6
- data/lib/middleman/guard.rb +80 -76
- data/lib/middleman/renderers/markdown.rb +8 -13
- data/lib/middleman/sitemap/page.rb +3 -2
- data/lib/middleman/sitemap/store.rb +3 -1
- data/lib/middleman/sitemap/template.rb +19 -5
- data/lib/middleman/step_definitions.rb +1 -0
- data/lib/middleman/step_definitions/builder_steps.rb +6 -1
- data/lib/middleman/step_definitions/generator_steps.rb +9 -13
- data/lib/middleman/step_definitions/middleman_steps.rb +13 -0
- data/lib/middleman/step_definitions/server_steps.rb +7 -0
- data/lib/middleman/templates.rb +42 -21
- data/lib/middleman/templates/default.rb +5 -0
- data/lib/middleman/templates/html5.rb +6 -0
- data/lib/middleman/templates/local.rb +5 -6
- data/lib/middleman/templates/mobile.rb +6 -0
- data/lib/middleman/version.rb +1 -1
- data/middleman-x86-mingw32.gemspec +1 -1
- data/middleman.gemspec +3 -2
- metadata +531 -242
- data/CHANGELOG +0 -98
- data/fixtures/test-app/source/index.html.haml +0 -9
- data/fixtures/test-app/source/markdown.html.markdown +0 -1
data/CHANGELOG
DELETED
@@ -1,98 +0,0 @@
|
|
1
|
-
3.0.pre
|
2
|
-
====
|
3
|
-
Rewritten to work directly with Rack (Sinatra apps can still be mounted)
|
4
|
-
Sitemap maintains own state
|
5
|
-
New Extension Registration API
|
6
|
-
Remove old 1.x mm- binaries and messaging
|
7
|
-
New default layout functionality: https://github.com/tdreyno/middleman/issues/165
|
8
|
-
Enable chained templates outside of sprockets (file.html.markdown.erb)
|
9
|
-
|
10
|
-
2.1.pre
|
11
|
-
====
|
12
|
-
Finally support Compass in Sprockets! Thanks to @xdite and @petebrowne
|
13
|
-
Sitemap object representing the known world
|
14
|
-
FileWatcher proxies file change events
|
15
|
-
Unified callback solution
|
16
|
-
Removed Slim and Maruku from base install. Will need to be installed and required by the user (in config.rb)
|
17
|
-
|
18
|
-
2.0.14
|
19
|
-
====
|
20
|
-
Minor fix for i18n
|
21
|
-
|
22
|
-
2.0.13.2
|
23
|
-
====
|
24
|
-
Update Windows eventmachine dep
|
25
|
-
|
26
|
-
2.0.13.1
|
27
|
-
====
|
28
|
-
build --clean shouldn't remove dotfiles
|
29
|
-
|
30
|
-
2.0.13
|
31
|
-
====
|
32
|
-
middleman build --clean keeps the build directory clean of leftover files
|
33
|
-
Padrino 0.10.5 and Rack 1.3.5
|
34
|
-
|
35
|
-
2.0.12
|
36
|
-
====
|
37
|
-
Sinatra 1.3.1 and Padrino 0.10.4
|
38
|
-
|
39
|
-
2.0.11
|
40
|
-
=====
|
41
|
-
- Lock Padrino and Sinatra versions (for now)
|
42
|
-
|
43
|
-
2.0.9
|
44
|
-
=====
|
45
|
-
- Added --glob option to build which only builds matching files
|
46
|
-
- Allow data/ files to be in JSON format as well
|
47
|
-
- Enabled Liquid {% include %} tag
|
48
|
-
- RubyInstaller-specific gem
|
49
|
-
- Allow access to data/ in config.rb
|
50
|
-
- Add mobile html5boilerplate template
|
51
|
-
|
52
|
-
2.0.8
|
53
|
-
=====
|
54
|
-
- Support accessing variables and data objects in ERb Sprockets files (library.js.coffee.erb)
|
55
|
-
- Make :markdown_engine support simple symbol names (:maruku instead of ::Tilt::MarkukuTemplate)
|
56
|
-
- Update Padrino deps to 0.10.2
|
57
|
-
- Include therubyracer on *nix
|
58
|
-
- Enable frontmatter for Liquid templates
|
59
|
-
|
60
|
-
2.0.7
|
61
|
-
=====
|
62
|
-
- Updated HTML5 Boilerplate to v2
|
63
|
-
- Make Rails 3.1 javascript gems available to Sprockets
|
64
|
-
|
65
|
-
2.0.6
|
66
|
-
=====
|
67
|
-
- Pulled out livereload feature into its own extension, still installed by default.
|
68
|
-
|
69
|
-
2.0.5
|
70
|
-
=====
|
71
|
-
- Vendored Padrino 0.10.0
|
72
|
-
|
73
|
-
2.0.4
|
74
|
-
=====
|
75
|
-
- Pulled out undocumented remote data feature into its own extension
|
76
|
-
|
77
|
-
2.0.3
|
78
|
-
=====
|
79
|
-
- Pulled out undocumented Blog feature into its own extension
|
80
|
-
|
81
|
-
2.0.2
|
82
|
-
=====
|
83
|
-
- Fixed Sprockets circular error
|
84
|
-
- Added auto-requiring extensions
|
85
|
-
|
86
|
-
2.0.0
|
87
|
-
=====
|
88
|
-
- Guard-powered auto-reloading of config.rb
|
89
|
-
- Guard LiveReload
|
90
|
-
- Sprockets JS
|
91
|
-
- Refactored Dynamically Reloadable Core
|
92
|
-
- Combine views/ and public/ into a single source/ folder.
|
93
|
-
- Support YAML front-matter
|
94
|
-
- Added callback to run code after Compass is configured
|
95
|
-
- Added support for a compass.config file which is passed directly to Compass
|
96
|
-
- Blog-aware Feature (and project template)
|
97
|
-
- Thor-based, unified `middleman` binary
|
98
|
-
- :directory_indexes feature
|
@@ -1 +0,0 @@
|
|
1
|
-
Hello World
|