tech_radar 0.5.0 → 0.6.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 7e111da0bd6f0b8fb8a64f58695c680cf39012de
4
- data.tar.gz: b0718462b290d0e5a53e6175a42178e3363e59aa
3
+ metadata.gz: 21513b7777ca924a8cb3b4c8bcf51e308e052928
4
+ data.tar.gz: 9d8b4dd531779dda7175531395ede2cfe9171cfa
5
5
  SHA512:
6
- metadata.gz: f5167433bc2c99ced3066d2ec73b9914f7b9e13c4e9e4c694e36eac0a4dd64e902bcbf9391c3c29923087174aa8eea3a91969c619890350e4e9ecfad629b737a
7
- data.tar.gz: eb4f68766bb3c16fd78fba39f0380c96dd6cd5f601b021c39af85010dffb2aa300efa0fa47d3753680e00632047214e62e15323b5640ecb8ff208650efb03449
6
+ metadata.gz: eee2559ee469efb35674fbf8928c2b8af54661d1530f4b0a4625e5efe1fc0ad554f17aca58d5d2ad0c657ea8e937388a409ac8d3e691261be0f04f8065dd6235
7
+ data.tar.gz: 9050ec4e721fe645da6e982c22dbc7fea0ffb5c6862f68e50599a92fb000dfde3db8f409f74d917595ee2272d199ad8146bce48bfaa29cfb3229cbc0966f0a7f
@@ -0,0 +1,5 @@
1
+ require 'immutable-struct'
2
+
3
+ module TechRadar
4
+ end
5
+ TechRadar::Example = ImmutableStruct.new(:url, :title)
@@ -0,0 +1,5 @@
1
+ require 'immutable-struct'
2
+
3
+ module TechRadar
4
+ end
5
+ TechRadar::Expert = ImmutableStruct.new(:name, :email)
@@ -17,6 +17,22 @@ module TechRadar
17
17
  quadrant.each do |(ring,technologies)|
18
18
  by_ring[ring] ||= []
19
19
  (technologies || {}).each do |(name,data)|
20
+ experts = Array(data["experts"]).map { |name_or_hash|
21
+ if name_or_hash.kind_of?(String)
22
+ Expert.new(name: name_or_hash)
23
+ else
24
+ Expert.new(name: name_or_hash.fetch("name"), email: name_or_hash["email"])
25
+ end
26
+ }.sort_by(&:name)
27
+
28
+ examples = Array(data["examples"]).map { |url_or_hash|
29
+ if url_or_hash.kind_of?(String)
30
+ Example.new(url: url_or_hash)
31
+ else
32
+ Example.new(url: url_or_hash.fetch("url"), title: url_or_hash["title"])
33
+ end
34
+ }.sort_by { |example| example.title.to_s }
35
+
20
36
  by_ring[ring] << Technology.new(name: name,
21
37
  ring: ring,
22
38
  quadrant: quadrant_name,
@@ -25,8 +41,8 @@ module TechRadar
25
41
  more_details_summary: data["more_details_summary"],
26
42
  why_url: data["why_url"],
27
43
  tags: Array(data["tags"]).sort,
28
- experts: Array(data["experts"]).sort,
29
- examples: Array(data["examples"]).sort,
44
+ experts: experts,
45
+ examples: examples,
30
46
  why_summary: data["why_summary"])
31
47
  end
32
48
  end
@@ -1,3 +1,3 @@
1
1
  module TechRadar
2
- VERSION = "0.5.0"
2
+ VERSION = "0.6.0"
3
3
  end
@@ -87,11 +87,13 @@
87
87
  - scripting
88
88
  - cli
89
89
  examples:
90
- - http://rubyonrails.org
90
+ - url: http://rubyonrails.org
91
+ title: "Ruby on Rails Framework"
91
92
  - http://github.com/stitchfix/stitches
92
93
  experts:
93
94
  - Matz
94
- - Tenderlove
95
+ - name: Tenderlove
96
+ email: tl@example.com
95
97
  - DHH
96
98
  "Trial":
97
99
  CoffeeScript:
@@ -1620,3 +1620,559 @@ TechRadar::RadarTest: test_rings
1620
1620
  ------------------------------------
1621
1621
  TechRadar::RadarTest: test_quadrants
1622
1622
  ------------------------------------
