tech_radar 0.0.1 → 0.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: f92f0d8e4378abea9c9f36ba5cc9030f3862ba62
4
- data.tar.gz: c37c4ed72982c67fb15618e9704764c4902f3247
3
+ metadata.gz: 8127dab4fa35ed368cb615f1490777362788c445
4
+ data.tar.gz: 5c4c360e4481976ed19ba57bf13a5b851e6bd0dc
5
5
  SHA512:
6
- metadata.gz: c9f2c634329b975dac202f4f57f995c30fc4a4aea59875e90f10d2dac128820535ad6370ff651d1bb002863fe0ada06ef27452d002cd21453e61977fb899dfbd
7
- data.tar.gz: d314b3d87426a909bc2f048a3ef69b8141cfed49c78e3b981ac372e50d0bb8cdc777b4632b9fef421540afb23c34260371de9a62450401e028bdf653cd4cce3a
6
+ metadata.gz: 4f029c2b4f801e8b6ff7ab43c7f6353b6ecf83ee42c852471c25ef858108a23a1b6029865b41acb3887de6eefd1868fe989750adfa9c951bcd4581ede817bc6a
7
+ data.tar.gz: a70a345c6cb1b0d6be8298ebab075b76e0862bd7152a418ec0143cee7bc8f5ec3fcf3280bf3445a62b03dda8f8f5396324864989a782627f00cdb9107bcd7205
@@ -17,7 +17,14 @@ module TechRadar
17
17
  quadrant.each do |(ring,technologies)|
18
18
  by_ring[ring] ||= []
19
19
  (technologies || {}).each do |(name,data)|
20
- by_ring[ring] << mk_technology(name,ring,quadrant_name,data)
20
+ by_ring[ring] << Technology.new(name: name,
21
+ ring: ring,
22
+ quadrant: quadrant_name,
23
+ purpose: data["purpose"],
24
+ more_details_url: data["more_details_url"],
25
+ more_details_summary: data["more_details_summary"],
26
+ why_url: data["why_url"],
27
+ why_summary: data["why_summary"])
21
28
  end
22
29
  end
