tech_radar 0.3.0 → 0.4.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/app/views/tech_radar/quadrants/show.html.erb +1 -1
- data/app/views/tech_radar/radar/index.html.erb +1 -1
- data/app/views/tech_radar/radar/summary.html.erb +2 -0
- data/app/views/tech_radar/rings/show.html.erb +1 -1
- data/app/views/tech_radar/technologies/index.html.erb +3 -1
- data/app/views/tech_radar/technologies/show.html.erb +11 -7
- data/lib/tech_radar/version.rb +1 -1
- data/test/dummy/log/test.log +67 -0
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: d2224cfe55718b943c46d7001d2884e773867693
|
4
|
+
data.tar.gz: 949e643af847049217e923e36380378f3c48d8ec
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b3655f6edf9ac5728cd07804fb1522b4db332c3a51235ba81b8b2c85cc2d49f9bb3b56fdb563c409c30919bba63aac8c986ec8577c1554b960f7a8aada981952
|
7
|
+
data.tar.gz: 05ee0a4a06a686d2babc1c0412e93bce90d917c55541cff00aacacd88adb8c210a62d9f13fe6710008d71777ecaa830a662ec2af1b710623265d84190a7080a3
|
@@ -1,3 +1,4 @@
|
|
1
|
+
<section class="tech-radar tech-radar-technologies">
|
1
2
|
<h1 class="h2">A-Z</h1>
|
2
3
|
<nav class="pagination">
|
3
4
|
<% ('A'..'Z').each do |letter| %>
|
@@ -7,8 +8,8 @@
|
|
7
8
|
<% @technologies.group_by { |technology| technology.name[0].upcase }.each do |letter,technologies| %>
|
8
9
|
<a name="<%= letter %>"></a>
|
9
10
|
<h2 class="h3"><%= letter %></h2>
|
11
|
+
<ul class="list-unstyled">
|
10
12
|
<% technologies.each do |technology| %>
|
11
|
-
<ul class="list-unstyled">
|
12
13
|
<li>
|
13
14
|
<h1 class="h4">
|
14
15
|
<%= link_to technology.name, technology_path(technology.name) %>
|
@@ -21,3 +22,4 @@
|
|
21
22
|
<% end %>
|
22
23
|
</ul>
|
23
24
|
<% end %>
|
25
|
+
</section>
|
@@ -1,4 +1,4 @@
|
|
1
|
-
<section>
|
1
|
+
<section class="tech-radar tech-radar-technology">
|
2
2
|
<h1>
|
3
3
|
<%= @technology.name %>
|
4
4
|
<small>
|
@@ -7,25 +7,29 @@
|
|
7
7
|
</small>
|
8
8
|
</h1>
|
9
9
|
<p class="lead"><%= @technology.purpose %></p>
|
10
|
-
<section>
|
10
|
+
<section class="tech-radar-technology-summary">
|
11
11
|
<% if @technology.more_details_url.blank? && @technology.more_details_summary.blank? %>
|
12
12
|
<p>
|
13
13
|
<%= link_to t("tech_radar.radar.technologies.more_details_url.google"), "https://www.google.com/search?q=#{@technology.name}", class: "btn btn-default" %>
|
14
14
|
</p>
|
15
15
|
<% else %>
|
16
16
|
<% if @technology.more_details_summary.present? %>
|
17
|
-
<p class="text-muted"
|
17
|
+
<p class="text-muted">
|
18
|
+
<%= render_summary(@technology.more_details_summary) %>
|
19
|
+
</p>
|
20
|
+
<% end %>
|
21
|
+
<% if @technology.more_details_url.present? %>
|
22
|
+
<p>
|
23
|
+
<%= link_to t("tech_radar.radar.technologies.more_details_url.link"), @technology.more_details_url, class: "btn btn-default" %>
|
24
|
+
</p>
|
18
25
|
<% end %>
|
19
|
-
<p>
|
20
|
-
<%= link_to t("tech_radar.radar.technologies.more_details_url.link"), @technology.more_details_url, class: "btn btn-default" %>
|
21
|
-
</p>
|
22
26
|
<% end %>
|
23
27
|
</section>
|
24
28
|
<section>
|
25
29
|
<hr>
|
26
30
|
<% if @technology.why_summary.present? %>
|
27
31
|
<p>
|
28
|
-
<span class="text-muted">
|
32
|
+
<span class="text-muted tech-radar-technology-why-summary">
|
29
33
|
<%= render_summary(@technology.why_summary) %>
|
30
34
|
</span>
|
31
35
|
<% if @technology.why_url.present? %>
|
data/lib/tech_radar/version.rb
CHANGED
data/test/dummy/log/test.log
CHANGED
@@ -400,3 +400,70 @@ TechRadar::RadarControllerTest: test_the_radar_summary_screen
|
|
400
400
|
Processing by TechRadar::RadarController#summary as HTML
|
401
401
|
Rendered /Users/davec/Projects/StitchFix/tech_radar/app/views/tech_radar/radar/summary.html.erb within layouts/application (35.4ms)
|
402
402
|
Completed 200 OK in 39ms (Views: 38.1ms)
|
403
|
+
-------------------------------------------------------------------------------------------------
|
404
|
+
TechRadar::TechnologiesControllerTest: test_show_with_no_more_details_url_or_more_details_summary
|
405
|
+
-------------------------------------------------------------------------------------------------
|
406
|
+
Processing by TechRadar::TechnologiesController#show as HTML
|
407
|
+
Parameters: {"id"=>"RabbitMQ"}
|
408
|
+
Rendered /Users/davec/Projects/StitchFix/tech_radar/app/views/tech_radar/technologies/show.html.erb within layouts/application (7.7ms)
|
409
|
+
Completed 200 OK in 311ms (Views: 304.5ms)
|
410
|
+
----------------------------------------------------------------------
|
411
|
+
TechRadar::TechnologiesControllerTest: test_show_with_more_details_url
|
412
|
+
----------------------------------------------------------------------
|
413
|
+
Processing by TechRadar::TechnologiesController#show as HTML
|
414
|
+
Parameters: {"id"=>"Resque"}
|
415
|
+
Rendered /Users/davec/Projects/StitchFix/tech_radar/app/views/tech_radar/technologies/show.html.erb within layouts/application (0.4ms)
|
416
|
+
Completed 200 OK in 3ms (Views: 1.5ms)
|
417
|
+
--------------------------------------------------------------------------------------------------------
|
418
|
+
TechRadar::TechnologiesControllerTest: test_show_with_no_more_details_url_but_has_a_more_details_summary
|
419
|
+
--------------------------------------------------------------------------------------------------------
|
420
|
+
Processing by TechRadar::TechnologiesController#show as HTML
|
421
|
+
Parameters: {"id"=>"Ruby"}
|
422
|
+
Rendered /Users/davec/Projects/StitchFix/tech_radar/app/views/tech_radar/technologies/show.html.erb within layouts/application (7.4ms)
|
423
|
+
Completed 200 OK in 11ms (Views: 8.8ms)
|
424
|
+
-------------------------------------------------
|
425
|
+
TechRadar::TechnologiesControllerTest: test_index
|
426
|
+
-------------------------------------------------
|
427
|
+
Processing by TechRadar::TechnologiesController#index as HTML
|
428
|
+
Rendered /Users/davec/Projects/StitchFix/tech_radar/app/views/tech_radar/technologies/index.html.erb within layouts/application (26.4ms)
|
429
|
+
Completed 200 OK in 31ms (Views: 29.3ms)
|
430
|
+
---------------------------------------------------------------------
|
431
|
+
TechRadar::RadarControllerTest: test_parent_app_can_override_messages
|
432
|
+
---------------------------------------------------------------------
|
433
|
+
Processing by TechRadar::RadarController#index as HTML
|
434
|
+
Rendered /Users/davec/Projects/StitchFix/tech_radar/app/views/tech_radar/radar/index.html.erb within layouts/application (18.9ms)
|
435
|
+
Completed 200 OK in 24ms (Views: 23.0ms)
|
436
|
+
-------------------------------------------------------------
|
437
|
+
TechRadar::RadarControllerTest: test_the_radar_summary_screen
|
438
|
+
-------------------------------------------------------------
|
439
|
+
Processing by TechRadar::RadarController#summary as HTML
|
440
|
+
Rendered /Users/davec/Projects/StitchFix/tech_radar/app/views/tech_radar/radar/summary.html.erb within layouts/application (34.4ms)
|
441
|
+
Completed 200 OK in 38ms (Views: 36.9ms)
|
442
|
+
-----------------------------------
|
443
|
+
TechRadar::RadarTest: test_quadrant
|
444
|
+
-----------------------------------
|
445
|
+
--------------------------------
|
446
|
+
TechRadar::RadarTest: test_rings
|
447
|
+
--------------------------------
|
448
|
+
-------------------------------------
|
449
|
+
TechRadar::RadarTest: test_technology
|
450
|
+
-------------------------------------
|
451
|
+
---------------------------------------
|
452
|
+
TechRadar::RadarTest: test_technologies
|
453
|
+
---------------------------------------
|
454
|
+
------------------------------------
|
455
|
+
TechRadar::RadarTest: test_quadrants
|
456
|
+
------------------------------------
|
457
|
+
---------------------------------------------
|
458
|
+
TechRadar::QuadrantsControllerTest: test_show
|
459
|
+
---------------------------------------------
|
460
|
+
Processing by TechRadar::QuadrantsController#show as HTML
|
461
|
+
Parameters: {"id"=>"Tools"}
|
462
|
+
Rendered /Users/davec/Projects/StitchFix/tech_radar/app/views/tech_radar/quadrants/show.html.erb within layouts/application (15.9ms)
|
463
|
+
Completed 200 OK in 21ms (Views: 19.6ms)
|
464
|
+
---------------------------------------
|
465
|
+
TechRadar::RenderingTest: test_markdown
|
466
|
+
---------------------------------------
|
467
|
+
----------------------------------------
|
468
|
+
TechRadar::RenderingTest: test_plaintext
|
469
|
+
----------------------------------------
|
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.
|
4
|
+
version: 0.4.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Stitch Fix Engineering
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2016-02-
|
12
|
+
date: 2016-02-17 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: rails
|