lti_public_resources 0.1.5 → 0.1.6

Sign up to get free protection for your applications and to get access to all the features.
Files changed (40) hide show
  1. checksums.yaml +4 -4
  2. data/lib/lti_public_resources/version.rb +1 -1
  3. data/spec/test_app/log/development.log +65 -0
  4. data/spec/test_app/log/test.log +57 -0
  5. data/spec/test_app/tmp/cache/assets/test/sprockets/017101d8798ff568f45f0a474a9224fd +0 -0
  6. data/spec/test_app/tmp/cache/assets/test/sprockets/0204100251237efc3fd2dd7b25c67a3a +0 -0
  7. data/spec/test_app/tmp/cache/assets/test/sprockets/1689310d8bf063252b0ac804c84ea7fd +0 -0
  8. data/spec/test_app/tmp/cache/assets/test/sprockets/2bacc3a78a4d9184482e9ced42407b39 +0 -0
  9. data/spec/test_app/tmp/cache/assets/test/sprockets/30fa9b2e88e240dfa382cc039d7a68b7 +0 -0
  10. data/spec/test_app/tmp/cache/assets/test/sprockets/361d82427e3d667c6426959c1b84818d +0 -0
  11. data/spec/test_app/tmp/cache/assets/test/sprockets/3b1cd4759e6455b702a4a66434d6d4d3 +0 -0
  12. data/spec/test_app/tmp/cache/assets/test/sprockets/47dd46c20ed7f42fd5aa97d6d6a72ba5 +0 -0
  13. data/spec/test_app/tmp/cache/assets/test/sprockets/4d11f15f6e9877d04b6cb67c0d291554 +0 -0
  14. data/spec/test_app/tmp/cache/assets/test/sprockets/51e4d12e045377528d32d0e99f3b23fc +0 -0
  15. data/spec/test_app/tmp/cache/assets/test/sprockets/528904284a3ac5927e833f812148448c +0 -0
  16. data/spec/test_app/tmp/cache/assets/test/sprockets/5f07e9c61b066105fe96e6bbdb314049 +0 -0
  17. data/spec/test_app/tmp/cache/assets/test/sprockets/64829bc129e7aef33cf3167e7116098b +0 -0
  18. data/spec/test_app/tmp/cache/assets/test/sprockets/6b1b852c5bebe6ab2e135893cf8a968c +0 -0
  19. data/spec/test_app/tmp/cache/assets/test/sprockets/7234cbd0a402f5d623912d2647015e55 +0 -0
  20. data/spec/test_app/tmp/cache/assets/test/sprockets/73da2101e87dd7be2079dccbb8142e04 +0 -0
  21. data/spec/test_app/tmp/cache/assets/test/sprockets/84aa472c036524cbaf100bf42ee34541 +0 -0
  22. data/spec/test_app/tmp/cache/assets/test/sprockets/97d38269653aa72a2dfc49d810640269 +0 -0
  23. data/spec/test_app/tmp/cache/assets/test/sprockets/9bcd1b2c2c5f7a9044f4ef00740cda70 +0 -0
  24. data/spec/test_app/tmp/cache/assets/test/sprockets/aad84833fdfda172746a2ab387b9bbc0 +0 -0
  25. data/spec/test_app/tmp/cache/assets/test/sprockets/aeb5c77cef011926c38bbee4bdb24672 +0 -0
  26. data/spec/test_app/tmp/cache/assets/test/sprockets/b79b17995fea04a3151a3c6e3498b0cb +0 -0
  27. data/spec/test_app/tmp/cache/assets/test/sprockets/be151b52340c234a7b52678fae576fe9 +0 -0
  28. data/spec/test_app/tmp/cache/assets/test/sprockets/c5a57ad60fc3c0c25e4e60a3f577535d +0 -0
  29. data/spec/test_app/tmp/cache/assets/test/sprockets/d29a485e7a3d73d206c9f9a4dd1207d2 +0 -0
  30. data/spec/test_app/tmp/cache/assets/test/sprockets/d6ad6730986f874ccb3e3b023b36feb6 +0 -0
  31. data/spec/test_app/tmp/cache/assets/test/sprockets/d879d3142c45d8288eeaec54fdcc3d14 +0 -0
  32. data/spec/test_app/tmp/cache/assets/test/sprockets/e522b3f3da1e1aa4ce5965b643f2d11b +0 -0
  33. data/spec/test_app/tmp/cache/assets/test/sprockets/e53839807af34d9bad4d6d104c60bd0d +0 -0
  34. data/spec/test_app/tmp/cache/assets/test/sprockets/e652b9f1115a84c686c0960616cb0040 +0 -0
  35. data/spec/test_app/tmp/cache/assets/test/sprockets/ea8f89d7b26a4b453a828bf12b625c9a +0 -0
  36. data/spec/test_app/tmp/cache/assets/test/sprockets/edbab1b555026d93850ca1deab06eb03 +0 -0
  37. data/spec/test_app/tmp/cache/assets/test/sprockets/f20838a45c988c788b03233a6fb2eb09 +0 -0
  38. data/spec/test_app/tmp/cache/assets/test/sprockets/fe5266b8c335d96e5b36a4f10995fbc5 +0 -0
  39. metadata +3 -5
  40. data/spec/controllers/lti_public_resources/ember_controller_spec.rb +0 -26
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 8e3be624353ee197200568a24792c38816a4fbb3
4
- data.tar.gz: 50b43a0c523205bfd618898327ffc9f97d0a4452
3
+ metadata.gz: ffea21b746f91541d28e6e0520cb8c93e8db4e47
4
+ data.tar.gz: 165ac0f7ed2e4eb3aefd50a60b0b1bd049d5e232
5
5
  SHA512:
6
- metadata.gz: b679e7ada3f2432b444e13d51e4041d6db8c06aec3b48d34dd56862beb8a9557dae7f3f856b3210779989b75d1017d22ab4faf62860af20357bb2465af6483a8
7
- data.tar.gz: 6b50f64c1861580ee9a61e60d3e1aeef3057aa5cb44df918da8e7043fd6c08beaa6b21e9369c9b38e45e280ddd84ea1122ea45653405d6e8cb44aaf205ff82fc
6
+ metadata.gz: fa4018e301e4ada02b4aa961989211912e6064f9e7aeeb8bc4b3746812a7bd5f4a980630ab9e709657ab51853057665be02d199af5c6c314cfcd6e7b7afa43d6
7
+ data.tar.gz: 8bfa08d9f11a0fb3329b80594a78b7fa540181c115ef6f12b94518d0ab5695f88e4f7bf12a0d449ce35f34a5686a80d7717d46b3b7f5735c46eb9b62aea115cc
@@ -1,3 +1,3 @@
1
1
  module LtiPublicResources
2
- VERSION = "0.1.5"
2
+ VERSION = "0.1.6"
3
3
  end
@@ -9186,3 +9186,68 @@ Processing by LtiPublicResources::EmberController#launch as HTML
9186
9186
  Rendered /Users/ericb/Projects/Instructure/lti_public_resources/app/views/lti_public_resources/ember/_analytics.html.erb (0.1ms)
9187
9187
  Rendered /Users/ericb/Projects/Instructure/lti_public_resources/app/views/lti_public_resources/ember/_schooltube.html.erb (0.8ms)
9188
9188
  Completed 200 OK in 2ms (Views: 1.8ms | ActiveRecord: 0.0ms)