1623
+ ---------------------------------------------------------------------
1624
+ TechRadar::RadarControllerTest: test_parent_app_can_override_messages
1625
+ ---------------------------------------------------------------------
1626
+ Processing by TechRadar::RadarController#index as HTML
1627
+ Rendering /Users/davec/Projects/StitchFix/tech_radar/app/views/tech_radar/radar/index.html.erb within layouts/application
1628
+ Rendered /Users/davec/Projects/StitchFix/tech_radar/app/views/tech_radar/radar/index.html.erb within layouts/application (11.6ms)
1629
+ Completed 500 Internal Server Error in 20ms
1630
+ -------------------------------------------------------------
1631
+ TechRadar::RadarControllerTest: test_the_radar_summary_screen
1632
+ -------------------------------------------------------------
1633
+ Processing by TechRadar::RadarController#summary as HTML
1634
+ Rendering /Users/davec/Projects/StitchFix/tech_radar/app/views/tech_radar/radar/summary.html.erb within layouts/application
1635
+ Rendered /Users/davec/Projects/StitchFix/tech_radar/app/views/tech_radar/radar/summary.html.erb within layouts/application (2.1ms)
1636
+ Completed 500 Internal Server Error in 5ms
1637
+ ---------------------------------------
1638
+ TechRadar::RadarTest: test_technologies
1639
+ ---------------------------------------
1640
+ -----------------------------------
1641
+ TechRadar::RadarTest: test_quadrant
1642
+ -----------------------------------
1643
+ ------------------------------------
1644
+ TechRadar::RadarTest: test_quadrants
1645
+ ------------------------------------
1646
+ -------------------------------------
1647
+ TechRadar::RadarTest: test_technology
1648
+ -------------------------------------
1649
+ -------------------------------
1650
+ TechRadar::RadarTest: test_tags
1651
+ -------------------------------
1652
+ --------------------------------
1653
+ TechRadar::RadarTest: test_rings
1654
+ --------------------------------
1655
+ ---------------------------------------
1656
+ TechRadar::RenderingTest: test_markdown
1657
+ ---------------------------------------
1658
+ ----------------------------------------
1659
+ TechRadar::RenderingTest: test_plaintext
1660
+ ----------------------------------------
1661
+ ----------------------------------------------------------------------
1662
+ TechRadar::TechnologiesControllerTest: test_show_with_more_details_url
1663
+ ----------------------------------------------------------------------
1664
+ Processing by TechRadar::TechnologiesController#show as HTML
1665
+ Parameters: {"id"=>"Resque"}
1666
+ Completed 500 Internal Server Error in 2ms
1667
+ --------------------------------------------------------------------------------------------------------
1668
+ TechRadar::TechnologiesControllerTest: test_show_with_no_more_details_url_but_has_a_more_details_summary
1669
+ --------------------------------------------------------------------------------------------------------
1670
+ Processing by TechRadar::TechnologiesController#show as HTML
1671
+ Parameters: {"id"=>"Ruby"}
1672
+ Completed 500 Internal Server Error in 2ms
1673
+ -------------------------------------------------
1674
+ TechRadar::TechnologiesControllerTest: test_index
1675
+ -------------------------------------------------
1676
+ Processing by TechRadar::TechnologiesController#index as HTML
1677
+ Completed 500 Internal Server Error in 2ms
1678
+ -------------------------------------------------------------------------------------------------
1679
+ TechRadar::TechnologiesControllerTest: test_show_with_no_more_details_url_or_more_details_summary
1680
+ -------------------------------------------------------------------------------------------------
1681
+ Processing by TechRadar::TechnologiesController#show as HTML
1682
+ Parameters: {"id"=>"RabbitMQ"}
1683
+ Completed 500 Internal Server Error in 2ms
1684
+ ---------------------------------------------
1685
+ TechRadar::QuadrantsControllerTest: test_show
1686
+ ---------------------------------------------
1687
+ Processing by TechRadar::QuadrantsController#show as HTML
1688
+ Parameters: {"id"=>"Tools"}
1689
+ Completed 500 Internal Server Error in 5ms
1690
+ ---------------------------------------
1691
+ TechRadar::RenderingTest: test_markdown
1692
+ ---------------------------------------
1693
+ ----------------------------------------
1694
+ TechRadar::RenderingTest: test_plaintext
1695
+ ----------------------------------------
1696
+ -------------------------------------------------
1697
+ TechRadar::TechnologiesControllerTest: test_index
1698
+ -------------------------------------------------
1699
+ Processing by TechRadar::TechnologiesController#index as HTML
1700
+ Completed 500 Internal Server Error in 5ms
1701
+ ----------------------------------------------------------------------
1702
+ TechRadar::TechnologiesControllerTest: test_show_with_more_details_url
1703
+ ----------------------------------------------------------------------
1704
+ Processing by TechRadar::TechnologiesController#show as HTML
1705
+ Parameters: {"id"=>"Resque"}
1706
+ Completed 500 Internal Server Error in 1ms
1707
+ -------------------------------------------------------------------------------------------------
1708
+ TechRadar::TechnologiesControllerTest: test_show_with_no_more_details_url_or_more_details_summary
1709
+ -------------------------------------------------------------------------------------------------
1710
+ Processing by TechRadar::TechnologiesController#show as HTML
1711
+ Parameters: {"id"=>"RabbitMQ"}
1712
+ Completed 500 Internal Server Error in 1ms
1713
+ --------------------------------------------------------------------------------------------------------
1714
+ TechRadar::TechnologiesControllerTest: test_show_with_no_more_details_url_but_has_a_more_details_summary
1715
+ --------------------------------------------------------------------------------------------------------
1716
+ Processing by TechRadar::TechnologiesController#show as HTML
1717
+ Parameters: {"id"=>"Ruby"}
1718
+ Completed 500 Internal Server Error in 3ms
1719
+ ---------------------------------------------
1720
+ TechRadar::QuadrantsControllerTest: test_show
1721
+ ---------------------------------------------
1722
+ Processing by TechRadar::QuadrantsController#show as HTML
1723
+ Parameters: {"id"=>"Tools"}
1724
+ Completed 500 Internal Server Error in 2ms
1725
+ ---------------------------------------
1726
+ TechRadar::RadarTest: test_technologies
1727
+ ---------------------------------------
1728
+ -----------------------------------
1729
+ TechRadar::RadarTest: test_quadrant
1730
+ -----------------------------------
1731
+ --------------------------------
1732
+ TechRadar::RadarTest: test_rings
1733
+ --------------------------------
1734
+ -------------------------------
1735
+ TechRadar::RadarTest: test_tags
1736
+ -------------------------------
1737
+ -------------------------------------
1738
+ TechRadar::RadarTest: test_technology
1739
+ -------------------------------------
1740
+ ------------------------------------
1741
+ TechRadar::RadarTest: test_quadrants
1742
+ ------------------------------------
1743
+ ---------------------------------------------------------------------
1744
+ TechRadar::RadarControllerTest: test_parent_app_can_override_messages
1745
+ ---------------------------------------------------------------------
1746
+ Processing by TechRadar::RadarController#index as HTML
1747
+ Rendering /Users/davec/Projects/StitchFix/tech_radar/app/views/tech_radar/radar/index.html.erb within layouts/application
1748
+ Rendered /Users/davec/Projects/StitchFix/tech_radar/app/views/tech_radar/radar/index.html.erb within layouts/application (9.6ms)
1749
+ Completed 500 Internal Server Error in 18ms
1750
+ -------------------------------------------------------------
1751
+ TechRadar::RadarControllerTest: test_the_radar_summary_screen
1752
+ -------------------------------------------------------------
1753
+ Processing by TechRadar::RadarController#summary as HTML
1754
+ Rendering /Users/davec/Projects/StitchFix/tech_radar/app/views/tech_radar/radar/summary.html.erb within layouts/application
1755
+ Rendered /Users/davec/Projects/StitchFix/tech_radar/app/views/tech_radar/radar/summary.html.erb within layouts/application (2.2ms)
1756
+ Completed 500 Internal Server Error in 9ms
1757
+ ---------------------------------------
1758
+ TechRadar::RenderingTest: test_markdown
1759
+ ---------------------------------------
1760
+ ----------------------------------------
1761
+ TechRadar::RenderingTest: test_plaintext
1762
+ ----------------------------------------
1763
+ ---------------------------------------------------------------------
1764
+ TechRadar::RadarControllerTest: test_parent_app_can_override_messages
1765
+ ---------------------------------------------------------------------
1766
+ Processing by TechRadar::RadarController#index as HTML
1767
+ Rendering /Users/davec/Projects/StitchFix/tech_radar/app/views/tech_radar/radar/index.html.erb within layouts/application
1768
+ Rendered /Users/davec/Projects/StitchFix/tech_radar/app/views/tech_radar/radar/index.html.erb within layouts/application (9.6ms)
1769
+ Completed 500 Internal Server Error in 21ms
1770
+ -------------------------------------------------------------
1771
+ TechRadar::RadarControllerTest: test_the_radar_summary_screen
1772
+ -------------------------------------------------------------
1773
+ Processing by TechRadar::RadarController#summary as HTML
1774
+ Rendering /Users/davec/Projects/StitchFix/tech_radar/app/views/tech_radar/radar/summary.html.erb within layouts/application
1775
+ Rendered /Users/davec/Projects/StitchFix/tech_radar/app/views/tech_radar/radar/summary.html.erb within layouts/application (3.5ms)
1776
+ Completed 500 Internal Server Error in 7ms
1777
+ ---------------------------------------------
1778
+ TechRadar::QuadrantsControllerTest: test_show
1779
+ ---------------------------------------------
1780
+ Processing by TechRadar::QuadrantsController#show as HTML
1781
+ Parameters: {"id"=>"Tools"}
1782
+ Completed 500 Internal Server Error in 2ms
1783
+ -------------------------------------------------
1784
+ TechRadar::TechnologiesControllerTest: test_index
1785
+ -------------------------------------------------
1786
+ Processing by TechRadar::TechnologiesController#index as HTML
1787
+ Completed 500 Internal Server Error in 1ms
1788
+ ----------------------------------------------------------------------
1789
+ TechRadar::TechnologiesControllerTest: test_show_with_more_details_url
1790
+ ----------------------------------------------------------------------
1791
+ Processing by TechRadar::TechnologiesController#show as HTML
1792
+ Parameters: {"id"=>"Resque"}
1793
+ Completed 500 Internal Server Error in 1ms
1794
+ -------------------------------------------------------------------------------------------------
1795
+ TechRadar::TechnologiesControllerTest: test_show_with_no_more_details_url_or_more_details_summary
1796
+ -------------------------------------------------------------------------------------------------
1797
+ Processing by TechRadar::TechnologiesController#show as HTML
1798
+ Parameters: {"id"=>"RabbitMQ"}
1799
+ Completed 500 Internal Server Error in 1ms
1800
+ --------------------------------------------------------------------------------------------------------
1801
+ TechRadar::TechnologiesControllerTest: test_show_with_no_more_details_url_but_has_a_more_details_summary
1802
+ --------------------------------------------------------------------------------------------------------
1803
+ Processing by TechRadar::TechnologiesController#show as HTML
1804
+ Parameters: {"id"=>"Ruby"}
1805
+ Completed 500 Internal Server Error in 1ms
1806
+ -------------------------------------
1807
+ TechRadar::RadarTest: test_technology
1808
+ -------------------------------------
1809
+ -------------------------------
1810
+ TechRadar::RadarTest: test_tags
1811
+ -------------------------------
1812
+ -----------------------------------
1813
+ TechRadar::RadarTest: test_quadrant
1814
+ -----------------------------------
1815
+ --------------------------------
1816
+ TechRadar::RadarTest: test_rings
1817
+ --------------------------------
1818
+ ------------------------------------
1819
+ TechRadar::RadarTest: test_quadrants
1820
+ ------------------------------------
1821
+ ---------------------------------------
1822
+ TechRadar::RadarTest: test_technologies
1823
+ ---------------------------------------
1824
+ ---------------------------------------
1825
+ TechRadar::RenderingTest: test_markdown
1826
+ ---------------------------------------
1827
+ ----------------------------------------
1828
+ TechRadar::RenderingTest: test_plaintext
1829
+ ----------------------------------------
1830
+ --------------------------------
1831
+ TechRadar::RadarTest: test_rings
1832
+ --------------------------------
1833
+ -------------------------------------
1834
+ TechRadar::RadarTest: test_technology
1835
+ -------------------------------------
1836
+ -------------------------------
1837
+ TechRadar::RadarTest: test_tags
1838
+ -------------------------------
1839
+ ---------------------------------------
1840
+ TechRadar::RadarTest: test_technologies
1841
+ ---------------------------------------
1842
+ -----------------------------------
1843
+ TechRadar::RadarTest: test_quadrant
1844
+ -----------------------------------
1845
+ ------------------------------------
1846
+ TechRadar::RadarTest: test_quadrants
1847
+ ------------------------------------
1848
+ ---------------------------------------------------------------------
1849
+ TechRadar::RadarControllerTest: test_parent_app_can_override_messages
1850
+ ---------------------------------------------------------------------
1851
+ Processing by TechRadar::RadarController#index as HTML
1852
+ Rendering /Users/davec/Projects/StitchFix/tech_radar/app/views/tech_radar/radar/index.html.erb within layouts/application
1853
+ Rendered /Users/davec/Projects/StitchFix/tech_radar/app/views/tech_radar/radar/index.html.erb within layouts/application (9.8ms)
1854
+ Completed 500 Internal Server Error in 16ms
1855
+ -------------------------------------------------------------
1856
+ TechRadar::RadarControllerTest: test_the_radar_summary_screen
1857
+ -------------------------------------------------------------
1858
+ Processing by TechRadar::RadarController#summary as HTML
1859
+ Rendering /Users/davec/Projects/StitchFix/tech_radar/app/views/tech_radar/radar/summary.html.erb within layouts/application
1860
+ Rendered /Users/davec/Projects/StitchFix/tech_radar/app/views/tech_radar/radar/summary.html.erb within layouts/application (2.1ms)
1861
+ Completed 500 Internal Server Error in 5ms
1862
+ -------------------------------------------------
1863
+ TechRadar::TechnologiesControllerTest: test_index
1864
+ -------------------------------------------------
1865
+ Processing by TechRadar::TechnologiesController#index as HTML
1866
+ Completed 500 Internal Server Error in 1ms
1867
+ --------------------------------------------------------------------------------------------------------
1868
+ TechRadar::TechnologiesControllerTest: test_show_with_no_more_details_url_but_has_a_more_details_summary
1869
+ --------------------------------------------------------------------------------------------------------
1870
+ Processing by TechRadar::TechnologiesController#show as HTML
1871
+ Parameters: {"id"=>"Ruby"}
1872
+ Completed 500 Internal Server Error in 1ms
1873
+ ----------------------------------------------------------------------
1874
+ TechRadar::TechnologiesControllerTest: test_show_with_more_details_url
1875
+ ----------------------------------------------------------------------
1876
+ Processing by TechRadar::TechnologiesController#show as HTML
1877
+ Parameters: {"id"=>"Resque"}
1878
+ Completed 500 Internal Server Error in 1ms
1879
+ -------------------------------------------------------------------------------------------------
1880
+ TechRadar::TechnologiesControllerTest: test_show_with_no_more_details_url_or_more_details_summary
1881
+ -------------------------------------------------------------------------------------------------
1882
+ Processing by TechRadar::TechnologiesController#show as HTML
1883
+ Parameters: {"id"=>"RabbitMQ"}
1884
+ Completed 500 Internal Server Error in 1ms
1885
+ ---------------------------------------------
1886
+ TechRadar::QuadrantsControllerTest: test_show
1887
+ ---------------------------------------------
1888
+ Processing by TechRadar::QuadrantsController#show as HTML
1889
+ Parameters: {"id"=>"Tools"}
1890
+ Completed 500 Internal Server Error in 1ms
1891
+ ------------------------------------
1892
+ TechRadar::RadarTest: test_quadrants
1893
+ ------------------------------------
1894
+ -------------------------------
1895
+ TechRadar::RadarTest: test_tags
1896
+ -------------------------------
1897
+ ---------------------------------------
1898
+ TechRadar::RadarTest: test_technologies
1899
+ ---------------------------------------
1900
+ --------------------------------
1901
+ TechRadar::RadarTest: test_rings
1902
+ --------------------------------
1903
+ -------------------------------------
1904
+ TechRadar::RadarTest: test_technology
1905
+ -------------------------------------
1906
+ -----------------------------------
1907
+ TechRadar::RadarTest: test_quadrant
1908
+ -----------------------------------
1909
+ ---------------------------------------------------------------------
1910
+ TechRadar::RadarControllerTest: test_parent_app_can_override_messages
1911
+ ---------------------------------------------------------------------
1912
+ Processing by TechRadar::RadarController#index as HTML
1913
+ Rendering /Users/davec/Projects/StitchFix/tech_radar/app/views/tech_radar/radar/index.html.erb within layouts/application
1914
+ Rendered /Users/davec/Projects/StitchFix/tech_radar/app/views/tech_radar/radar/index.html.erb within layouts/application (13.9ms)
1915
+ Completed 500 Internal Server Error in 19ms
1916
+ -------------------------------------------------------------
1917
+ TechRadar::RadarControllerTest: test_the_radar_summary_screen
1918
+ -------------------------------------------------------------
1919
+ Processing by TechRadar::RadarController#summary as HTML
1920
+ Rendering /Users/davec/Projects/StitchFix/tech_radar/app/views/tech_radar/radar/summary.html.erb within layouts/application
1921
+ Rendered /Users/davec/Projects/StitchFix/tech_radar/app/views/tech_radar/radar/summary.html.erb within layouts/application (2.4ms)
1922
+ Completed 500 Internal Server Error in 5ms
1923
+ ---------------------------------------
1924
+ TechRadar::RenderingTest: test_markdown
1925
+ ---------------------------------------
1926
+ ----------------------------------------
1927
+ TechRadar::RenderingTest: test_plaintext
1928
+ ----------------------------------------
1929
+ -------------------------------------------------
1930
+ TechRadar::TechnologiesControllerTest: test_index
1931
+ -------------------------------------------------
1932
+ Processing by TechRadar::TechnologiesController#index as HTML
1933
+ Completed 500 Internal Server Error in 1ms
1934
+ -------------------------------------------------------------------------------------------------
1935
+ TechRadar::TechnologiesControllerTest: test_show_with_no_more_details_url_or_more_details_summary
1936
+ -------------------------------------------------------------------------------------------------
1937
+ Processing by TechRadar::TechnologiesController#show as HTML
1938
+ Parameters: {"id"=>"RabbitMQ"}
1939
+ Completed 500 Internal Server Error in 2ms
1940
+ ----------------------------------------------------------------------
1941
+ TechRadar::TechnologiesControllerTest: test_show_with_more_details_url
1942
+ ----------------------------------------------------------------------
1943
+ Processing by TechRadar::TechnologiesController#show as HTML
1944
+ Parameters: {"id"=>"Resque"}
1945
+ Completed 500 Internal Server Error in 1ms
1946
+ --------------------------------------------------------------------------------------------------------
1947
+ TechRadar::TechnologiesControllerTest: test_show_with_no_more_details_url_but_has_a_more_details_summary
1948
+ --------------------------------------------------------------------------------------------------------
1949
+ Processing by TechRadar::TechnologiesController#show as HTML
1950
+ Parameters: {"id"=>"Ruby"}
1951
+ Completed 500 Internal Server Error in 1ms
1952
+ ---------------------------------------------
1953
+ TechRadar::QuadrantsControllerTest: test_show
1954
+ ---------------------------------------------
1955
+ Processing by TechRadar::QuadrantsController#show as HTML
1956
+ Parameters: {"id"=>"Tools"}
1957
+ Completed 500 Internal Server Error in 2ms
1958
+ ---------------------------------------------
1959
+ TechRadar::QuadrantsControllerTest: test_show
1960
+ ---------------------------------------------
1961
+ Processing by TechRadar::QuadrantsController#show as HTML
1962
+ Parameters: {"id"=>"Tools"}
1963
+ Rendering /Users/davec/Projects/StitchFix/tech_radar/app/views/tech_radar/quadrants/show.html.erb within layouts/application
1964
+ Rendered /Users/davec/Projects/StitchFix/tech_radar/app/views/tech_radar/quadrants/show.html.erb within layouts/application (5.9ms)
1965
+ Completed 200 OK in 350ms (Views: 339.8ms)
1966
+ ----------------------------------------
1967
+ TechRadar::RenderingTest: test_plaintext
1968
+ ----------------------------------------
1969
+ ---------------------------------------
1970
+ TechRadar::RenderingTest: test_markdown
1971
+ ---------------------------------------
1972
+ ---------------------------------------------------------------------
1973
+ TechRadar::RadarControllerTest: test_parent_app_can_override_messages
1974
+ ---------------------------------------------------------------------
1975
+ Processing by TechRadar::RadarController#index as HTML
1976
+ Rendering /Users/davec/Projects/StitchFix/tech_radar/app/views/tech_radar/radar/index.html.erb within layouts/application
1977
+ Rendered /Users/davec/Projects/StitchFix/tech_radar/app/views/tech_radar/radar/index.html.erb within layouts/application (3.9ms)
1978
+ Completed 200 OK in 7ms (Views: 4.9ms)
1979
+ -------------------------------------------------------------
1980
+ TechRadar::RadarControllerTest: test_the_radar_summary_screen
1981
+ -------------------------------------------------------------
1982
+ Processing by TechRadar::RadarController#summary as HTML
1983
+ Rendering /Users/davec/Projects/StitchFix/tech_radar/app/views/tech_radar/radar/summary.html.erb within layouts/application
1984
+ Rendered /Users/davec/Projects/StitchFix/tech_radar/app/views/tech_radar/radar/summary.html.erb within layouts/application (10.6ms)
1985
+ Completed 200 OK in 23ms (Views: 12.1ms)
1986
+ --------------------------------------------------------------------------------------------------------
1987
+ TechRadar::TechnologiesControllerTest: test_show_with_no_more_details_url_but_has_a_more_details_summary
1988
+ --------------------------------------------------------------------------------------------------------
1989
+ Processing by TechRadar::TechnologiesController#show as HTML
1990
+ Parameters: {"id"=>"Ruby"}
1991
+ Rendering /Users/davec/Projects/StitchFix/tech_radar/app/views/tech_radar/technologies/show.html.erb within layouts/application
1992
+ Rendered /Users/davec/Projects/StitchFix/tech_radar/app/views/tech_radar/technologies/show.html.erb within layouts/application (1.4ms)
1993
+ Completed 200 OK in 7ms (Views: 2.7ms)
1994
+ -------------------------------------------------
1995
+ TechRadar::TechnologiesControllerTest: test_index
1996
+ -------------------------------------------------
1997
+ Processing by TechRadar::TechnologiesController#index as HTML
1998
+ Rendering /Users/davec/Projects/StitchFix/tech_radar/app/views/tech_radar/technologies/index.html.erb within layouts/application
1999
+ Rendered /Users/davec/Projects/StitchFix/tech_radar/app/views/tech_radar/technologies/index.html.erb within layouts/application (3.8ms)
2000
+ Completed 200 OK in 12ms (Views: 5.4ms)
2001
+ ----------------------------------------------------------------------
2002
+ TechRadar::TechnologiesControllerTest: test_show_with_more_details_url
2003
+ ----------------------------------------------------------------------
2004
+ Processing by TechRadar::TechnologiesController#show as HTML
2005
+ Parameters: {"id"=>"Resque"}
2006
+ Rendering /Users/davec/Projects/StitchFix/tech_radar/app/views/tech_radar/technologies/show.html.erb within layouts/application
2007
+ Rendered /Users/davec/Projects/StitchFix/tech_radar/app/views/tech_radar/technologies/show.html.erb within layouts/application (0.4ms)
2008
+ Completed 200 OK in 4ms (Views: 1.8ms)
2009
+ -------------------------------------------------------------------------------------------------
2010
+ TechRadar::TechnologiesControllerTest: test_show_with_no_more_details_url_or_more_details_summary
2011
+ -------------------------------------------------------------------------------------------------
2012
+ Processing by TechRadar::TechnologiesController#show as HTML
2013
+ Parameters: {"id"=>"RabbitMQ"}
2014
+ Rendering /Users/davec/Projects/StitchFix/tech_radar/app/views/tech_radar/technologies/show.html.erb within layouts/application
2015
+ Rendered /Users/davec/Projects/StitchFix/tech_radar/app/views/tech_radar/technologies/show.html.erb within layouts/application (0.4ms)
2016
+ Completed 200 OK in 7ms (Views: 1.8ms)
2017
+ ------------------------------------
2018
+ TechRadar::RadarTest: test_quadrants
2019
+ ------------------------------------
2020
+ --------------------------------
2021
+ TechRadar::RadarTest: test_rings
2022
+ --------------------------------
2023
+ -----------------------------------
2024
+ TechRadar::RadarTest: test_quadrant
2025
+ -----------------------------------
2026
+ -------------------------------
2027
+ TechRadar::RadarTest: test_tags
2028
+ -------------------------------
2029
+ ---------------------------------------
2030
+ TechRadar::RadarTest: test_technologies
2031
+ ---------------------------------------
2032
+ -------------------------------------
2033
+ TechRadar::RadarTest: test_technology
2034
+ -------------------------------------
2035
+ -------------------------------------------------------------------------------------------------
2036
+ TechRadar::TechnologiesControllerTest: test_show_with_no_more_details_url_or_more_details_summary
2037
+ -------------------------------------------------------------------------------------------------
2038
+ Processing by TechRadar::TechnologiesController#show as HTML
2039
+ Parameters: {"id"=>"RabbitMQ"}
2040
+ Completed 500 Internal Server Error in 6ms
2041
+ -------------------------------------------------
2042
+ TechRadar::TechnologiesControllerTest: test_index
2043
+ -------------------------------------------------
2044
+ Processing by TechRadar::TechnologiesController#index as HTML
2045
+ Completed 500 Internal Server Error in 6ms
2046
+ ----------------------------------------------------------------------
2047
+ TechRadar::TechnologiesControllerTest: test_show_with_more_details_url
2048
+ ----------------------------------------------------------------------
2049
+ Processing by TechRadar::TechnologiesController#show as HTML
2050
+ Parameters: {"id"=>"Resque"}
2051
+ Completed 500 Internal Server Error in 2ms
2052
+ --------------------------------------------------------------------------------------------------------
2053
+ TechRadar::TechnologiesControllerTest: test_show_with_no_more_details_url_but_has_a_more_details_summary
2054
+ --------------------------------------------------------------------------------------------------------
2055
+ Processing by TechRadar::TechnologiesController#show as HTML
2056
+ Parameters: {"id"=>"Ruby"}
2057
+ Completed 500 Internal Server Error in 1ms
2058
+ ---------------------------------------------------------------------
2059
+ TechRadar::RadarControllerTest: test_parent_app_can_override_messages
2060
+ ---------------------------------------------------------------------
2061
+ Processing by TechRadar::RadarController#index as HTML
2062
+ Rendering /Users/davec/Projects/StitchFix/tech_radar/app/views/tech_radar/radar/index.html.erb within layouts/application
2063
+ Rendered /Users/davec/Projects/StitchFix/tech_radar/app/views/tech_radar/radar/index.html.erb within layouts/application (10.5ms)
2064
+ Completed 500 Internal Server Error in 19ms
2065
+ -------------------------------------------------------------
2066
+ TechRadar::RadarControllerTest: test_the_radar_summary_screen
2067
+ -------------------------------------------------------------
2068
+ Processing by TechRadar::RadarController#summary as HTML
2069
+ Rendering /Users/davec/Projects/StitchFix/tech_radar/app/views/tech_radar/radar/summary.html.erb within layouts/application
2070
+ Rendered /Users/davec/Projects/StitchFix/tech_radar/app/views/tech_radar/radar/summary.html.erb within layouts/application (2.3ms)
2071
+ Completed 500 Internal Server Error in 5ms
2072
+ --------------------------------
2073
+ TechRadar::RadarTest: test_rings
2074
+ --------------------------------
2075
+ -------------------------------
2076
+ TechRadar::RadarTest: test_tags
2077
+ -------------------------------
2078
+ ------------------------------------
2079
+ TechRadar::RadarTest: test_quadrants
2080
+ ------------------------------------
2081
+ ---------------------------------------
2082
+ TechRadar::RadarTest: test_technologies
2083
+ ---------------------------------------
2084
+ -------------------------------------
2085
+ TechRadar::RadarTest: test_technology
2086
+ -------------------------------------
2087
+ -----------------------------------
2088
+ TechRadar::RadarTest: test_quadrant
2089
+ -----------------------------------
2090
+ ---------------------------------------------
2091
+ TechRadar::QuadrantsControllerTest: test_show
2092
+ ---------------------------------------------
2093
+ Processing by TechRadar::QuadrantsController#show as HTML
2094
+ Parameters: {"id"=>"Tools"}
2095
+ Completed 500 Internal Server Error in 2ms
2096
+ ----------------------------------------
2097
+ TechRadar::RenderingTest: test_plaintext
2098
+ ----------------------------------------
2099
+ ---------------------------------------
2100
+ TechRadar::RenderingTest: test_markdown
2101
+ ---------------------------------------
2102
+ ---------------------------------------------
2103
+ TechRadar::QuadrantsControllerTest: test_show
2104
+ ---------------------------------------------
2105
+ Processing by TechRadar::QuadrantsController#show as HTML
2106
+ Parameters: {"id"=>"Tools"}
2107
+ Rendering /Users/davec/Projects/StitchFix/tech_radar/app/views/tech_radar/quadrants/show.html.erb within layouts/application
2108
+ Rendered /Users/davec/Projects/StitchFix/tech_radar/app/views/tech_radar/quadrants/show.html.erb within layouts/application (4.9ms)
2109
+ Completed 200 OK in 291ms (Views: 282.6ms)
2110
+ -----------------------------------
2111
+ TechRadar::RadarTest: test_quadrant
2112
+ -----------------------------------
2113
+ -------------------------------------
2114
+ TechRadar::RadarTest: test_technology
2115
+ -------------------------------------
2116
+ ---------------------------------------
2117
+ TechRadar::RadarTest: test_technologies
2118
+ ---------------------------------------
2119
+ --------------------------------
2120
+ TechRadar::RadarTest: test_rings
2121
+ --------------------------------
2122
+ ------------------------------------
2123
+ TechRadar::RadarTest: test_quadrants
2124
+ ------------------------------------
2125
+ -------------------------------
2126
+ TechRadar::RadarTest: test_tags
2127
+ -------------------------------
2128
+ ---------------------------------------
2129
+ TechRadar::RenderingTest: test_markdown
2130
+ ---------------------------------------
2131
+ ----------------------------------------
2132
+ TechRadar::RenderingTest: test_plaintext
2133
+ ----------------------------------------
2134
+ -------------------------------------------------------------------------------------------------
2135
+ TechRadar::TechnologiesControllerTest: test_show_with_no_more_details_url_or_more_details_summary
2136
+ -------------------------------------------------------------------------------------------------
2137
+ Processing by TechRadar::TechnologiesController#show as HTML
2138
+ Parameters: {"id"=>"RabbitMQ"}
2139
+ Rendering /Users/davec/Projects/StitchFix/tech_radar/app/views/tech_radar/technologies/show.html.erb within layouts/application
2140
+ Rendered /Users/davec/Projects/StitchFix/tech_radar/app/views/tech_radar/technologies/show.html.erb within layouts/application (0.8ms)
2141
+ Completed 200 OK in 5ms (Views: 1.9ms)
2142
+ --------------------------------------------------------------------------------------------------------
2143
+ TechRadar::TechnologiesControllerTest: test_show_with_no_more_details_url_but_has_a_more_details_summary
2144
+ --------------------------------------------------------------------------------------------------------
2145
+ Processing by TechRadar::TechnologiesController#show as HTML
2146
+ Parameters: {"id"=>"Ruby"}
2147
+ Rendering /Users/davec/Projects/StitchFix/tech_radar/app/views/tech_radar/technologies/show.html.erb within layouts/application
2148
+ Rendered /Users/davec/Projects/StitchFix/tech_radar/app/views/tech_radar/technologies/show.html.erb within layouts/application (0.2ms)
2149
+ Completed 200 OK in 2ms (Views: 0.9ms)
2150
+ -------------------------------------------------
2151
+ TechRadar::TechnologiesControllerTest: test_index
2152
+ -------------------------------------------------
2153
+ Processing by TechRadar::TechnologiesController#index as HTML
2154
+ Rendering /Users/davec/Projects/StitchFix/tech_radar/app/views/tech_radar/technologies/index.html.erb within layouts/application
2155
+ Rendered /Users/davec/Projects/StitchFix/tech_radar/app/views/tech_radar/technologies/index.html.erb within layouts/application (3.6ms)
2156
+ Completed 200 OK in 7ms (Views: 4.5ms)
2157
+ ----------------------------------------------------------------------
2158
+ TechRadar::TechnologiesControllerTest: test_show_with_more_details_url
2159
+ ----------------------------------------------------------------------
2160
+ Processing by TechRadar::TechnologiesController#show as HTML
2161
+ Parameters: {"id"=>"Resque"}
2162
+ Rendering /Users/davec/Projects/StitchFix/tech_radar/app/views/tech_radar/technologies/show.html.erb within layouts/application
2163
+ Rendered /Users/davec/Projects/StitchFix/tech_radar/app/views/tech_radar/technologies/show.html.erb within layouts/application (0.3ms)
2164
+ Completed 200 OK in 3ms (Views: 1.2ms)
2165
+ ---------------------------------------------------------------------
2166
+ TechRadar::RadarControllerTest: test_parent_app_can_override_messages
2167
+ ---------------------------------------------------------------------
2168
+ Processing by TechRadar::RadarController#index as HTML
2169
+ Rendering /Users/davec/Projects/StitchFix/tech_radar/app/views/tech_radar/radar/index.html.erb within layouts/application
2170
+ Rendered /Users/davec/Projects/StitchFix/tech_radar/app/views/tech_radar/radar/index.html.erb within layouts/application (4.0ms)
2171
+ Completed 200 OK in 7ms (Views: 5.1ms)
2172
+ -------------------------------------------------------------
2173
+ TechRadar::RadarControllerTest: test_the_radar_summary_screen
2174
+ -------------------------------------------------------------
2175
+ Processing by TechRadar::RadarController#summary as HTML
2176
+ Rendering /Users/davec/Projects/StitchFix/tech_radar/app/views/tech_radar/radar/summary.html.erb within layouts/application
2177
+ Rendered /Users/davec/Projects/StitchFix/tech_radar/app/views/tech_radar/radar/summary.html.erb within layouts/application (9.9ms)
2178
+ Completed 200 OK in 14ms (Views: 10.9ms)
@@ -47,9 +47,18 @@ module TechRadar
47
47
  assert_equal "https://www.ruby-lang.org/en/" , technology.more_details_url
