5
0
Fork 0
mirror of https://0xacab.org/sutty/sutty synced 2024-11-25 00:16:21 +00:00

actualizar a jekyll 4.2

This commit is contained in:
f 2020-12-29 14:40:27 -03:00
parent 8b984eafe6
commit 02b05efcb9
3 changed files with 41 additions and 41 deletions

View file

@ -53,10 +53,8 @@ gem 'hiredis'
gem 'image_processing' gem 'image_processing'
gem 'icalendar' gem 'icalendar'
gem 'inline_svg' gem 'inline_svg'
gem 'jekyll', git: 'https://0xacab.org/sutty/jekyll/jekyll.git', gem 'jekyll', '~> 4.2'
branch: 'master' gem 'jekyll-data', source: 'https://gems.sutty.nl'
gem 'jekyll-data', require: 'jekyll-data',
git: 'https://0xacab.org/sutty/jekyll/jekyll-data.git'
gem 'jekyll-commonmark' gem 'jekyll-commonmark'
gem 'jekyll-images' gem 'jekyll-images'
gem 'jekyll-include-cache' gem 'jekyll-include-cache'

View file

@ -1,31 +1,3 @@
GIT
remote: https://0xacab.org/sutty/jekyll/jekyll-data.git
revision: 1ad9c175be6bbb31ae6d19cbb8dde18828af90d9
specs:
jekyll-data (1.1.0)
jekyll (>= 3.3, < 5.0.0)
GIT
remote: https://0xacab.org/sutty/jekyll/jekyll.git
revision: 49d4f5c0eb3738bb312ba5f40fa3f3734e1a1cca
branch: master
specs:
jekyll (4.1.1)
addressable (~> 2.4)
colorator (~> 1.0)
em-websocket (~> 0.5)
i18n (~> 1.0)
jekyll-sass-converter (~> 2.0)
jekyll-watch (~> 2.0)
kramdown (~> 2.3)
kramdown-parser-gfm (~> 1.0)
liquid (~> 4.0)
mercenary (~> 0.4.0)
pathutil (~> 0.9)
rouge (~> 3.0)
safe_yaml (~> 1.0)
terminal-table (~> 1.8)
GIT GIT
remote: https://0xacab.org/sutty/yaml_db.git remote: https://0xacab.org/sutty/yaml_db.git
revision: 40e44c29ce4290dfe4013ff4fce1be5a936fedf4 revision: 40e44c29ce4290dfe4013ff4fce1be5a936fedf4
@ -36,6 +8,7 @@ GIT
GEM GEM
remote: https://rubygems.org/ remote: https://rubygems.org/
remote: https://gems.sutty.nl/
specs: specs:
actioncable (6.1.0) actioncable (6.1.0)
actionpack (= 6.1.0) actionpack (= 6.1.0)
@ -122,7 +95,7 @@ GEM
autoprefixer-rails (>= 9.1.0) autoprefixer-rails (>= 9.1.0)
popper_js (>= 1.14.3, < 2) popper_js (>= 1.14.3, < 2)
sassc-rails (>= 2.0.0) sassc-rails (>= 2.0.0)
brakeman (4.10.0) brakeman (4.10.1)
builder (3.2.4) builder (3.2.4)
capybara (2.18.0) capybara (2.18.0)
addressable addressable
@ -217,7 +190,7 @@ GEM
rainbow rainbow
rubocop (>= 0.50.0) rubocop (>= 0.50.0)
sysexits (~> 1.1) sysexits (~> 1.1)
hamlit (2.13.0) hamlit (2.13.2)
temple (>= 0.8.2) temple (>= 0.8.2)
thor thor
tilt tilt
@ -243,9 +216,26 @@ GEM
nokogiri (>= 1.6) nokogiri (>= 1.6)
jbuilder (2.10.1) jbuilder (2.10.1)
activesupport (>= 5.0.0) activesupport (>= 5.0.0)
jekyll (4.2.0)
addressable (~> 2.4)
colorator (~> 1.0)
em-websocket (~> 0.5)
i18n (~> 1.0)
jekyll-sass-converter (~> 2.0)
jekyll-watch (~> 2.0)
kramdown (~> 2.3)
kramdown-parser-gfm (~> 1.0)
liquid (~> 4.0)
mercenary (~> 0.4.0)
pathutil (~> 0.9)
rouge (~> 3.0)
safe_yaml (~> 1.0)
terminal-table (~> 2.0)
jekyll-commonmark (1.3.1) jekyll-commonmark (1.3.1)
commonmarker (~> 0.14) commonmarker (~> 0.14)
jekyll (>= 3.7, < 5.0) jekyll (>= 3.7, < 5.0)
jekyll-data (1.1.2)
jekyll (>= 3.3, < 5.0.0)
jekyll-feed (0.15.1) jekyll-feed (0.15.1)
jekyll (>= 3.7, < 5.0) jekyll (>= 3.7, < 5.0)
jekyll-images (0.2.7) jekyll-images (0.2.7)
@ -325,13 +315,14 @@ GEM
mini_portile2 (~> 2.4.0) mini_portile2 (~> 2.4.0)
orm_adapter (0.5.0) orm_adapter (0.5.0)
parallel (1.20.1) parallel (1.20.1)
parser (2.7.2.0) parser (3.0.0.0)
ast (~> 2.4.1) ast (~> 2.4.1)
pathutil (0.16.2) pathutil (0.16.2)
forwardable-extended (~> 2.6) forwardable-extended (~> 2.6)
pg (1.2.3) pg (1.2.3)
popper_js (1.16.0) popper_js (1.16.0)
prometheus_exporter (0.6.0) prometheus_exporter (0.7.0)
webrick
pry (0.13.1) pry (0.13.1)
coderay (~> 1.1) coderay (~> 1.1)
method_source (~> 1.0) method_source (~> 1.0)
@ -343,7 +334,7 @@ GEM
rack (2.2.3) rack (2.2.3)
rack-cors (1.1.1) rack-cors (1.1.1)
rack (>= 2.0.0) rack (>= 2.0.0)
rack-mini-profiler (2.2.1) rack-mini-profiler (2.3.0)
rack (>= 1.2.0) rack (>= 1.2.0)
rack-proxy (0.6.5) rack-proxy (0.6.5)
rack rack
@ -430,7 +421,7 @@ GEM
redis-store (>= 1.2, < 2) redis-store (>= 1.2, < 2)
redis-store (1.9.0) redis-store (1.9.0)
redis (>= 4, < 5) redis (>= 4, < 5)
regexp_parser (2.0.1) regexp_parser (2.0.3)
request_store (1.5.0) request_store (1.5.0)
rack (>= 1.4) rack (>= 1.4)
responders (3.0.1) responders (3.0.1)
@ -438,7 +429,7 @@ GEM
railties (>= 5.0) railties (>= 5.0)
rexml (3.2.4) rexml (3.2.4)
rouge (3.26.0) rouge (3.26.0)
rubocop (1.6.1) rubocop (1.7.0)
parallel (~> 1.10) parallel (~> 1.10)
parser (>= 2.7.1.5) parser (>= 2.7.1.5)
rainbow (>= 2.2.2, < 4.0) rainbow (>= 2.2.2, < 4.0)
@ -533,7 +524,7 @@ GEM
symbol-fstring (1.0.0) symbol-fstring (1.0.0)
sysexits (1.2.0) sysexits (1.2.0)
temple (0.8.2) temple (0.8.2)
terminal-table (1.8.0) terminal-table (2.0.0)
unicode-display_width (~> 1.1, >= 1.1.1) unicode-display_width (~> 1.1, >= 1.1.1)
thor (1.0.1) thor (1.0.1)
tilt (2.0.10) tilt (2.0.10)
@ -564,6 +555,7 @@ GEM
rack-proxy (>= 0.6.1) rack-proxy (>= 0.6.1)
railties (>= 5.2) railties (>= 5.2)
semantic_range (>= 2.3.0) semantic_range (>= 2.3.0)
webrick (1.7.0)
websocket-driver (0.7.3) websocket-driver (0.7.3)
websocket-extensions (>= 0.1.0) websocket-extensions (>= 0.1.0)
websocket-extensions (0.1.5) websocket-extensions (0.1.5)
@ -604,7 +596,7 @@ DEPENDENCIES
image_processing image_processing
inline_svg inline_svg
jbuilder (~> 2.5) jbuilder (~> 2.5)
jekyll! jekyll (~> 4.2)
jekyll-commonmark jekyll-commonmark
jekyll-data! jekyll-data!
jekyll-images jekyll-images

View file

@ -55,4 +55,14 @@ module Jekyll
alias_method :read!, :read alias_method :read!, :read
def read; end def read; end
end end
# https://github.com/jekyll/jekyll/pull/8425
Utils.class_eval do
def parse_date(input, msg = 'Input could not be parsed.')
@parse_date_cache ||= {}
@parse_date_cache[input] ||= Time.parse(input).localtime
rescue ArgumentError
raise Errors::InvalidDateError, "Invalid date '#{input}': #{msg}"
end
end
end end