calendarium-romanum 0.5.0 → 0.9.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (113) hide show
  1. checksums.yaml +5 -5
  2. data/.gitignore +5 -0
  3. data/.rspec +2 -0
  4. data/.rubocop.yml +50 -0
  5. data/.travis.yml +23 -0
  6. data/.yardopts +3 -0
  7. data/Appraisals +67 -0
  8. data/CHANGELOG.md +488 -0
  9. data/Gemfile +26 -0
  10. data/Gemfile.lock +95 -0
  11. data/README.md +601 -0
  12. data/Rakefile +27 -0
  13. data/bin/calendariumrom +3 -0
  14. data/calendarium-romanum.gemspec +31 -0
  15. data/config/locales/cs.yml +4 -0
  16. data/config/locales/en.yml +20 -14
  17. data/config/locales/es.yml +94 -0
  18. data/config/locales/fr.yml +6 -0
  19. data/config/locales/it.yml +6 -0
  20. data/config/locales/la.yml +6 -0
  21. data/config/locales/pt.yml +94 -0
  22. data/data/README.md +70 -24
  23. data/data/czech-brno-cs.txt +4 -6
  24. data/data/czech-budejovice-cs.txt +4 -6
  25. data/data/czech-cechy-cs.txt +4 -5
  26. data/data/czech-cs.txt +239 -235
  27. data/data/czech-hradec-cs.txt +3 -5
  28. data/data/czech-litomerice-cs.txt +5 -7
  29. data/data/czech-morava-cs.txt +4 -5
  30. data/data/czech-olomouc-cs.txt +2 -4
  31. data/data/czech-ostrava-cs.txt +3 -5
  32. data/data/czech-plzen-cs.txt +3 -5
  33. data/data/czech-praha-cs.txt +3 -4
  34. data/data/easter_dates.txt +67 -0
  35. data/data/universal-1969-la.txt +234 -0
  36. data/data/universal-en.txt +217 -211
  37. data/data/universal-es.txt +246 -0
  38. data/data/universal-fr.txt +217 -210
  39. data/data/universal-it.txt +217 -211
  40. data/data/universal-la.txt +217 -212
  41. data/data/universal-pt.txt +248 -0
  42. data/doc/data_readme.md +2 -0
  43. data/doc/images/class_diagram.png +0 -0
  44. data/doc/images/class_diagram.puml +44 -0
  45. data/doc/yard_readme.rdoc +76 -0
  46. data/lib/calendarium-romanum.rb +16 -2
  47. data/lib/calendarium-romanum/abstract_date.rb +15 -0
  48. data/lib/calendarium-romanum/calendar.rb +150 -33
  49. data/lib/calendarium-romanum/cli.rb +80 -100
  50. data/lib/calendarium-romanum/cli/comparator.rb +83 -0
  51. data/lib/calendarium-romanum/cli/date_parser.rb +30 -0
  52. data/lib/calendarium-romanum/cli/dumper.rb +68 -0
  53. data/lib/calendarium-romanum/cli/helper.rb +23 -0
  54. data/lib/calendarium-romanum/cli/querier.rb +73 -0
  55. data/lib/calendarium-romanum/cr.rb +16 -0
  56. data/lib/calendarium-romanum/data.rb +40 -8
  57. data/lib/calendarium-romanum/day.rb +187 -32
  58. data/lib/calendarium-romanum/enum.rb +41 -24
  59. data/lib/calendarium-romanum/enums.rb +127 -43
  60. data/lib/calendarium-romanum/errors.rb +1 -1
  61. data/lib/calendarium-romanum/ordinalizer.rb +10 -1
  62. data/lib/calendarium-romanum/perpetual_calendar.rb +58 -7
  63. data/lib/calendarium-romanum/rank.rb +39 -8
  64. data/lib/calendarium-romanum/rank_predicates.rb +43 -0
  65. data/lib/calendarium-romanum/sanctorale.rb +213 -23
  66. data/lib/calendarium-romanum/sanctorale_factory.rb +74 -3
  67. data/lib/calendarium-romanum/sanctorale_loader.rb +180 -0
  68. data/lib/calendarium-romanum/sanctorale_writer.rb +124 -0
  69. data/lib/calendarium-romanum/temporale.rb +222 -42
  70. data/lib/calendarium-romanum/temporale/celebration_factory.rb +68 -9
  71. data/lib/calendarium-romanum/temporale/date_helper.rb +85 -0
  72. data/lib/calendarium-romanum/temporale/dates.rb +52 -59
  73. data/lib/calendarium-romanum/temporale/easter_table.rb +27 -0
  74. data/lib/calendarium-romanum/temporale/extensions.rb +15 -0
  75. data/lib/calendarium-romanum/temporale/extensions/christ_eternal_priest.rb +16 -3
  76. data/lib/calendarium-romanum/temporale/extensions/dedication_before_all_saints.rb +73 -0
  77. data/lib/calendarium-romanum/transfers.rb +84 -24
  78. data/lib/calendarium-romanum/util.rb +21 -23
  79. data/lib/calendarium-romanum/version.rb +3 -2
  80. data/liturgical_law/1969_normae_universales.md +568 -0
  81. data/liturgical_law/1977_decretum_de_celebratione_baptismatis_domini.md +58 -0
  82. data/liturgical_law/1990_decretum_de_variatione_inducenda.md +67 -0
  83. data/liturgical_law/1998_notificatio_de_occurrentia.md +57 -0
  84. data/liturgical_law/2002_normae_universales.md +946 -0
  85. data/liturgical_law/2006_notification.md +37 -0
  86. data/liturgical_law/2012_declarationes.md +38 -0
  87. data/liturgical_law/2020_dubia_de_calendario_2022.md +100 -0
  88. data/liturgical_law/README.md +74 -0
  89. metadata +61 -38
  90. data/lib/calendarium-romanum/sanctoraleloader.rb +0 -122
  91. data/spec/abstract_date_spec.rb +0 -62
  92. data/spec/calendar_spec.rb +0 -559
  93. data/spec/celebration_factory_spec.rb +0 -16
  94. data/spec/celebration_spec.rb +0 -43
  95. data/spec/cli_spec.rb +0 -155
  96. data/spec/colour_spec.rb +0 -17
  97. data/spec/data_spec.rb +0 -23
  98. data/spec/date_parser_spec.rb +0 -68
  99. data/spec/date_spec.rb +0 -61
  100. data/spec/dates_spec.rb +0 -45
  101. data/spec/day_spec.rb +0 -108
  102. data/spec/enum_spec.rb +0 -51
  103. data/spec/i18n_spec.rb +0 -58
  104. data/spec/ordinalizer_spec.rb +0 -36
  105. data/spec/perpetual_calendar_spec.rb +0 -91
  106. data/spec/rank_spec.rb +0 -57
  107. data/spec/readme_spec.rb +0 -56
  108. data/spec/sanctorale_factory_spec.rb +0 -42
  109. data/spec/sanctorale_spec.rb +0 -191
  110. data/spec/sanctoraleloader_spec.rb +0 -176
  111. data/spec/season_spec.rb +0 -17
  112. data/spec/spec_helper.rb +0 -46
  113. data/spec/temporale_spec.rb +0 -572
