Commit Graph

941 Commits

Author SHA1 Message Date
Matt Ginzton c95c5e3b7d Use Dir.pwd instead of "." as the source argument to Post.new, since
this has historically supplied an absolute path in this call.
2013-01-25 15:57:45 -08:00
Matt Ginzton fbc9d0c663 Fix truncation of overly long post names.
Delete the old truncate_post_name; it was called too late (if url rewriting
is enabled which it is by default), didn't run (it tried to use + to concat
a Fixnum onto a String), and even with those problems fixed, didn't actually
shorten the string enough to use as a pathname.

Instead, apply simple string truncation at the point we generate the slug,
which is used in the filename and is the part that could be unboundedly
long. I arbitrarily chose 200 as the maximum length; even shorter might be
better (really long slugs are just visually ugly); it might also be nicer
to truncate at a hyphen boundary.

This fixes the rest of issue #773 (subissue 4).
2013-01-22 10:25:07 -08:00
Matt Ginzton 863643c7e8 Look for _posts directory relative to cwd, not relative to tumblr.rb.
That's where we put it earlier, so that's where we'll find it now.

This addresses part of issue #773 (subissue 3).
2013-01-22 10:24:33 -08:00
Parker Moore adce57e9e1 Updated history to reflect merge of #771. 2013-01-21 22:20:00 -05:00
Parker Moore 8d05e1ea5a Merge pull request #771 from mojombo/fix-coverage
Fix SimpleCov Execution
2013-01-21 19:01:52 -08:00
Parker Moore 607b4c84fd Only running simplecov if RUBY_VERSION is 1.9 or greater, and COVERAGE env is set to 'true' 2013-01-20 22:16:23 -05:00
Parker Moore 914f1e834d Added simplecov-gem-adapter dev dependency. 2013-01-20 22:15:44 -05:00
Parker Moore 065b251383 Added note in gemspec for easy extraction of dev dependencies to migrator gem. 2013-01-18 10:35:21 -05:00
Parker Moore f231ef7644 Merge pull request #684 from mattr-/issue-680. 2013-01-18 10:28:14 -05:00
Parker Moore 85c3bf66d0 Reflected merging of #671 in History. 2013-01-17 22:34:59 -05:00
Parker Moore 2615291e6d Printing error message in WP.com migrator. #671. 2013-01-17 22:33:37 -05:00
Parker Moore 3bca5c3297 Merge pull request #671 from fzero/master
Rescue from import errors on Wordpress.com plugin.
2013-01-17 19:30:51 -08:00
Tom Preston-Werner ab539622dd Refine CONTRIBUTE with more detail and better formatting. 2013-01-17 12:38:27 -08:00
Tom Preston-Werner 568208ca9b Update history to reflect merge of #765. 2013-01-17 12:25:45 -08:00
Tom Preston-Werner 733587fa05 Merge pull request #765 from mattr-/fix-coverage
Fix coverage
2013-01-17 12:22:58 -08:00
Matt Rogers 5e08cddb98 filter out test files in coverage results 2013-01-16 22:27:23 -06:00
Matt Rogers 79fceedab3 add the coverage directory to .gitignore 2013-01-16 22:22:33 -06:00
Matt Rogers 00d74fa53f Add SimpleCov to the unit tests 2013-01-16 22:20:34 -06:00
Matt Rogers 06a6b8aadb Add simplecov as a dependency
Simplecov works with Ruby 1.9.x for generating test coverage
2013-01-16 22:18:10 -06:00
Matt Rogers 9007f9c851 Remove the coverage rake task
RCov does not work on Ruby 1.9.x
2013-01-16 22:15:45 -06:00
Parker Moore 8b83feac06 Update history to reflect merge of #664 2013-01-16 21:36:48 -05:00
Parker Moore 8fb36ab064 Merge branch 'master' of github.com:mojombo/jekyll
* 'master' of github.com:mojombo/jekyll:
  Slight stylistic tweak to LSI initialisation.
  faster_lsi: Massively accelerate LSI performance.
