From 8293bc32572751975fecd5b1bc7b127e16bd8b45 Mon Sep 17 00:00:00 2001 From: Daniel Nitsikopoulos Date: Thu, 9 Mar 2023 20:14:19 +1100 Subject: [PATCH] Bump gems --- Gemfile.lock | 28 ++++++++++++------------ app/templates/bookmarks/index.html.slim | 2 +- app/templates/bookmarks/show.html.slim | 4 ++-- app/templates/photos/index.html.slim | 2 +- app/templates/places/index.html.slim | 2 +- app/templates/posts/index.html.slim | 2 +- app/templates/posts/show.html.slim | 4 ++-- app/templates/shared/_bookmark.html.slim | 2 +- app/templates/shared/_post.html.slim | 2 +- app/templates/site/home.html.slim | 4 ++-- app/templates/statuses/index.html.slim | 2 +- app/templates/tags/show.html.slim | 2 +- 12 files changed, 28 insertions(+), 28 deletions(-) diff --git a/Gemfile.lock b/Gemfile.lock index 8a4ced5..b3c336f 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -15,7 +15,7 @@ GIT GIT remote: https://github.com/hanami/view - revision: c1a6f60a989f1face809a6d8d61652748aee19a7 + revision: 2c7e9d1d231ae60046f6b237124937fc775c106b branch: main specs: hanami-view (2.0.0.alpha8) @@ -44,7 +44,7 @@ GEM ast (2.4.2) babosa (2.0.0) builder (3.2.4) - capistrano (3.17.1) + capistrano (3.17.2) airbrussh (>= 1.0.0) i18n rake (>= 10.0.0) @@ -55,7 +55,7 @@ GEM capistrano (~> 3.1) sshkit (~> 1.3) coderay (1.1.3) - concurrent-ruby (1.2.0) + concurrent-ruby (1.2.2) crass (1.0.6) database_cleaner-core (2.0.1) database_cleaner-sequel (2.0.2) @@ -268,17 +268,17 @@ GEM nokogiri (~> 1.8) rest-client (~> 2.1.0) parallel (1.22.1) - parser (3.2.1.0) + parser (3.2.1.1) ast (~> 2.4.1) - pg (1.4.5) + pg (1.4.6) pry (0.14.2) coderay (~> 1.1) method_source (~> 1.0) public_suffix (5.0.1) - puma (6.1.0) + puma (6.1.1) nio4r (~> 2.0) racc (1.6.2) - rack (2.2.6.2) + rack (2.2.6.3) rack-test (2.0.2) rack (>= 1.3) rainbow (3.1.1) @@ -351,22 +351,22 @@ GEM rubocop-ast (>= 1.24.1, < 2.0) ruby-progressbar (~> 1.7) unicode-display_width (>= 2.4.0, < 3.0) - rubocop-ast (1.26.0) + rubocop-ast (1.27.0) parser (>= 3.2.1.0) rubocop-performance (1.15.2) rubocop (>= 1.7.0, < 2.0) rubocop-ast (>= 0.4.0) - ruby-progressbar (1.11.0) + ruby-progressbar (1.13.0) ruby2_keywords (0.0.5) sanitize (6.0.1) crass (~> 1.0.2) nokogiri (>= 1.12.0) - sequel (5.65.0) + sequel (5.66.0) shellany (0.0.1) - slim (5.0.0) + slim (5.1.0) temple (~> 0.10.0) - tilt (>= 2.0.6, < 2.1) - sshkit (1.21.3) + tilt (>= 2.0.6, < 2.2) + sshkit (1.21.4) net-scp (>= 1.1.2) net-ssh (>= 2.8.0) standard (1.24.3) @@ -377,7 +377,7 @@ GEM standard temple (0.10.0) thor (1.2.1) - tilt (2.0.11) + tilt (2.1.0) time_math2 (0.1.1) timecop (0.9.6) timeout (0.3.2) diff --git a/app/templates/bookmarks/index.html.slim b/app/templates/bookmarks/index.html.slim index db005bb..e3e31a3 100644 --- a/app/templates/bookmarks/index.html.slim +++ b/app/templates/bookmarks/index.html.slim @@ -8,6 +8,6 @@ div class="flex justify-between mb-12 prose dark:prose-invert max-w-prose mx-au div class="mb-12 max-w-prose mx-auto" - bookmarks.each do |bookmark| - == render :bookmark, bookmark: bookmark + == render "shared/bookmark", bookmark: bookmark div class="max-w-screen-md mx-auto border-t-4 border-solid border-gray-400 dark:border-gray-600" diff --git a/app/templates/bookmarks/show.html.slim b/app/templates/bookmarks/show.html.slim index e8a9795..9b858d4 100644 --- a/app/templates/bookmarks/show.html.slim +++ b/app/templates/bookmarks/show.html.slim @@ -20,11 +20,11 @@ div class="max-w-prose mx-auto text-gray-600 dark:text-gray-200 flex" = bookmark.display_published_at span class="text-right flex-1" - == render :tags, tags: bookmark.tags + == render "shared/tags", tags: bookmark.tags div class="mb-2 max-w-prose mx-auto text-gray-600 dark:text-gray-200 flex" - if bookmark.syndicated? span Also on:   - bookmark.syndicated_to.each do |loc| a href=loc[:url] - == render loc[:location] + == "shared/#{render loc[:location]}" diff --git a/app/templates/photos/index.html.slim b/app/templates/photos/index.html.slim index 1311985..ce192da 100644 --- a/app/templates/photos/index.html.slim +++ b/app/templates/photos/index.html.slim @@ -3,6 +3,6 @@ div class="mb-12 prose dark:prose-invert max-w-prose mx-auto text-gray-800 dark: div class="grid grid-cols-3 gap-4 mb-4 max-w-prose mx-auto" - photos.each do |post| - == render :photo_post, post: post + == render "shared/photo_post", post: post div class="max-w-screen-md mx-auto border-t-4 border-solid border-gray-400 dark:border-gray-600" diff --git a/app/templates/places/index.html.slim b/app/templates/places/index.html.slim index d10944c..882b1f2 100644 --- a/app/templates/places/index.html.slim +++ b/app/templates/places/index.html.slim @@ -3,6 +3,6 @@ div class="mb-12 prose dark:prose-invert max-w-prose mx-auto text-gray-800 dark: div class="mb-12 max-w-prose mx-auto" - places.each do |post| - == render :post, post: post + == render "shared/post", post: post div class="max-w-screen-md mx-auto border-t-4 border-solid border-gray-400 dark:border-gray-600" diff --git a/app/templates/posts/index.html.slim b/app/templates/posts/index.html.slim index 35697d1..4a379b4 100644 --- a/app/templates/posts/index.html.slim +++ b/app/templates/posts/index.html.slim @@ -3,6 +3,6 @@ div class="mb-12 prose dark:prose-invert max-w-prose mx-auto text-gray-800 dark: div class="h-feed mb-12 max-w-prose mx-auto" - posts.each do |post| - == render :post, post: post + == render "shared/post", post: post div class="max-w-screen-md mx-auto border-t-4 border-solid border-gray-400 dark:border-gray-600" diff --git a/app/templates/posts/show.html.slim b/app/templates/posts/show.html.slim index c74bd6f..c80c24a 100644 --- a/app/templates/posts/show.html.slim +++ b/app/templates/posts/show.html.slim @@ -47,10 +47,10 @@ article class="h-entry" a class="p-author h-card" href=Hanami.app.settings.micropub_site_url = "by #{Hanami.app.settings.site_name}" span class="text-right flex-1 leading-6" - == render :tags, tags: post.tags + == render "shared/tags", tags: post.tags div class="mb-2 max-w-prose mx-auto text-gray-600 dark:text-gray-200 flex" - if post.syndicated? span Also on:  - post.syndicated_to.each do |loc| a rel="syndication" class="u-syndication" href=loc[:url] - == render loc[:location] + == render "shared/#{loc[:location]}" diff --git a/app/templates/shared/_bookmark.html.slim b/app/templates/shared/_bookmark.html.slim index f13ade1..57d9ccc 100644 --- a/app/templates/shared/_bookmark.html.slim +++ b/app/templates/shared/_bookmark.html.slim @@ -5,7 +5,7 @@ div class="mb-8" == render("link_arrow") p class="e-content leading-relaxed md:text-lg text-gray-800 dark:text-gray-200" = bookmark.content - == render :tags, tags: bookmark.tags + == render "shared/tags", tags: bookmark.tags p class="text-sm text-blue-400" a href="/bookmark/#{bookmark.slug}" diff --git a/app/templates/shared/_post.html.slim b/app/templates/shared/_post.html.slim index 23c0b05..a05c1cf 100644 --- a/app/templates/shared/_post.html.slim +++ b/app/templates/shared/_post.html.slim @@ -7,7 +7,7 @@ div class="mb-8 h-entry" div class="grid gap-4 grid-flow-row grid-cols-4 grid-rows-1" -post.photos.each do |photo| img class="w-44 h-44 object-cover rounded" src=photo["value"] - == render :tags, tags: post.tags + == render "shared/tags", tags: post.tags p class="text-sm text-blue-400" a class="u-url" href="#{post.permalink}" diff --git a/app/templates/site/home.html.slim b/app/templates/site/home.html.slim index e326ded..ac7ec92 100644 --- a/app/templates/site/home.html.slim +++ b/app/templates/site/home.html.slim @@ -20,7 +20,7 @@ div class="mb-4 flex max-w-prose mx-auto" div class="mb-12 max-w-prose mx-auto" - posts.each do |post| - == render :post, post: post + == render "shared/post", post: post div class="flex max-w-prose mx-auto" h2 class="text-l text-gray-600 dark:text-gray-200" Photos @@ -28,7 +28,7 @@ div class="flex max-w-prose mx-auto" div class="grid grid-cols-3 gap-4 max-w-prose mx-auto" - photo_posts.each do |post| - == render :photo_post, post: post + == render "shared/photo_post", post: post - if last_location div class="mb-12 mt-6 max-w-prose mx-auto text-gray-600 dark:text-gray-200 rounded p-2 bg-blue-50 dark:bg-blue-900/60" diff --git a/app/templates/statuses/index.html.slim b/app/templates/statuses/index.html.slim index e6b9a8d..19a4894 100644 --- a/app/templates/statuses/index.html.slim +++ b/app/templates/statuses/index.html.slim @@ -3,6 +3,6 @@ div class="mb-12 prose dark:prose-invert max-w-prose mx-auto text-gray-800 dark: div class="h-feed mb-12 max-w-prose mx-auto" - posts.each do |post| - == render :post, post: post + == render "shared/post", post: post div class="max-w-screen-md mx-auto border-t-4 border-solid border-gray-400 dark:border-gray-600" diff --git a/app/templates/tags/show.html.slim b/app/templates/tags/show.html.slim index e007dea..7887749 100644 --- a/app/templates/tags/show.html.slim +++ b/app/templates/tags/show.html.slim @@ -3,6 +3,6 @@ div class="mb-12 prose dark:prose-invert max-w-prose mx-auto text-gray-800 dark: div class="mb-12 max-w-prose mx-auto" - posts.each do |post| - == render post.template_type.to_sym, post.template_type.to_sym => post + == render "shared/#{post.template_type.to_sym}", post.template_type.to_sym => post div class="max-w-screen-md mx-auto border-t-4 border-solid border-gray-400 dark:border-gray-600"