Skip to content

Commit 3052d37

Browse files
committed
Merge remote-tracking branch 'origin/main' into fix/brakeman-command-injection
2 parents 3cd4b77 + ee1eead commit 3052d37

File tree

6 files changed

+30
-17
lines changed

6 files changed

+30
-17
lines changed

app/controllers/sotechsha2_pages_controller.rb

Lines changed: 0 additions & 7 deletions
This file was deleted.

app/controllers/sotechsha_pages_controller.rb

Lines changed: 0 additions & 7 deletions
This file was deleted.

app/models/book.rb

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -19,9 +19,14 @@ def find(title)
1919
end
2020

2121
def exist?(title, page)
22-
page.nil? ?
23-
self.find(title).any? :
24-
self.find(title).map(&:filename).include?(page + ".html")
22+
return false unless page.present?
23+
24+
view_paths = [
25+
Rails.root.join("app/views/books/#{title}/#{page}.html.erb"),
26+
Rails.root.join("app/views/#{title}/#{page}.html.erb")
27+
]
28+
29+
view_paths.any? { |path| File.exist?(path) }
2530
end
2631
end
2732

db/dojo_event_services.yaml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,13 @@
2727
### 以下、Dojo 情報まとめ ###
2828
### (dojos.yaml の追加順) ###
2929

30+
# 砧(東京都世田谷区)- connpass の個人アカウントのため登録できない。グループアカウントにする必要がある。
31+
# TODO: グループ化されたら dojos.yamlのurlも合わせて更新
32+
#- dojo_id: 342
33+
# name: connpass
34+
# group_id: ???
35+
# url: https://connpass.com/event/363462/
36+
3037
# 赤坂国際(東京都港区)- 独自のイベント管理システム?
3138
#- dojo_id: 341
3239
# name:

db/dojos.yaml

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1337,6 +1337,17 @@
13371337
- HTML
13381338
- CSS
13391339
- JavaScript
1340+
- id: 342
1341+
order: '131121'
1342+
created_at: '2025-08-12'
1343+
name:
1344+
prefecture_id: 13
1345+
logo: "/img/dojos/default.webp"
1346+
url: https://codeclub.org/ja/clubs/4e31fc13-205c-4738-9b62-2722d890f6ed
1347+
description: 世田谷区で毎月開催
1348+
tags:
1349+
- Scratch
1350+
- micro:bit
13401351
- id: 19
13411352
order: '131130'
13421353
is_active: false

db/news.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
---
22
news:
3+
- id: 11
4+
url: https://news.coderdojo.jp/2025/08/12/dojoletter-vol-87-2025%e5%b9%b406%e6%9c%88%e5%8f%b7/
5+
title: DojoLetter Vol.87 2025年06月号
6+
published_at: Tue, 12 Aug 2025 04:00:02 +0000
37
- id: 10
48
url: https://news.coderdojo.jp/2025/07/14/233-laptops-to-coderdojo/
59
title: 米国系 IT 企業から CoderDojo へ、233 台のノート PC 寄贈

0 commit comments

Comments
 (0)