2013-01-16 21:36:07 -05:00
Parker Moore faf5e44c47 Merge pull request #664 from Jashank/faster_lsi
faster_lsi: Massively accelerate LSI performance.
2013-01-16 18:36:01 -08:00
Parker Moore cbbf8b496d Update history to reflect merge of 496 2013-01-16 21:35:12 -05:00
Parker Moore 2e76edd837 Merge pull request #496 from dunsmoreb/issue/481
Truncate post slugs when importing from Tumblr.
2013-01-16 18:34:21 -08:00
Parker Moore 5848476960 Merge pull request #751 from mojombo/new-cmds-docs
Documentation for new command structure & opts
2013-01-16 16:43:38 -08:00
Parker Moore a017f36d4b Added description to History file 2013-01-15 15:03:52 -08:00
Parker Moore c0a6e1e5a2 Changed 'six' to 'some' on Sites page 2013-01-15 14:56:04 -08:00
Parker Moore 070f5111e1 A link to the sites page on the wiki (in addition to this curated list) 2013-01-15 14:44:06 -08:00
Parker Moore 282a3bce73 Updated history 2013-01-12 22:26:05 -08:00
Parker Moore 6a7a030eee Fixed failing Cucumber test 2013-01-12 22:25:55 -08:00
Parker Moore 963721fb46 Merge branch 'master' of github.com:mojombo/jekyll
* 'master' of github.com:mojombo/jekyll:
  add Enumerable#glob_include?
  fixed a syntax error
  use any? instead
  update test for include,exclude glob support
  Update test/test_site.rb
  Update lib/jekyll/site.rb
  add regexp support for option 'include','exclude'
2013-01-12 22:16:28 -08:00
Parker Moore e383bfe65d Merge pull request #743 from mccxj/master
add glob support to include, exclude option
2013-01-12 22:16:07 -08:00
Parker Moore fbda85210a Added html_report profile to cucumber 2013-01-12 21:55:59 -08:00
Parker Moore 45f10a22da Update number of Jekyll-powered blogs on Sites page 2013-01-12 15:36:11 -08:00
Parker Moore 078972de4b Remove Octopress site from list of Jekyll-powered Sites 2013-01-12 15:35:21 -08:00
Parker Moore 4bb5158b09 New sub-titles for sub-command options table 2013-01-12 15:34:05 -08:00
Parker Moore 5a3e05dbff Ensuring that layout is only set to the default value if layout is not specified 2013-01-12 15:31:14 -08:00
Parker Moore 11ca1dfa78 Updated history to reflect merging of #580. 2013-01-12 15:15:32 -08:00
7rans e8c74fe7a8 Layouts default to page or post depending upon type. 2013-01-12 13:49:45 -08:00
Parker Moore d9bc6b57d5 Updated gemspec to include new command and fixture files in manifest 2013-01-12 13:19:29 -08:00
Parker Moore e2affb2257 Added passing tests for #616 2013-01-12 00:14:00 -08:00
Parker Moore a05b9159d9 Merge pull request #616 from hokaccha/fix_pygments_opt
fixed pygments linenos options for pygments.rb
2013-01-12 00:11:18 -08:00
Parker Moore 3d093f0035 Using new command structure in Rakefile 2013-01-11 23:59:21 -08:00
Parker Moore 42fa1046db Using internal links for homepage 2013-01-11 23:51:32 -08:00
Parker Moore 5db1bba6fd auto => watch 2013-01-11 23:51:22 -08:00
Parker Moore 64cbaa1d85 Configuration docs updated with new structure 2013-01-11 23:51:06 -08:00
Parker Moore 39b159c258 Return of the "sites" page - for learning purposes 2013-01-11 23:50:36 -08:00
Parker Moore 9fc89482b3 Using build and serve sub-commands in docs 2013-01-11 23:50:13 -08:00
Parker Moore 14cabab254 Merge pull request #690 from tombell/jekyll-command-redux
The Big Jekyll Command Cleanup
2013-01-11 21:47:59 -08:00