Skip to content

Instantly share code, notes, and snippets.

@igneus
Created June 13, 2021 10:40
Show Gist options
  • Save igneus/c5c86fbe4a5ba06afc079de9c43cad7c to your computer and use it in GitHub Desktop.
Save igneus/c5c86fbe4a5ba06afc079de9c43cad7c to your computer and use it in GitHub Desktop.
Celebrations never getting Vespers in the General Roman Calendar
require 'calendarium-romanum/cr'
sanctorale = CR::Data::GENERAL_ROMAN_ENGLISH.load
result = CR::Util::Year.new(2000).each_cons(2).flat_map do |date_a, date_b|
cel_a = sanctorale[date_a]
cel_b = sanctorale[date_b]
if cel_b.size > 0 && cel_b[0].solemnity? && cel_a.size > 0 && cel_b[0].rank > cel_a[0].rank
cel_a.collect do |c|
"#{c.date.month}/#{c.date.day} '#{c.title}' -- Vespers eaten by '#{cel_b[0].title}'"
end
else
[]
end
end.compact
puts 'Celebrations never getting Vespers in the General Roman Calendar:'
puts
puts result.join "\n"
Celebrations never getting Vespers in the General Roman Calendar:
3/18 'Saint Cyril of Jerusalem, bishop and doctor' -- Vespers eaten by 'Saint Joseph Husband of the Blessed Virgin Mary'
6/28 'Saint Irenaeus, bishop and martyr' -- Vespers eaten by 'Saints Peter and Paul, Apostles'
8/14 'Saint Maximilian Mary Kolbe, priest and martyr' -- Vespers eaten by 'Assumption of the Blessed Virgin Mary'
12/7 'Saint Ambrose, bishop and doctor' -- Vespers eaten by 'Immaculate Conception of the Blessed Virgin Mary'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment