Commit Graph

2342 Commits

Author SHA1 Message Date
Parker Moore
6eaa8e90f8 Don't read a config file if the filename is empty. 2016-05-24 18:47:14 -05:00
Parker Moore
04d4473119 Use Marshal to duplicate configuration defaults to prevent manipulation 2016-05-24 18:47:14 -05:00
Parker Moore
f2263a11b7 Only write collections.posts.permalink if permalink is set. 2016-05-24 18:40:19 -05:00
Brint O'Hearn
dbda462c2f Adding double quotes & freeze back to version after rebase 2016-05-20 21:51:16 -05:00
Brint O'Hearn
d743c80357 Rubocop fixes for lib/jekyll/utils/ansi.rb 2016-05-20 21:24:34 -05:00
Parker Moore
51c4152919 Release a beta. 2016-05-20 19:19:21 -07:00
jekyllbot
ee2c41ad6a Merge pull request #4848 from jekyll/new-theme-command
Merge pull request 4848
2016-05-19 22:13:05 -07:00
Parker Moore
f3a29677f9 Fix rubocop issues. 2016-05-19 21:34:30 -07:00
Parker Moore
12deccc513 Only spec.summary is needed... 2016-05-19 14:39:55 -07:00
Parker Moore
20110571ef Add a Rakefile to do releases as well as adding an example website. 2016-05-19 14:36:01 -07:00
Parker Moore
3885057e9e Fix rubocop offense. 2016-05-19 13:16:32 -07:00
Parker Moore
1d81d2087e Add info about 3.1.6 to master. 2016-05-19 12:54:04 -07:00
Parker Moore
5949b4a5bb Add release information for v3.1.5 2016-05-18 21:38:53 -07:00
Parker Moore
eb14b88175 Port forward the release information for v3.1.4 2016-05-18 17:16:52 -07:00
Parker Moore
2caff755c4 Set Style/AlignHash EnforcedHashRocketStyle to 'table' 2016-05-16 16:24:01 -07:00
jekyllbot
fb860fc1b7 Merge pull request #4888 from TheLucasMoore/Commands
Merge pull request 4888
2016-05-16 16:04:40 -07:00
Parker Moore
473d85b580 Add CoC and README for theme; make standard with Rubocop 2016-05-16 11:06:47 -07:00
Parker Moore
e3df910533 Add more template files and add a ThemeBuilder which can create the site 2016-05-16 10:53:55 -07:00
Parker Moore
3611ae99d9 WIP: Add 'jekyll new-theme' command 2016-05-16 10:53:55 -07:00
TheLucasMoore
b64b6aa526 Refactor if/else for new.rb process method 2016-05-13 15:10:59 -05:00
TheLucasMoore
465e7dd8b0 Added Exceptions and Passing ABC Metric 2016-05-13 13:46:42 -05:00
Derek Gottlieb
83f8df49ab Fixing rubocop offenses in lib/jekyll/cleaner.rb 2016-05-13 12:34:11 -05:00
TheLucasMoore
451881efcf ABC Condition Size too high 2016-05-12 20:21:19 -05:00
TheLucasMoore
894d1fe21e Tests Passing. Three RuboCop revisions remain 2016-05-12 19:42:04 -05:00
TheLucasMoore
26d0a8db77 Passing RuboCop for commands 2016-05-12 19:11:58 -05:00
TheLucasMoore
6f89fd5f3f clean.rb passing rubocop 2016-05-12 16:58:17 -05:00
Parker Moore
1ae4f513d8 Add 'ruby' to pre-filled Gemfile for 'jekyll new'
Fixes #4839
2016-05-12 12:19:46 -05:00
Jordon Bedwell
3751b47c50 Cleanup EntryFilter and make it far more robust.
* Allow users to filter directories by ending their path with "/"
* Allow users to filter with a Regexp, some scenariors can really require it.
* Use Pathutil#in_path? for Symlink verification, it real/expand.

