Martin Jorn Rogalla
00cdcbc184
Separated some more readers from the main reader.rb file.
...
- Draft Reader
- Collection Reader
- Page Reader
- Post Reader
- Static File Reader
Fixed references and ran tests.
Signed-off-by: Martin Jorn Rogalla <martin@martinrogalla.com>
2015-03-06 17:20:25 +01:00
Martin Jorn Rogalla
bebd80342e
Extracted draft, post reader into external classes.
...
Organized the draft, post and layout reader into the *readers* classes.
Fixed all references and ran tests.
Signed-off-by: Martin Jorn Rogalla <martin@martinrogalla.com>
2015-03-06 12:39:50 +01:00
Martin Jorn Rogalla
4b8e3cfdbd
Moved the in_(source/dest)_dir back to site.rb.
...
After carefully looking at these two methods, as of right now they do not
belong in the reader, as they should also be used by the writer. Thus the
decision was made to move them back into the class containing the source
and dest fields, site.rb.
Signed-off-by: Martin Jorn Rogalla <martin@martinrogalla.com>
2015-03-05 13:34:46 +01:00
Martin Jorn Rogalla
9e1cb96a7e
Added site reference for encoding configuration.
...
Signed-off-by: Martin Jorn Rogalla <martin@martinrogalla.com>
2015-03-04 22:23:47 +01:00
Martin Jorn Rogalla
7114380da7
Added and improved documentation, fixed long method name.
...
Signed-off-by: Martin Jorn Rogalla <martin@martinrogalla.com>
2015-03-04 21:37:25 +01:00
Martin Jorn Rogalla
1b796354fb
Added documentation, made method private and fixed quotes.
...
Signed-off-by: Martin Jorn Rogalla <martin@martinrogalla.com>
2015-03-04 21:10:26 +01:00
Martin Jorn Rogalla
f252a82afc
Made the Reader responsible for the actual Reading.
...
Signed-off-by: Martin Jorn Rogalla <martin@martinrogalla.com>
2015-03-04 21:00:45 +01:00
Martin Jorn Rogalla
2f88a0c0a1
Extracted `read_collections` from site.rb into reader.rb
...
- Extracted
- Updated References
- Ran Tests
Signed-off-by: Martin Jorn Rogalla <martin@martinrogalla.com>
2015-03-04 20:55:53 +01:00
Martin Jorn Rogalla
2857350df1
Extracted `read_directories` from site.rb into reader.rb
...
- Extracted
- Updated References
- Ran Tests
Signed-off-by: Martin Jorn Rogalla <martin@martinrogalla.com
2015-03-04 20:51:26 +01:00
Martin Jorn Rogalla
9bcad08e3a
Extracted `limit_posts` from site.rb into reader.rb
...
- Extracted
- Updated References
- Ran Tests
Signed-off-by: Martin Jorn Rogalla <martin@martinrogalla.com
2015-03-04 20:35:02 +01:00
Martin Jorn Rogalla
a4adeb446b
Extracted `read_posts` from site.rb into reader.rb
...
- Extracted
- Updated References
- Ran Tests
Signed-off-by: Martin Jorn Rogalla <martin@martinrogalla.com>
2015-03-04 20:22:37 +01:00
Martin Jorn Rogalla
504c9a34ad
Extracted `read_drafts` from site.rb into reader.rb
...
- Extracted
- Updated References
- Ran Tests
Signed-off-by: Martin Jorn Rogalla <martin@martinrogalla.com>
2015-03-04 20:19:39 +01:00
Martin Jorn Rogalla
29169aa858
Extracted `aggregate_post_info` from site.rb into reader.rb
...
- Extracted
- Updated References
- Ran Tests
Signed-off-by: Martin Jorn Rogalla <martin@martinrogalla.com>
2015-03-04 20:16:31 +01:00
Martin Jorn Rogalla
67a2369854
Extracted `read_content` from site.rb into reader.rb
...
- Extracted
- Updated References
- Ran Tests
Signed-off-by: Martin Jorn Rogalla <martin@martinrogalla.com>
2015-03-04 20:11:27 +01:00
Martin Jorn Rogalla
537235c38b
Extracted `read_data` from site.rb into reader.rb
...
- Extracted
- Updated References
- Ran Tests
Signed-off-by: Martin Jorn Rogalla <martin@martinrogalla.com>
2015-03-04 20:07:53 +01:00
Martin Jorn Rogalla
5b0e2a294d
Extracted `read_data_to` from site.rb into reader.rb
...
- Extracted
- Updated References
- Ran Tests
Signed-off-by: Martin Jorn Rogalla <martin@martinrogalla.com>
2015-03-04 20:05:10 +01:00
Martin Jorn Rogalla
e586105b46
Extracted `sanitize_filename` from site.rb into reader.rb
...
- Extracted
- Updated References
- Ran Tests
Signed-off-by: Martin Jorn Rogalla <martin@martinrogalla.com>
2015-03-04 20:01:27 +01:00
Martin Jorn Rogalla
ddfecb0f53
Extracted `read_data_file` from site.rb into reader.rb
...
- Extracted
- Updated References
- Ran Tests
Signed-off-by: Martin Jorn Rogalla <martin@martinrogalla.com>
2015-03-04 19:55:54 +01:00
Martin Jorn Rogalla
6e06fd8734
Extracted `get_entries` from site.rb into reader.rb
...
- Extracted
- Updated References
- Ran Tests
Signed-off-by: Martin Jorn Rogalla <martin@martinrogalla.com>
2015-03-04 19:51:44 +01:00
Martin Jorn Rogalla
05bbcddb29
Extracted `filter_entries` from site.rb into reader.rb
...
- Extracted
- Updated References
- Ran Tests
Signed-off-by: Martin Jorn Rogalla <martin@martinrogalla.com>
2015-03-04 19:46:10 +01:00
Martin Jorn Rogalla
c836ec613d
Extracted `in_dest_dir` from site.rb into reader.rb
...
- Extracted in_dest_dir from site.rb.
- Updated References.
- Ran Tests.
Signed-off-by: Martin Jorn Rogalla <martin@martinrogalla.com>
2015-03-04 19:21:24 +01:00
Martin Jorn Rogalla
bb9d43dff5
Extracted `in_source_dir` from site.rb and into reader.rb.
...
Extracted `in_source_dir` from site.rb into reader.rb.
Updated all the references and tests.
Signed-off-by: Martin Jorn Rogalla <martin@martinrogalla.com>
2015-03-04 19:16:03 +01:00
Will Norris
5e9b7343bf
Update history to reflect merge of #3490 [ci skip]
2015-03-03 10:54:13 -08:00
Will Norris
5d1a24e291
Merge pull request #3490 from willnorris/ext
...
always include file extension on destination files
2015-03-03 10:53:08 -08:00
Will Norris
669c803912
always include file extension on destination files
...
This ensures that destination files for HTML posts, pages and
collections always include the proper file extension (as defined by
output_ext) regardless of permalink structure. This allows for URLs
that contain no extension or trailing slash to still result in proper
destination files with .html extensions.
Because this change relies so heavily on output_ext accurately
identifying the extension of the destination file, this change also
removes the feature test that tested support for permalinks with a .htm
extension. In order to support alternate file extensions, a future
patch or plugin will need to modify the output_ext value, at which point
everything else should work as expected.
2015-03-02 21:20:54 -08:00
Alfred Xing
8917ef011c
Update history to reflect merge of #3535 [ci skip]
2015-03-02 15:05:37 -08:00
Alfred Xing
27a02e163b
Merge pull request #3535 from delftswa2014/deprecation-inconsistency
...
Removed deprecation inconsistency
2015-03-02 15:04:21 -08:00
Joop Aué
7a31029c79
Removed deprecation inconsistency
...
Replaced occasions where the logger was used to report deprecations.
Deprecator is now used instead.
Signed-off-by: Joop Aué <joopaue@gmail.com>
2015-03-02 21:54:05 +01:00
Parker Moore
48bf711ec7
Update history to reflect merge of #3531 [ci skip]
2015-03-02 09:40:05 -08:00
Parker Moore
b3371119fd
Merge pull request #3531 from jekyll/liquid-c-upgrade
...
Upgrade liquid-c to 3.x
2015-03-02 09:39:32 -08:00
Will Norris
dae5d30096
Update history to reflect merge of #3532 [ci skip]
2015-03-01 18:18:17 -08:00
Will Norris
bc2b87ca92
Merge pull request #3532 from willnorris/ordinal_docs
...
document 'ordinal' built-in permalink style
2015-03-01 18:15:46 -08:00
Will Norris
f251848283
document 'ordinal' built-in permalink style
...
ordinal was actually added back in April 2013 in ea753130
2015-03-01 17:27:56 -08:00
Parker Moore
2b1b7b977b
Upgrade liquid-c to 3.x
2015-03-01 16:07:33 -08:00
Parker Moore
c2b613d05e
Update history to reflect merge of #3469 [ci skip]
2015-03-01 16:05:53 -08:00
Parker Moore
5ee4e6d9c9
Merge pull request #3469 from jedd-ahyoung/Frontmatter-date-documentation
...
docs: Add frontmatter date formatting information
2015-03-01 16:05:23 -08:00
Parker Moore
9437bd4669
Update history to reflect merge of #3529 [ci skip]
2015-03-01 00:37:44 -08:00
Parker Moore
9b962dc565
Merge branch 'fabianrbz-remove_adapters_deprecation_warning'
...
* fabianrbz-remove_adapters_deprecation_warning:
Add minitest/profile to profile 10 slowest tests
Move simplecov_custom_profile to test/ & gate with TRAVIS env
Remove unused groups from simplecov's profile
Removes the following deprecation warning: 'method adapters is deprecated. use profiles instead'
2015-03-01 00:36:48 -08:00
Parker Moore
f1edf9e692
Add minitest/profile to profile 10 slowest tests
2015-03-01 00:36:40 -08:00
Parker Moore
fbe52bca85
Move simplecov_custom_profile to test/ & gate with TRAVIS env
2015-03-01 00:36:20 -08:00
Matt Rogers
60f0977a50
Update history to reflect merge of #3528 [ci skip]
2015-02-28 21:44:31 -06:00
Matt Rogers
7d6d29b4ca
Merge pull request #3528 from willnorris/textile
2015-02-28 21:44:29 -06:00
Parker Moore
6b09d1818d
Update history to reflect merge of #3516 [ci skip]
2015-02-28 18:56:13 -08:00
Parker Moore
50a4b2824b
Merge pull request #3516 from jekyll/end-with
...
Use String#end_with?("/") instead of regexp
2015-02-28 18:55:53 -08:00
Parker Moore
6c073ec476
Remove reference to jekyll-textile-converter.
2015-02-28 17:29:39 -08:00
Parker Moore
8e87e9ebec
Update history to reflect merge of #3530 [ci skip]
2015-02-28 17:28:43 -08:00
Parker Moore
e777c9b213
Merge pull request #3530 from delftswa2014/picturetag-link-fix
...
Replaced link caught by htmlproofer.
2015-02-28 17:27:53 -08:00
Martin Jorn Rogalla
d79c0fc4dd
Replaced a picture element link with @parkr's suggestion.
...
Signed-off-by: Martin Jorn Rogalla <martin@martinrogalla.com>
2015-02-28 15:10:05 +01:00
Will Norris
dae77e9a63
switch remaining textile test files to markdown
...
Textile support was removed from jekyll core in #3319 , and most of the
tests switched to markdown at that time. This changes the remaining
tests to use markdown as well. The vast majority of the test cases were
testing things in the file name or front matter, so it doesn't really
matter what markup format they use. The one test that was claiming to
test that textile was transformed had actually been moved to markdown as
well, just not renamed.
Fixes #3507
2015-02-27 18:29:52 -08:00
Fabian Rodriguez
e4b1382bfd
Remove unused groups from simplecov's profile
2015-02-27 23:09:33 -02:00