Paul C Pederson
56343c84ed
localization by filename extension
2013-11-18 10:20:42 -08:00
Steven Sloan
955467f648
add link contents for mailto: link in kramdown markdown test
2013-11-13 22:46:06 -05:00
Thomas Reynolds
e0a4b8f17d
dont route kramdown mailto links through link_to. Closes #1058
2013-10-30 09:18:25 -07:00
Thomas Reynolds
22c977d426
Merge branch 'master' of github.com:middleman/middleman
2013-10-29 09:44:22 -07:00
Thomas Reynolds
ca4935361b
drop Ruby 1.8, add some extra tests
2013-10-29 09:43:56 -07:00
Thomas Reynolds
19c155349d
Merge pull request #1044 from mojavelinux/asciidoc-renderer
...
resolves #1043 added a renderer for AsciiDoc files
2013-10-29 09:37:36 -07:00
Thomas Reynolds
9a2c1533e3
make page_classes prefix configurable
2013-10-29 09:33:27 -07:00
Andrew
e8de5907fa
Actually fix the issue, rather than pretending to
2013-10-25 18:09:36 +11:00
Andrew
2e70cc5d99
Update queryable interface so that it doesn't mutate
2013-10-25 14:48:23 +11:00
Ben Hollis
e773e8c1a9
Fix tests under 1.8 by coercing Kramdown's OrderedHash into a real Hash.
2013-10-19 19:02:34 -07:00
Dan Allen
5439139b76
added cucumber tests for #1043 , AsciiDoc support
2013-10-19 14:41:52 -06:00
Thomas Reynolds
1260188069
attempt to address asset host and hash combo, give up.
2013-10-15 14:33:25 -07:00
Thomas Reynolds
c69909910d
adjust some markdown tests
2013-09-28 00:23:13 -07:00
Ali Bosworth
2738e8ea69
Add test against URL fragments for asset hashes
2013-09-26 14:33:56 -07:00
Ben Hollis
a746be1342
Use our magic linking functions from Kramdown, just like we do with Redcarpet. Fixes #999
2013-09-16 23:46:59 -07:00
Ben Hollis
268538f926
Make an effort to handle spaces in filenames in a way that url_for can handle.
2013-09-16 21:07:57 -07:00
Nicholas Hutchinson
dcd760d4f8
Demonstrate issue with directory indexes and spaces in paths
...
References #961
2013-09-16 21:07:56 -07:00
Steven Sloan
ee7c9e6a6e
Add support/tests for Redcarpet 3.0.0 features
...
- :underline
- :highlight
- :disable_indented_code_blocks
Fix support for
- :link_attributes
- :filter_html
separate Redcarpet extensions from renderer options, add specs for missing renderer options
add specs for the missing/new redcarpet extensions, [ :lax_spacing, :underline, :highlight, :quote, :disable_indented_code_blocks, :footnotes ]
fix link_attributes option for Redcarpet
patch Tilt's reverse option aliases (they were there for RC1)
adjust test data for Redcarpet toc_data to match the current way it renders in 3.0
revert tests that aren't in redcarpet 3.0.0
add a cucumber exempt tag for mri-1.8.x
move redcarpet 3 specific extensions to a separate scenario filtered by the no18 tag
2013-08-27 11:37:37 -04:00
Thomas Reynolds
ec060e0b6e
change tests since coffee changed their output
2013-07-16 15:10:43 -07:00
Thomas Reynolds
8b970f9d92
support redcarpet's no_ flags which need to be re-implemented in our overrides. Fixes #951
2013-07-08 14:21:36 -07:00
Arron Mabrey
00d6a78872
Add expectation that .nojekyll file should exist to directory_index feature
2013-06-30 18:45:49 -04:00
Thomas Reynolds
c7d3e7d601
Fix regex which was allowing i18n to file yaml files in the data folder
2013-06-24 13:56:32 -07:00
Thomas Reynolds
37752dc291
fix layouts with implied extensions
2013-06-24 13:39:14 -07:00
Thomas Reynolds
d86dffa7c6
implement redirect support
2013-06-19 11:13:23 -07:00
Thomas Reynolds
0415b76d4f
tests for content_tag escaping
2013-06-18 11:12:41 -07:00
Thomas Reynolds
efe52f7cca
Check if set is redefining a param at the class level. Fixes #939
2013-06-17 00:47:10 +00:00
Thomas Reynolds
f0707c0968
Prevent relative asset helper from munging data URIs. Closes #938 .
2013-06-15 16:22:14 -07:00
Thomas Reynolds
913d2b7049
Implement generic which is a simple way to build a file from Rack
2013-06-13 09:05:13 -07:00
Thomas Reynolds
7d7d5e683e
Set current_engine on the context, not self, since we dup self and use that for each render loop. Closes #860
2013-06-12 15:21:31 -07:00
Moritz Breit
b234deb540
Add cucumber scenarios for markdown pages with erb layout
...
These are tests for middleman/middleman#860 .
2013-06-12 11:23:00 -07:00
Thomas Reynolds
a52effc119
continue forcing Padrino to html_safe everything
2013-06-12 11:19:02 -07:00
Thomas Reynolds
d71af3f5a1
Force padrino to skip safebuffer on erb
2013-06-08 15:36:14 -07:00
Thomas Reynolds
efc0f9961b
Merge pull request #927 from middleman/content_for_escaping
...
content_for is escaping .erb
2013-06-07 10:08:37 -07:00
Karl Freeman
ef46e4e6c3
add breaking test for escaped html using content_for
2013-06-07 09:59:59 +01:00
Karl Freeman
0b8c36cb8c
capture_html helper tests
2013-06-07 09:58:37 +01:00
Thomas Reynolds
265f90e240
Add callback so v4 extensions can see when other extensions are activated
2013-06-04 15:51:03 -07:00
Thomas Reynolds
d0cd3e3cf9
layouts_dir is now configurable. Closes #899
2013-06-01 15:25:44 -07:00
Thomas Reynolds
149f6ffa5b
fix builder not cleaning empty directories
2013-05-31 21:20:15 -04:00
Thomas Reynolds
fe2a7c4dd6
Merge branch 'master' of github.com:middleman/middleman
2013-05-31 00:11:54 -04:00
Ben Hollis
7bdf28a421
Fix ignoring layouts from the sitemap when the source directory has been set to something other than 'source'. Fixes #896 .
2013-05-30 20:17:58 -07:00
Thomas Reynolds
403d6abd05
fix up simplecov, add coveralls
2013-05-30 13:38:52 -04:00
Jonathan Allard
56f16c2488
Fix #823-2 to allow only one extension on localized views
...
Make Sitemap::Store#strip_away_locale actually do something
2013-05-30 13:37:31 -04:00
Thomas Reynolds
31f238f881
Refactor some of i18n for better codeclimate scores. In the process, make nested i18n files work like rails
2013-05-29 14:00:37 -04:00
Thomas Reynolds
86cd626084
write some file change and deletion tests for better data coverage
2013-05-29 10:59:03 -04:00
Thomas Reynolds
b8b48afcbb
how do i paren?
2013-05-29 10:35:00 -04:00
Thomas Reynolds
fef8b8417d
Add more nested data tests, actually get simplecov to run
2013-05-29 09:59:15 -04:00
Manuel Meurer
ed59260367
Replace all occurrences of data.page with current_page.data
...
see https://github.com/middleman/middleman/issues/912
2013-05-29 11:25:57 +02:00
Ben Hollis
994bd651f8
Add Simplecov
2013-05-28 22:29:58 -07:00
Thomas Reynolds
407f1b67a3
fix test for updated uglifier
2013-05-18 13:47:15 -07:00
Thomas Reynolds
9ebddeed1d
merge more into core, use gem availability to autoload
2013-05-09 14:41:26 -07:00