facts_by_date 1.0.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/.gitignore +17 -0
- data/CHANGELOG.md +2 -0
- data/Gemfile +4 -0
- data/LICENSE.txt +22 -0
- data/README.md +57 -0
- data/Rakefile +2 -0
- data/data/1/1.json +126 -0
- data/data/1/10.json +96 -0
- data/data/1/11.json +96 -0
- data/data/1/12.json +96 -0
- data/data/1/13.json +78 -0
- data/data/1/14.json +90 -0
- data/data/1/15.json +84 -0
- data/data/1/16.json +72 -0
- data/data/1/17.json +96 -0
- data/data/1/18.json +90 -0
- data/data/1/19.json +90 -0
- data/data/1/2.json +90 -0
- data/data/1/20.json +120 -0
- data/data/1/21.json +120 -0
- data/data/1/22.json +84 -0
- data/data/1/23.json +60 -0
- data/data/1/24.json +102 -0
- data/data/1/25.json +90 -0
- data/data/1/26.json +90 -0
- data/data/1/27.json +108 -0
- data/data/1/28.json +84 -0
- data/data/1/29.json +72 -0
- data/data/1/3.json +102 -0
- data/data/1/30.json +90 -0
- data/data/1/31.json +126 -0
- data/data/1/4.json +102 -0
- data/data/1/5.json +90 -0
- data/data/1/6.json +96 -0
- data/data/1/7.json +102 -0
- data/data/1/8.json +96 -0
- data/data/1/9.json +102 -0
- data/data/11/1.json +30 -0
- data/data/11/10.json +32 -0
- data/data/11/11.json +33 -0
- data/data/11/12.json +31 -0
- data/data/11/13.json +30 -0
- data/data/11/14.json +35 -0
- data/data/11/15.json +35 -0
- data/data/11/16.json +28 -0
- data/data/11/17.json +34 -0
- data/data/11/18.json +29 -0
- data/data/11/19.json +31 -0
- data/data/11/2.json +35 -0
- data/data/11/20.json +27 -0
- data/data/11/21.json +27 -0
- data/data/11/22.json +31 -0
- data/data/11/23.json +30 -0
- data/data/11/24.json +26 -0
- data/data/11/25.json +26 -0
- data/data/11/26.json +30 -0
- data/data/11/27.json +180 -0
- data/data/11/28.json +31 -0
- data/data/11/29.json +25 -0
- data/data/11/3.json +32 -0
- data/data/11/30.json +31 -0
- data/data/11/4.json +28 -0
- data/data/11/5.json +31 -0
- data/data/11/6.json +22 -0
- data/data/11/7.json +33 -0
- data/data/11/8.json +32 -0
- data/data/11/9.json +106 -0
- data/data/12/1.json +35 -0
- data/data/12/10.json +26 -0
- data/data/12/11.json +31 -0
- data/data/12/12.json +26 -0
- data/data/12/13.json +24 -0
- data/data/12/14.json +30 -0
- data/data/12/15.json +27 -0
- data/data/12/16.json +22 -0
- data/data/12/17.json +26 -0
- data/data/12/18.json +29 -0
- data/data/12/19.json +26 -0
- data/data/12/2.json +29 -0
- data/data/12/20.json +26 -0
- data/data/12/21.json +26 -0
- data/data/12/22.json +26 -0
- data/data/12/23.json +24 -0
- data/data/12/24.json +26 -0
- data/data/12/25.json +32 -0
- data/data/12/26.json +29 -0
- data/data/12/27.json +30 -0
- data/data/12/28.json +21 -0
- data/data/12/29.json +23 -0
- data/data/12/3.json +30 -0
- data/data/12/30.json +18 -0
- data/data/12/31.json +19 -0
- data/data/12/4.json +25 -0
- data/data/12/5.json +30 -0
- data/data/12/6.json +34 -0
- data/data/12/7.json +29 -0
- data/data/12/8.json +26 -0
- data/data/12/9.json +25 -0
- data/data/2/1.json +102 -0
- data/data/2/10.json +90 -0
- data/data/2/11.json +84 -0
- data/data/2/12.json +96 -0
- data/data/2/13.json +90 -0
- data/data/2/14.json +84 -0
- data/data/2/15.json +96 -0
- data/data/2/16.json +84 -0
- data/data/2/17.json +90 -0
- data/data/2/18.json +72 -0
- data/data/2/19.json +84 -0
- data/data/2/2.json +90 -0
- data/data/2/20.json +30 -0
- data/data/2/21.json +27 -0
- data/data/2/22.json +32 -0
- data/data/2/23.json +41 -0
- data/data/2/24.json +28 -0
- data/data/2/25.json +29 -0
- data/data/2/26.json +31 -0
- data/data/2/27.json +27 -0
- data/data/2/28.json +24 -0
- data/data/2/29.json +23 -0
- data/data/2/3.json +90 -0
- data/data/2/4.json +66 -0
- data/data/2/5.json +90 -0
- data/data/2/6.json +96 -0
- data/data/2/7.json +120 -0
- data/data/2/8.json +96 -0
- data/data/2/9.json +114 -0
- data/data/3/1.json +84 -0
- data/data/3/10.json +84 -0
- data/data/3/11.json +90 -0
- data/data/3/12.json +84 -0
- data/data/3/13.json +90 -0
- data/data/3/14.json +90 -0
- data/data/3/15.json +72 -0
- data/data/3/16.json +90 -0
- data/data/3/17.json +90 -0
- data/data/3/18.json +90 -0
- data/data/3/19.json +102 -0
- data/data/3/2.json +96 -0
- data/data/3/20.json +84 -0
- data/data/3/21.json +102 -0
- data/data/3/22.json +96 -0
- data/data/3/23.json +90 -0
- data/data/3/24.json +36 -0
- data/data/3/25.json +1782 -0
- data/data/3/26.json +498 -0
- data/data/3/27.json +66 -0
- data/data/3/28.json +78 -0
- data/data/3/29.json +78 -0
- data/data/3/3.json +102 -0
- data/data/3/30.json +90 -0
- data/data/3/31.json +78 -0
- data/data/3/4.json +102 -0
- data/data/3/5.json +84 -0
- data/data/3/6.json +72 -0
- data/data/3/7.json +78 -0
- data/data/3/8.json +78 -0
- data/data/3/9.json +90 -0
- data/data/4/1.json +96 -0
- data/data/4/10.json +102 -0
- data/data/4/11.json +102 -0
- data/data/4/12.json +114 -0
- data/data/4/13.json +108 -0
- data/data/4/14.json +90 -0
- data/data/4/15.json +90 -0
- data/data/4/16.json +78 -0
- data/data/4/17.json +90 -0
- data/data/4/18.json +102 -0
- data/data/4/19.json +96 -0
- data/data/4/2.json +90 -0
- data/data/4/20.json +84 -0
- data/data/4/21.json +90 -0
- data/data/4/22.json +114 -0
- data/data/4/23.json +78 -0
- data/data/4/24.json +114 -0
- data/data/4/25.json +102 -0
- data/data/4/26.json +96 -0
- data/data/4/27.json +90 -0
- data/data/4/28.json +78 -0
- data/data/4/29.json +102 -0
- data/data/4/3.json +84 -0
- data/data/4/30.json +84 -0
- data/data/4/4.json +90 -0
- data/data/4/5.json +90 -0
- data/data/4/6.json +78 -0
- data/data/4/7.json +102 -0
- data/data/4/8.json +84 -0
- data/data/4/9.json +84 -0
- data/data/5/1.json +30 -0
- data/data/5/10.json +30 -0
- data/data/5/11.json +19 -0
- data/data/5/12.json +25 -0
- data/data/5/13.json +19 -0
- data/data/5/14.json +23 -0
- data/data/5/15.json +30 -0
- data/data/5/16.json +16 -0
- data/data/5/17.json +19 -0
- data/data/5/18.json +26 -0
- data/data/5/19.json +23 -0
- data/data/5/2.json +26 -0
- data/data/5/20.json +31 -0
- data/data/5/21.json +23 -0
- data/data/5/22.json +27 -0
- data/data/5/23.json +22 -0
- data/data/5/24.json +23 -0
- data/data/5/25.json +16 -0
- data/data/5/26.json +26 -0
- data/data/5/27.json +22 -0
- data/data/5/28.json +16 -0
- data/data/5/29.json +23 -0
- data/data/5/3.json +18 -0
- data/data/5/30.json +23 -0
- data/data/5/31.json +25 -0
- data/data/5/4.json +20 -0
- data/data/5/5.json +27 -0
- data/data/5/6.json +23 -0
- data/data/5/7.json +26 -0
- data/data/5/8.json +26 -0
- data/data/5/9.json +18 -0
- data/data/6/1.json +24 -0
- data/data/6/2.json +24 -0
- data/data/6/3.json +22 -0
- data/data/6/4.json +25 -0
- data/data/6/5.json +27 -0
- data/facts_by_date.gemspec +24 -0
- data/lib/facts_by_date/version.rb +3 -0
- data/lib/facts_by_date.rb +52 -0
- metadata +313 -0
data/data/5/3.json
ADDED
@@ -0,0 +1,18 @@
|
|
1
|
+
[
|
2
|
+
{
|
3
|
+
"facts":[
|
4
|
+
{ "day":"3", "month":"5", "year":"495", "text": "Pope Gelasius asserts that his authority is superior to Emperor Enanstasius." },
|
5
|
+
{ "day":"3", "month":"5", "year":"1568", "text": "French forces in Florida slaughter hundreds of Spanish." },
|
6
|
+
{ "day":"3", "month":"5", "year":"1855", "text": "Macon B. Allen becomes the first African American to be admitted to the Bar in Massachusetts." },
|
7
|
+
{ "day":"3", "month":"5", "year":"1859", "text": "France declares war on Austria." },
|
8
|
+
{ "day":"3", "month":"5", "year":"1863", "text": "The Battle of Chancellorsville rages for a second day." },
|
9
|
+
{ "day":"3", "month":"5", "year":"1865", "text": "President Lincoln’s funeral train arrives in Springfield, Illinois." },
|
10
|
+
{ "day":"3", "month":"5", "year":"1926", "text": "U.S. Marines land in Nicaragua." },
|
11
|
+
{ "day":"3", "month":"5", "year":"1952", "text": "The first airplane lands at the geographic North Pole." },
|
12
|
+
{ "day":"3", "month":"5", "year":"1968", "text": "After three days of battle, the U.S. Marines retake Dai Do complex in Vietnam, only to find the North Vietnamese have evacuated the area." },
|
13
|
+
{ "day":"3", "month":"5", "year":"1971", "text": "James Earl Ray, Martin Luther King’s assassin, is caught in a jail break attempt." },
|
14
|
+
{ "day":"3", "month":"5", "year":"1979", "text": "Margaret Thatcher becomes the first woman prime minister of Great Britain." },
|
15
|
+
{ "day":"3", "month":"5", "year":"1982", "text": "A British submarine sinks Argentina’s only cruiser during the Falkland Islands War." }
|
16
|
+
]
|
17
|
+
}
|
18
|
+
]
|
data/data/5/30.json
ADDED
@@ -0,0 +1,23 @@
|
|
1
|
+
[
|
2
|
+
{
|
3
|
+
"facts":[
|
4
|
+
{ "day":"30", "month":"5", "year":"1416", "text": "Jerome of Prague is burned as a heretic by the Church." },
|
5
|
+
{ "day":"30", "month":"5", "year":"1431", "text": "Joan of Arc is burned at the stake by the English." },
|
6
|
+
{ "day":"30", "month":"5", "year":"1527", "text": "The University of Marburg is founded in Germany." },
|
7
|
+
{ "day":"30", "month":"5", "year":"1539", "text": "Hernando de Soto lands in Florida with 600 soldiers in search of gold." },
|
8
|
+
{ "day":"30", "month":"5", "year":"1783", "text": "The first American daily newspaper, The Pennsylvania Evening Post, begins publishing in Philadelphia." },
|
9
|
+
{ "day":"30", "month":"5", "year":"1814", "text": "The First Treaty of Paris is declared, returning France to its 1792 borders." },
|
10
|
+
{ "day":"30", "month":"5", "year":"1848", "text": "William Young patents the ice cream freezer." },
|
11
|
+
{ "day":"30", "month":"5", "year":"1854", "text": "The Kansas-Nebraska Act repeals the Missouri Compromise." },
|
12
|
+
{ "day":"30", "month":"5", "year":"1859", "text": "The Piedmontese army crosses the Sesia River and defeats the Austrians at Palestro." },
|
13
|
+
{ "day":"30", "month":"5", "year":"1862", "text": "Union General Henry Halleck enters Corinth, Mississippi." },
|
14
|
+
{ "day":"30", "month":"5", "year":"1868", "text": "Memorial Day begins when two women place flowers on both Confederate and Union graves." },
|
15
|
+
{ "day":"30", "month":"5", "year":"1889", "text": "The brassiere is invented." },
|
16
|
+
{ "day":"30", "month":"5", "year":"1912", "text": "U.S. Marines are sent to Nicaragua to protect American interests." },
|
17
|
+
{ "day":"30", "month":"5", "year":"1913", "text": "The First Balkan War ends." },
|
18
|
+
{ "day":"30", "month":"5", "year":"1921", "text": "The U.S. Navy transfers the Teapot Dome oil reserves to the Department of the Interior." },
|
19
|
+
{ "day":"30", "month":"5", "year":"1942", "text": "The Royal Air Force launches the first 1,000 plane raid over Germany." },
|
20
|
+
{ "day":"30", "month":"5", "year":"1971", "text": "NASA launches Mariner 9, the first satellite to orbit Mars." }
|
21
|
+
]
|
22
|
+
}
|
23
|
+
]
|
data/data/5/31.json
ADDED
@@ -0,0 +1,25 @@
|
|
1
|
+
[
|
2
|
+
{
|
3
|
+
"facts":[
|
4
|
+
{ "day":"31", "month":"5", "year":"1433", "text": "Sigismund is crowned emperor of Rome." },
|
5
|
+
{ "day":"31", "month":"5", "year":"1678", "text": "The Godiva procession, commemorating Lady Godiva’s legendary ride while naked, becomes part of the Coventry Fair." },
|
6
|
+
{ "day":"31", "month":"5", "year":"1862", "text": "At the Battle of Fair Oaks, Union General George B. McClellan defeats Confederates outside of Richmond." },
|
7
|
+
{ "day":"31", "month":"5", "year":"1879", "text": "New York’s Madison Square Garden opens its doors for the first time." },
|
8
|
+
{ "day":"31", "month":"5", "year":"1889", "text": "Johnstown, Pennsylvania is destroyed by a massive flood." },
|
9
|
+
{ "day":"31", "month":"5", "year":"1900", "text": "U.S. troops arrive in Peking to help put down the Boxer Rebellion." },
|
10
|
+
{ "day":"31", "month":"5", "year":"1902", "text": "The Boer War ends with the Treaty of Vereeniging." },
|
11
|
+
{ "day":"31", "month":"5", "year":"1909", "text": "The National Association for the Advancement of Colored People (NAACP) holds its first conference." },
|
12
|
+
{ "day":"31", "month":"5", "year":"1913", "text": "The 17th amendment to the U.S. Constitution, providing for direct election of senators, is ratified." },
|
13
|
+
{ "day":"31", "month":"5", "year":"1915", "text": "A German zeppelin makes an air raid on London." },
|
14
|
+
{ "day":"31", "month":"5", "year":"1916", "text": "British and German fleets fight in the Battle of Jutland." },
|
15
|
+
{ "day":"31", "month":"5", "year":"1928", "text": "The first flight over the Pacific takes off from Oakland." },
|
16
|
+
{ "day":"31", "month":"5", "year":"1941", "text": "An armistice is arranged between the British and the Iraqis." },
|
17
|
+
{ "day":"31", "month":"5", "year":"1955", "text": "The Supreme Court orders that states must end racial segregation \"with all deliberate speed.\"" },
|
18
|
+
{ "day":"31", "month":"5", "year":"1962", "text": "Adolf Eichmann, the former SS commander, is hanged near Tel Aviv, Israel." },
|
19
|
+
{ "day":"31", "month":"5", "year":"1969", "text": "John Lennon and Yoko Ono record \"Give Peace a Chance.\"" },
|
20
|
+
{ "day":"31", "month":"5", "year":"1974", "text": "Israel and Syria sign an agreement on the Golan Heights." },
|
21
|
+
{ "day":"31", "month":"5", "year":"1979", "text": "Zimbabwe proclaims its independence." },
|
22
|
+
{ "day":"31", "month":"5", "year":"1988", "text": "President Ronald Reagan arrives in Moscow, the first American president to do so in 14 years." }
|
23
|
+
]
|
24
|
+
}
|
25
|
+
]
|
data/data/5/4.json
ADDED
@@ -0,0 +1,20 @@
|
|
1
|
+
[
|
2
|
+
{
|
3
|
+
"facts":[
|
4
|
+
{ "day":"4", "month":"5", "year":"1471", "text": "In England, the Yorkists defeat the Landcastians at the battle of Tewkesbury." },
|
5
|
+
{ "day":"4", "month":"5", "year":"1626", "text": "Indians sell Manhattan Island for $24 in cloth and buttons." },
|
6
|
+
{ "day":"4", "month":"5", "year":"1715", "text": "A French manufacturer debuts the first folding umbrella." },
|
7
|
+
{ "day":"4", "month":"5", "year":"1776", "text": "Rhode Island declares independence from England." },
|
8
|
+
{ "day":"4", "month":"5", "year":"1795", "text": "Thousands of rioters enter jails in Lyons, France, and massacre 99 Jacobin prisoners." },
|
9
|
+
{ "day":"4", "month":"5", "year":"1814", "text": "Napoleon Bonaparte disembarks at Portoferraio on the island of Elba in the Mediterranean." },
|
10
|
+
{ "day":"4", "month":"5", "year":"1863", "text": "The Battle of Chancellorsville ends when Union Army retreats." },
|
11
|
+
{ "day":"4", "month":"5", "year":"1864", "text": "Union General Ulysses S. Grant’s forces cross the Rapidan River and meet Robert E. Lee’s Confederate army." },
|
12
|
+
{ "day":"4", "month":"5", "year":"1927", "text": "A balloon soars over 40,000 feet for the first time." },
|
13
|
+
{ "day":"4", "month":"5", "year":"1930", "text": "Mahatma Gandhi is arrested by the British." },
|
14
|
+
{ "day":"4", "month":"5", "year":"1942", "text": "The Battle of the Coral Sea commences." },
|
15
|
+
{ "day":"4", "month":"5", "year":"1942", "text": "The United States begins food rationing." },
|
16
|
+
{ "day":"4", "month":"5", "year":"1961", "text": "13 civil rights activists, dubbed Freedom Riders, begin a bus trip through the South." },
|
17
|
+
{ "day":"4", "month":"5", "year":"1970", "text": "Ohio National Guardsmen open fire on student protesters at Kent State University, killing four and wounding nine others." }
|
18
|
+
]
|
19
|
+
}
|
20
|
+
]
|
data/data/5/5.json
ADDED
@@ -0,0 +1,27 @@
|
|
1
|
+
[
|
2
|
+
{
|
3
|
+
"facts":[
|
4
|
+
{ "day":"5", "month":"5", "year":"1494", "text": "Christopher Columbus lands on the island of Jamaica, which he names Santa Gloria." },
|
5
|
+
{ "day":"5", "month":"5", "year":"1814", "text": "British attack the American forces at Ft. Ontario, Oswego, New York." },
|
6
|
+
{ "day":"5", "month":"5", "year":"1821", "text": "Napoleon Bonaparte dies in exile on the island of St. Helena." },
|
7
|
+
{ "day":"5", "month":"5", "year":"1834", "text": "The first mainland railway line opens in Belgium." },
|
8
|
+
{ "day":"5", "month":"5", "year":"1862", "text": "Union and Confederate forces clash at the Battle of Williamsburg, part of the Peninsula Campaign." },
|
9
|
+
{ "day":"5", "month":"5", "year":"1862", "text": "Mexican forces loyal to Benito Juarez defeat troops sent by Napoleon III in the Battle of Puebla." },
|
10
|
+
{ "day":"5", "month":"5", "year":"1865", "text": "The 13th Amendment is ratified, abolishing slavery." },
|
11
|
+
{ "day":"5", "month":"5", "year":"1886", "text": "A bomb explodes on the fourth day of a workers’ strike in Chicago." },
|
12
|
+
{ "day":"5", "month":"5", "year":"1912", "text": "Soviet Communist Party newspaper Pravda begins publishing." },
|
13
|
+
{ "day":"5", "month":"5", "year":"1916", "text": "U.S. Marines invade the Dominican Republic." },
|
14
|
+
{ "day":"5", "month":"5", "year":"1917", "text": "Eugene Jacques Bullard becomes the first African-American aviator when he earns a flying certificate with the French Air Service." },
|
15
|
+
{ "day":"5", "month":"5", "year":"1920", "text": "Anarchists Nicola Sacco and Bartolomeo Vanzetti are arrested for murder." },
|
16
|
+
{ "day":"5", "month":"5", "year":"1935", "text": "American Jesse Owens sets the long jump record." },
|
17
|
+
{ "day":"5", "month":"5", "year":"1942", "text": "General Joseph Stilwell learns that the Japanese have cut his railway out of China and is forced to lead his troops into India." },
|
18
|
+
{ "day":"5", "month":"5", "year":"1945", "text": "Holland and Denmark are liberated from Nazi control." },
|
19
|
+
{ "day":"5", "month":"5", "year":"1961", "text": "Alan Shepard becomes the first American in space." },
|
20
|
+
{ "day":"5", "month":"5", "year":"1965", "text": "173rd Airborne Brigade arrives in Bien Hoa-Vung, Vietnam, the first regular U.S. Army unit deployed to that country." },
|
21
|
+
{ "day":"5", "month":"5", "year":"1968", "text": "U.S. Air Force planes hit Nhi Ha, South Vietnam in support of attacking infantrymen." },
|
22
|
+
{ "day":"5", "month":"5", "year":"1969", "text": "Pulitzer Prize awarded to Norman Mailer for his ‘nonfiction novel’ Armies of the Night, an account of the 1967 anti-Vietnam War march on the Pentagon." },
|
23
|
+
{ "day":"5", "month":"5", "year":"1987", "text": "Congress opens Iran-Contra hearings." },
|
24
|
+
{ "day":"5", "month":"5", "year":"2000", "text": "The Sun, Earth, Mercury, Venus, Mars, Jupiter and Saturn align – Earth’s moon is also almost in this alignment – leading to Doomsday predictions of massive natural disasters, although such a ‘grand confluence’ occurs about once in every century." }
|
25
|
+
]
|
26
|
+
}
|
27
|
+
]
|
data/data/5/6.json
ADDED
@@ -0,0 +1,23 @@
|
|
1
|
+
[
|
2
|
+
{
|
3
|
+
"facts":[
|
4
|
+
{ "day":"6", "month":"5", "year":"1527", "text": "German troops begin sacking Rome. Libraries are destroyed, the Pope is captured and thousands are killed." },
|
5
|
+
{ "day":"6", "month":"5", "year":"1529", "text": "Babur defeats the Afgan Chiefs in the Battle of Ghagra, India." },
|
6
|
+
{ "day":"6", "month":"5", "year":"1682", "text": "King Louis XIV moves his court to Versailles, France." },
|
7
|
+
{ "day":"6", "month":"5", "year":"1856", "text": "U.S. Army troops from Fort Tejon and Fort Miller prepare to ride out to protect Keyesville, California, from Yokut Indian attack." },
|
8
|
+
{ "day":"6", "month":"5", "year":"1861", "text": "Arkansas becomes the ninth state to secede from the Union." },
|
9
|
+
{ "day":"6", "month":"5", "year":"1862", "text": "Henry David Thoreau dies of tuberculosis at age 44." },
|
10
|
+
{ "day":"6", "month":"5", "year":"1864", "text": "In the second day of the Battle of Wilderness between Union General Ulysses S. Grant and Confederate General Robert E. Lee, Confederate Gen. James Longstreet is wounded by his own men." },
|
11
|
+
{ "day":"6", "month":"5", "year":"1877", "text": "Chief Crazy Horse surrenders to U.S. troops in Nebraska.Crazy Horse brought General Custer to his end." },
|
12
|
+
{ "day":"6", "month":"5", "year":"1937", "text": "The dirigible Hindenburg explodes in flames at Lakehurst, New Jersey." },
|
13
|
+
{ "day":"6", "month":"5", "year":"1941", "text": "Bob Hope gives his first USO show at California’s March Field." },
|
14
|
+
{ "day":"6", "month":"5", "year":"1942", "text": "General Jonathan Wainwright surrenders Corregidor to the Japanese." },
|
15
|
+
{ "day":"6", "month":"5", "year":"1944", "text": "The Red Army besieges and captures Sevastopol in the Crimea." },
|
16
|
+
{ "day":"6", "month":"5", "year":"1945", "text": "Axis Sally makes her final propaganda broadcast to Allied troops." },
|
17
|
+
{ "day":"6", "month":"5", "year":"1954", "text": "British runner Roger Banister breaks the four minute mile." },
|
18
|
+
{ "day":"6", "month":"5", "year":"1960", "text": "President Dwight D. Eisenhower signs the Civil Rights Act of 1960." },
|
19
|
+
{ "day":"6", "month":"5", "year":"1962", "text": "The first nuclear warhead is fired from a Polaris submarine." },
|
20
|
+
{ "day":"6", "month":"5", "year":"1994", "text": "The Channel Tunnel linking England to France is officially opened." }
|
21
|
+
]
|
22
|
+
}
|
23
|
+
]
|
data/data/5/7.json
ADDED
@@ -0,0 +1,26 @@
|
|
1
|
+
[
|
2
|
+
{
|
3
|
+
"facts":[
|
4
|
+
{ "day":"7", "month":"5", "year":"558", "text": "The dome of the church of St. Sophia in Constantinople collapses. Its immediate rebuilding is ordered by Justinian." },
|
5
|
+
{ "day":"7", "month":"5", "year":"1274", "text": "The Second Council of Lyons opens in France to regulate the election of the pope." },
|
6
|
+
{ "day":"7", "month":"5", "year":"1429", "text": "Joan of Arc breaks the English siege of Orleans." },
|
7
|
+
{ "day":"7", "month":"5", "year":"1525", "text": "The German peasants’ revolt is crushed by the ruling class and church." },
|
8
|
+
{ "day":"7", "month":"5", "year":"1763", "text": "Indian chief Pontiac begins his attack on a British fort in present-day Detroit, Michigan." },
|
9
|
+
{ "day":"7", "month":"5", "year":"1800", "text": "Congress divides the Northwest Territory into two parts. The western part will becomes the Indiana Territory and the eastern section remains the Northwest Territory." },
|
10
|
+
{ "day":"7", "month":"5", "year":"1824", "text": "Beethoven’s ]\"Ninth Symphony\" premiers in Vienna." },
|
11
|
+
{ "day":"7", "month":"5", "year":"1847", "text": "The American Medical Association is formed in Philadelphia." },
|
12
|
+
{ "day":"7", "month":"5", "year":"1862", "text": "Confederate troops strike Union troops at the Battle of Eltham’s Landing in Virginia." },
|
13
|
+
{ "day":"7", "month":"5", "year":"1864", "text": "The Battle of Wilderness ends with heavy losses to both sides." },
|
14
|
+
{ "day":"7", "month":"5", "year":"1877", "text": "Indian chief Sitting Bull enters Canada with a trail of Indians after the Battle of Little Big Horn." },
|
15
|
+
{ "day":"7", "month":"5", "year":"1915", "text": "The German submarine U-20 torpedoes the passenger ship Lusitiania, sinking her in 21 minutes with 1,978 people on board." },
|
16
|
+
{ "day":"7", "month":"5", "year":"1937", "text": "The German Condor Legion arrives in Spain to assist Fransico Franco’s forces." },
|
17
|
+
{ "day":"7", "month":"5", "year":"1942", "text": "In the Battle of the Coral Sea, Japanese and American navies attack each other with carrier-launched warplanes. It is the first time in the history of naval warfare where two fleets fought without seeing each other.Two crucial battles in 1942 marked the turning point of the war in the Pacific." },
|
18
|
+
{ "day":"7", "month":"5", "year":"1943", "text": "The last major German strongholds in North Africa–Tunis and Bizerte–fall to Allied forces." },
|
19
|
+
{ "day":"7", "month":"5", "year":"1945", "text": "Germany signs an unconditional surrender, effectively ending World War II in Europe." },
|
20
|
+
{ "day":"7", "month":"5", "year":"1952", "text": "In Korea, Communist POWs at Koje-do riot against their American captors." },
|
21
|
+
{ "day":"7", "month":"5", "year":"1954", "text": "French troops surrender to the Vietminh at Dien Bien Phu." },
|
22
|
+
{ "day":"7", "month":"5", "year":"1958", "text": "Howard Johnson sets an aircraft altitude record in F-104." },
|
23
|
+
{ "day":"7", "month":"5", "year":"1960", "text": "Leonid Brezhnev becomes president of the Soviet Union." }
|
24
|
+
]
|
25
|
+
}
|
26
|
+
]
|
data/data/5/8.json
ADDED
@@ -0,0 +1,26 @@
|
|
1
|
+
[
|
2
|
+
{
|
3
|
+
"facts":[
|
4
|
+
{ "day":"8", "month":"5", "year":"1450", "text": "Jack Cade’s Rebellion–Kentishmen revolt against King Henry VI." },
|
5
|
+
{ "day":"8", "month":"5", "year":"1541", "text": "Hernando de Soto discovers the Mississippi River which he calls Rio de Espiritu Santo." },
|
6
|
+
{ "day":"8", "month":"5", "year":"1559", "text": "An act of supremacy defines Queen Elizabeth I as the supreme governor of the church of England." },
|
7
|
+
{ "day":"8", "month":"5", "year":"1794", "text": "The United States Post Office is established." },
|
8
|
+
{ "day":"8", "month":"5", "year":"1846", "text": "The first major battle of the Mexican War is fought at Palo Alto, Texas." },
|
9
|
+
{ "day":"8", "month":"5", "year":"1862", "text": "General ‘Stonewall’ Jackson repulses the Federals at the Battle of McDowell, in the Shenendoah Valley." },
|
10
|
+
{ "day":"8", "month":"5", "year":"1864", "text": "Union troops arrive at Spotsylvania Court House to find the Confederates waiting for them." },
|
11
|
+
{ "day":"8", "month":"5", "year":"1886", "text": "Atlanta pharmacist John Pemberton invents Coca Cola." },
|
12
|
+
{ "day":"8", "month":"5", "year":"1895", "text": "China cedes Taiwan to Japan under Treaty of Shimonoseki." },
|
13
|
+
{ "day":"8", "month":"5", "year":"1904", "text": "U.S. Marines land in Tangier, North Africa, to protect the Belgian legation." },
|
14
|
+
{ "day":"8", "month":"5", "year":"1919", "text": "The first transatlantic flight by a navy seaplane takes-off." },
|
15
|
+
{ "day":"8", "month":"5", "year":"1933", "text": "Mahatma Gandhi—actual name Mohandas Karamchand Gandhi—begins a hunger strike to protest British oppression in India." },
|
16
|
+
{ "day":"8", "month":"5", "year":"1940", "text": "German commandos in Dutch uniforms cross the Dutch border to hold bridges for the advancing German army." },
|
17
|
+
{ "day":"8", "month":"5", "year":"1942", "text": "The Battle of the Coral Sea between the Japanese Navy and the U.S. Navy ends." },
|
18
|
+
{ "day":"8", "month":"5", "year":"1945", "text": "The final surrender of German forces is celebrated as VE (Victory Europe) day." },
|
19
|
+
{ "day":"8", "month":"5", "year":"1952", "text": "Allied fighter-bombers stage the largest raid of the war on North Korea." },
|
20
|
+
{ "day":"8", "month":"5", "year":"1958", "text": "President Eisenhower orders the National Guard out of Little Rock as Ernest Green becomes the first black to graduate from an Arkansas public school." },
|
21
|
+
{ "day":"8", "month":"5", "year":"1967", "text": "Boxer Muhammad Ali is indicted for refusing induction in U.S. Army." },
|
22
|
+
{ "day":"8", "month":"5", "year":"1984", "text": "The Soviet Union announces it will not participate in Summer Olympics planned for Los Angeles." },
|
23
|
+
{ "day":"8", "month":"5", "year":"1995", "text": "Jacques Chirac is elected president of France." }
|
24
|
+
]
|
25
|
+
}
|
26
|
+
]
|
data/data/5/9.json
ADDED
@@ -0,0 +1,18 @@
|
|
1
|
+
[
|
2
|
+
{
|
3
|
+
"facts":[
|
4
|
+
{ "day":"9", "month":"5", "year":"1502", "text": "Christopher Columbus leaves Spain on his final trip to New World." },
|
5
|
+
{ "day":"9", "month":"5", "year":"1754", "text": "The first newspaper cartoon in America appears." },
|
6
|
+
{ "day":"9", "month":"5", "year":"1813", "text": "U.S. troops under William Henry Harrison take Fort Meigs from British and Canadian troops." },
|
7
|
+
{ "day":"9", "month":"5", "year":"1864", "text": "Union General John Sedgwick is shot and killed by a Confederate sharpshooter during fighting at Spotsylvania. His last words are: \"They couldn’t hit an elephant at this dist–\"" },
|
8
|
+
{ "day":"9", "month":"5", "year":"1859", "text": "Threatened by the advancing French army, the Austrian army retreats across the River Sesia in Italy." },
|
9
|
+
{ "day":"9", "month":"5", "year":"1915", "text": "German and French forces fight the Battle of Artois." },
|
10
|
+
{ "day":"9", "month":"5", "year":"1926", "text": "Explorer Richard Byrd and Floyd Bennett make the first flight over the North Pole." },
|
11
|
+
{ "day":"9", "month":"5", "year":"1936", "text": "Fascist Italy captures the city of Addis Abba, Ethiopia and annexes the country." },
|
12
|
+
{ "day":"9", "month":"5", "year":"1941", "text": "The German submarine U-110 is captured at sea along with its Enigma machine by the Royal Navy." },
|
13
|
+
{ "day":"9", "month":"5", "year":"1946", "text": "King Victor Emmanuel II of Italy abdicates his throne and is replaced by Umberto." },
|
14
|
+
{ "day":"9", "month":"5", "year":"1962", "text": "A laser beam is successfully bounced off the moon for the first time." },
|
15
|
+
{ "day":"9", "month":"5", "year":"1974", "text": "The House Judiciary Committee begins formal hearings on Nixon impeachment." }
|
16
|
+
]
|
17
|
+
}
|
18
|
+
]
|
data/data/6/1.json
ADDED
@@ -0,0 +1,24 @@
|
|
1
|
+
[
|
2
|
+
{
|
3
|
+
"facts":[
|
4
|
+
{ "day":"1", "month":"6", "year":"193", "text": "The Roman emperor, Marcus Didius, is murdered in his palace." },
|
5
|
+
{ "day":"1", "month":"6", "year":"1533", "text": "Anne Boleyn, Henry VIII’s new queen, is crowned." },
|
6
|
+
{ "day":"1", "month":"6", "year":"1774", "text": "The British government orders the port of Boston closed." },
|
7
|
+
{ "day":"1", "month":"6", "year":"1789", "text": "The first U.S. congressional act on administering oaths becomes law." },
|
8
|
+
{ "day":"1", "month":"6", "year":"1812", "text": "American navy captain James Lawrence, mortally wounded in a naval engagement with the British, exhorts to the crew of his vessel, the Chesapeake, "Don’t give up the ship!"" },
|
9
|
+
{ "day":"1", "month":"6", "year":"1862", "text": "General Robert E. Lee assumes command of the Confederate army outside Richmond after General Joe Johnston is injured at Seven Pines." },
|
10
|
+
{ "day":"1", "month":"6", "year":"1864", "text": "The Battle of Cold Harbor, Virginia, begins as Confederate general Robert E. Lee tries to turn Union general Ulysses S. Grant’s flank." },
|
11
|
+
{ "day":"1", "month":"6", "year":"1868", "text": "James Buchanan, the 15th president of the United States, dies." },
|
12
|
+
{ "day":"1", "month":"6", "year":"1877", "text": "U.S. troops are authorized to pursue bandits into Mexico." },
|
13
|
+
{ "day":"1", "month":"6", "year":"1915", "text": "Germany conducts the first zeppelin air raid over England." },
|
14
|
+
{ "day":"1", "month":"6", "year":"1916", "text": "The National Defense Act increases the strength of the U.S. National Guard by 450,000 men." },
|
15
|
+
{ "day":"1", "month":"6", "year":"1921", "text": "A race riot erupts in Tulsa, Oklahoma, killing 85 people." },
|
16
|
+
{ "day":"1", "month":"6", "year":"1939", "text": "The Douglas DC-4 makes its first passenger flight from Chicago to New York." },
|
17
|
+
{ "day":"1", "month":"6", "year":"1941", "text": "The German Army completes the capture of Crete as the Allied evacuation ends." },
|
18
|
+
{ "day":"1", "month":"6", "year":"1942", "text": "America begins sending Lend-Lease materials to the Soviet Union." },
|
19
|
+
{ "day":"1", "month":"6", "year":"1958", "text": "Charles de Gaulle becomes premier of France." },
|
20
|
+
{ "day":"1", "month":"6", "year":"1963", "text": "Governor George Wallace vows to defy an injunction ordering integration of the University of Alabama." },
|
21
|
+
{ "day":"1", "month":"6", "year":"1978", "text": "The U.S. reports finding wiretaps in the American embassy in Moscow." }
|
22
|
+
]
|
23
|
+
}
|
24
|
+
]
|
data/data/6/2.json
ADDED
@@ -0,0 +1,24 @@
|
|
1
|
+
[
|
2
|
+
{
|
3
|
+
"facts":[
|
4
|
+
{ "day":"2", "month":"6", "year":"1537", "text": "Pope Paul III bans the enslavement of Indians in the New World." },
|
5
|
+
{ "day":"2", "month":"6", "year":"1774", "text": "The Quartering Act, requiring American colonists to allow British soldiers into their houses, is reenacted." },
|
6
|
+
{ "day":"2", "month":"6", "year":"1793", "text": "Maximillian Robespierre, a member of France’s Committee on Public Safety, initiates the \"Reign of Terror.\"" },
|
7
|
+
{ "day":"2", "month":"6", "year":"1818", "text": "The British army defeats the Maratha alliance in Bombay, India." },
|
8
|
+
{ "day":"2", "month":"6", "year":"1859", "text": "French forces cross the Ticino River." },
|
9
|
+
{ "day":"2", "month":"6", "year":"1865", "text": "At Galveston, Texas, Confederate general Edmund Kirby Smith surrenders the Trans-Mississippi Department to Union forces." },
|
10
|
+
{ "day":"2", "month":"6", "year":"1883", "text": "The first baseball game under electric lights is played in Fort Wayne, Indiana." },
|
11
|
+
{ "day":"2", "month":"6", "year":"1886", "text": "Grover Cleveland becomes the first American president to wed while in office." },
|
12
|
+
{ "day":"2", "month":"6", "year":"1910", "text": "Charles Stewart Rolls, one of the founders of Rolls-Royce, becomes the first man to fly an airplane nonstop across the English Channel both ways. Tragically, he becomes Britain’s first aircraft fatality the following month when his biplane breaks up in midair." },
|
13
|
+
{ "day":"2", "month":"6", "year":"1924", "text": "The United States grants full citizenship to American Indians." },
|
14
|
+
{ "day":"2", "month":"6", "year":"1928", "text": "Nationalist Chiang Kai-shek captures Peking, China, in a bloodless takeover." },
|
15
|
+
{ "day":"2", "month":"6", "year":"1942", "text": "The American aircraft carriers Enterprise, Hornet and Yorktown move into their battle positions for the Battle of Midway." },
|
16
|
+
{ "day":"2", "month":"6", "year":"1944", "text": "Allied \"shuttle bombing\" of Germany begins, with bombers departing from Italy and landing in the Soviet Union." },
|
17
|
+
{ "day":"2", "month":"6", "year":"1946", "text": "Italian citizens vote by referendum for a republic." },
|
18
|
+
{ "day":"2", "month":"6", "year":"1948", "text": "Jamaican-born track star Herb McKenley sets a new world record for the 400 yard dash." },
|
19
|
+
{ "day":"2", "month":"6", "year":"1953", "text": "Elizabeth II is crowned queen of England at Westminster Abbey." },
|
20
|
+
{ "day":"2", "month":"6", "year":"1954", "text": "Senator Joseph McCarthy charges that there are communists working in the CIA and atomic weapons plants." },
|
21
|
+
{ "day":"2", "month":"6", "year":"1969", "text": "The Australian aircraft carrier Melbourne slices the destroyer USS Frank E. Evans in half off the shore of South Vietnam." }
|
22
|
+
]
|
23
|
+
}
|
24
|
+
]
|
data/data/6/3.json
ADDED
@@ -0,0 +1,22 @@
|
|
1
|
+
[
|
2
|
+
{
|
3
|
+
"facts":[
|
4
|
+
{ "day":"3", "month":"6", "year":"1098", "text": "Christian Crusaders of the First Crusade seize Antioch, Turkey." },
|
5
|
+
{ "day":"3", "month":"6", "year":"1539", "text": "Hernando De Soto claims Florida for Spain." },
|
6
|
+
{ "day":"3", "month":"6", "year":"1861", "text": "Union troops defeat Confederate forces at Philippi, in western Virginia" },
|
7
|
+
{ "day":"3", "month":"6", "year":"1864", "text": "Some 7,000 Union troops are killed within 30 minutes during the Battle of Cold Harbor in Virginia." },
|
8
|
+
{ "day":"3", "month":"6", "year":"1888", "text": "The classic baseball poem \"Casey at the Bat,\" written by Ernest L. Thayer, is published in the San Francisco Examiner." },
|
9
|
+
{ "day":"3", "month":"6", "year":"1918", "text": "The Finnish Parliament ratifies a treaty with Germany." },
|
10
|
+
{ "day":"3", "month":"6", "year":"1923", "text": "In Italy, dictator Benito Mussolini grants women the right to vote." },
|
11
|
+
{ "day":"3", "month":"6", "year":"1928", "text": "Manchurian warlord Chian Tso-Lin dies as a result of a bomb blast set off by the Japanese." },
|
12
|
+
{ "day":"3", "month":"6", "year":"1938", "text": "The German Third Reich votes to confiscate so-called \"degenerate art.\"" },
|
13
|
+
{ "day":"3", "month":"6", "year":"1940", "text": "The German Luftwaffe hits Paris with 1,100 bombs." },
|
14
|
+
{ "day":"3", "month":"6", "year":"1942", "text": "Japanese carrier-based planes strafe Dutch Harbor in the Aleutian Islands as a diversion of the attack on Midway Island." },
|
15
|
+
{ "day":"3", "month":"6", "year":"1952", "text": "A rebellion by North Korean prisoners in the Koje prison camp in South Korea is put down by American troops." },
|
16
|
+
{ "day":"3", "month":"6", "year":"1965", "text": "Astronaut Edward White becomes the first American to walk in space when he exits the Gemini 4 space capsule." },
|
17
|
+
{ "day":"3", "month":"6", "year":"1969", "text": "74 American sailors died when the destroyer USS Frank E. Evans was cut in two by an Australian aircraft carrier in the South China Sea." },
|
18
|
+
{ "day":"3", "month":"6", "year":"1974", "text": "Charles Colson, an aide to President Richard Nixon, pleads guilty to obstruction of justice." },
|
19
|
+
{ "day":"3", "month":"6", "year":"1989", "text": "The Chinese government begins its crackdown on pro-democracy activists in Beijing’s Tiananmen Square. Hundreds are killed and thousands are arrested." }
|
20
|
+
]
|
21
|
+
}
|
22
|
+
]
|
data/data/6/4.json
ADDED
@@ -0,0 +1,25 @@
|
|
1
|
+
[
|
2
|
+
{
|
3
|
+
"facts":[
|
4
|
+
{ "day":"4", "month":"6", "year":"1615", "text": "The fortress at Osaka, Japan, falls to Shogun Leyasu after a six-month siege." },
|
5
|
+
{ "day":"4", "month":"6", "year":"1647", "text": "Parliamentary forces capture King Charles I and hold him prisoner." },
|
6
|
+
{ "day":"4", "month":"6", "year":"1717", "text": "The Freemasons are founded in London." },
|
7
|
+
{ "day":"4", "month":"6", "year":"1792", "text": "Captain George Vancouver claims Puget Sound for Britain." },
|
8
|
+
{ "day":"4", "month":"6", "year":"1794", "text": "British troops capture Port-au-Prince, Haiti." },
|
9
|
+
{ "day":"4", "month":"6", "year":"1805", "text": "Tripoli is forced to conclude peace with the United States after a conflict over tribute." },
|
10
|
+
{ "day":"4", "month":"6", "year":"1859", "text": "The French army, under Napoleon III, takes Magenta from the Austrian army." },
|
11
|
+
{ "day":"4", "month":"6", "year":"1864", "text": "Confederates under General Joseph Johnston retreat to the mountains in Georgia." },
|
12
|
+
{ "day":"4", "month":"6", "year":"1911", "text": "Gold is discovered in Alaska’s Indian Creek." },
|
13
|
+
{ "day":"4", "month":"6", "year":"1918", "text": "French and American troops halt Germany’s offensive at Chateau-Thierry, France." },
|
14
|
+
{ "day":"4", "month":"6", "year":"1919", "text": "The U.S. Senate passes the Women’s Suffrage bill." },
|
15
|
+
{ "day":"4", "month":"6", "year":"1940", "text": "British complete the evacuation of 300,000 troops at Dunkirk." },
|
16
|
+
{ "day":"4", "month":"6", "year":"1943", "text": "In Argentina, Juan Peron takes part in the military coup that overthrows Ramon S. Castillo." },
|
17
|
+
{ "day":"4", "month":"6", "year":"1944", "text": "The U-505 becomes the first enemy submarine captured by the U.S. Navy." },
|
18
|
+
{ "day":"4", "month":"6", "year":"1944", "text": "Allied troops liberate Rome." },
|
19
|
+
{ "day":"4", "month":"6", "year":"1946", "text": "Juan Peron is installed as Argentina’s president." },
|
20
|
+
{ "day":"4", "month":"6", "year":"1953", "text": "North Korea accepts the United Nations proposals in all major respects." },
|
21
|
+
{ "day":"4", "month":"6", "year":"1960", "text": "The Taiwan island of Quemoy is hit by 500 artillery shells fired from the coast of Communist China." },
|
22
|
+
{ "day":"4", "month":"6", "year":"1972", "text": "Black activist Angela Davis is found not guilty of murder, kidnapping, and criminal conspiracy." }
|
23
|
+
]
|
24
|
+
}
|
25
|
+
]
|
data/data/6/5.json
ADDED
@@ -0,0 +1,27 @@
|
|
1
|
+
[
|
2
|
+
{
|
3
|
+
"facts":[
|
4
|
+
{ "day":"5", "month":"6", "year":"1099", "text": "Members of the First Crusade witness an eclipse of the moon and interpret it as a sign they will recapture Jerusalem." },
|
5
|
+
{ "day":"5", "month":"6", "year":"1568", "text": "Ferdinand, the Duke of Alba, crushes the Calvinist insurrection in Ghent." },
|
6
|
+
{ "day":"5", "month":"6", "year":"1595", "text": "Henry IV’s army defeats the Spanish at the Battle of Fontaine-Francaise." },
|
7
|
+
{ "day":"5", "month":"6", "year":"1637", "text": "American settlers in New England massacre a Pequot Indian village." },
|
8
|
+
{ "day":"5", "month":"6", "year":"1783", "text": "Joseph and Jacques Montgolfier make the first public balloon flight." },
|
9
|
+
{ "day":"5", "month":"6", "year":"1794", "text": "The U.S. Congress prohibits citizens from serving in any foreign armed forces." },
|
10
|
+
{ "day":"5", "month":"6", "year":"1827", "text": "Athens falls to Ottoman forces." },
|
11
|
+
{ "day":"5", "month":"6", "year":"1851", "text": "Harriet Beecher Stow publishes the first installment of Uncle Tom’s Cabin in The National Era." },
|
12
|
+
{ "day":"5", "month":"6", "year":"1856", "text": "U.S. Army troops in the Four creeks region of California, head back to quarters, officially ending the Tule River War. Fighting, however, will continue for a few more years." },
|
13
|
+
{ "day":"5", "month":"6", "year":"1863", "text": "The Confederate raider CSS Alabama captures the Talisman in the Mid-Atlantic." },
|
14
|
+
{ "day":"5", "month":"6", "year":"1872", "text": "The Republican National Convention, the first major political party convention to includes blacks, commences." },
|
15
|
+
{ "day":"5", "month":"6", "year":"1880", "text": "Wild woman of the west Myra Maybelle Shirley marries Sam Starr even though records show she was already married to Bruce Younger." },
|
16
|
+
{ "day":"5", "month":"6", "year":"1900", "text": "British troops under Lord Roberts seize Pretoria from the Boers." },
|
17
|
+
{ "day":"5", "month":"6", "year":"1940", "text": "The German army begins its offensive in Southern France." },
|
18
|
+
{ "day":"5", "month":"6", "year":"1944", "text": "The first B-29 bombing raid strikes the Japanese rail line in Bangkok, Thailand." },
|
19
|
+
{ "day":"5", "month":"6", "year":"1947", "text": "Secretary of State George C. Marshall outlines \"The Marshall Plan,\" a program intended to assist European nations, including former enemies, to rebuild their economies." },
|
20
|
+
{ "day":"5", "month":"6", "year":"1956", "text": "Premier Nikita Khrushchev denounces Josef Stalin to the Soviet Communist Party Congress." },
|
21
|
+
{ "day":"5", "month":"6", "year":"1967", "text": "The Six-Day War between Israel and Egypt, Syria and Jordan begins." },
|
22
|
+
{ "day":"5", "month":"6", "year":"1968", "text": "Sirhan Sirhan shoots Democratic presidential candidate Robert F. Kennedy after Kennedy’s victory in the pivotal California primary election." },
|
23
|
+
{ "day":"5", "month":"6", "year":"1973", "text": "Doris A. Davis becomes the first African-American woman to govern a city in a major metropolitan area when she is elected mayor of Compton, California." },
|
24
|
+
{ "day":"5", "month":"6", "year":"2004", "text": "Former U.S. President Ronald Reagan dies at age 93. Reagan was the 40th president of the United States." }
|
25
|
+
]
|
26
|
+
}
|
27
|
+
]
|
@@ -0,0 +1,24 @@
|
|
1
|
+
# coding: utf-8
|
2
|
+
lib = File.expand_path('../lib', __FILE__)
|
3
|
+
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
|
4
|
+
require 'facts_by_date/version'
|
5
|
+
|
6
|
+
Gem::Specification.new do |spec|
|
7
|
+
spec.name = "facts_by_date"
|
8
|
+
spec.version = FactsByDate::VERSION
|
9
|
+
spec.authors = ["Vasilis Kalligas"]
|
10
|
+
spec.email = ["billkall@gmail.com"]
|
11
|
+
spec.summary = %q{A generator of facts for a specific date}
|
12
|
+
spec.description = %q{Generate facts of what happened today or for a given date}
|
13
|
+
spec.homepage = ""
|
14
|
+
spec.license = "MIT"
|
15
|
+
|
16
|
+
spec.files = `git ls-files -z`.split("\x0")
|
17
|
+
spec.executables = spec.files.grep(%r{^bin/}) { |f| File.basename(f) }
|
18
|
+
spec.test_files = spec.files.grep(%r{^(test|spec|features)/})
|
19
|
+
spec.require_paths = ["lib"]
|
20
|
+
|
21
|
+
spec.add_development_dependency 'bundler', '~> 1.7'
|
22
|
+
spec.add_development_dependency 'rake', '~> 10.0'
|
23
|
+
spec.add_development_dependency 'rspec'
|
24
|
+
end
|
@@ -0,0 +1,52 @@
|
|
1
|
+
require "facts_by_date/version"
|
2
|
+
|
3
|
+
module FactsByDate
|
4
|
+
class Generator
|
5
|
+
ROOT = File.expand_path("../..", __FILE__)
|
6
|
+
|
7
|
+
def self.facts_for_today(options = {})
|
8
|
+
converted_date = Date.today
|
9
|
+
facts = []
|
10
|
+
|
11
|
+
if File.exist?("#{ROOT}/data/#{converted_date.month}/#{converted_date.day}.json")
|
12
|
+
file = File.read("#{ROOT}/data/#{converted_date.month}/#{converted_date.day}.json")
|
13
|
+
data_hash = JSON.parse(file)
|
14
|
+
|
15
|
+
facts = data_hash[0]['facts']
|
16
|
+
|
17
|
+
# if size option is provided retrieve information only for that size
|
18
|
+
if options[:size].present?
|
19
|
+
facts.take(options[:size])
|
20
|
+
else
|
21
|
+
facts
|
22
|
+
end
|
23
|
+
else
|
24
|
+
[]
|
25
|
+
end
|
26
|
+
end
|
27
|
+
|
28
|
+
def self.facts_for_specific_date(date, options = {})
|
29
|
+
begin
|
30
|
+
converted_date = Date.parse(date)
|
31
|
+
|
32
|
+
if File.exist?("#{ROOT}/data/#{converted_date.month}/#{converted_date.day}.json")
|
33
|
+
file = File.read("#{ROOT}/data/#{converted_date.month}/#{converted_date.day}.json")
|
34
|
+
data_hash = JSON.parse(file)
|
35
|
+
|
36
|
+
facts = data_hash[0]['facts']
|
37
|
+
|
38
|
+
# if size option is provided retrieve information only for that size
|
39
|
+
if options[:size].present?
|
40
|
+
facts.take(options[:size])
|
41
|
+
else
|
42
|
+
facts
|
43
|
+
end
|
44
|
+
else
|
45
|
+
[]
|
46
|
+
end
|
47
|
+
rescue ArgumentError
|
48
|
+
[]
|
49
|
+
end
|
50
|
+
end
|
51
|
+
end
|
52
|
+
end
|
metadata
ADDED
@@ -0,0 +1,313 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: facts_by_date
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 1.0.0
|
5
|
+
platform: ruby
|
6
|
+
authors:
|
7
|
+
- Vasilis Kalligas
|
8
|
+
autorequire:
|
9
|
+
bindir: bin
|
10
|
+
cert_chain: []
|
11
|
+
date: 2015-12-31 00:00:00.000000000 Z
|
12
|
+
dependencies:
|
13
|
+
- !ruby/object:Gem::Dependency
|
14
|
+
name: bundler
|
15
|
+
requirement: !ruby/object:Gem::Requirement
|
16
|
+
requirements:
|
17
|
+
- - "~>"
|
18
|
+
- !ruby/object:Gem::Version
|
19
|
+
version: '1.7'
|
20
|
+
type: :development
|
21
|
+
prerelease: false
|
22
|
+
version_requirements: !ruby/object:Gem::Requirement
|
23
|
+
requirements:
|
24
|
+
- - "~>"
|
25
|
+
- !ruby/object:Gem::Version
|
26
|
+
version: '1.7'
|
27
|
+
- !ruby/object:Gem::Dependency
|
28
|
+
name: rake
|
29
|
+
requirement: !ruby/object:Gem::Requirement
|
30
|
+
requirements:
|
31
|
+
- - "~>"
|
32
|
+
- !ruby/object:Gem::Version
|
33
|
+
version: '10.0'
|
34
|
+
type: :development
|
35
|
+
prerelease: false
|
36
|
+
version_requirements: !ruby/object:Gem::Requirement
|
37
|
+
requirements:
|
38
|
+
- - "~>"
|
39
|
+
- !ruby/object:Gem::Version
|
40
|
+
version: '10.0'
|
41
|
+
- !ruby/object:Gem::Dependency
|
42
|
+
name: rspec
|
43
|
+
requirement: !ruby/object:Gem::Requirement
|
44
|
+
requirements:
|
45
|
+
- - ">="
|
46
|
+
- !ruby/object:Gem::Version
|
47
|
+
version: '0'
|
48
|
+
type: :development
|
49
|
+
prerelease: false
|
50
|
+
version_requirements: !ruby/object:Gem::Requirement
|
51
|
+
requirements:
|
52
|
+
- - ">="
|
53
|
+
- !ruby/object:Gem::Version
|
54
|
+
version: '0'
|
55
|
+
description: Generate facts of what happened today or for a given date
|
56
|
+
email:
|
57
|
+
- billkall@gmail.com
|
58
|
+
executables: []
|
59
|
+
extensions: []
|
60
|
+
extra_rdoc_files: []
|
61
|
+
files:
|
62
|
+
- ".gitignore"
|
63
|
+
- CHANGELOG.md
|
64
|
+
- Gemfile
|
65
|
+
- LICENSE.txt
|
66
|
+
- README.md
|
67
|
+
- Rakefile
|
68
|
+
- data/1/1.json
|
69
|
+
- data/1/10.json
|
70
|
+
- data/1/11.json
|
71
|
+
- data/1/12.json
|
72
|
+
- data/1/13.json
|
73
|
+
- data/1/14.json
|
74
|
+
- data/1/15.json
|
75
|
+
- data/1/16.json
|
76
|
+
- data/1/17.json
|
77
|
+
- data/1/18.json
|
78
|
+
- data/1/19.json
|
79
|
+
- data/1/2.json
|
80
|
+
- data/1/20.json
|
81
|
+
- data/1/21.json
|
82
|
+
- data/1/22.json
|
83
|
+
- data/1/23.json
|
84
|
+
- data/1/24.json
|
85
|
+
- data/1/25.json
|
86
|
+
- data/1/26.json
|
87
|
+
- data/1/27.json
|
88
|
+
- data/1/28.json
|
89
|
+
- data/1/29.json
|
90
|
+
- data/1/3.json
|
91
|
+
- data/1/30.json
|
92
|
+
- data/1/31.json
|
93
|
+
- data/1/4.json
|
94
|
+
- data/1/5.json
|
95
|
+
- data/1/6.json
|
96
|
+
- data/1/7.json
|
97
|
+
- data/1/8.json
|
98
|
+
- data/1/9.json
|
99
|
+
- data/11/1.json
|
100
|
+
- data/11/10.json
|
101
|
+
- data/11/11.json
|
102
|
+
- data/11/12.json
|
103
|
+
- data/11/13.json
|
104
|
+
- data/11/14.json
|
105
|
+
- data/11/15.json
|
106
|
+
- data/11/16.json
|
107
|
+
- data/11/17.json
|
108
|
+
- data/11/18.json
|
109
|
+
- data/11/19.json
|
110
|
+
- data/11/2.json
|
111
|
+
- data/11/20.json
|
112
|
+
- data/11/21.json
|
113
|
+
- data/11/22.json
|
114
|
+
- data/11/23.json
|
115
|
+
- data/11/24.json
|
116
|
+
- data/11/25.json
|
117
|
+
- data/11/26.json
|
118
|
+
- data/11/27.json
|
119
|
+
- data/11/28.json
|
120
|
+
- data/11/29.json
|
121
|
+
- data/11/3.json
|
122
|
+
- data/11/30.json
|
123
|
+
- data/11/4.json
|
124
|
+
- data/11/5.json
|
125
|
+
- data/11/6.json
|
126
|
+
- data/11/7.json
|
127
|
+
- data/11/8.json
|
128
|
+
- data/11/9.json
|
129
|
+
- data/12/1.json
|
130
|
+
- data/12/10.json
|
131
|
+
- data/12/11.json
|
132
|
+
- data/12/12.json
|
133
|
+
- data/12/13.json
|
134
|
+
- data/12/14.json
|
135
|
+
- data/12/15.json
|
136
|
+
- data/12/16.json
|
137
|
+
- data/12/17.json
|
138
|
+
- data/12/18.json
|
139
|
+
- data/12/19.json
|
140
|
+
- data/12/2.json
|
141
|
+
- data/12/20.json
|
142
|
+
- data/12/21.json
|
143
|
+
- data/12/22.json
|
144
|
+
- data/12/23.json
|
145
|
+
- data/12/24.json
|
146
|
+
- data/12/25.json
|
147
|
+
- data/12/26.json
|
148
|
+
- data/12/27.json
|
149
|
+
- data/12/28.json
|
150
|
+
- data/12/29.json
|
151
|
+
- data/12/3.json
|
152
|
+
- data/12/30.json
|
153
|
+
- data/12/31.json
|
154
|
+
- data/12/4.json
|
155
|
+
- data/12/5.json
|
156
|
+
- data/12/6.json
|
157
|
+
- data/12/7.json
|
158
|
+
- data/12/8.json
|
159
|
+
- data/12/9.json
|
160
|
+
- data/2/1.json
|
161
|
+
- data/2/10.json
|
162
|
+
- data/2/11.json
|
163
|
+
- data/2/12.json
|
164
|
+
- data/2/13.json
|
165
|
+
- data/2/14.json
|
166
|
+
- data/2/15.json
|
167
|
+
- data/2/16.json
|
168
|
+
- data/2/17.json
|
169
|
+
- data/2/18.json
|
170
|
+
- data/2/19.json
|
171
|
+
- data/2/2.json
|
172
|
+
- data/2/20.json
|
173
|
+
- data/2/21.json
|
174
|
+
- data/2/22.json
|
175
|
+
- data/2/23.json
|
176
|
+
- data/2/24.json
|
177
|
+
- data/2/25.json
|
178
|
+
- data/2/26.json
|
179
|
+
- data/2/27.json
|
180
|
+
- data/2/28.json
|
181
|
+
- data/2/29.json
|
182
|
+
- data/2/3.json
|
183
|
+
- data/2/4.json
|
184
|
+
- data/2/5.json
|
185
|
+
- data/2/6.json
|
186
|
+
- data/2/7.json
|
187
|
+
- data/2/8.json
|
188
|
+
- data/2/9.json
|
189
|
+
- data/3/1.json
|
190
|
+
- data/3/10.json
|
191
|
+
- data/3/11.json
|
192
|
+
- data/3/12.json
|
193
|
+
- data/3/13.json
|
194
|
+
- data/3/14.json
|
195
|
+
- data/3/15.json
|
196
|
+
- data/3/16.json
|
197
|
+
- data/3/17.json
|
198
|
+
- data/3/18.json
|
199
|
+
- data/3/19.json
|
200
|
+
- data/3/2.json
|
201
|
+
- data/3/20.json
|
202
|
+
- data/3/21.json
|
203
|
+
- data/3/22.json
|
204
|
+
- data/3/23.json
|
205
|
+
- data/3/24.json
|
206
|
+
- data/3/25.json
|
207
|
+
- data/3/26.json
|
208
|
+
- data/3/27.json
|
209
|
+
- data/3/28.json
|
210
|
+
- data/3/29.json
|
211
|
+
- data/3/3.json
|
212
|
+
- data/3/30.json
|
213
|
+
- data/3/31.json
|
214
|
+
- data/3/4.json
|
215
|
+
- data/3/5.json
|
216
|
+
- data/3/6.json
|
217
|
+
- data/3/7.json
|
218
|
+
- data/3/8.json
|
219
|
+
- data/3/9.json
|
220
|
+
- data/4/1.json
|
221
|
+
- data/4/10.json
|
222
|
+
- data/4/11.json
|
223
|
+
- data/4/12.json
|
224
|
+
- data/4/13.json
|
225
|
+
- data/4/14.json
|
226
|
+
- data/4/15.json
|
227
|
+
- data/4/16.json
|
228
|
+
- data/4/17.json
|
229
|
+
- data/4/18.json
|
230
|
+
- data/4/19.json
|
231
|
+
- data/4/2.json
|
232
|
+
- data/4/20.json
|
233
|
+
- data/4/21.json
|
234
|
+
- data/4/22.json
|
235
|
+
- data/4/23.json
|
236
|
+
- data/4/24.json
|
237
|
+
- data/4/25.json
|
238
|
+
- data/4/26.json
|
239
|
+
- data/4/27.json
|
240
|
+
- data/4/28.json
|
241
|
+
- data/4/29.json
|
242
|
+
- data/4/3.json
|
243
|
+
- data/4/30.json
|
244
|
+
- data/4/4.json
|
245
|
+
- data/4/5.json
|
246
|
+
- data/4/6.json
|
247
|
+
- data/4/7.json
|
248
|
+
- data/4/8.json
|
249
|
+
- data/4/9.json
|
250
|
+
- data/5/1.json
|
251
|
+
- data/5/10.json
|
252
|
+
- data/5/11.json
|
253
|
+
- data/5/12.json
|
254
|
+
- data/5/13.json
|
255
|
+
- data/5/14.json
|
256
|
+
- data/5/15.json
|
257
|
+
- data/5/16.json
|
258
|
+
- data/5/17.json
|
259
|
+
- data/5/18.json
|
260
|
+
- data/5/19.json
|
261
|
+
- data/5/2.json
|
262
|
+
- data/5/20.json
|
263
|
+
- data/5/21.json
|
264
|
+
- data/5/22.json
|
265
|
+
- data/5/23.json
|
266
|
+
- data/5/24.json
|
267
|
+
- data/5/25.json
|
268
|
+
- data/5/26.json
|
269
|
+
- data/5/27.json
|
270
|
+
- data/5/28.json
|
271
|
+
- data/5/29.json
|
272
|
+
- data/5/3.json
|
273
|
+
- data/5/30.json
|
274
|
+
- data/5/31.json
|
275
|
+
- data/5/4.json
|
276
|
+
- data/5/5.json
|
277
|
+
- data/5/6.json
|
278
|
+
- data/5/7.json
|
279
|
+
- data/5/8.json
|
280
|
+
- data/5/9.json
|
281
|
+
- data/6/1.json
|
282
|
+
- data/6/2.json
|
283
|
+
- data/6/3.json
|
284
|
+
- data/6/4.json
|
285
|
+
- data/6/5.json
|
286
|
+
- facts_by_date.gemspec
|
287
|
+
- lib/facts_by_date.rb
|
288
|
+
- lib/facts_by_date/version.rb
|
289
|
+
homepage: ''
|
290
|
+
licenses:
|
291
|
+
- MIT
|
292
|
+
metadata: {}
|
293
|
+
post_install_message:
|
294
|
+
rdoc_options: []
|
295
|
+
require_paths:
|
296
|
+
- lib
|
297
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
298
|
+
requirements:
|
299
|
+
- - ">="
|
300
|
+
- !ruby/object:Gem::Version
|
301
|
+
version: '0'
|
302
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
303
|
+
requirements:
|
304
|
+
- - ">="
|
305
|
+
- !ruby/object:Gem::Version
|
306
|
+
version: '0'
|
307
|
+
requirements: []
|
308
|
+
rubyforge_project:
|
309
|
+
rubygems_version: 2.4.8
|
310
|
+
signing_key:
|
311
|
+
specification_version: 4
|
312
|
+
summary: A generator of facts for a specific date
|
313
|
+
test_files: []
|