Daniel Grieve
1ab83ff9e9
fix test to highlight issue with FileUtils.cp_r
2013-03-13 19:55:15 +00:00
Daniel Grieve
099fcc27d6
raise ArgumentError if no args. rename sample post
2013-03-13 19:21:11 +00:00
Daniel Grieve
b306835ce0
Add tests for 'new' command.
2013-03-12 19:38:05 +01:00
Parker Moore
74def64bef
Merge pull request #851 from jroes/jekyll-new
...
Make `jekyll new` work when installed via `gem install`
2013-03-12 11:34:08 -07:00
Jonathan Roes
7a86d901f1
Refactor Commands::New a bit and remove scaffold post once copied.
2013-03-12 00:48:22 -04:00
Jonathan Roes
b71ec624f8
Add commands/new and scaffold post to gemspec so they get copied over.
2013-03-12 00:47:42 -04:00
Parker Moore
7258b10f88
We don't need YAML in the new command.
2013-02-28 22:19:38 +01:00
Parker Moore
149b95d767
Typos in sample post.
2013-02-28 22:17:24 +01:00
Parker Moore
cff4ec72ea
Using .erb file for the new post
2013-01-30 21:05:52 +01:00
Parker Moore
704307d7fe
Added very basic code snippet example to sample post
2013-01-27 23:30:32 +01:00
Parker Moore
bf78fe9b75
Move post scaffold content to a separate method.
2013-01-27 23:23:53 +01:00
Parker Moore
a68b67c65e
Added newline to New command for stylistic congruence.
2013-01-27 23:21:31 +01:00
Parker Moore
ac691a1465
removed related posts segment of scaffold site.
2013-01-27 23:21:02 +01:00
Parker Moore
a8671ed52b
Using modularized commands (Jekyll::Commands) as per @tombell's latest PR merge
2013-01-27 23:17:45 +01:00
Parker Moore
f3856a444a
Added command to primary binary.
2013-01-27 23:16:34 +01:00
Parker Moore
2bc04e4a60
Added the site_template files to the gemspec manifest.
2013-01-27 23:16:34 +01:00
Parker Moore
272dd5ef35
Added the NewCommand class
2013-01-27 23:16:34 +01:00
Parker Moore
ce7e307cba
Scaffold site, based on @mojombo's site (with permission).
2013-01-27 23:16:34 +01:00
Parker Moore
b4bea4a586
Merge branch 'code-cleanup' of git://github.com/tombell/jekyll into code-cleanup
...
Module Cleanup
* 'code-cleanup' of git://github.com/tombell/jekyll:
Remove new lines between module and class
Update tag classes moving into a module
Update pagination classes moving into a module
Update converter classes moving into a module
Strip extra newlines
Update command classes moving into a module
Conflicts:
lib/jekyll/commands/serve.rb
2013-01-27 23:13:16 +01:00
Parker Moore
35165d19f8
Update history to reflect merge of #775 .
2013-01-27 23:08:44 +01:00
Parker Moore
b736676904
Merge pull request #775 from metamatt/issue773
...
Address issue 773 (bugs preventing tumblr.rb from running)
2013-01-27 14:06:41 -08:00
Parker Moore
1d85664340
Update history to reflect merge of #767 .
2013-01-26 22:35:13 +01:00
Parker Moore
409eedafd8
Merge pull request #767 from mojombo/string-categories
...
Force Categories to be Strings
2013-01-26 13:32:26 -08:00
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
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