48
48
  assert_equal "Middleware Programming" , technology.purpose
49
49
  assert_equal ["cli", "middleware", "scripting"], technology.tags
50
- assert_equal ["DHH", "Matz", "Tenderlove"] , technology.experts
51
- assert_equal ["http://github.com/stitchfix/stitches",
52
- "http://rubyonrails.org" ] , technology.examples
50
+
51
+ assert_equal "DHH", technology.experts[0].name
52
+ assert_nil technology.experts[0].email
53
+ assert_equal "Matz", technology.experts[1].name
54
+ assert_nil technology.experts[1].email
55
+ assert_equal "Tenderlove", technology.experts[2].name
56
+ assert_equal "tl@example.com", technology.experts[2].email
57
+
58
+ assert_equal "http://github.com/stitchfix/stitches", technology.examples[0].url
59
+ assert_nil technology.examples[0].title
60
+ assert_equal "http://rubyonrails.org", technology.examples[1].url
61
+ assert_equal "Ruby on Rails Framework", technology.examples[1].title
53
62
 
54
63
  assert_nil technology.why_url
55
64
  assert_nil technology.why_summary
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: tech_radar
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.5.0
4
+ version: 0.6.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Stitch Fix Engineering
@@ -99,6 +99,8 @@ files:
99
99
  - app/controllers/tech_radar/rings_controller.rb
100
100
  - app/controllers/tech_radar/technologies_controller.rb
101
101
  - app/helpers/tech_radar/application_helper.rb
102
+ - app/models/tech_radar/example.rb
103
+ - app/models/tech_radar/expert.rb
102
104
  - app/models/tech_radar/quadrant.rb
103
105
  - app/models/tech_radar/radar.rb
104
106
  - app/models/tech_radar/rendering.rb