9189
+ Initializing using /Users/ericb/Projects/Instructure/lti_public_resources/spec/test_app/config/lti_public_resources_config.yml
9190
+
9191
+
9192
+ Started GET "/assets/lti_public_resources/public_resources_icon.png" for 127.0.0.1 at 2014-02-24 09:47:02 -0700
9193
+
9194
+
9195
+ Started POST "/lti_public_resources" for 127.0.0.1 at 2014-02-24 09:47:25 -0700
9196
+ Processing by LtiPublicResources::EmberController#app as HTML
9197
+ Parameters: {"oauth_consumer_key"=>"asdf", "oauth_signature_method"=>"HMAC-SHA1", "oauth_timestamp"=>"1393260444", "oauth_nonce"=>"QCYFZTlssb3AtYYtC6U1F6SuPvQ4E5MxD3fjqDU", "oauth_version"=>"1.0", "context_id"=>"6dea912122e999239a4663d99fc96ee4507a10bd", "context_label"=>"LTI", "context_title"=>"LTI Testing", "custom_canvas_enrollment_state"=>"inactive", "ext_content_intended_use"=>"embed", "ext_content_return_types"=>"oembed,lti_launch_url,url,image_url,iframe", "ext_content_return_url"=>"https://karl.instructure.com/external_content/success/external_tool", "launch_presentation_document_target"=>"iframe", "launch_presentation_height"=>"600", "launch_presentation_locale"=>"en", "launch_presentation_return_url"=>"https://karl.instructure.com/external_content/success/external_tool", "launch_presentation_width"=>"560", "lti_message_type"=>"basic-lti-launch-request", "lti_version"=>"LTI-1p0", "oauth_callback"=>"about:blank", "resource_link_id"=>"6dea912122e999239a4663d99fc96ee4507a10bd", "resource_link_title"=>"Eric PR (local:3001)", "roles"=>"urn:lti:instrole:ims/lis/Administrator", "selection_directive"=>"embed_content", "text"=>"", "tool_consumer_info_product_family_code"=>"canvas", "tool_consumer_info_version"=>"cloud", "tool_consumer_instance_contact_email"=>"notifications@instructure.com", "tool_consumer_instance_guid"=>"7db438071375c02373713c12c73869ff2f470b68.karl.instructure.com", "tool_consumer_instance_name"=>"Karl Lloyd Sandbox", "user_id"=>"6c04ace457f1c802ed7ddc76642b26e27003fe7a", "user_image"=>"https://canvas.instructure.com/images/messages/avatar-50.png", "oauth_signature"=>"Ho2E/eZRHubumUBB7WbykCbpA40="}
9198
+ Rendered /Users/ericb/Projects/Instructure/lti_public_resources/app/views/lti_public_resources/ember/_analytics.html.erb (0.5ms)
9199
+ Rendered /Users/ericb/Projects/Instructure/lti_public_resources/app/views/lti_public_resources/ember/app.html.erb (30.8ms)
9200
+ Completed 200 OK in 37ms (Views: 36.8ms | ActiveRecord: 0.0ms)
9201
+
9202
+
9203
+ Started GET "/assets/lti_public_resources/application.css?body=1" for 127.0.0.1 at 2014-02-24 09:47:25 -0700
9204
+
9205
+
9206
+ Started GET "/assets/lti_public_resources/app.min.css?body=1" for 127.0.0.1 at 2014-02-24 09:47:25 -0700
9207
+
9208
+
9209
+ Started GET "/assets/lti_public_resources/vendor.min.js?body=1" for 127.0.0.1 at 2014-02-24 09:47:25 -0700
9210
+
9211
+
9212
+ Started GET "/assets/lti_public_resources/app.min.js?body=1" for 127.0.0.1 at 2014-02-24 09:47:25 -0700
9213
+
9214
+
9215
+ Started GET "/assets/lti_public_resources/application.js?body=1" for 127.0.0.1 at 2014-02-24 09:47:25 -0700
9216
+
9217
+
9218
+ Started GET "/lti_public_resources/api/lti_apps" for 127.0.0.1 at 2014-02-24 09:47:25 -0700
9219
+ Processing by LtiPublicResources::ApiController#lti_apps as */*
9220
+ Completed 200 OK in 1ms (Views: 0.9ms | ActiveRecord: 0.0ms)
9221
+
9222
+
9223
+ Started GET "/assets/lti_public_resources/youtube_banner.png" for 127.0.0.1 at 2014-02-24 09:47:25 -0700
9224
+
9225
+
9226
+ Started GET "/assets/lti_public_resources/schooltube_banner.png" for 127.0.0.1 at 2014-02-24 09:47:25 -0700
9227
+
9228
+
9229
+ Started GET "/assets/lti_public_resources/vimeo_banner.png" for 127.0.0.1 at 2014-02-24 09:47:25 -0700
9230
+
9231
+
9232
+ Started GET "/assets/lti_public_resources/khan_academy_banner.png" for 127.0.0.1 at 2014-02-24 09:47:25 -0700
9233
+
9234
+
9235
+ Started GET "/assets/lti_public_resources/quizlet_banner.png" for 127.0.0.1 at 2014-02-24 09:47:25 -0700
9236
+
9237
+
9238
+ Started GET "/assets/lti_public_resources/public_resources_logo.png" for 127.0.0.1 at 2014-02-24 09:47:25 -0700
9239
+
9240
+
9241
+ Started GET "/assets/lti_public_resources/quizlet_logo.png" for 127.0.0.1 at 2014-02-24 09:47:27 -0700
9242
+
9243
+
9244
+ Started POST "/lti_public_resources/api/search" for 127.0.0.1 at 2014-02-24 09:47:30 -0700
9245
+ Processing by LtiPublicResources::ApiController#search as */*
9246
+ Parameters: {"tool_id"=>"quizlet", "query"=>"dog"}
9247
+ Completed 200 OK in 913ms (Views: 8.2ms | ActiveRecord: 0.0ms)
9248
+
9249
+
9250
+ Started POST "/lti_public_resources/api/embed" for 127.0.0.1 at 2014-02-24 09:47:36 -0700
9251
+ Processing by LtiPublicResources::ApiController#embed as JSON
9252
+ Parameters: {"return_type"=>{"driver"=>"quizlet", "remote_id"=>"23752218", "url"=>"https://quizlet.com/23752218/flashcards/embedv2", "text"=>"Flashcards", "title"=>"Dogs", "width"=>"100%", "height"=>"410", "return_type"=>"iframe", "returnable"=>"true"}, "launch_params"=>{"oauth_consumer_key"=>"asdf", "oauth_signature_method"=>"HMAC-SHA1", "oauth_timestamp"=>"1393260444", "oauth_nonce"=>"QCYFZTlssb3AtYYtC6U1F6SuPvQ4E5MxD3fjqDU", "oauth_version"=>"1.0", "context_id"=>"6dea912122e999239a4663d99fc96ee4507a10bd", "context_label"=>"LTI", "context_title"=>"LTI Testing", "custom_canvas_enrollment_state"=>"inactive", "ext_content_intended_use"=>"embed", "ext_content_return_types"=>"oembed,lti_launch_url,url,image_url,iframe", "ext_content_return_url"=>"https://karl.instructure.com/external_content/success/external_tool", "launch_presentation_document_target"=>"iframe", "launch_presentation_height"=>"600", "launch_presentation_locale"=>"en", "launch_presentation_return_url"=>"https://karl.instructure.com/external_content/success/external_tool", "launch_presentation_width"=>"560", "lti_message_type"=>"basic-lti-launch-request", "lti_version"=>"LTI-1p0", "oauth_callback"=>"about:blank", "resource_link_id"=>"6dea912122e999239a4663d99fc96ee4507a10bd", "resource_link_title"=>"Eric PR (local:3001)", "roles"=>"urn:lti:instrole:ims/lis/Administrator", "selection_directive"=>"embed_content", "text"=>"", "tool_consumer_info_product_family_code"=>"canvas", "tool_consumer_info_version"=>"cloud", "tool_consumer_instance_contact_email"=>"notifications@instructure.com", "tool_consumer_instance_guid"=>"7db438071375c02373713c12c73869ff2f470b68.karl.instructure.com", "tool_consumer_instance_name"=>"Karl Lloyd Sandbox", "user_id"=>"6c04ace457f1c802ed7ddc76642b26e27003fe7a", "user_image"=>"https://canvas.instructure.com/images/messages/avatar-50.png", "oauth_signature"=>"Ho2E/eZRHubumUBB7WbykCbpA40="}}
9253
+ Completed 200 OK in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms)
@@ -539,3 +539,60 @@ Completed 200 OK in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms)
539
539
  Processing by LtiPublicResources::ApiController#xml_config as HTML
