Ben Hollis
8648aaed7c
Fix build --clean when paths are rerouted.
...
This was mostly apparent when using directory indexes - because the
rewrite of the destination path happened after the point where the
path was removed from the "to clean" list, directory indexes would
get removed on the next build --clean.
2011-11-30 23:07:09 -08:00
Ben Hollis
c92ccbb613
Trim down frontmatter data storage by not storing the source of the template after stripping frontmatter in the local_data hash.
2011-11-30 22:08:46 -08:00
Ben Hollis
d08b825607
Fix typo desination -> destination
2011-11-30 22:08:46 -08:00
Ben Hollis
1b330e7a27
Oops - the change to the frontmatter regex broke it somehow. This reverts that change (but also reigns in the file_deleted hook).
2011-11-30 22:08:11 -08:00
Ben Hollis
17e3735d44
A slight speedup in the sitemap extension by only scanning the source directory.
...
This way sitemap will not scan through all the files in your project (including
.git files and such) when it doesn't ever need to know about those files. This
also includes a slight tightening of the regex for filtering paths for front_matter.
2011-11-30 20:04:23 -08:00
Thomas Reynolds
dd0836b9d5
maruku is abandonware, default to rdiscount
2011-11-30 10:11:08 -08:00
Thomas Reynolds
46ddfe747f
Tweak docs
2011-11-29 23:43:01 -08:00
Thomas Reynolds
4b8beba7a3
initial tests for file change api
2011-11-29 22:26:01 -08:00
Thomas Reynolds
baa3c32b45
cleanup generator feature steps
2011-11-29 22:12:33 -08:00
Thomas Reynolds
e02173425b
reorg cucumber steps so gem extensions can reuse them
2011-11-29 14:17:07 -08:00
Thomas Reynolds
2ed409b5e1
make sure chained templates work with data
2011-11-29 11:49:42 -08:00
Ben Hollis
67fe8215e8
Build .htaccess files (and other things in the sitemap) directly even when directory-indexes are on
2011-11-28 00:18:13 -08:00
Thomas Reynolds
223cf09c8f
Merge pull request #170 from bhollis/partials
...
Fix partials with locals
2011-11-27 22:07:49 -08:00
Thomas Reynolds
41f4a30824
Merge branch 'master' of github.com:tdreyno/middleman
2011-11-27 22:04:29 -08:00
Thomas Reynolds
9ac114406f
re-order some callbacks
2011-11-27 22:04:19 -08:00
Ben Hollis
7a4d8c7533
Fix partials with locals
2011-11-27 21:56:21 -08:00
Thomas Reynolds
a14853e2bf
Merge pull request #169 from bhollis/master
...
Include .htaccess files when building a site
2011-11-27 21:16:17 -08:00
Thomas Reynolds
0ef8de6106
reorg build constants. Update docs
2011-11-27 20:49:46 -08:00
Ben Hollis
0cc00a74b4
Include .htaccess files when building a site.
2011-11-27 20:24:19 -08:00
Thomas Reynolds
d12b3a95d2
update RbConfig call. Fixes #164
2011-11-26 23:12:15 -08:00
Thomas Reynolds
7ab8f0cdd1
support for svgz gzip
2011-11-26 23:09:18 -08:00
Thomas Reynolds
4cfbd6e5d9
include svg when looking for image extensions
2011-11-26 20:53:05 -08:00
Thomas Reynolds
abbd489c91
implement new http-based messaging between guard and instance
2011-11-26 20:09:14 -08:00
Thomas Reynolds
e2fdd9a4d3
add more content_for helpers, disable caching for now
2011-11-26 18:12:15 -08:00
Thomas Reynolds
ddb15b2e35
add some more rdocs
2011-11-26 16:23:38 -08:00
Thomas Reynolds
fed3dd5a85
move rendering into rendering extension, instead of sitemap
2011-11-26 16:17:18 -08:00
Thomas Reynolds
7c50c9e4d5
tests for partials
2011-11-26 15:32:41 -08:00
Thomas Reynolds
2b545f8e35
fix double-run layout lookup
2011-11-25 16:25:02 -08:00
Thomas Reynolds
fee6fba15d
Merge pull request #154 from arronmabrey/feature/fixed-port-typo
...
Fixing: port typo.
2011-11-25 16:11:04 -08:00
Thomas Reynolds
3ce5adac3c
change how layouts work
2011-11-25 16:09:31 -08:00
Thomas Reynolds
e920cef76a
smooth out some edges for blog extension
2011-11-24 21:52:23 -08:00
Thomas Reynolds
de077201bd
re add sitemap each
2011-11-24 15:04:00 -08:00
Thomas Reynolds
41d5337f5b
allow extensions to pass version checks
2011-11-24 14:06:04 -08:00
Thomas Reynolds
37053c812b
add host option
2011-11-23 22:05:53 -08:00
Thomas Reynolds
00271c1cee
Start adding rdoc
2011-11-23 21:59:53 -08:00
Thomas Reynolds
f363e4f7a1
add backwards compatibility settings method
2011-11-23 10:59:37 -08:00
Thomas Reynolds
a65899672f
Remove v1 check
2011-11-23 10:49:33 -08:00
Thomas Reynolds
d1003a23bc
New extension API with on-demand loading, and gem versioning
2011-11-21 00:23:48 -08:00
Thomas Reynolds
6de8d5dde5
cleanup calls to self. throughout
2011-11-20 21:21:19 -08:00
Thomas Reynolds
1fbeedb573
remove dup methods from base
2011-11-20 17:30:53 -08:00
Thomas Reynolds
51cb3980bc
finish moving rendering code into sitemap
2011-11-20 17:05:29 -08:00
Thomas Reynolds
2d0c74054a
begin work to let each path maintain it's own state. Paves the way for a dynamic rebuild command
2011-11-20 13:48:28 -08:00
Thomas Reynolds
59f44b54d1
fix simple rack interface
2011-11-19 19:17:12 -08:00
Thomas Reynolds
f10db73346
simplify create_file
2011-11-19 19:04:06 -08:00
Thomas Reynolds
425bd603f5
unify internal cache mechanism
2011-11-19 18:53:18 -08:00
Thomas Reynolds
a06eb91f45
alpha2
2011-11-19 15:09:23 -08:00
Thomas Reynolds
b9a3a9fa6e
fix spaces build
2011-11-19 15:06:08 -08:00
Thomas Reynolds
8613a58896
autoload slim and maruku
2011-11-19 14:54:03 -08:00
Thomas Reynolds
6f2522cea6
prep alpha
2011-11-19 14:50:07 -08:00
Thomas Reynolds
8c4471fc40
fix minify js, re-enable build init, parse data before config.rb, everything else after
2011-11-19 14:49:08 -08:00
Thomas Reynolds
61052de807
vendor hooks, add instance hooks, fix configure blocks
2011-11-18 22:57:25 -08:00
Thomas Reynolds
3b4f3fbd22
forward extensions from set :engine to renderer
2011-11-18 22:01:53 -08:00
Thomas Reynolds
47eb29bcfe
fix template read cache
2011-11-18 21:46:26 -08:00
Thomas Reynolds
9eccf59aec
fix per-engine layout_engine, add tests
2011-11-18 21:35:25 -08:00
Thomas Reynolds
22c37f9b2b
all tests pass
2011-11-18 20:49:59 -08:00
Thomas Reynolds
d11b8388f2
fix context references
2011-11-18 20:34:20 -08:00
Thomas Reynolds
4ceb9bab41
fix relative assets and sprockets js
2011-11-18 17:37:01 -08:00
Thomas Reynolds
7d9550e9ce
fix minify javascript
2011-11-18 17:17:33 -08:00
Thomas Reynolds
1d2eca5373
fix cssmin
2011-11-18 17:10:00 -08:00
Thomas Reynolds
931253469d
fix cache_buster (include ancient bug
2011-11-18 17:03:09 -08:00
Thomas Reynolds
186651c5b5
fix basic asset host
2011-11-18 16:22:15 -08:00
Thomas Reynolds
a5e0dd49a9
reintroduce a vendored copy of padrino helpers, fix automatic image sizes, begin move to pure ruby asset_url pipeline
2011-11-18 16:18:08 -08:00
Thomas Reynolds
0d0eda71c2
reenable build reroute
2011-11-18 14:09:48 -08:00
Thomas Reynolds
0e5ce50787
rename old padrino tests, remove sinatra tests, use metadata hooks for frontmatter and liquid
2011-11-18 13:38:18 -08:00
Thomas Reynolds
c82a40dde5
rackmap hates me
2011-11-18 00:34:56 -08:00
Thomas Reynolds
f4fa1acd3e
experimental rack-only middleman
2011-11-17 19:56:55 -08:00
Thomas Reynolds
fc91179b4a
run file changed for entire app on boot
2011-11-17 16:02:07 -08:00
Thomas Reynolds
ffb7611acc
file watchers can match regex against path
2011-11-17 13:21:05 -08:00
Thomas Reynolds
34d3522d93
fix frontmatter auto updater and switch to Padrino.logger
2011-11-17 11:43:04 -08:00
Arron Mabrey
7d3253821c
Fixing: port typo.
2011-11-14 14:57:05 -05:00
Thomas Reynolds
74bfcbe1aa
refactor sitemap to add context cache
2011-11-13 21:57:53 -08:00
Thomas Reynolds
7dbc7d680a
only silence thin when not debugging
2011-11-11 12:31:28 -08:00
Thomas Reynolds
cd63ec2248
expose more data for blog ext
2011-11-11 12:27:09 -08:00
Thomas Reynolds
97e1dfa339
move init
2011-11-11 11:14:45 -08:00
Thomas Reynolds
740cdb120b
fix frontmatter cache on 1.9.x
2011-11-10 16:16:40 -08:00
Thomas Reynolds
ff2eddf5b8
attempt some speedups
2011-11-10 15:56:04 -08:00
Thomas Reynolds
610509b373
don't try to parse frontmatter from binary files, duh
2011-11-10 15:35:53 -08:00
Thomas Reynolds
d018511606
debug flag
2011-11-10 15:24:24 -08:00
Thomas Reynolds
9bfd345849
quiet down guard and thin
2011-11-10 15:09:52 -08:00
Thomas Reynolds
d264a49a76
cleanup cli class
2011-11-10 14:35:27 -08:00
Thomas Reynolds
2682bbf6ea
simpler guard-based frontmatter, use rackmap everywhere (tests, server, build)
2011-11-10 12:26:20 -08:00
Thomas Reynolds
055f7c2a41
refactor data to use guard hooks
2011-11-09 21:19:11 -08:00
Thomas Reynolds
1b9ad20ed1
minor builder refactor
2011-11-08 16:33:50 -08:00
Thomas Reynolds
36df6300cd
queue sitemap changes until after first run
2011-11-08 16:04:53 -08:00
Thomas Reynolds
d72200dc5e
reenable sitemap tree
2011-11-08 15:47:53 -08:00
Thomas Reynolds
271961bf8c
cleanup compass hook
2011-11-08 15:46:54 -08:00
Thomas Reynolds
8a81a7be1c
hooks for after config
2011-11-08 15:45:22 -08:00
Thomas Reynolds
553be5762c
routing cleanup
2011-11-08 15:38:15 -08:00
Thomas Reynolds
45f18a6580
builder hooks
2011-11-08 15:10:53 -08:00
Thomas Reynolds
ec0aa868f4
compass hooks
2011-11-08 15:05:06 -08:00
Thomas Reynolds
0ed1a73450
begin migration to hooks callback library
2011-11-08 14:57:55 -08:00
Thomas Reynolds
19e566f6a5
little cleanups
2011-11-08 10:35:27 -08:00
Thomas Reynolds
e8d50ad204
sitemap_tree helper
2011-11-08 00:00:33 -08:00
Thomas Reynolds
ce841ccd18
helper func
2011-11-07 23:44:34 -08:00
Thomas Reynolds
a03ce61627
fix tests on 1.9
2011-11-07 23:31:43 -08:00
Thomas Reynolds
b5561227f8
sitemap works, tests pass
2011-11-07 22:34:02 -08:00
Thomas Reynolds
41a5d9bbee
begin core sitemap restructure
2011-11-07 17:58:07 -08:00
Thomas Reynolds
7b345dc432
prep for 2.1
2011-11-05 22:06:51 -07:00
Thomas Reynolds
b3a61a299f
Merge branch 'master' of github.com:tdreyno/middleman
2011-11-03 10:50:41 -07:00
Thomas Reynolds
b7382d80f2
prep another pre
2011-11-03 10:50:36 -07:00