Adding christmas and new year eves to Venezuelan holidays (#185)

Adding christmas and new year eves to Venezuelan holidays (#185)

diff --git a/vendor/holidays/definitions/ve.yaml b/vendor/holidays/definitions/ve.yaml
index 1826882..7910c04 100644
--- a/vendor/holidays/definitions/ve.yaml
+++ b/vendor/holidays/definitions/ve.yaml
@@ -51,9 +51,15 @@ months:
     regions: [ve]
     mday: 12
   12:
+  - name: Víspera de Navidad
+    regions: [ve]
+    mday: 24
   - name: Día de Navidad
     regions: [ve]
     mday: 25
+  - name: Víspera de Año Nuevo
+    regions: [ve]
+    mday: 31
 
 tests:
   - given:
@@ -112,7 +118,17 @@ tests:
     expect:
       name: "Día de la Resistencia Indígena"
   - given:
+      date: '2021-12-24'
+      regions: ["ve"]
+    expect:
+      name: "Víspera de Navidad"
+  - given:
       date: '2013-12-25'
       regions: ["ve"]
     expect:
       name: "Día de Navidad"
+  - given:
+      date: '2021-12-31'
+      regions: ["ve"]
+    expect:
+      name: "Víspera de Año Nuevo"
diff --git a/vendor/holidays/lib/generated_definitions/southamerica.rb b/vendor/holidays/lib/generated_definitions/southamerica.rb
index ebca2d2..c640e64 100644
--- a/vendor/holidays/lib/generated_definitions/southamerica.rb
+++ b/vendor/holidays/lib/generated_definitions/southamerica.rb
@@ -106,7 +106,9 @@ module Holidays
             {:mday => 25, :name => "Navidad", :regions => [:co]},
             {:mday => 8, :observed => "to_monday_if_sunday(date)", :observed_arguments => [:date], :name => "Inmaculada Concepción", :regions => [:pe]},
             {:mday => 25, :name => "Navidad del Señor", :regions => [:pe]},
-            {:mday => 25, :name => "Día de Navidad", :regions => [:ve]}],
+            {:mday => 24, :name => "Víspera de Navidad", :regions => [:ve]},
+            {:mday => 25, :name => "Día de Navidad", :regions => [:ve]},
+            {:mday => 31, :name => "Víspera de Año Nuevo", :regions => [:ve]}],
       9 => [{:mday => 7, :name => "Proclamação da Independência", :regions => [:br]},
             {:mday => 18, :name => "Independencia Nacional", :regions => [:cl]},
             {:mday => 19, :name => "Día de las Glorias del Ejército", :regions => [:cl]},
diff --git a/vendor/holidays/lib/generated_definitions/ve.rb b/vendor/holidays/lib/generated_definitions/ve.rb
index 1b6778c..4e1f19e 100644
--- a/vendor/holidays/lib/generated_definitions/ve.rb
+++ b/vendor/holidays/lib/generated_definitions/ve.rb
@@ -23,7 +23,9 @@ module Holidays
       7 => [{:mday => 5, :name => "Día de la Independencia", :regions => [:ve]},
             {:mday => 24, :name => "Natalicio de Simón Bolívar", :regions => [:ve]}],
       10 => [{:mday => 12, :name => "Día de la Resistencia Indígena", :regions => [:ve]}],
-      12 => [{:mday => 25, :name => "Día de Navidad", :regions => [:ve]}]
+      12 => [{:mday => 24, :name => "Víspera de Navidad", :regions => [:ve]},
+            {:mday => 25, :name => "Día de Navidad", :regions => [:ve]},
+            {:mday => 31, :name => "Víspera de Año Nuevo", :regions => [:ve]}]
       }
     end
 
diff --git a/vendor/holidays/test/defs/test_defs_southamerica.rb b/vendor/holidays/test/defs/test_defs_southamerica.rb
index 8167226..95cbe9b 100644
--- a/vendor/holidays/test/defs/test_defs_southamerica.rb
+++ b/vendor/holidays/test/defs/test_defs_southamerica.rb
@@ -301,7 +301,11 @@ class SouthamericaDefinitionTests < Test::Unit::TestCase  # :nodoc:
 
     assert_equal "Día de la Resistencia Indígena", (Holidays.on(Date.civil(2013, 10, 12), [:ve])[0] || {})[:name]
 
+    assert_equal "Víspera de Navidad", (Holidays.on(Date.civil(2021, 12, 24), [:ve])[0] || {})[:name]
+
     assert_equal "Día de Navidad", (Holidays.on(Date.civil(2013, 12, 25), [:ve])[0] || {})[:name]
 
+    assert_equal "Víspera de Año Nuevo", (Holidays.on(Date.civil(2021, 12, 31), [:ve])[0] || {})[:name]
+
   end
 end
diff --git a/vendor/holidays/test/defs/test_defs_ve.rb b/vendor/holidays/test/defs/test_defs_ve.rb
index 3490405..0b94ffd 100644
--- a/vendor/holidays/test/defs/test_defs_ve.rb
+++ b/vendor/holidays/test/defs/test_defs_ve.rb
@@ -29,7 +29,11 @@ class VeDefinitionTests < Test::Unit::TestCase  # :nodoc:
 
     assert_equal "Día de la Resistencia Indígena", (Holidays.on(Date.civil(2013, 10, 12), [:ve])[0] || {})[:name]
 
+    assert_equal "Víspera de Navidad", (Holidays.on(Date.civil(2021, 12, 24), [:ve])[0] || {})[:name]
+
     assert_equal "Día de Navidad", (Holidays.on(Date.civil(2013, 12, 25), [:ve])[0] || {})[:name]
 
+    assert_equal "Víspera de Año Nuevo", (Holidays.on(Date.civil(2021, 12, 31), [:ve])[0] || {})[:name]
+
   end
 end

GitHub sha: f5157ee27c84133bb220facccf5b1e9a886b694e

This commit appears in #185 which was approved by jomaxro. It was merged by cocococosti.