Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
98 changes: 61 additions & 37 deletions rubycon.it/_includes/dsl/content.rb
Original file line number Diff line number Diff line change
Expand Up @@ -2,45 +2,69 @@

# Riccardo loves Ruby DSL even more than my very first aDSL!

Rubycon::Schedule.agenda_of_the_day(Date.new(2026, 5, 8)) do

check_in at: "08:30", desc: "Check-in & Welcome Coffee"

talk at: "09:30", desc: "Opening Remarks", by: "Riccardo Carlesso"

# Note, we might have a different keynote speaker
talk at: "09:45", by: "Carmine Paolino",
title: "Ruby Is the Best Language for Building AI Web Apps"
talk at: "10:30", by: "Julia Lopez", title: "Debugging Techniques in Ruby:" +
"You still need to understand how the code works!"

pause at: "11:15", desc: "☕ Coffee Break"

talk at: "11:30", by: "Marco Roth",
title: something_on(:Herb, :ReActionView)
talk at: "12:15", title: "Speech #4" # TBD

pause at: "13:00", desc: "🍝 Lunch Break & Networking"

Rubycon::Agenda.schedule(Date.new(2026, 5, 8)) do
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

critical

The class Rubycon::Agenda and its method schedule do not appear to be defined. According to _includes/dsl/definition.rb, the correct invocation should be Rubycon::Schedule.agenda_of_the_day. This error will cause a NameError and break the page.

Rubycon::Schedule.agenda_of_the_day(Date.new(2026, 5, 8)) do


check_in at: "08:30",
desc: "Check-in & Welcome Coffee"
Comment on lines +7 to +8
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

medium

The indentation of the DSL method calls is inconsistent. This check_in call is not indented, while subsequent calls (e.g., talk on line 10) are. To improve code readability and maintain a consistent style, all top-level DSL calls within the block should have the same indentation.

  check_in at: "08:30",
     desc: "Check-in & Welcome Coffee"


talk at: "09:30",
desc: "Opening Remarks",
by: "Riccardo Carlesso"

talk at: "09:45",
by: "Carmine Paolino",
title: "Ruby Is the Best Language for Building AI Web Apps"

talk at: "10:30",
by: "Julia Lopez",
title: "Debugging Techniques in Ruby: You still need to understand how the code works!"

pause at: "11:15",
desc: "☕️ Coffee Break"

talk at: "11:30",
by: "Marco Roth",
title: something_on(:Herb, :ReActionView)

talk at: "12:15",
title: "Speech #4"

pause at: "13:00",
desc: "🍝 Lunch Break & Networking"

# We want to give everyone the chance to say/bring something for 5 minutes.
lightning_talks at: "14:30", desc: "5m for everyone who has something to say" ,
tags: %w{ FIFO }
talk at: "15:15", title: "Speech #5"

pause at: "16:00", desc: "☕ Coffee Break"

talk at: "16:15", title: "Speech #6"
talk at: "17:00", title: "Speech #7"
talk at: "17:45", title: "It's a wrap!", by: "Riccardo, Emiliano, and the team"

# Here everyone will be free to do what they want. Keep the conversation going,
# or refill the battiries in the hotel, whatever you prefer.
pause at: "18:00", desc: "Drinks or Shower or Nap", tags: %w{optional}

# Here we will have dinner, and then the Toga Party!
lightning_talks at: "14:30",
desc: "⚡️ 5m for everyone who has something to say" ,
tags: %w{ FIFO }
Comment on lines +36 to +38
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

medium

There is a trailing space before the comma on line 37, which is a minor style issue. Removing it will improve code consistency.

  lightning_talks at: "14:30",
     desc: "⚡️ 5m for everyone who has something to say",
     tags: %w{ FIFO }


talk at: "15:15",
title: "Speech #5"

pause at: "16:00",
desc: "☕ Coffee Break"

talk at: "16:15",
title: "Speech #6"

talk at: "17:00",
title: "Speech #7"

talk at: "17:45",
title: "It's a wrap!",
by: "Riccardo, Emiliano, and the team"

# Keep the conversation going, or refill
# the batteries in the hotel, whatever you prefer.
pause at: "18:00",
desc: "Drinks or Shower or Nap",
tags: %w{optional}

# Here we will have dinner, and then the Toga Party!
# The place is 10m walk from the hotel.
party at: "20:00", desc: "🍝 Dinner + 🎉 Toga Party!", by: "All",
where: '🏖️ Bagno 46', url: 'https://www.bagno46rimini.com/'
party at: "20:00",
desc: "🍝 Dinner + 🎉 Toga Party!",
where: '🏖️ Bagno 46',
url: 'https://www.bagno46rimini.com/'
Comment on lines +64 to +67
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

critical

The party method is called with a url keyword argument, which is not defined in its signature in _includes/dsl/definition.rb. This will raise an ArgumentError: unknown keyword: :url and cause a crash. Please remove the url argument or update the method definition if it's intended to be supported.

  party at: "20:00",
     desc: "🍝 Dinner + 🎉 Toga Party!",
     where: '🏖️ Bagno 46'

end

# Titles being refined here: https://github.com/palladius/rubycon.it/issues/74
1 change: 1 addition & 0 deletions rubycon.it/_sass/_syntax.scss
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
.highlight {
background: #ffffff;
color: #333333;
font-size: 90%;
}

.highlight .c {
Expand Down
8 changes: 6 additions & 2 deletions rubycon.it/assets/css/style.scss
Original file line number Diff line number Diff line change
Expand Up @@ -279,11 +279,15 @@ section:nth-of-type(even):not(#newsletter) {
.prose pre code {
background-color: transparent;
color: inherit;
font-size: 1rem;
font-size: 98%;
padding: 0;
line-height: 1.4;
}
@media screen and (max-width: 600px) {
.my-card{
width: 300px;
}
}
.prose pre code {
font-size: 90%;
}
}