540
540
  Completed 200 OK in 2ms (Views: 0.1ms | ActiveRecord: 0.0ms)
541
541
   (0.1ms) rollback transaction
542
+ Initializing using /Users/ericb/Projects/Instructure/lti_public_resources/spec/test_app/config/lti_public_resources_config.yml
543
+  (0.1ms) begin transaction
544
+ Started GET "/lti_public_resources/test/backdoor" for 127.0.0.1 at 2014-02-24 09:50:28 -0700
545
+ Processing by LtiPublicResources::TestController#backdoor as HTML
546
+ Rendered /Users/ericb/Projects/Instructure/lti_public_resources/app/views/lti_public_resources/test/backdoor.html.erb (1.9ms)
547
+ Completed 200 OK in 9ms (Views: 8.5ms | ActiveRecord: 0.0ms)
548
+ Started POST "/lti_public_resources/" for 127.0.0.1 at 2014-02-24 09:50:28 -0700
549
+ Processing by LtiPublicResources::EmberController#app as HTML
550
+ Parameters: {"utf8"=>"✓"}
551
+ Rendered /Users/ericb/Projects/Instructure/lti_public_resources/app/views/lti_public_resources/ember/_analytics.html.erb (0.5ms)
552
+ Rendered /Users/ericb/Projects/Instructure/lti_public_resources/app/views/lti_public_resources/ember/app.html.erb (91.3ms)
553
+ Completed 200 OK in 93ms (Views: 92.5ms | ActiveRecord: 0.0ms)
554
+ Started GET "/assets/lti_public_resources/application.css" for 127.0.0.1 at 2014-02-24 09:50:28 -0700
555
+ Started GET "/assets/lti_public_resources/application.js" for 127.0.0.1 at 2014-02-24 09:50:28 -0700
556
+ Started GET "/lti_public_resources/api/lti_apps" for 127.0.0.1 at 2014-02-24 09:50:29 -0700
557
+ Processing by LtiPublicResources::ApiController#lti_apps as */*
558
+ Completed 200 OK in 1ms (Views: 0.7ms | ActiveRecord: 0.0ms)
559
+ Started GET "/assets/lti_public_resources/youtube_banner.png" for 127.0.0.1 at 2014-02-24 09:50:29 -0700
560
+ Started GET "/assets/lti_public_resources/vimeo_banner.png" for 127.0.0.1 at 2014-02-24 09:50:29 -0700
561
+ Started GET "/assets/lti_public_resources/khan_academy_banner.png" for 127.0.0.1 at 2014-02-24 09:50:29 -0700
562
+ Started GET "/assets/lti_public_resources/schooltube_banner.png" for 127.0.0.1 at 2014-02-24 09:50:29 -0700
563
+ Started GET "/assets/lti_public_resources/quizlet_banner.png" for 127.0.0.1 at 2014-02-24 09:50:29 -0700
564
+ Started GET "/assets/lti_public_resources/public_resources_logo.png" for 127.0.0.1 at 2014-02-24 09:50:29 -0700
565
+  (0.1ms) rollback transaction
566
+  (0.2ms) begin transaction
567
+ Processing by LtiPublicResources::ApiController#lti_apps as HTML
568
+ Completed 200 OK in 1ms (Views: 0.7ms | ActiveRecord: 0.0ms)
569
+  (0.1ms) rollback transaction
570
+  (0.2ms) begin transaction
571
+ Processing by LtiPublicResources::ApiController#xml_config as HTML
572
+ Parameters: {"id"=>"khan_academy"}
573
+ Completed 200 OK in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms)
574
+  (0.1ms) rollback transaction
575
+  (0.2ms) begin transaction
576
+ Processing by LtiPublicResources::ApiController#xml_config as HTML
577
+ Completed 200 OK in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms)
578
+  (0.1ms) rollback transaction
579
+  (0.2ms) begin transaction
580
+ Processing by LtiPublicResources::ApiController#xml_config as HTML
581
+ Parameters: {"id"=>"schooltube"}
582
+ Completed 200 OK in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms)
583
+  (0.1ms) rollback transaction
584
+  (0.1ms) begin transaction
585
+ Processing by LtiPublicResources::ApiController#xml_config as HTML
586
+ Parameters: {"id"=>"youtube"}
587
+ Completed 200 OK in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms)
588
+  (0.1ms) rollback transaction
589
+  (0.0ms) begin transaction
590
+ Processing by LtiPublicResources::ApiController#xml_config as HTML
591
+ Parameters: {"id"=>"quizlet"}
592
+ Completed 200 OK in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms)
593
+  (0.1ms) rollback transaction
594
+  (0.0ms) begin transaction
595
+ Processing by LtiPublicResources::ApiController#xml_config as HTML
596
+ Parameters: {"id"=>"vimeo"}
597
+ Completed 200 OK in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms)
598
+  (0.1ms) rollback transaction
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: lti_public_resources
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.5
4
+ version: 0.1.6
5
5
  platform: ruby
