Thomas Reynolds
c87e2e026e
Rubocop tweaks
2015-04-26 11:13:29 -07:00
Thomas Reynolds
4be3fcfd31
Fix recursive enhance on nil values
2015-04-24 10:28:03 -07:00
Thomas Reynolds
c25229065a
Better indiff logic
2015-04-24 10:28:03 -07:00
Thomas Reynolds
22ce56492f
Experiment with Hamster
2015-04-24 10:28:03 -07:00
Thomas Reynolds
55c5a46440
Update contracts gem. #1494
2015-04-24 10:26:42 -07:00
Thomas Reynolds
4740159a3a
Use Addressable to improve inline url detection and rewriting. Only rewrite relative paths. Closes #1499
2015-04-22 09:41:24 -07:00
Steven Sloan
3b1a00cf47
allow setting a destination_dir for SourceWatchers
...
This change lets a source be defined with a destination directory. That way we can mount a source (say a gem’s ‘doc’ directory) in a namespace and worry less about name collisions with files in other sources.
2015-04-17 16:46:39 -04:00
Thomas Reynolds
30721436c0
Allow extensions to activate extensions
2015-03-27 10:56:09 -07:00
Thomas Reynolds
6fef5b3a93
Require forwardable. Closes #1479
2015-03-05 09:46:38 -08:00
Thomas Reynolds
26c6f453f3
Add file watcher :only option
2015-02-26 17:08:40 -08:00
Thomas Reynolds
c94e5d0f4d
Merge from stable
2015-02-24 11:16:16 -08:00
Thomas Reynolds
ce2d5028b2
Merge pull request #1445 from alex88/patch-1
...
Add Woff2 to asset hash extensions
2015-02-24 09:50:51 -07:00
Thomas Reynolds
fbe71f51e4
Merge pull request #1465 from thomasritz/fix-wrong-parent
...
Fixes computation of `parent`.
2015-02-23 14:18:31 -07:00
Thomas Reynolds
a3772428c1
Merge pull request #1456 from yterajima/feature/add-template-test
...
Add test to `$ middleman init` using tmeplate
2015-02-23 12:30:11 -08:00
Thomas Reynolds
a3519bdf37
Bump
2015-02-23 12:28:30 -08:00
Thomas Reynolds
cac0484de8
Fixes #1469
2015-02-23 12:26:37 -08:00
Ilya Vassilevsky
4d75ba7749
Fix grammar in a scenario
2015-02-23 01:53:14 +03:00
Henrik Nyh
55673480dc
Fix proxy pages link in config template
...
Old link is broken.
2015-02-22 20:31:28 +01:00
Thomas Ritz
262e976790
Fixes computation of parent
.
...
If there is a file without a basename in root, e.g. `.htaccess`,
`#parent` of another file in root finds `.htaccess` instead of
`index.html`.
Adding the `.htaccess` to the traversal-app fixture exposes this error.
The fix is to no longer scan for possible files if we know the parent
must be root.
2015-02-21 19:07:17 +01:00
Eliott Appleford
a977f8bf20
Merge pull request #1416 from dg-ratiodata/feature/fix_offenses
...
Fix rubocop offenses
2015-02-19 00:50:46 +00:00
yterajima
ceb4769325
Add test to $ middleman init
using tmeplate
...
* using Middleman directory
* using github
* user/repository
* user/repository#branch
* using full path
* contains "://"
2015-02-19 01:02:21 +09:00
Eliott Appleford
0230e26a8c
Fix slim >= 3.0.0 deprecation warning
2015-02-18 14:22:50 +00:00
Thomas Reynolds
1cce64d463
Bump
2015-02-17 16:08:58 -08:00
Thomas Reynolds
14104aad70
Try to avoid *nix double load issue again
2015-02-17 09:39:59 -08:00
Thomas Reynolds
fd3d9b206f
Attempt to avoid double-load issue
2015-02-16 15:53:21 -08:00
Thomas Reynolds
2f558ec571
Fix test
2015-02-13 14:39:08 -08:00
Thomas Reynolds
4d7b21185f
fix strange change to how file contents are checked in aruba
2015-02-13 14:34:15 -08:00
Thomas Reynolds
85c8143d49
bump
2015-02-13 14:31:53 -08:00
Thomas Reynolds
5b39a33ab6
Serve sourcemaps as JSON so extensions which rely on mime-type function correctly
2015-02-13 14:28:12 -08:00
Alessandro Tagliapietra
3c5c677a07
Add Woff2 to relative assets extension
2015-02-11 00:09:40 +01:00
Alessandro Tagliapietra
d97e380db8
Add Woff2 to builder asset order
2015-02-10 23:58:29 +01:00
Alessandro Tagliapietra
19db9f3be1
Add Woff2 to asset hash extensions
2015-02-10 23:30:20 +01:00
Joost Hietbrink
28199950e9
Add :overwrite option to gzip
...
Useful for deployment to S3 together with gzip content-encoding.
2015-02-10 21:49:15 +01:00
Nico Hagenburger
98b06878a5
fixed space
2015-02-10 09:28:31 +01:00
Nico Hagenburger
a5c65bac53
don’t override :custom if already set
...
Sometimes Sprockets needs to access
`options[:custom][:sprockets_context]`. If this is set, it should not be
overridden. This happens when building a LivingStyleGuide file when the
Sass source uses `asset-path`, `image-url` or similar functions.
2015-02-09 23:16:20 +01:00
Thomas Reynolds
e4b7d4fff0
begin prepping beta.1
2015-02-07 13:38:29 -08:00
Joost Hietbrink
7bec48c688
Fix 404 for sub-mounted apps
...
404 now shows full path (similar to url).
2015-01-26 14:33:22 +01:00
Steven Sloan
9ba1dc040f
reorganize all Middleman::Util specs to a single spec file, add specs for PR #1426
2015-01-15 13:29:37 -05:00
Thomas Reynolds
f02713788d
fix strange change to how file contents are checked in aruba
2015-01-15 09:56:28 +00:00
Steven Sloan
14e1cb1cd6
move all HashWithIndifferentAccess recursive enhancement over to the Util class
...
TODO: moving this two a class method on HashWithIndifferentAccess would really make the most sense, but there are two blockers:
- historically the method has operated out of Util. While totally ok, simply dedeferring to HashWithIndifferentAccess feels a bit awkward
- the contracts gem doesn’t support class method at this time. the assurance of frozen output is important considering the uses of the recursively_enhance method
2015-01-15 03:30:26 -05:00
Steven Sloan
a771b15700
rewrite CoreExtension::Data#key? to prevent potential SystemStackError
...
since data_for_path can trigger respond_to?, and respond_to? uses key? — a SystemStackError could trigger if data_for_path was called.
2015-01-15 02:46:59 -05:00
Dennis Günnewig
0f95d74827
Use guard clause
2015-01-08 14:58:00 +01:00
Dennis Günnewig
79dbfa0238
Rubcop found some new offenses
2015-01-08 14:55:03 +01:00
Dennis Günnewig
747ca86212
Fixed offense
2015-01-08 14:53:20 +01:00
Jared Norman
a4406e7d9c
Fix line ending format in all.js
...
Resolves #1302
2015-01-06 09:06:36 -08:00
Thomas Reynolds
69f8245f7b
bump
2015-01-04 15:42:22 -06:00
Thomas Reynolds
39c7c9df54
fix leftover flag
2015-01-04 15:28:13 -06:00
Thomas Reynolds
857c99fab5
attempt to fix interactive cli timeout
2015-01-04 15:23:37 -06:00
Thomas Reynolds
8e743aea94
fix interactive init test
2015-01-04 15:06:14 -06:00
Thomas Reynolds
f16510d034
Update CLI
2015-01-04 14:23:35 -06:00