23
30
  TechRadar::Quadrant.new(
@@ -46,18 +53,5 @@ module TechRadar
46
53
  technologies.detect { |technology| technology.name == name }
47
54
  end
48
55
 
49
- private
50
-
51
- def mk_technology(name,ring,quadrant,data)
52
- puts data.inspect if name == 'api_client'
53
- Technology.new(name: name,
54
- ring: ring,
55
- quadrant: quadrant,
56
- more_details_url: data["more_details_url"],
57
- why_url: data["why_url"],
58
- purpose: data["purpose"],
59
- why_summary: data["why_summary"])
60
- end
61
-
62
56
  end
63
57
  end
@@ -2,4 +2,4 @@ require 'immutable-struct'
2
2
 
3
3
  module TechRadar
4
4
  end
5
- TechRadar::Technology = ImmutableStruct.new(:name, :ring, :quadrant, :purpose, :why_summary, :more_details_url, :why_url)
5
+ TechRadar::Technology = ImmutableStruct.new(:name, :ring, :quadrant, :purpose, :why_summary, :why_url, :more_details_summary, :more_details_url)
@@ -8,11 +8,14 @@
8
8
  </h1>
9
9
  <p class="lead"><%= @technology.purpose %></p>
10
10
  <section>
11
- <% if @technology.more_details_url.blank? %>
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
+ <% if @technology.more_details_summary.present? %>
17
+ <p><%= @technology.more_details_summary %></p>
18
+ <% end %>
16
19
  <p>
17
20
  <%= link_to t("tech_radar.radar.technologies.more_details_url.link"), @technology.more_details_url, class: "btn btn-default" %>
18
21
  </p>
@@ -1,3 +1,3 @@
1
1
  module TechRadar
2
- VERSION = "0.0.1"
2
+ VERSION = "0.1.0"
3
3
  end
@@ -34,10 +34,26 @@ module TechRadar
34
34
  assert (response.body =~ regexp),"Expected #{response.body} to include the technologies in order"
35
35
  end
36
36
 
37
- test "show" do
37
+ test "show with no more_details_url or more_details_summary" do
38
+ get :show, id: "RabbitMQ"
39
+ assert_response :success
40
+ assert response.body.include?("RabbitMQ"),"Expected #{response.body} to include 'RabbitMQ'"
41
+ assert response.body.include?("Google"),"Expected #{response.body} to include a link to a Google search"
42
+ end
43
+
44
+ test "show with no more_details_url but has a more_details_summary" do
45
+ get :show, id: "Ruby"
46
+ assert_response :success
47
+ assert response.body.include?("Ruby"),"Expected #{response.body} to include 'Ruby'"
48
+ refute response.body.include?("Google"),"Expected #{response.body} NOT to include a link to a Google search"
49
+ assert response.body.include?("object-oriented"),"Expected #{response.body} to include Ruby's summary"
50
+ end
51
+
52
+ test "show with more_details_url" do
38
53
  get :show, id: "Resque"
39
54
  assert_response :success
40
55
  assert response.body.include?("Resque"),"Expected #{response.body} to include 'Resque'"
56
+ refute response.body.include?("Google"),"Expected #{response.body} NOT to include a link to a Google search"
41
57
  end
42
58
 
43
59
  end
@@ -77,6 +77,7 @@
77
77
  Ruby:
78
78
  purpose: Middleware Programming
79
79
  more_details_url: https://www.ruby-lang.org/en/
80
+ more_details_summary: "Ruby is a dynamic, object-oriented programming language that combines ideas from Smalltalk, Perl, and others"
80
81
  "Trial":
81
82
  CoffeeScript:
82
83
  purpose: Browser Programming
@@ -3012,3 +3012,599 @@ Processing by TechRadar::QuadrantsController#show as HTML
3012
3012
  Parameters: {"id"=>"Tools"}
3013
3013
  Rendered /Users/davec/Projects/StitchFix/tech_radar/app/views/tech_radar/quadrants/show.html.erb within layouts/application (15.3ms)
3014
3014
  Completed 200 OK in 20ms (Views: 18.7ms)
3015
+ ---------------------------------------------
3016
+ TechRadar::QuadrantsControllerTest: test_show
3017
+ ---------------------------------------------
3018
+ Processing by TechRadar::QuadrantsController#show as HTML
3019
+ Parameters: {"id"=>"Tools"}
3020
+ Rendered /Users/davec/Projects/StitchFix/tech_radar/app/views/tech_radar/quadrants/show.html.erb within layouts/application (23.3ms)
3021
+ Completed 200 OK in 161ms (Views: 154.6ms)
3022
+ -----------------------------------
3023
+ TechRadar::RadarTest: test_quadrant
3024
+ -----------------------------------
3025
+ --------------------------------
3026
+ TechRadar::RadarTest: test_rings
3027
+ --------------------------------
3028
+ -------------------------------------
3029
+ TechRadar::RadarTest: test_technology
3030
+ -------------------------------------
3031
+ ---------------------------------------
3032
+ TechRadar::RadarTest: test_technologies
3033
+ ---------------------------------------
3034
+ ------------------------------------
3035
+ TechRadar::RadarTest: test_quadrants
3036
+ ------------------------------------
3037
+ ---------------------------------------------------------------------
3038
+ TechRadar::RadarControllerTest: test_parent_app_can_override_messages
3039
+ ---------------------------------------------------------------------
3040
+ Processing by TechRadar::RadarController#index as HTML
3041
+ Rendered /Users/davec/Projects/StitchFix/tech_radar/app/views/tech_radar/radar/index.html.erb within layouts/application (14.6ms)
3042
+ Completed 200 OK in 20ms (Views: 18.8ms)
3043
+ -------------------------------------------------------------
3044
+ TechRadar::RadarControllerTest: test_the_radar_summary_screen
3045
+ -------------------------------------------------------------
3046
+ Processing by TechRadar::RadarController#summary as HTML
3047
+ Rendered /Users/davec/Projects/StitchFix/tech_radar/app/views/tech_radar/radar/summary.html.erb within layouts/application (23.0ms)
3048
+ Completed 200 OK in 27ms (Views: 25.5ms)
3049
+ -------------------------------------------------
3050
+ TechRadar::TechnologiesControllerTest: test_index
3051
+ -------------------------------------------------
3052
+ Processing by TechRadar::TechnologiesController#index as HTML
3053
+ Rendered /Users/davec/Projects/StitchFix/tech_radar/app/views/tech_radar/technologies/index.html.erb within layouts/application (21.5ms)
3054
+ Completed 200 OK in 27ms (Views: 25.4ms)
3055
+ ------------------------------------------------
3056
+ TechRadar::TechnologiesControllerTest: test_show
3057
+ ------------------------------------------------
3058
+ Processing by TechRadar::TechnologiesController#show as HTML
3059
+ Parameters: {"id"=>"Resque"}
3060
+ Rendered /Users/davec/Projects/StitchFix/tech_radar/app/views/tech_radar/technologies/show.html.erb within layouts/application (0.9ms)
3061
+ Completed 200 OK in 5ms (Views: 3.3ms)
3062
+ ---------------------------------------------------------------------
3063
+ TechRadar::RadarControllerTest: test_parent_app_can_override_messages
3064
+ ---------------------------------------------------------------------
3065
+ Processing by TechRadar::RadarController#index as HTML
3066
+ Completed 500 Internal Server Error in 3ms
3067
+ -------------------------------------------------------------
3068
+ TechRadar::RadarControllerTest: test_the_radar_summary_screen
3069
+ -------------------------------------------------------------
3070
+ Processing by TechRadar::RadarController#summary as HTML
3071
+ Completed 500 Internal Server Error in 1ms
3072
+ -------------------------------------------------
3073
+ TechRadar::TechnologiesControllerTest: test_index
3074
+ -------------------------------------------------
3075
+ Processing by TechRadar::TechnologiesController#index as HTML
3076
+ Completed 500 Internal Server Error in 1ms
3077
+ ------------------------------------------------
3078
+ TechRadar::TechnologiesControllerTest: test_show
3079
+ ------------------------------------------------
3080
+ Processing by TechRadar::TechnologiesController#show as HTML
3081
+ Parameters: {"id"=>"Resque"}
3082
+ Completed 500 Internal Server Error in 1ms
3083
+ ---------------------------------------------
3084
+ TechRadar::QuadrantsControllerTest: test_show
3085
+ ---------------------------------------------
3086
+ Processing by TechRadar::QuadrantsController#show as HTML
3087
+ Parameters: {"id"=>"Tools"}
3088
+ Completed 500 Internal Server Error in 1ms
3089
+ ---------------------------------------
3090
+ TechRadar::RadarTest: test_technologies
3091
+ ---------------------------------------
3092
+ ------------------------------------
3093
+ TechRadar::RadarTest: test_quadrants
3094
+ ------------------------------------
3095
+ --------------------------------
3096
+ TechRadar::RadarTest: test_rings
3097
+ --------------------------------
3098
+ -----------------------------------
3099
+ TechRadar::RadarTest: test_quadrant
3100
+ -----------------------------------
3101
+ -------------------------------------
3102
+ TechRadar::RadarTest: test_technology
3103
+ -------------------------------------
3104
+ -------------------------------------
3105
+ TechRadar::RadarTest: test_technology
3106
+ -------------------------------------
3107
+ ------------------------------------
3108
+ TechRadar::RadarTest: test_quadrants
3109
+ ------------------------------------
3110
+ -----------------------------------
3111
+ TechRadar::RadarTest: test_quadrant
3112
+ -----------------------------------
3113
+ ---------------------------------------
3114
+ TechRadar::RadarTest: test_technologies
3115
+ ---------------------------------------
3116
+ --------------------------------
3117
+ TechRadar::RadarTest: test_rings
3118
+ --------------------------------
3119
+ ---------------------------------------------------------------------
3120
+ TechRadar::RadarControllerTest: test_parent_app_can_override_messages
3121
+ ---------------------------------------------------------------------
3122
+ Processing by TechRadar::RadarController#index as HTML
3123
+ Rendered /Users/davec/Projects/StitchFix/tech_radar/app/views/tech_radar/radar/index.html.erb within layouts/application (21.0ms)
3124
+ Completed 200 OK in 157ms (Views: 152.9ms)
3125
+ -------------------------------------------------------------
3126
+ TechRadar::RadarControllerTest: test_the_radar_summary_screen
3127
+ -------------------------------------------------------------
3128
+ Processing by TechRadar::RadarController#summary as HTML
3129
+ Rendered /Users/davec/Projects/StitchFix/tech_radar/app/views/tech_radar/radar/summary.html.erb within layouts/application (21.7ms)
3130
+ Completed 200 OK in 25ms (Views: 23.7ms)
3131
+ ---------------------------------------------
3132
+ TechRadar::QuadrantsControllerTest: test_show
3133
+ ---------------------------------------------
3134
+ Processing by TechRadar::QuadrantsController#show as HTML
3135
+ Parameters: {"id"=>"Tools"}
3136
+ Rendered /Users/davec/Projects/StitchFix/tech_radar/app/views/tech_radar/quadrants/show.html.erb within layouts/application (15.3ms)
3137
+ Completed 200 OK in 21ms (Views: 19.4ms)
3138
+ -------------------------------------------------
3139
+ TechRadar::TechnologiesControllerTest: test_index
3140
+ -------------------------------------------------
3141
+ Processing by TechRadar::TechnologiesController#index as HTML
3142
+ Rendered /Users/davec/Projects/StitchFix/tech_radar/app/views/tech_radar/technologies/index.html.erb within layouts/application (21.1ms)
3143
+ Completed 200 OK in 26ms (Views: 24.7ms)
3144
+ ------------------------------------------------
3145
+ TechRadar::TechnologiesControllerTest: test_show
3146
+ ------------------------------------------------
3147
+ Processing by TechRadar::TechnologiesController#show as HTML
3148
+ Parameters: {"id"=>"Resque"}
3149
+ Rendered /Users/davec/Projects/StitchFix/tech_radar/app/views/tech_radar/technologies/show.html.erb within layouts/application (0.9ms)
3150
+ Completed 200 OK in 4ms (Views: 2.9ms)
3151
+ -------------------------------------
3152
+ TechRadar::RadarTest: test_technology
3153
+ -------------------------------------
3154
+ ------------------------------------
3155
+ TechRadar::RadarTest: test_quadrants
3156
+ ------------------------------------
3157
+ ---------------------------------------
3158
+ TechRadar::RadarTest: test_technologies
3159
+ ---------------------------------------
3160
+ --------------------------------
3161
+ TechRadar::RadarTest: test_rings
3162
+ --------------------------------
3163
+ -----------------------------------
3164
+ TechRadar::RadarTest: test_quadrant
3165
+ -----------------------------------
3166
+ -------------------------------------------------
3167
+ TechRadar::TechnologiesControllerTest: test_index
3168
+ -------------------------------------------------
3169
+ Processing by TechRadar::TechnologiesController#index as HTML
3170
+ Rendered /Users/davec/Projects/StitchFix/tech_radar/app/views/tech_radar/technologies/index.html.erb within layouts/application (23.8ms)
3171
+ Completed 200 OK in 143ms (Views: 140.4ms)
3172
+ ------------------------------------------------
3173
+ TechRadar::TechnologiesControllerTest: test_show
3174
+ ------------------------------------------------
3175
+ Processing by TechRadar::TechnologiesController#show as HTML
3176
+ Parameters: {"id"=>"Resque"}
3177
+ Rendered /Users/davec/Projects/StitchFix/tech_radar/app/views/tech_radar/technologies/show.html.erb within layouts/application (3.3ms)
3178
+ Completed 200 OK in 7ms (Views: 5.5ms)
3179
+ ---------------------------------------------------------------------
3180
+ TechRadar::RadarControllerTest: test_parent_app_can_override_messages
3181
+ ---------------------------------------------------------------------
3182
+ Processing by TechRadar::RadarController#index as HTML
3183
+ Rendered /Users/davec/Projects/StitchFix/tech_radar/app/views/tech_radar/radar/index.html.erb within layouts/application (11.2ms)
3184
+ Completed 200 OK in 16ms (Views: 14.6ms)
3185
+ -------------------------------------------------------------
3186
+ TechRadar::RadarControllerTest: test_the_radar_summary_screen
3187
+ -------------------------------------------------------------
3188
+ Processing by TechRadar::RadarController#summary as HTML
3189
+ Rendered /Users/davec/Projects/StitchFix/tech_radar/app/views/tech_radar/radar/summary.html.erb within layouts/application (23.2ms)
3190
+ Completed 200 OK in 27ms (Views: 25.8ms)
3191
+ ---------------------------------------------
3192
+ TechRadar::QuadrantsControllerTest: test_show
3193
+ ---------------------------------------------
3194
+ Processing by TechRadar::QuadrantsController#show as HTML
3195
+ Parameters: {"id"=>"Tools"}
3196
+ Rendered /Users/davec/Projects/StitchFix/tech_radar/app/views/tech_radar/quadrants/show.html.erb within layouts/application (11.6ms)
3197
+ Completed 200 OK in 17ms (Views: 14.9ms)
3198
+ ------------------------------------------------
3199
+ TechRadar::TechnologiesControllerTest: test_show
3200
+ ------------------------------------------------
3201
+ Processing by TechRadar::TechnologiesController#show as HTML
3202
+ Parameters: {"id"=>"Resque"}
3203
+ Rendered /Users/davec/Projects/StitchFix/tech_radar/app/views/tech_radar/technologies/show.html.erb within layouts/application (8.0ms)
3204
+ Completed 200 OK in 150ms (Views: 136.8ms)
3205
+ -------------------------------------------------
3206
+ TechRadar::TechnologiesControllerTest: test_index
3207
+ -------------------------------------------------
3208
+ Processing by TechRadar::TechnologiesController#index as HTML
3209
+ Rendered /Users/davec/Projects/StitchFix/tech_radar/app/views/tech_radar/technologies/index.html.erb within layouts/application (19.2ms)
3210
+ Completed 200 OK in 23ms (Views: 21.4ms)
3211
+ ---------------------------------------------
3212
+ TechRadar::QuadrantsControllerTest: test_show
3213
+ ---------------------------------------------
3214
+ Processing by TechRadar::QuadrantsController#show as HTML
3215
+ Parameters: {"id"=>"Tools"}
3216
+ Rendered /Users/davec/Projects/StitchFix/tech_radar/app/views/tech_radar/quadrants/show.html.erb within layouts/application (15.4ms)
3217
+ Completed 200 OK in 20ms (Views: 18.7ms)
3218
+ -----------------------------------
3219
+ TechRadar::RadarTest: test_quadrant
3220
+ -----------------------------------
3221
+ ------------------------------------
3222
+ TechRadar::RadarTest: test_quadrants
3223
+ ------------------------------------
3224
+ ---------------------------------------
3225
+ TechRadar::RadarTest: test_technologies
3226
+ ---------------------------------------
3227
+ -------------------------------------
3228
+ TechRadar::RadarTest: test_technology
3229
+ -------------------------------------
3230
+ --------------------------------
3231
+ TechRadar::RadarTest: test_rings
3232
+ --------------------------------
3233
+ ---------------------------------------------------------------------
3234
+ TechRadar::RadarControllerTest: test_parent_app_can_override_messages
3235
+ ---------------------------------------------------------------------
3236
+ Processing by TechRadar::RadarController#index as HTML
3237
+ Rendered /Users/davec/Projects/StitchFix/tech_radar/app/views/tech_radar/radar/index.html.erb within layouts/application (11.5ms)
3238
+ Completed 200 OK in 16ms (Views: 14.8ms)
3239
+ -------------------------------------------------------------
3240
+ TechRadar::RadarControllerTest: test_the_radar_summary_screen
3241
+ -------------------------------------------------------------
3242
+ Processing by TechRadar::RadarController#summary as HTML
3243
+ Rendered /Users/davec/Projects/StitchFix/tech_radar/app/views/tech_radar/radar/summary.html.erb within layouts/application (24.8ms)
3244
+ Completed 200 OK in 28ms (Views: 27.1ms)
3245
+ ---------------------------------------------
3246
+ TechRadar::QuadrantsControllerTest: test_show
3247
+ ---------------------------------------------
3248
+ Processing by TechRadar::QuadrantsController#show as HTML
3249
+ Parameters: {"id"=>"Tools"}
3250
+ Rendered /Users/davec/Projects/StitchFix/tech_radar/app/views/tech_radar/quadrants/show.html.erb within layouts/application (22.7ms)
3251
+ Completed 200 OK in 151ms (Views: 143.6ms)
3252
+ ---------------------------------------------------------------------
3253
+ TechRadar::RadarControllerTest: test_parent_app_can_override_messages
3254
+ ---------------------------------------------------------------------
3255
+ Processing by TechRadar::RadarController#index as HTML
3256
+ Rendered /Users/davec/Projects/StitchFix/tech_radar/app/views/tech_radar/radar/index.html.erb within layouts/application (11.6ms)
3257
+ Completed 200 OK in 16ms (Views: 14.9ms)
3258
+ -------------------------------------------------------------
3259
+ TechRadar::RadarControllerTest: test_the_radar_summary_screen
3260
+ -------------------------------------------------------------
3261
+ Processing by TechRadar::RadarController#summary as HTML
3262
+ Rendered /Users/davec/Projects/StitchFix/tech_radar/app/views/tech_radar/radar/summary.html.erb within layouts/application (21.1ms)
3263
+ Completed 200 OK in 24ms (Views: 23.2ms)
3264
+ ---------------------------------------
3265
+ TechRadar::RadarTest: test_technologies
3266
+ ---------------------------------------
3267
+ ------------------------------------
3268
+ TechRadar::RadarTest: test_quadrants
3269
+ ------------------------------------
3270
+ -------------------------------------
3271
+ TechRadar::RadarTest: test_technology
3272
+ -------------------------------------
3273
+ --------------------------------
3274
+ TechRadar::RadarTest: test_rings
3275
+ --------------------------------
3276
+ -----------------------------------
3277
+ TechRadar::RadarTest: test_quadrant
3278
+ -----------------------------------
3279
+ -------------------------------------------------
3280
+ TechRadar::TechnologiesControllerTest: test_index
3281
+ -------------------------------------------------
3282
+ Processing by TechRadar::TechnologiesController#index as HTML
3283
+ Rendered /Users/davec/Projects/StitchFix/tech_radar/app/views/tech_radar/technologies/index.html.erb within layouts/application (20.7ms)
3284
+ Completed 200 OK in 26ms (Views: 24.7ms)
3285
+ -------------------------------------------------------------------------------------------------
3286
+ TechRadar::TechnologiesControllerTest: test_show_with_no_more_details_url_or_more_details_summary
3287
+ -------------------------------------------------------------------------------------------------
3288
+ Processing by TechRadar::TechnologiesController#show as HTML
3289
+ Parameters: {"id"=>"Resque"}
3290
+ Rendered /Users/davec/Projects/StitchFix/tech_radar/app/views/tech_radar/technologies/show.html.erb within layouts/application (0.9ms)
3291
+ Completed 200 OK in 5ms (Views: 3.1ms)
3292
+ ----------------------------------------------------------------------
3293
+ TechRadar::TechnologiesControllerTest: test_show_with_more_details_url
3294
+ ----------------------------------------------------------------------
3295
+ Processing by TechRadar::TechnologiesController#show as HTML
3296
+ Parameters: {"id"=>"Ruby"}
3297
+ Rendered /Users/davec/Projects/StitchFix/tech_radar/app/views/tech_radar/technologies/show.html.erb within layouts/application (0.2ms)
3298
+ Completed 200 OK in 3ms (Views: 1.0ms)
3299
+ --------------------------------------------------------------------------------------------------------
3300
+ TechRadar::TechnologiesControllerTest: test_show_with_no_more_details_url_but_has_a_more_details_summary
3301
+ --------------------------------------------------------------------------------------------------------
3302
+ Processing by TechRadar::TechnologiesController#show as HTML
3303
+ Parameters: {"id"=>"Ruby"}
3304
+ Rendered /Users/davec/Projects/StitchFix/tech_radar/app/views/tech_radar/technologies/show.html.erb within layouts/application (0.2ms)
3305
+ Completed 200 OK in 3ms (Views: 1.1ms)
3306
+ ---------------------------------------
3307
+ TechRadar::RadarTest: test_technologies
3308
+ ---------------------------------------
3309
+ ------------------------------------
3310
+ TechRadar::RadarTest: test_quadrants
3311
+ ------------------------------------
3312
+ -----------------------------------
3313
+ TechRadar::RadarTest: test_quadrant
3314
+ -----------------------------------
3315
+ -------------------------------------
3316
+ TechRadar::RadarTest: test_technology
3317
+ -------------------------------------
3318
+ --------------------------------
3319
+ TechRadar::RadarTest: test_rings
3320
+ --------------------------------
3321
+ ---------------------------------------------------------------------
3322
+ TechRadar::RadarControllerTest: test_parent_app_can_override_messages
3323
+ ---------------------------------------------------------------------
3324
+ Processing by TechRadar::RadarController#index as HTML
3325
+ Rendered /Users/davec/Projects/StitchFix/tech_radar/app/views/tech_radar/radar/index.html.erb within layouts/application (23.9ms)
3326
+ Completed 200 OK in 144ms (Views: 142.5ms)
3327
+ -------------------------------------------------------------
3328
+ TechRadar::RadarControllerTest: test_the_radar_summary_screen
3329
+ -------------------------------------------------------------
3330
+ Processing by TechRadar::RadarController#summary as HTML
3331
+ Rendered /Users/davec/Projects/StitchFix/tech_radar/app/views/tech_radar/radar/summary.html.erb within layouts/application (27.5ms)
3332
+ Completed 200 OK in 31ms (Views: 29.7ms)
3333
+ ---------------------------------------------
3334
+ TechRadar::QuadrantsControllerTest: test_show
3335
+ ---------------------------------------------
3336
+ Processing by TechRadar::QuadrantsController#show as HTML
3337
+ Parameters: {"id"=>"Tools"}
3338
+ Rendered /Users/davec/Projects/StitchFix/tech_radar/app/views/tech_radar/quadrants/show.html.erb within layouts/application (16.1ms)
3339
+ Completed 200 OK in 21ms (Views: 19.5ms)
3340
+ -------------------------------------------------
3341
+ TechRadar::TechnologiesControllerTest: test_index
3342
+ -------------------------------------------------
3343
+ Processing by TechRadar::TechnologiesController#index as HTML
3344
+ Rendered /Users/davec/Projects/StitchFix/tech_radar/app/views/tech_radar/technologies/index.html.erb within layouts/application (23.0ms)
3345
+ Completed 200 OK in 28ms (Views: 26.5ms)
3346
+ ----------------------------------------------------------------------
3347
+ TechRadar::TechnologiesControllerTest: test_show_with_more_details_url
3348
+ ----------------------------------------------------------------------
3349
+ Processing by TechRadar::TechnologiesController#show as HTML
3350
+ Parameters: {"id"=>"Ruby"}
3351
+ Rendered /Users/davec/Projects/StitchFix/tech_radar/app/views/tech_radar/technologies/show.html.erb within layouts/application (1.8ms)
3352
+ Completed 200 OK in 6ms (Views: 4.6ms)
3353
+ --------------------------------------------------------------------------------------------------------
3354
+ TechRadar::TechnologiesControllerTest: test_show_with_no_more_details_url_but_has_a_more_details_summary
3355
+ --------------------------------------------------------------------------------------------------------
3356
+ Processing by TechRadar::TechnologiesController#show as HTML
3357
+ Parameters: {"id"=>"Ruby"}
3358
+ Rendered /Users/davec/Projects/StitchFix/tech_radar/app/views/tech_radar/technologies/show.html.erb within layouts/application (0.2ms)
3359
+ Completed 200 OK in 3ms (Views: 1.1ms)
3360
+ -------------------------------------------------------------------------------------------------
3361
+ TechRadar::TechnologiesControllerTest: test_show_with_no_more_details_url_or_more_details_summary
3362
+ -------------------------------------------------------------------------------------------------
3363
+ Processing by TechRadar::TechnologiesController#show as HTML
3364
+ Parameters: {"id"=>"Resque"}
3365
+ Rendered /Users/davec/Projects/StitchFix/tech_radar/app/views/tech_radar/technologies/show.html.erb within layouts/application (0.2ms)
3366
+ Completed 200 OK in 3ms (Views: 1.0ms)
3367
+ -------------------------------------------------------------------------------------------------
3368
+ TechRadar::TechnologiesControllerTest: test_show_with_no_more_details_url_or_more_details_summary
3369
+ -------------------------------------------------------------------------------------------------
3370
+ Processing by TechRadar::TechnologiesController#show as HTML
3371
+ Parameters: {"id"=>"Resque"}
3372
+ Rendered /Users/davec/Projects/StitchFix/tech_radar/app/views/tech_radar/technologies/show.html.erb within layouts/application (6.1ms)
3373
+ Completed 200 OK in 154ms (Views: 140.8ms)
3374
+ ----------------------------------------------------------------------
3375
+ TechRadar::TechnologiesControllerTest: test_show_with_more_details_url
3376
+ ----------------------------------------------------------------------
3377
+ Processing by TechRadar::TechnologiesController#show as HTML
3378
+ Parameters: {"id"=>"Resque"}
3379
+ Rendered /Users/davec/Projects/StitchFix/tech_radar/app/views/tech_radar/technologies/show.html.erb within layouts/application (0.2ms)
3380
+ Completed 200 OK in 3ms (Views: 1.1ms)
3381
+ --------------------------------------------------------------------------------------------------------
3382
+ TechRadar::TechnologiesControllerTest: test_show_with_no_more_details_url_but_has_a_more_details_summary
3383
+ --------------------------------------------------------------------------------------------------------
3384
+ Processing by TechRadar::TechnologiesController#show as HTML
3385
+ Parameters: {"id"=>"Ruby"}
3386
+ Rendered /Users/davec/Projects/StitchFix/tech_radar/app/views/tech_radar/technologies/show.html.erb within layouts/application (0.2ms)
3387
+ Completed 200 OK in 3ms (Views: 1.4ms)
3388
+ -------------------------------------------------
3389
+ TechRadar::TechnologiesControllerTest: test_index
3390
+ -------------------------------------------------
3391
+ Processing by TechRadar::TechnologiesController#index as HTML
3392
+ Rendered /Users/davec/Projects/StitchFix/tech_radar/app/views/tech_radar/technologies/index.html.erb within layouts/application (23.5ms)
3393
+ Completed 200 OK in 27ms (Views: 25.7ms)
3394
+ -------------------------------------------------------------
3395
+ TechRadar::RadarControllerTest: test_the_radar_summary_screen
3396
+ -------------------------------------------------------------
3397
+ Processing by TechRadar::RadarController#summary as HTML
3398
+ Rendered /Users/davec/Projects/StitchFix/tech_radar/app/views/tech_radar/radar/summary.html.erb within layouts/application (29.7ms)
3399
+ Completed 200 OK in 35ms (Views: 33.5ms)
3400
+ ---------------------------------------------------------------------
3401
+ TechRadar::RadarControllerTest: test_parent_app_can_override_messages
3402
+ ---------------------------------------------------------------------
3403
+ Processing by TechRadar::RadarController#index as HTML
3404
+ Rendered /Users/davec/Projects/StitchFix/tech_radar/app/views/tech_radar/radar/index.html.erb within layouts/application (17.0ms)
3405
+ Completed 200 OK in 20ms (Views: 19.2ms)
3406
+ ---------------------------------------------
3407
+ TechRadar::QuadrantsControllerTest: test_show
3408
+ ---------------------------------------------
3409
+ Processing by TechRadar::QuadrantsController#show as HTML
3410
+ Parameters: {"id"=>"Tools"}
3411
+ Rendered /Users/davec/Projects/StitchFix/tech_radar/app/views/tech_radar/quadrants/show.html.erb within layouts/application (18.0ms)
3412
+ Completed 200 OK in 23ms (Views: 21.7ms)
3413
+ --------------------------------
3414
+ TechRadar::RadarTest: test_rings
3415
+ --------------------------------
3416
+ ------------------------------------
3417
+ TechRadar::RadarTest: test_quadrants
3418
+ ------------------------------------
3419
+ ---------------------------------------
3420
+ TechRadar::RadarTest: test_technologies
3421
+ ---------------------------------------
3422
+ -----------------------------------
3423
+ TechRadar::RadarTest: test_quadrant
3424
+ -----------------------------------
3425
+ -------------------------------------
3426
+ TechRadar::RadarTest: test_technology
3427
+ -------------------------------------
3428
+ --------------------------------
3429
+ TechRadar::RadarTest: test_rings
3430
+ --------------------------------
3431
+ ------------------------------------
3432
+ TechRadar::RadarTest: test_quadrants
3433
+ ------------------------------------
3434
+ ---------------------------------------
3435
+ TechRadar::RadarTest: test_technologies
3436
+ ---------------------------------------
3437
+ -------------------------------------
3438
+ TechRadar::RadarTest: test_technology
3439
+ -------------------------------------
3440
+ -----------------------------------
3441
+ TechRadar::RadarTest: test_quadrant
3442
+ -----------------------------------
3443
+ --------------------------------------------------------------------------------------------------------
3444
+ TechRadar::TechnologiesControllerTest: test_show_with_no_more_details_url_but_has_a_more_details_summary
3445
+ --------------------------------------------------------------------------------------------------------
3446
+ Processing by TechRadar::TechnologiesController#show as HTML
3447
+ Parameters: {"id"=>"Ruby"}
3448
+ Rendered /Users/davec/Projects/StitchFix/tech_radar/app/views/tech_radar/technologies/show.html.erb within layouts/application (5.1ms)
3449
+ Completed 200 OK in 130ms (Views: 125.2ms)
3450
+ -------------------------------------------------
3451
+ TechRadar::TechnologiesControllerTest: test_index
3452
+ -------------------------------------------------
3453
+ Processing by TechRadar::TechnologiesController#index as HTML
3454
+ Rendered /Users/davec/Projects/StitchFix/tech_radar/app/views/tech_radar/technologies/index.html.erb within layouts/application (26.2ms)
3455
+ Completed 200 OK in 30ms (Views: 28.3ms)
3456
+ ----------------------------------------------------------------------
3457
+ TechRadar::TechnologiesControllerTest: test_show_with_more_details_url
3458
+ ----------------------------------------------------------------------
3459
+ Processing by TechRadar::TechnologiesController#show as HTML
3460
+ Parameters: {"id"=>"Resque"}
3461
+ Rendered /Users/davec/Projects/StitchFix/tech_radar/app/views/tech_radar/technologies/show.html.erb within layouts/application (0.2ms)
3462
+ Completed 200 OK in 3ms (Views: 1.1ms)
3463
+ -------------------------------------------------------------------------------------------------
3464
+ TechRadar::TechnologiesControllerTest: test_show_with_no_more_details_url_or_more_details_summary
3465
+ -------------------------------------------------------------------------------------------------
3466
+ Processing by TechRadar::TechnologiesController#show as HTML
3467
+ Parameters: {"id"=>"Resque"}
3468
+ Rendered /Users/davec/Projects/StitchFix/tech_radar/app/views/tech_radar/technologies/show.html.erb within layouts/application (0.2ms)
3469
+ Completed 200 OK in 3ms (Views: 1.1ms)
3470
+ ---------------------------------------------
3471
+ TechRadar::QuadrantsControllerTest: test_show
3472
+ ---------------------------------------------
3473
+ Processing by TechRadar::QuadrantsController#show as HTML
3474
+ Parameters: {"id"=>"Tools"}
3475
+ Rendered /Users/davec/Projects/StitchFix/tech_radar/app/views/tech_radar/quadrants/show.html.erb within layouts/application (12.6ms)
3476
+ Completed 200 OK in 20ms (Views: 16.9ms)
3477
+ -------------------------------------------------------------
3478
+ TechRadar::RadarControllerTest: test_the_radar_summary_screen
3479
+ -------------------------------------------------------------
3480
+ Processing by TechRadar::RadarController#summary as HTML
3481
+ Rendered /Users/davec/Projects/StitchFix/tech_radar/app/views/tech_radar/radar/summary.html.erb within layouts/application (25.1ms)
3482
+ Completed 200 OK in 30ms (Views: 28.5ms)
3483
+ ---------------------------------------------------------------------
3484
+ TechRadar::RadarControllerTest: test_parent_app_can_override_messages
3485
+ ---------------------------------------------------------------------
3486
+ Processing by TechRadar::RadarController#index as HTML
3487
+ Rendered /Users/davec/Projects/StitchFix/tech_radar/app/views/tech_radar/radar/index.html.erb within layouts/application (14.0ms)
3488
+ Completed 200 OK in 17ms (Views: 16.4ms)
3489
+ ---------------------------------------------
3490
+ TechRadar::QuadrantsControllerTest: test_show
3491
+ ---------------------------------------------
3492
+ Processing by TechRadar::QuadrantsController#show as HTML
3493
+ Parameters: {"id"=>"Tools"}
3494
+ Rendered /Users/davec/Projects/StitchFix/tech_radar/app/views/tech_radar/quadrants/show.html.erb within layouts/application (23.9ms)
3495
+ Completed 200 OK in 154ms (Views: 146.2ms)
3496
+ ---------------------------------------------------------------------
3497
+ TechRadar::RadarControllerTest: test_parent_app_can_override_messages
3498
+ ---------------------------------------------------------------------
3499
+ Processing by TechRadar::RadarController#index as HTML
3500
+ Rendered /Users/davec/Projects/StitchFix/tech_radar/app/views/tech_radar/radar/index.html.erb within layouts/application (17.7ms)
3501
+ Completed 200 OK in 22ms (Views: 21.2ms)
3502
+ -------------------------------------------------------------
3503
+ TechRadar::RadarControllerTest: test_the_radar_summary_screen
3504
+ -------------------------------------------------------------
3505
+ Processing by TechRadar::RadarController#summary as HTML
3506
+ Rendered /Users/davec/Projects/StitchFix/tech_radar/app/views/tech_radar/radar/summary.html.erb within layouts/application (24.8ms)
3507
+ Completed 200 OK in 28ms (Views: 27.0ms)
3508
+ -------------------------------------------------------------------------------------------------
3509
+ TechRadar::TechnologiesControllerTest: test_show_with_no_more_details_url_or_more_details_summary
3510
+ -------------------------------------------------------------------------------------------------
3511
+ Processing by TechRadar::TechnologiesController#show as HTML
3512
+ Parameters: {"id"=>"RabbitMQ"}
3513
+ Rendered /Users/davec/Projects/StitchFix/tech_radar/app/views/tech_radar/technologies/show.html.erb within layouts/application (0.9ms)
3514
+ Completed 200 OK in 6ms (Views: 4.1ms)
3515
+ --------------------------------------------------------------------------------------------------------
3516
+ TechRadar::TechnologiesControllerTest: test_show_with_no_more_details_url_but_has_a_more_details_summary
3517
+ --------------------------------------------------------------------------------------------------------
3518
+ Processing by TechRadar::TechnologiesController#show as HTML
3519
+ Parameters: {"id"=>"Ruby"}
3520
+ Rendered /Users/davec/Projects/StitchFix/tech_radar/app/views/tech_radar/technologies/show.html.erb within layouts/application (0.2ms)
3521
+ Completed 200 OK in 3ms (Views: 1.1ms)
3522
+ ----------------------------------------------------------------------
3523
+ TechRadar::TechnologiesControllerTest: test_show_with_more_details_url
3524
+ ----------------------------------------------------------------------
3525
+ Processing by TechRadar::TechnologiesController#show as HTML
3526
+ Parameters: {"id"=>"Resque"}
3527
+ Rendered /Users/davec/Projects/StitchFix/tech_radar/app/views/tech_radar/technologies/show.html.erb within layouts/application (0.2ms)
3528
+ Completed 200 OK in 3ms (Views: 1.1ms)
3529
+ -------------------------------------------------
3530
+ TechRadar::TechnologiesControllerTest: test_index
3531
+ -------------------------------------------------
3532
+ Processing by TechRadar::TechnologiesController#index as HTML
3533
+ Rendered /Users/davec/Projects/StitchFix/tech_radar/app/views/tech_radar/technologies/index.html.erb within layouts/application (23.9ms)
3534
+ Completed 200 OK in 28ms (Views: 26.0ms)
3535
+ ------------------------------------
3536
+ TechRadar::RadarTest: test_quadrants
3537
+ ------------------------------------
3538
+ -----------------------------------
3539
+ TechRadar::RadarTest: test_quadrant
3540
+ -----------------------------------
3541
+ --------------------------------
3542
+ TechRadar::RadarTest: test_rings
3543
+ --------------------------------
3544
+ ---------------------------------------
3545
+ TechRadar::RadarTest: test_technologies
3546
+ ---------------------------------------
3547
+ -------------------------------------
3548
+ TechRadar::RadarTest: test_technology
3549
+ -------------------------------------
3550
+ -------------------------------------------------
3551
+ TechRadar::TechnologiesControllerTest: test_index
3552
+ -------------------------------------------------
3553
+ Processing by TechRadar::TechnologiesController#index as HTML
3554
+ Rendered /Users/davec/Projects/StitchFix/tech_radar/app/views/tech_radar/technologies/index.html.erb within layouts/application (29.4ms)
3555
+ Completed 200 OK in 174ms (Views: 158.7ms)
3556
+ ----------------------------------------------------------------------
3557
+ TechRadar::TechnologiesControllerTest: test_show_with_more_details_url
3558
+ ----------------------------------------------------------------------
3559
+ Processing by TechRadar::TechnologiesController#show as HTML
3560
+ Parameters: {"id"=>"Resque"}
3561
+ Rendered /Users/davec/Projects/StitchFix/tech_radar/app/views/tech_radar/technologies/show.html.erb within layouts/application (5.6ms)
3562
+ Completed 200 OK in 10ms (Views: 8.2ms)
3563
+ -------------------------------------------------------------------------------------------------
3564
+ TechRadar::TechnologiesControllerTest: test_show_with_no_more_details_url_or_more_details_summary
3565
+ -------------------------------------------------------------------------------------------------
3566
+ Processing by TechRadar::TechnologiesController#show as HTML
3567
+ Parameters: {"id"=>"RabbitMQ"}
3568
+ Rendered /Users/davec/Projects/StitchFix/tech_radar/app/views/tech_radar/technologies/show.html.erb within layouts/application (0.2ms)
3569
+ Completed 200 OK in 3ms (Views: 1.1ms)
3570
+ --------------------------------------------------------------------------------------------------------
3571
+ TechRadar::TechnologiesControllerTest: test_show_with_no_more_details_url_but_has_a_more_details_summary
3572
+ --------------------------------------------------------------------------------------------------------
3573
+ Processing by TechRadar::TechnologiesController#show as HTML
3574
+ Parameters: {"id"=>"Ruby"}
3575
+ Rendered /Users/davec/Projects/StitchFix/tech_radar/app/views/tech_radar/technologies/show.html.erb within layouts/application (0.2ms)
3576
+ Completed 200 OK in 2ms (Views: 1.0ms)
3577
+ ------------------------------------
3578
+ TechRadar::RadarTest: test_quadrants
3579
+ ------------------------------------
3580
+ -------------------------------------
3581
+ TechRadar::RadarTest: test_technology
3582
+ -------------------------------------
3583
+ ---------------------------------------
3584
+ TechRadar::RadarTest: test_technologies
3585
+ ---------------------------------------
3586
+ -----------------------------------
3587
+ TechRadar::RadarTest: test_quadrant
3588
+ -----------------------------------
3589
+ --------------------------------
3590
+ TechRadar::RadarTest: test_rings
3591
+ --------------------------------
3592
+ ---------------------------------------------------------------------
3593
+ TechRadar::RadarControllerTest: test_parent_app_can_override_messages
3594
+ ---------------------------------------------------------------------
3595
+ Processing by TechRadar::RadarController#index as HTML
3596
+ Rendered /Users/davec/Projects/StitchFix/tech_radar/app/views/tech_radar/radar/index.html.erb within layouts/application (16.0ms)
3597
+ Completed 200 OK in 20ms (Views: 19.4ms)
3598
+ -------------------------------------------------------------
3599
+ TechRadar::RadarControllerTest: test_the_radar_summary_screen
3600
+ -------------------------------------------------------------
3601
+ Processing by TechRadar::RadarController#summary as HTML
3602
+ Rendered /Users/davec/Projects/StitchFix/tech_radar/app/views/tech_radar/radar/summary.html.erb within layouts/application (29.6ms)
3603
+ Completed 200 OK in 33ms (Views: 31.9ms)
3604
+ ---------------------------------------------
3605
+ TechRadar::QuadrantsControllerTest: test_show
3606
+ ---------------------------------------------
3607
+ Processing by TechRadar::QuadrantsController#show as HTML
3608
+ Parameters: {"id"=>"Tools"}
3609
+ Rendered /Users/davec/Projects/StitchFix/tech_radar/app/views/tech_radar/quadrants/show.html.erb within layouts/application (13.8ms)
3610
+ Completed 200 OK in 19ms (Views: 17.4ms)
@@ -45,6 +45,8 @@ module TechRadar
45
45
  technology = @radar.technology("Ruby")
46
46
  assert_equal "Ruby" , technology.name
47
47
  assert_equal "https://www.ruby-lang.org/en/" , technology.more_details_url
48
+ assert_equal "Ruby is a dynamic, object-oriented programming language that combines ideas from Smalltalk, Perl, and others",
49
+ technology.more_details_summary
48
50
  assert_equal nil , technology.why_url
49
51
  assert_equal nil , technology.why_summary
50
52
  assert_equal "Middleware Programming" , technology.purpose
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.0.1
4
+ version: 0.1.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: 2015-12-01 00:00:00.000000000 Z
12
+ date: 2015-12-08 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: rails