This also requires some downstream work in "jekyll-watch" which at this time is
not very robust, it doesn't recognize the difference either, and should probably
start doing so (what I mean is detecting "/" and using the full path.)
2016-05-10 20:01:02 -05:00
Jordon Bedwell
44cf61d241 Fix #4856: Don't rescue LoadError or bundler load errors for Bundler.
When it comes to bundler it's smart enough to know what to require, and in casees it's not, it's smart enough to accept :require.  In most cases when bundler has a LoadError (or otherwise) it's because there is a problem inside of the Gem itself and when this happens, Jekyll will happily let that error slip when it shouldn't, resulting in a badly placed error that is actually wrong. This corrects that so errors can surface properly.
2016-04-29 06:37:57 -05:00
Parker Moore
d74f8d6dd9 Fix spacing on the msg in Configuration#renamed_key 2016-04-28 17:55:15 -07:00
jekyllbot
1d788203df Merge pull request #4710 from fenollp/safe-symlinks
Merge pull request 4710
2016-04-21 17:38:00 -07:00
jekyllbot
298d56aab2 Merge pull request #4808 from jekyll/fix-collection-defaults-
Merge pull request 4808
2016-04-21 17:20:02 -07:00
Parker Moore
57ccbe08ea Ensure symlinks work as expected (and secured). 2016-04-21 16:32:52 -07:00
Parker Moore
49a3f543f3 Theme: configure sass at initialize time so we don't forget 2016-04-21 16:11:09 -07:00
Parker Moore
3b2d68d333 LayoutReader: read proper item from theme class 2016-04-21 16:10:43 -07:00
Parker Moore
2b73696d03 Set @path and @base_dir on the Layout per whether it's in the theme 2016-04-21 16:10:19 -07:00
Parker Moore
42cc2445a5 Merge branch 'master' into themes
* master: (58 commits)
  Update history to reflect merge of #4792 [ci skip]
  Update history to reflect merge of #4793 [ci skip]
  Update history to reflect merge of #4804 [ci skip]
  Update history to reflect merge of #4754 [ci skip]
  Update history to reflect merge of #4813 [ci skip]
  Added missing single quote on rsync client side command
  Add v3.0.4 and v3.1.3 to the history.
  Fixed typo
  Add jekyll-autoprefixer plugin
  Explicitly require Filters rather than implicitly.
  Update history to reflect merge of #4786 [ci skip]
  Update history to reflect merge of #4789 [ci skip]
  updates example domain in config template
  Globalize Jekyll's Filters.
  Update JRuby to 9.0.5.0; Drop the double digit test.
  Update Rack-Jekyll Heroku deployment blog post url
  convertible: use Document::YAML_FRONT_MATTER_REGEXP to parse transformable files
  Update history to reflect merge of #4734 [ci skip]
  Update history to reflect merge of #4478 [ci skip]
  Fix rubocop warning.
  ...
2016-04-21 11:43:35 -07:00
jekyllbot
341407ef2a Merge pull request #4792 from jekyll/feature/globalize-filters
Merge pull request 4792
2016-04-20 14:06:10 -07:00
jekyllbot
46b2ab8e88 Merge pull request #4793 from sl4m/change-example-domain-url
Merge pull request 4793
2016-04-20 14:03:36 -07:00
Parker Moore
87825e1e14 Document#read: frontmatter.all should get relative_path not URL 2016-04-18 13:55:57 -07:00
Jordon Bedwell
27366f2e30 Explicitly require Filters rather than implicitly. 2016-04-15 12:02:25 -05:00
skim
b122148acf updates example domain in config template 2016-04-15 09:29:39 +01:00
Jordon Bedwell
1e74c7a547 Globalize Jekyll's Filters.
As it stands Jekyll does not globalize it's filters.  So anybody wishing to go
into Jekyll's context to process their own Liquid (say in a plugin) may be taken
aback when they find out that Jekyll's filters are not available.
See: jekyll/jekyll-assets#252.
2016-04-14 20:36:22 -05:00
Parker Moore
f210cafdf2 convertible: use Document::YAML_FRONT_MATTER_REGEXP to parse transformable files 2016-04-13 23:22:05 -04:00
Thomas Wood
e470cae6da Fix rubocop warning. 2016-04-12 19:11:59 +01:00
Thomas Wood
1ef7653fed Fix minor code style recommendations and typos. 2016-04-12 18:59:56 +01:00
Thomas Wood
66c4ff8800 Add a where_exp filter for filtering by expression
This commit introduces a where_exp filter, which can be used as follows:
  `{{ array | where_exp: "item", "item == 10" }}`
  `{{ array | where_exp: "item", "item.field > 10" }}`
  `{{ site.posts | where_exp: "post", "post contains 'field'" }}`
  `{{ site.posts | where_exp: "post", "post.array contains 'giraffes'" }}`

This permits a variety of use cases, such as reported in: jekyll#4467,
jekyll#4385, jekyll#2787.
2016-04-12 18:52:58 +01:00
Jordon Bedwell
1efb1d7a58 Fix #4689: Use SSLEnable instead of EnableSSL and make URL HTTPS. 2016-04-12 02:59:48 -05:00
jekyllbot
41c3dd4cde Merge pull request #4741 from jekyll/sortable-doc-drop
Merge pull request 4741
2016-04-06 17:14:28 -07:00
jekyllbot
a224491d20 Merge pull request #4717 from jekyll/cleanup-launch-browser
Merge pull request 4717
2016-03-31 18:40:15 -07:00