11225 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
Parker Moore
cd2f3b8dce Updated history to reflect merge of #777. 2013-01-25 17:23:40 +01:00
Parker Moore
4041579b70 Merge pull request #777 from mastahyeti/safe_yaml
Safe YAML
2013-01-25 08:22:10 -08:00
Parker Moore
2b8c85cd9d Reflect merge of #407 2013-01-25 06:22:35 +01:00
Jordon Bedwell
4f7881ba40 Add SVG support to Jekyll/Webrick. Fixes #406. 2013-01-25 06:20:07 +01:00
Parker Moore
2c76311ada Updated history to reflect merge of #776. 2013-01-25 06:06:33 +01:00
Parker Moore
130406a101 Merge pull request #776 from tombell/script-bootstrap
Add a bootstrap script
2013-01-24 21:04:46 -08:00
Ben Toews
d758d424b4 deleted junk 2013-01-23 17:19:32 -06:00
Ben Toews
d82179048e adding files 2013-01-23 11:31:59 -06:00
Ben Toews
1528cfe1cd adding safe_yaml to protect against object instantiation from yaml 2013-01-23 11:30:24 -06:00
Ben Toews
c85d834036 lets try this differently 2013-01-23 11:07:44 -06:00
Tom Bell
507f1c3995 Add a bootstrap script 2013-01-22 23:10:51 +00:00
Ben Toews
799c997b45 adding gem 2013-01-22 15:21:10 -06:00
Ben Toews
073bac6047 using sane_yaml to prevent code execution 2013-01-22 15:18:46 -06: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
scribu
c48de6b320 add drafts.feature 2013-01-20 05:23:56 +02:00
scribu
2df63e5b9d fix tests 2013-01-20 05:23:56 +02:00
scribu
0ad623fb85 first pass at --drafts flag 2013-01-20 05:23:56 +02:00
Tom Bell
517e6f81d3 Remove new lines between module and class 2013-01-20 00:00:49 +00:00
Tom Bell
2c45150545 Update tag classes moving into a module 2013-01-19 23:50:44 +00:00
Tom Bell
10d980b6e1 Update pagination classes moving into a module 2013-01-19 23:42:40 +00:00
Tom Bell
663a1321d2 Update converter classes moving into a module 2013-01-19 23:07:38 +00:00
Tom Bell
6514fe2d22 Strip extra newlines 2013-01-19 22:38:51 +00:00
Tom Bell
e03f48085a Update command classes moving into a module 2013-01-19 22:36:46 +00: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
Parker Moore
ce798a5956 Added test for all-String categories. 2013-01-17 21:57:21 -05:00
Parker Moore
cd05f6be78 Ensures that categories are Strings before escaping. Fixes #759. 2013-01-17 21:55:01 -05: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
Matt Rogers
f460a6cf71 Merge branch 'master' into issue-653 2013-01-16 21:52:32 -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