6
6
  authors:
7
7
  - Eric Berry
@@ -31,14 +31,14 @@ dependencies:
31
31
  requirements:
32
32
  - - ~>
33
33
  - !ruby/object:Gem::Version
34
- version: 0.1.2
34
+ version: 0.1.3
35
35
  type: :runtime
36
36
  prerelease: false
37
37
  version_requirements: !ruby/object:Gem::Requirement
38
38
  requirements:
39
39
  - - ~>
40
40
  - !ruby/object:Gem::Version
41
- version: 0.1.2
41
+ version: 0.1.3
42
42
  - !ruby/object:Gem::Dependency
43
43
  name: ims-lti
44
44
  requirement: !ruby/object:Gem::Requirement
@@ -163,7 +163,6 @@ files:
163
163
  - lib/tasks/assets.rake
164
164
  - lib/tasks/lti_public_resources_tasks.rake
165
165
  - spec/controllers/lti_public_resources/api_controller_spec.rb
166
- - spec/controllers/lti_public_resources/ember_controller_spec.rb
167
166
  - spec/features/lti_public_resources/workflow_spec.rb
168
167
  - spec/spec_helper.rb
169
168
  - spec/test_app/README.rdoc
@@ -370,7 +369,6 @@ specification_version: 4
370
369
  summary: Public Resources LTI app
371
370
  test_files:
372
371
  - spec/controllers/lti_public_resources/api_controller_spec.rb
373
- - spec/controllers/lti_public_resources/ember_controller_spec.rb
374
372
  - spec/features/lti_public_resources/workflow_spec.rb
375
373
  - spec/spec_helper.rb
376
374
  - spec/test_app/app/assets/javascripts/application.js
@@ -1,26 +0,0 @@
1
- require 'spec_helper'
2
-
3
- module LtiPublicResources
4
- describe EmberController do
5
-
6
- describe "GET launch" do
7
- it "should redirect with valid URL" do
8
- url = "https://twitter.com"
9
- get :launch, url: url, use_route: :lti_public_resources
10
- expect(response).to redirect_to(url)
11
- end
12
-
13
- it "should return a 500 with invalid URL" do
14
- url = "/some/relative/path"
15
- get :launch, url: url, use_route: :lti_public_resources
16
- expect(response.status).to eq(500)
17
- end
18
-
19
- it "should return a 500 with no url passed" do
20
- get :launch, use_route: :lti_public_resources
21
- expect(response.status).to eq(500)
22
- end
23
- end
24
-
25
- end
26
- end