@@ -0,0 +1,37 @@
1
+ ---
2
+ source: Notitiae 475-476/2006, p. 96 http://www.cultodivino.va/content/dam/cultodivino/notitiae/2006/475-476%20DEF.pdf#page=34
3
+ note: |
4
+ Not an act of liturgical legislation in a proper sense, but an authoritative example
5
+ of correct application of the law in force.
6
+ ---
7
+
8
+ CONGREGATIO DE CULTU DIVINO ET DISCIPLINA SACRAMENTORUM
9
+
10
+ NOTIFICAZIONE
11
+
12
+ La Congregazione per il Culto Divino e la Disciplina dei Sacramenti si fa premura
13
+ di attirare l’attenzione sulla occorrenza di alcune celebrazioni che ricorreranno
14
+ nell’anno 2008. In particolare, si fa presente che la solennità di San Giuseppe (19 marzo)
15
+ ricorre il mercoledì della Settimana Santa e la solennità dell’Annunciazione del Signore
16
+ (25 marzo) il martedì fra l’Ottava di Pasqua.
17
+
18
+ Secondo la normativa vigente contenuta nelle Normae Universales de Anno Liturgico
19
+ et de Calendario, le summenzionate solennità devono essere trasferite in tal modo:
20
+ « Sollemnitas S. Ioseph, ubi est de praecepto servanda, si cum Dominica
21
+ in Palmis de Passione Domini occurrit, anticipatur sabbato praecedenti, die 18 martii.
22
+ Ubi vero non est de praecepto servanda, a Conferentia Episcoporum ad alium diem
23
+ extra Quadragesimam transferri potest » (n. 56 f);
24
+ « Sollemnitas vero Annuntiationis Domini, quotiescumque occurrit aliquo die Hebdomadae
25
+ Sanctae, semper ad feriam II post dominicam II Paschae erit transferenda » (n. 60).
26
+
27
+ Pertanto, è stabilito che nell’anno 2008 la solennità di San Giuseppe sarà celebrata
28
+ il 15 marzo, ovvero il sabato precedente la Domenica delle Palme, mentre la solennità
29
+ dell’Annunciazione del Signore sarà celebrata il 31 marzo, ovvero il lunedì dopo
30
+ la II Domenica di Pasqua.
31
+
32
+ ```ruby
33
+ calendar = CR::PerpetualCalendar.new(sanctorale: CR::Data::GENERAL_ROMAN_LATIN.load)
34
+
35
+ expect(calendar[Date.new(2008, 3, 15)].celebrations[0].symbol).to be :joseph
36
+ expect(calendar[Date.new(2008, 3, 31)].celebrations[0].symbol).to be :annunciation
37
+ ```
@@ -0,0 +1,38 @@
1
+ ---
2
+ source: Notitiae 549-550/2012, p. 269; http://www.cultodivino.va/content/dam/cultodivino/notitiae/2012/549-550 DEF.pdf#page=80
3
+ note: |
4
+ Not an act of liturgical legislation in a proper sense, but an authoritative example
5
+ of correct application of the law in force.
6
+ ---
7
+
8
+ # Declaratio circa Sollemnitatem Annuntiationis Domini anno 2013 celebrandam
9
+
10
+ Cum anno 2013, die 25 martii incidat feria II Hebdomadae
11
+ Sanctae, iuxta Tabulam dierum liturgicorum secundum ordinem
12
+ praecedentiae dispositam et secundum n. 60 Normarum de Anno
13
+ liturgico et de Calendario, sollemnitas Annuntiationis Domini
14
+ celebrabitur die 8 aprilis, scilicet feria II post Dominicam II Paschae, sicut
15
+ ex editione typica tertia Missalis Romani patet.
16
+
17
+ ```ruby
18
+ calendar = CR::Calendar.new(2012, CR::Data::GENERAL_ROMAN_LATIN.load)
19
+
20
+ day = calendar[Date.new(2013, 4, 8)]
21
+ expect(day.celebrations.first.symbol).to be :annunciation
22
+ ```
23
+
24
+ # Declaratio circa sollemnitatem Immaculatae Conceptionis Beatae Mariae Virginis a. 2013 in Dominica II Adventus incidentem
25
+
26
+ Cum anno 2013, die 8 decembris incidat Dominica II Adventus,
27
+ iuxta Tabulam dierum liturgicorum secundum ordinem praecedentiae
28
+ dispositam et secundum nn. 5 et 60 Normarum de Anno liturgico
29
+ et de Calendario, sollemnitas Immaculatae Conceptionis Beatae
30
+ Mariae Virginis celebrabitur die 9 decembris, feria II post Dominica
31
+ II Adventus.
32
+
33
+ ```ruby
34
+ calendar = CR::Calendar.new(2013, CR::Data::GENERAL_ROMAN_LATIN.load)
35
+
36
+ day = calendar[Date.new(2013, 12, 9)]
37
+ expect(day.celebrations.first.symbol).to be :bvm_immaculate
38
+ ```
@@ -0,0 +1,100 @@
1
+ ---
2
+ title: Responsum ad dubia de calendario liturgico exarando pro anno 2022
3
+ source: http://www.cultodivino.va/content/cultodivino/it/documenti/responsa-ad-dubia/2020/de-calendario-liturgico-2022.html
4
+ ---
5
+
6
+ # RESPONSUM AD DUBIA DE CALENDARIO LITURGICO EXARANDO PRO ANNO 2022
7
+
8
+ Redactores nonnulli "Ordinis Missae celebrandae et Officii Divini persolvendi" dubia proposuerunt
9
+ de Calendario liturgico pro venturo anno 2022 exarando, cum sollemnitas quaedam die sabbati aut feria
10
+ secunda occurrit.
11
+
12
+ Attento numero 60 ["Normarum universalium de anno liturgico et de Calendario"](./2002_normae_universales.md),
13
+ infrascriptarum celebrationum ordo sequenti modo erit disponendus:
14
+
15
+ a) Sollemnitas Sanctae Dei Genetricis Mariae, die 1 ianuarii, sabbato.
16
+ Dominica II Post Nativitatem, die 2 ianuarii.
17
+
18
+ - Die 1 ianuarii II Vesperae et Missa vespertina sollemnitatis Sanctae Dei Genetricis Mariae celebrentur.
19
+
20
+ ```ruby
21
+ calendar = CR::Calendar.new 2021, CR::Data::GENERAL_ROMAN_LATIN.load, vespers: true
22
+
23
+ date = Date.new(2022, 1, 1)
24
+ expect(date).to be_saturday
25
+
26
+ day = calendar[date]
27
+ expect(day.celebrations[0].symbol).to be :mother_of_god
28
+ expect(day.vespers).to be nil
29
+
30
+ expect(calendar[Date.new(2022, 1, 2)].celebrations[0].rank)
31
+ .to be CR::Ranks::SUNDAY_UNPRIVILEGED
32
+ ```
33
+
34
+ b) Sollemnitas S. Ioseph Sponsi Beatae Mariae Virginis, die 19 martii, sabbato.
35
+ Dominica III in Quadragesima, die 20 martii.
36
+
37
+ - Die 19 martii I Vesperae et Missa vespertina Dominicae III in Quadragesima celebrentur.
38
+
39
+ ```ruby
40
+ calendar = CR::Calendar.new 2021, CR::Data::GENERAL_ROMAN_LATIN.load, vespers: true
41
+
42
+ date = Date.new(2022, 3, 19)
43
+ expect(date).to be_saturday
44
+
45
+ I18n.with_locale(:la) do
46
+ day = calendar[date]
47
+ expect(day.celebrations[0].symbol).to be :joseph
48
+ expect(day.vespers.title).to eq 'Dominica III Quadragesimae'
49
+ end
50
+ ```
51
+
52
+ c) Sollemnitas Nativitatis S. Ioanni Baptistae et sollemnitas Sacratissimi Cordis Iesu, eadem die 24 iunii
53
+ coincidentes.
54
+
55
+ - Die 24 iunii, feria VI: sollemnitas Sacratissimi Cordis Iesu celebretur.
56
+ Sollemnitas Nativitatis S. Ioannis Baptistae ad diem 23 iunii, feriam V, transferatur,
57
+ II Vesperae omittantur. I Vesperae sollemnitatis Sacratissimi Cordis Iesu celebrentur.
58
+
59
+ ```ruby
60
+ pending 'ad hoc solution beyond the regular calendar rules, not supported in this version of calendarium-romanum'
61
+
62
+ calendar = CR::Calendar.new 2021, CR::Data::GENERAL_ROMAN_LATIN.load, vespers: true
63
+
64
+ i23 = Date.new(2022, 6, 23)
65
+ i24 = i23 + 1
66
+
67
+ expect(i24).to be_friday
68
+
69
+ expect(calendar[i24].celebrations[0].symbol).to be :sacred_heart
70
+
71
+ day = calendar[i23]
72
+ expect(day.celebrations[0].symbol).to be :baptist_birth
73
+ expect(day.vespers.symbol).to be :sacred_heart
74
+ ```
75
+
76
+ Ubi vero S. Ioannes Baptista patronus sit nationis vel dioecesis vel civitatis aut
77
+ communitatis religiosae, sollemnitas Nativitatis S. Ioannis Baptistae die 24 iunii,
78
+ feria VI, celebretur; sollemnitas autem Sacratissimi Cordis Iesu ad diem 23 iunii,
79
+ feriam V transferatur, usque ad horam Nonam inclusive.
80
+
81
+ ```ruby
82
+ skip 'there is currently no pretty way how to model this scenario using calendarium-romanum -
83
+ significant customizations of core functionalities would be required'
84
+ ```
85
+
86
+ d) Dominica XX Temporis "per annum", die 14 augusti.
87
+ Sollemnitas Assumptionis Beatae Mariae Virginis, die 15 augusti, feria II.
88
+
89
+ - Die 14 augusti I Vesperae et Missa in Vigilia sollemnitatis Assumptionis Beatae Mariae Virginis
90
+ celebrentur.
91
+
92
+ ```ruby
93
+ calendar = CR::Calendar.new 2021, CR::Data::GENERAL_ROMAN_LATIN.load, vespers: true
94
+
95
+ date = Date.new(2022, 8, 14)
96
+ expect(date).to be_sunday
97
+ expect(calendar[date].vespers.symbol).to be :assumption
98
+ ```
99
+
100
+ Ex aedibus Congregationis de Cultu Divino et Disciplina Sacramentorum, die 11 mensis maii 2020.
@@ -0,0 +1,74 @@
1
+ # Liturgical Law
2
+
3
+ This directory contains documents of liturgical legislation
4
+ implemented by the library. Each document is reproduced in Latin,
5
+ in a form of a Markdown file.
6
+
7
+ ## Main documents, development overview
8
+
9
+ Fundamental outline of the calendar system is contained in the document
10
+ *Normae universales de anno liturgico et de calendario*, first published in 1969.
11
+ Most of the 1969 text is in force without a substantial change up to this day,
12
+ but during the years some important parts were changed, a particularly hot matter
13
+ being the rules concerning transfer of impeded solemnities.
14
+ Apart of updates of the *Normae* themselves, a few additional rules were added
15
+ to the calendar system by separate documents (the more formal ones being CDW decrees,
16
+ the less formal ones notifications).
17
+
18
+ * **1969 Normae universales de anno liturgico et de calendario**
19
+ initial outline of the calendar system
20
+ * **1970 Missale Romanum, editio typica**
21
+ [updated](http://www.cultodivino.va/content/dam/cultodivino/notitiae/1970/54 1.pdf#page=49)
22
+ paragraphs 13, 56, 59 and 60 of the *Normae*
23
+ * **1975 Missale Romanum, editio typica altera**
24
+ [updated](http://www.cultodivino.va/content/dam/cultodivino/notitiae/1975/111-112.pdf#page=27)
25
+ paragraphs 14, 47 and 59 of the *Normae* (mostly mere terminological changes;
26
+ the change of paragraph 59 dropped a few categories from the *Table of Liturgical Days*)
27
+ * **1977 Decree about the feast of Baptism of the Lord**
28
+ with an improved rule of computing it's date for places where Epiphany is celebrated
29
+ on a Sunday
30
+ * **1990 Decree updating Normae, n. 5**
31
+ (transfer rule for a solemnity impeded by a privileged Sunday)
32
+ * **1998 Notification concerning occurrence of the memorial of the Immaculate Heart of Mary**
33
+
34
+ ## Code examples
35
+
36
+ The Markdown files, in addition to the text of documents of liturgical
37
+ legislation, contain also blocks of Ruby code, each proving
38
+ that the immediately preceding part of the document is implemented
39
+ by the library. The documents illustrated with code blocks thus constitute
40
+ sort of a test suite in the [literate programming](https://en.wikipedia.org/wiki/Literate_programming)
41
+ style. This test suite is integrated in the project's main test suite
42
+ (see `spec/liturgical_law_spec.rb`)
43
+
44
+ Utilities commonly used in the code blocks:
45
+
46
+ ```ruby
47
+ # RSpec expectations are available in the code blocks
48
+ expect(1).to be_truthy
49
+
50
+ # method `year` returns a random year (which is a valid liturgical years
51
+ # for calendarium-romanum) and should be used in all examples which need
52
+ # a single year and don't require a particular one
53
+ expect(year).to be_a Integer
54
+ expect(year).to be >= 1970
55
+ # year is the same for the whole example, even if called multiple times
56
+ a = year; b = year
57
+ expect(a).to be b
58
+
59
+ # method `years` returns a representative Enumerable of (valid liturgical)
60
+ # years and should be used in all examples which test across several years
61
+ # and don't require particular ones
62
+ expect(years).to be_a Enumerable
63
+ yrs = years.to_a
64
+ expect(yrs[0]).to be_a Integer
65
+
66
+ # method `years_with` returns an array of years (which are valid liturgical years
67
+ # for calendarium-romanum) matching the specified condition
68
+ yrs = years_with {|y| true }
69
+ expect(yrs).to be_an Array
70
+ expect(yrs[0]).to be_an Integer
71
+ # if no matching year is found an exception is raised
72
+ expect { years_with {|y| false } }
73
+ .to raise_exception(RuntimeError, /no matching year/)
74
+ ```
metadata CHANGED
@@ -1,43 +1,43 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: calendarium-romanum
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.5.0
4
+ version: 0.9.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jakub Pavlík
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2017-11-01 00:00:00.000000000 Z
11
+ date: 2021-04-11 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: thor
15
15
  requirement: !ruby/object:Gem::Requirement
16
16
  requirements:
17
- - - "~>"
17
+ - - ">="
18
18
  - !ruby/object:Gem::Version
19
- version: '0.18'
19
+ version: '0.15'
20
20
  type: :runtime
21
21
  prerelease: false
22
22
  version_requirements: !ruby/object:Gem::Requirement
23
23
  requirements:
24
- - - "~>"
24
+ - - ">="
25
25
  - !ruby/object:Gem::Version
26
- version: '0.18'
26
+ version: '0.15'
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: i18n
29
29
  requirement: !ruby/object:Gem::Requirement
30
30
  requirements:
31
- - - "~>"
31
+ - - ">="
32
32
  - !ruby/object:Gem::Version
33
- version: '0.6'
33
+ version: '0.7'
34
34
  type: :runtime
35
35
  prerelease: false
36
36
  version_requirements: !ruby/object:Gem::Requirement
37
37
  requirements:
38
- - - "~>"
38
+ - - ">="
39
39
  - !ruby/object:Gem::Version
40
- version: '0.6'
40
+ version: '0.7'
41
41
  - !ruby/object:Gem::Dependency
42
42
  name: roman-numerals
43
43
  requirement: !ruby/object:Gem::Requirement
@@ -81,19 +81,35 @@ dependencies:
81
81
  - !ruby/object:Gem::Version
82
82
  version: '3.5'
83
83
  description: calendar computations according to the Roman Catholic liturgical calendar
84
- as instituted by MP Mysterii Paschalis of Paul VI (1969).
84
+ as instituted by MP Mysterii Paschalis of Paul VI (1969) and defined in General
85
+ Norms for the Liturgical Year and the Calendar and other documents of liturgical
86
+ legislation.
85
87
  email: jkb.pavlik@gmail.com
86
88
  executables:
87
89
  - calendariumrom
88
90
  extensions: []
89
91
  extra_rdoc_files: []
90
92
  files:
93
+ - ".gitignore"
94
+ - ".rspec"
95
+ - ".rubocop.yml"
96
+ - ".travis.yml"
97
+ - ".yardopts"
98
+ - Appraisals
99
+ - CHANGELOG.md
100
+ - Gemfile
101
+ - Gemfile.lock
102
+ - README.md
103
+ - Rakefile
91
104
  - bin/calendariumrom
105
+ - calendarium-romanum.gemspec
92
106
  - config/locales/cs.yml
93
107
  - config/locales/en.yml
108
+ - config/locales/es.yml
94
109
  - config/locales/fr.yml
95
110
  - config/locales/it.yml
96
111
  - config/locales/la.yml
112
+ - config/locales/pt.yml
97
113
  - data/README.md
98
114
  - data/czech-brno-cs.txt
99
115
  - data/czech-budejovice-cs.txt
@@ -106,14 +122,28 @@ files:
106
122
  - data/czech-ostrava-cs.txt
107
123
  - data/czech-plzen-cs.txt
108
124
  - data/czech-praha-cs.txt
125
+ - data/easter_dates.txt
126
+ - data/universal-1969-la.txt
109
127
  - data/universal-en.txt
128
+ - data/universal-es.txt
110
129
  - data/universal-fr.txt
111
130
  - data/universal-it.txt
112
131
  - data/universal-la.txt
132
+ - data/universal-pt.txt
133
+ - doc/data_readme.md
134
+ - doc/images/class_diagram.png
135
+ - doc/images/class_diagram.puml
136
+ - doc/yard_readme.rdoc
113
137
  - lib/calendarium-romanum.rb
114
138
  - lib/calendarium-romanum/abstract_date.rb
115
139
  - lib/calendarium-romanum/calendar.rb
116
140
  - lib/calendarium-romanum/cli.rb
141
+ - lib/calendarium-romanum/cli/comparator.rb
142
+ - lib/calendarium-romanum/cli/date_parser.rb
143
+ - lib/calendarium-romanum/cli/dumper.rb
144
+ - lib/calendarium-romanum/cli/helper.rb
145
+ - lib/calendarium-romanum/cli/querier.rb
146
+ - lib/calendarium-romanum/cr.rb
117
147
  - lib/calendarium-romanum/data.rb
118
148
  - lib/calendarium-romanum/day.rb
119
149
  - lib/calendarium-romanum/enum.rb
@@ -123,44 +153,37 @@ files:
123
153
  - lib/calendarium-romanum/ordinalizer.rb
124
154
  - lib/calendarium-romanum/perpetual_calendar.rb
125
155
  - lib/calendarium-romanum/rank.rb
156
+ - lib/calendarium-romanum/rank_predicates.rb
126
157
  - lib/calendarium-romanum/sanctorale.rb
127
158
  - lib/calendarium-romanum/sanctorale_factory.rb
128
- - lib/calendarium-romanum/sanctoraleloader.rb
159
+ - lib/calendarium-romanum/sanctorale_loader.rb
160
+ - lib/calendarium-romanum/sanctorale_writer.rb
129
161
  - lib/calendarium-romanum/temporale.rb
130
162
  - lib/calendarium-romanum/temporale/celebration_factory.rb
163
+ - lib/calendarium-romanum/temporale/date_helper.rb
131
164
  - lib/calendarium-romanum/temporale/dates.rb
165
+ - lib/calendarium-romanum/temporale/easter_table.rb
166
+ - lib/calendarium-romanum/temporale/extensions.rb
132
167
  - lib/calendarium-romanum/temporale/extensions/christ_eternal_priest.rb
168
+ - lib/calendarium-romanum/temporale/extensions/dedication_before_all_saints.rb
133
169
  - lib/calendarium-romanum/transfers.rb
134
170
  - lib/calendarium-romanum/util.rb
135
171
  - lib/calendarium-romanum/version.rb
136
- - spec/abstract_date_spec.rb
137
- - spec/calendar_spec.rb
138
- - spec/celebration_factory_spec.rb
139
- - spec/celebration_spec.rb
140
- - spec/cli_spec.rb
141
- - spec/colour_spec.rb
142
- - spec/data_spec.rb
143
- - spec/date_parser_spec.rb
144
- - spec/date_spec.rb
145
- - spec/dates_spec.rb
146
- - spec/day_spec.rb
147
- - spec/enum_spec.rb
148
- - spec/i18n_spec.rb
149
- - spec/ordinalizer_spec.rb
150
- - spec/perpetual_calendar_spec.rb
151
- - spec/rank_spec.rb
152
- - spec/readme_spec.rb
153
- - spec/sanctorale_factory_spec.rb
154
- - spec/sanctorale_spec.rb
155
- - spec/sanctoraleloader_spec.rb
156
- - spec/season_spec.rb
157
- - spec/spec_helper.rb
158
- - spec/temporale_spec.rb
172
+ - liturgical_law/1969_normae_universales.md
173
+ - liturgical_law/1977_decretum_de_celebratione_baptismatis_domini.md
174
+ - liturgical_law/1990_decretum_de_variatione_inducenda.md
175
+ - liturgical_law/1998_notificatio_de_occurrentia.md
176
+ - liturgical_law/2002_normae_universales.md
177
+ - liturgical_law/2006_notification.md
178
+ - liturgical_law/2012_declarationes.md
179
+ - liturgical_law/2020_dubia_de_calendario_2022.md
180
+ - liturgical_law/README.md
159
181
  homepage: http://github.com/igneus/calendarium-romanum
160
182
  licenses:
161
183
  - LGPL-3.0
162
184
  - MIT
163
- metadata: {}
185
+ metadata:
186
+ documentation_uri: https://www.rubydoc.info/gems/calendarium-romanum/
164
187
  post_install_message:
165
188
  rdoc_options: []
166
189
  require_paths:
@@ -169,7 +192,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
169
192
  requirements:
170
193
  - - ">="
171
194
  - !ruby/object:Gem::Version
172
- version: '0'
195
+ version: '2.0'
173
196
  required_rubygems_version: !ruby/object:Gem::Requirement
174
197
  requirements:
175
198
  - - ">="
@@ -177,7 +200,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
177
200
  version: '0'
178
201
  requirements: []
179
202
  rubyforge_project:
180
- rubygems_version: 2.5.1
203
+ rubygems_version: 2.7.6
181
204
  signing_key:
182
205
  specification_version: 4
183
206
  summary: Roman Catholic liturgical calendar computations