lti_provider_engine 0.0.6 → 1.2.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
- SHA1:
3
- metadata.gz: c55c51b826ad1cb014b9bb32a4d603176b64eb0d
4
- data.tar.gz: 3b66f2a3becb31d75986e5572f0c8be333cb2e77
2
+ SHA256:
3
+ metadata.gz: 941809dcc165bba97d78e8be9ba0f47a3f8c4ea63e7fdb2c253e93e374ace9f9
4
+ data.tar.gz: 81ce27a2af3b93aade9db6f87d69e1f7a037d295bd3f2e08a806cd5e8af64c6c
5
5
  SHA512:
6
- metadata.gz: fb00971ceffa2b7c4b5702fb66185eb3e4e053399cac15f13b30831a51e2534554c0919989891fbaccdd8e1f47b381618e056e70ce665b50040eeb4dd5a707a4
7
- data.tar.gz: 0f3f768d7cf5f0e049b659d56b63164533c2bc74da541ae26056d1d64e81924c96d4068fec260f407f39a45829b54576dde8085b56137db479a85193151affd9
6
+ metadata.gz: 59ccefd6afbaa5353e7d84d07eeb636f00642b6417a973260efa52b53a22d9c770fd3c873e7f8949f9746c6371d8db7ed690676fe72c3de6d69fa2bd646b1976
7
+ data.tar.gz: 12462118809d973370804c9817d01a421cebc44b2f244e2443a54429a54bb5b7ccb10c0e43290dc07e452f8c2c7c8c67c6b489e9a85c73f7e63956cadece3e2a
@@ -1,8 +1,8 @@
1
- require 'oauth/request_proxy/rack_request'
1
+ require 'oauth/request_proxy/action_controller_request'
2
2
 
3
3
  module LtiProvider
4
4
  class LtiController < LtiProvider::LtiApplicationController
5
- skip_before_filter :require_lti_launch
5
+ skip_before_action :require_lti_launch
6
6
 
7
7
  def launch
8
8
  provider = IMS::LTI::ToolProvider.new(params['oauth_consumer_key'], LtiProvider::Config.secret, params)
@@ -55,7 +55,7 @@ module LtiProvider
55
55
 
56
56
  protected
57
57
  def show_error(message)
58
- render text: message
58
+ render plain: message
59
59
  end
60
60
  end
61
61
  end
@@ -1,4 +1,4 @@
1
- class CreateLtiProviderLaunches < ActiveRecord::Migration
1
+ class CreateLtiProviderLaunches < ActiveRecord::Migration[4.2]
2
2
  def change
3
3
  create_table "lti_provider_launches", :force => true do |t|
4
4
  t.string "canvas_url"
@@ -6,7 +6,7 @@ module LtiProvider
6
6
  end
7
7
 
8
8
  included do
9
- before_filter :require_lti_launch
9
+ before_action :require_lti_launch
10
10
  end
11
11
 
12
12
  protected
@@ -18,7 +18,7 @@ module LtiProvider
18
18
  end
19
19
 
20
20
  def prompt_for_launch
21
- render text: 'Please launch this tool from Canvas and then try again.'
21
+ render plain: 'Please launch this tool from Canvas and then try again.'
22
22
  end
23
23
 
24
24
  def canvas_url
@@ -54,7 +54,7 @@ module LtiProvider
54
54
  end
55
55
 
56
56
  def not_acceptable
57
- render text: "Unable to process request", status: 406
57
+ render plain: "Unable to process request", status: 406
58
58
  end
59
59
  end
60
60
  end
@@ -1,3 +1,3 @@
1
1
  module LtiProvider
2
- VERSION = "0.0.6"
2
+ VERSION = "1.2.0"
3
3
  end
@@ -1,10 +1,14 @@
1
1
  require 'spec_helper'
2
2
 
3
3
  describe LtiProvider::LtiController do
4
+ before do
5
+ @routes = LtiProvider::Engine.routes
6
+ end
7
+
4
8
  let(:user_id) { "1" }
5
9
  let(:parameters) {
6
10
  {
7
- 'launch_url' => "http://#{request.host}",
11
+ 'launch_url' => "http://#{request.host}/launch",
8
12
  'custom_canvas_user_id' => user_id,
9
13
  'launch_presentation_return_url' => "http://test.canvas",
10
14
 
@@ -34,7 +38,7 @@ describe LtiProvider::LtiController do
34
38
  request.env['CONTENT_TYPE'] = 'application/x-www-form-urlencoded'
35
39
  request.env['HTTP_REFERER'] = 'http://test.canvas/external_tools/1'
36
40
 
37
- post :launch, data.merge(use_route: :lti_provider)
41
+ post :launch, params: data
38
42
  end
39
43
 
40
44
  describe "GET cookie_test" do
@@ -42,14 +46,14 @@ describe LtiProvider::LtiController do
42
46
  it "proceeds to oauth" do
43
47
  controller.session[:cookie_test] = true
44
48
  expect(controller).to receive(:consume_launch)
45
- get :cookie_test, use_route: :lti_provider
49
+ get :cookie_test
46
50
  end
47
51
  end
48
52
 
49
53
  context "when failed" do
50
54
  it "renders a message" do
51
- get :cookie_test, use_route: :lti_provider
52
- expect(response).to render_template('cookie_test')
55
+ get :cookie_test
56
+ expect(response).not_to be_redirect
53
57
  end
54
58
  end
55
59
  end
@@ -61,7 +65,8 @@ describe LtiProvider::LtiController do
61
65
  end
62
66
 
63
67
  it "performs a cookie test and passes along the nonce" do
64
- expect(response.redirect_url).to include(lti_provider.cookie_test_url(nonce: '', host: request.host))
68
+ launch = LtiProvider::Launch.first
69
+ expect(response.redirect_url).to redirect_to(lti_provider.cookie_test_url(nonce: launch.nonce, host: request.host))
65
70
  end
66
71
 
67
72
  it "saves the launch record" do
@@ -100,7 +105,7 @@ describe LtiProvider::LtiController do
100
105
 
101
106
  describe "a successful launch" do
102
107
  it "sets the session params" do
103
- get :consume_launch, nonce: 'abcd', use_route: :lti_provider
108
+ get :consume_launch, params: { nonce: 'abcd' }
104
109
  expect(session[:course_id]).to eq 1
105
110
  expect(session[:user_id]).to eq 2
106
111
  expect(session[:canvas_url]).to eq 'http://canvas'
@@ -109,25 +114,25 @@ describe LtiProvider::LtiController do
109
114
  end
110
115
 
111
116
  it "destroys the launch" do
112
- get :consume_launch, nonce: 'abcd', use_route: :lti_provider
117
+ get :consume_launch, params: { nonce: 'abcd' }
113
118
  expect(LtiProvider::Launch.count).to eq 0
114
119
  end
115
120
  end
116
121
 
117
122
  describe "an expired nonce" do
118
123
  before do
119
- launch.update_attribute(:created_at, 10.minutes.ago)
124
+ launch.update(:created_at, 10.minutes.ago)
120
125
  end
121
126
 
122
127
  it "shows an error" do
123
- get :consume_launch, nonce: 'abcd', use_route: :lti_provider
128
+ get :consume_launch, params: { nonce: 'abcd' }
124
129
  expect(response.body).to be =~ /not launched successfully/
125
130
  end
126
131
  end
127
132
 
128
133
  describe "a failed launch" do
129
134
  it "shows an error" do
130
- get :consume_launch, nonce: 'invalid', use_route: :lti_provider
135
+ get :consume_launch, params: { nonce: 'invalid' }
131
136
  expect(response.body).to be =~ /not launched successfully/
132
137
  end
133
138
  end
@@ -135,8 +140,8 @@ describe LtiProvider::LtiController do
135
140
 
136
141
  describe "configure.xml" do
137
142
  it "succeeds" do
138
- get :configure, format: :xml, use_route: :lti_provider
139
- expect(response).to be_success
143
+ get :configure, format: :xml
144
+ expect(response).to be_successful
140
145
  end
141
146
  end
142
147
  end
@@ -4,5 +4,4 @@
4
4
  # If you change this key, all old signed cookies will become invalid!
5
5
  # Make sure the secret is at least 30 characters and all random,
6
6
  # no regular words or you'll be exposed to dictionary attacks.
7
- Dummy::Application.config.secret_token = '8f96a1f3e47ab183a6d3c4c5ac4c1ae9f1b271effdba9e1e9ebfbb7cba9bf0fad6182c716dc62c604cbaaae6d86e93c26b867262a04ef0ad770ece90161ede0e'
8
7
  Dummy::Application.config.secret_key_base = '2a505b354d477f5afeb132e5fa73bd13d118cf0a5b0faa3f7f14dc1dcb6c518d5d0a01ad8dd8c9ea3f46052723fc0a7ef04d22e80bd52109986458d64fe372c5'
@@ -1,5 +1,5 @@
1
1
  # This migration comes from lti_provider (originally 20130319050003)
2
- class CreateLtiProviderLaunches < ActiveRecord::Migration
2
+ class CreateLtiProviderLaunches < ActiveRecord::Migration[4.2]
3
3
  def change
4
4
  create_table "lti_provider_launches", :force => true do |t|
5
5
  t.string "canvas_url"
@@ -1,18 +1,6 @@
1
1
  require 'spec_helper'
2
2
 
3
3
  describe LtiProvider::Launch do
4
- describe "validations" do
5
- subject(:launch) do
6
- l = LtiProvider::Launch.new
7
- l.provider_params = {}
8
- l
9
- end
10
-
11
- it { is_expected.to validate_presence_of :canvas_url }
12
- it { is_expected.to validate_presence_of :nonce }
13
- it { is_expected.to validate_presence_of :provider_params }
14
- end
15
-
16
4
  describe ".initialize_from_request" do
17
5
  let(:provider) do
18
6
  p = double('provider')
@@ -40,12 +28,14 @@ describe LtiProvider::Launch do
40
28
 
41
29
  subject(:launch) { LtiProvider::Launch.initialize_from_request(provider, request) }
42
30
 
43
- its(:course_id) { is_expected.to eq 1 }
44
- its(:tool_consumer_instance_guid) { is_expected.to eq '123abc' }
45
- its(:user_id) { is_expected.to eq 2 }
46
- its(:nonce) { is_expected.to eq 'nonce' }
47
- its(:account_id) { is_expected.to be_nil }
48
- its(:canvas_url) { is_expected.to eq 'http://example.com' }
31
+ it "parses params" do
32
+ expect(subject.course_id).to eq 1
33
+ expect(subject.tool_consumer_instance_guid).to eq '123abc'
34
+ expect(subject.user_id).to eq 2
35
+ expect(subject.nonce).to eq 'nonce'
36
+ expect(subject.account_id).to be_nil
37
+ expect(subject.canvas_url).to eq 'http://example.com'
38
+ end
49
39
  end
50
40
 
51
41
  describe "xml_config" do
data/spec/spec_helper.rb CHANGED
@@ -2,10 +2,9 @@
2
2
  ENV["RAILS_ENV"] ||= 'test'
3
3
  require File.expand_path("../dummy/config/environment", __FILE__)
4
4
  require 'rspec/rails'
5
- require 'rspec/its'
6
5
  require 'webmock/rspec'
7
- require 'shoulda/matchers'
8
6
  require 'nokogiri'
7
+ require 'byebug'
9
8
 
10
9
  # Requires supporting ruby files with custom matchers and macros, etc,
11
10
  # in spec/support/ and its subdirectories.
@@ -23,13 +22,6 @@ module LtiProvider
23
22
  end
24
23
  end
25
24
 
26
- Shoulda::Matchers.configure do |config|
27
- config.integrate do |with|
28
- with.test_framework :rspec
29
- with.library :rails
30
- end
31
- end
32
-
33
25
  RSpec.configure do |config|
34
26
  # ## Mock Framework
35
27
  #
metadata CHANGED
@@ -1,16 +1,16 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: lti_provider_engine
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.6
4
+ version: 1.2.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Dave Donahue
8
8
  - Adam Anderson
9
9
  - Simon Williams
10
- autorequire:
10
+ autorequire:
11
11
  bindir: bin
12
12
  cert_chain: []
13
- date: 2016-08-16 00:00:00.000000000 Z
13
+ date: 2022-03-18 00:00:00.000000000 Z
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
16
  name: rails
@@ -18,34 +18,34 @@ dependencies:
18
18
  requirements:
19
19
  - - ">="
20
20
  - !ruby/object:Gem::Version
21
- version: '3.2'
22
- - - "<"
21
+ version: '4.2'
22
+ - - "<="
23
23
  - !ruby/object:Gem::Version
24
- version: '4.3'
24
+ version: 6.1.4.2
25
25
  type: :runtime
26
26
  prerelease: false
27
27
  version_requirements: !ruby/object:Gem::Requirement
28
28
  requirements:
29
29
  - - ">="
30
30
  - !ruby/object:Gem::Version
31
- version: '3.2'
32
- - - "<"
31
+ version: '4.2'
32
+ - - "<="
33
33
  - !ruby/object:Gem::Version
34
- version: '4.3'
34
+ version: 6.1.4.2
35
35
  - !ruby/object:Gem::Dependency
36
36
  name: ims-lti
37
37
  requirement: !ruby/object:Gem::Requirement
38
38
  requirements:
39
- - - '='
39
+ - - "~>"
40
40
  - !ruby/object:Gem::Version
41
- version: 1.1.4
41
+ version: '1.2'
42
42
  type: :runtime
43
43
  prerelease: false
44
44
  version_requirements: !ruby/object:Gem::Requirement
45
45
  requirements:
46
- - - '='
46
+ - - "~>"
47
47
  - !ruby/object:Gem::Version
48
- version: 1.1.4
48
+ version: '1.2'
49
49
  - !ruby/object:Gem::Dependency
50
50
  name: sqlite3
51
51
  requirement: !ruby/object:Gem::Requirement
@@ -89,7 +89,7 @@ dependencies:
89
89
  - !ruby/object:Gem::Version
90
90
  version: '0'
91
91
  - !ruby/object:Gem::Dependency
92
- name: rspec-its
92
+ name: rspec-rails
93
93
  requirement: !ruby/object:Gem::Requirement
94
94
  requirements:
95
95
  - - ">="
@@ -103,7 +103,7 @@ dependencies:
103
103
  - !ruby/object:Gem::Version
104
104
  version: '0'
105
105
  - !ruby/object:Gem::Dependency
106
- name: rspec-rails
106
+ name: rspec-rails-mocha
107
107
  requirement: !ruby/object:Gem::Requirement
108
108
  requirements:
109
109
  - - ">="
@@ -117,7 +117,7 @@ dependencies:
117
117
  - !ruby/object:Gem::Version
118
118
  version: '0'
119
119
  - !ruby/object:Gem::Dependency
120
- name: rspec-rails-mocha
120
+ name: webmock
121
121
  requirement: !ruby/object:Gem::Requirement
122
122
  requirements:
123
123
  - - ">="
@@ -131,7 +131,7 @@ dependencies:
131
131
  - !ruby/object:Gem::Version
132
132
  version: '0'
133
133
  - !ruby/object:Gem::Dependency
134
- name: shoulda-matchers
134
+ name: guard-rspec
135
135
  requirement: !ruby/object:Gem::Requirement
136
136
  requirements:
137
137
  - - ">="
@@ -145,21 +145,21 @@ dependencies:
145
145
  - !ruby/object:Gem::Version
146
146
  version: '0'
147
147
  - !ruby/object:Gem::Dependency
148
- name: webmock
148
+ name: listen
149
149
  requirement: !ruby/object:Gem::Requirement
150
150
  requirements:
151
- - - ">="
151
+ - - "~>"
152
152
  - !ruby/object:Gem::Version
153
- version: '0'
153
+ version: 3.0.6
154
154
  type: :development
155
155
  prerelease: false
156
156
  version_requirements: !ruby/object:Gem::Requirement
157
157
  requirements:
158
- - - ">="
158
+ - - "~>"
159
159
  - !ruby/object:Gem::Version
160
- version: '0'
160
+ version: 3.0.6
161
161
  - !ruby/object:Gem::Dependency
162
- name: guard-rspec
162
+ name: rb-fsevent
163
163
  requirement: !ruby/object:Gem::Requirement
164
164
  requirements:
165
165
  - - ">="
@@ -173,7 +173,7 @@ dependencies:
173
173
  - !ruby/object:Gem::Version
174
174
  version: '0'
175
175
  - !ruby/object:Gem::Dependency
176
- name: rb-fsevent
176
+ name: byebug
177
177
  requirement: !ruby/object:Gem::Requirement
178
178
  requirements:
179
179
  - - ">="
@@ -186,7 +186,21 @@ dependencies:
186
186
  - - ">="
187
187
  - !ruby/object:Gem::Version
188
188
  version: '0'
189
- description:
189
+ - !ruby/object:Gem::Dependency
190
+ name: sprockets
191
+ requirement: !ruby/object:Gem::Requirement
192
+ requirements:
193
+ - - "~>"
194
+ - !ruby/object:Gem::Version
195
+ version: '3.0'
196
+ type: :development
197
+ prerelease: false
198
+ version_requirements: !ruby/object:Gem::Requirement
199
+ requirements:
200
+ - - "~>"
201
+ - !ruby/object:Gem::Version
202
+ version: '3.0'
203
+ description:
190
204
  email:
191
205
  - adam.anderson@12spokes.com
192
206
  - simon@instructure.com
@@ -238,12 +252,8 @@ files:
238
252
  - spec/dummy/config/lti.yml
239
253
  - spec/dummy/config/lti_xml.yml
240
254
  - spec/dummy/config/routes.rb
241
- - spec/dummy/db/development.sqlite3
242
255
  - spec/dummy/db/migrate/20130319050206_create_lti_provider_launches.lti_provider.rb
243
256
  - spec/dummy/db/schema.rb
244
- - spec/dummy/db/test.sqlite3
245
- - spec/dummy/log/development.log
246
- - spec/dummy/log/test.log
247
257
  - spec/dummy/public/404.html
248
258
  - spec/dummy/public/422.html
249
259
  - spec/dummy/public/500.html
@@ -256,7 +266,7 @@ homepage: https://github.com/instructure/lti_provider_engine
256
266
  licenses:
257
267
  - MIT
258
268
  metadata: {}
259
- post_install_message:
269
+ post_install_message:
260
270
  rdoc_options: []
261
271
  require_paths:
262
272
  - lib
@@ -271,48 +281,42 @@ required_rubygems_version: !ruby/object:Gem::Requirement
271
281
  - !ruby/object:Gem::Version
272
282
  version: '0'
273
283
  requirements: []
274
- rubyforge_project:
275
- rubygems_version: 2.4.6
276
- signing_key:
284
+ rubygems_version: 3.1.6
285
+ signing_key:
277
286
  specification_version: 4
278
287
  summary: LtiProvider is a mountable engine for handling the LTI launch and exposing
279
288
  LTI parameters in your rails app.
280
289
  test_files:
281
- - spec/controllers/lti_provider/lti_controller_spec.rb
290
+ - spec/spec_helper.rb
282
291
  - spec/dummy/app/controllers/application_controller.rb
283
292
  - spec/dummy/app/controllers/welcome_controller.rb
284
- - spec/dummy/config/application.rb
285
- - spec/dummy/config/boot.rb
286
293
  - spec/dummy/config/cucumber.yml
287
- - spec/dummy/config/database.yml
288
- - spec/dummy/config/environment.rb
289
- - spec/dummy/config/environments/development.rb
294
+ - spec/dummy/config/routes.rb
295
+ - spec/dummy/config/locales/en.yml
296
+ - spec/dummy/config/lti.yml
290
297
  - spec/dummy/config/environments/production.rb
298
+ - spec/dummy/config/environments/development.rb
291
299
  - spec/dummy/config/environments/test.rb
300
+ - spec/dummy/config/environment.rb
301
+ - spec/dummy/config/application.rb
302
+ - spec/dummy/config/database.yml
303
+ - spec/dummy/config/boot.rb
304
+ - spec/dummy/config/lti_xml.yml
292
305
  - spec/dummy/config/initializers/backtrace_silencers.rb
293
- - spec/dummy/config/initializers/inflections.rb
294
306
  - spec/dummy/config/initializers/mime_types.rb
295
- - spec/dummy/config/initializers/secret_token.rb
296
307
  - spec/dummy/config/initializers/session_store.rb
297
308
  - spec/dummy/config/initializers/wrap_parameters.rb
298
- - spec/dummy/config/locales/en.yml
299
- - spec/dummy/config/lti.yml
300
- - spec/dummy/config/lti_xml.yml
301
- - spec/dummy/config/routes.rb
309
+ - spec/dummy/config/initializers/secret_token.rb
310
+ - spec/dummy/config/initializers/inflections.rb
302
311
  - spec/dummy/config.ru
303
- - spec/dummy/db/development.sqlite3
304
- - spec/dummy/db/migrate/20130319050206_create_lti_provider_launches.lti_provider.rb
305
- - spec/dummy/db/schema.rb
306
- - spec/dummy/db/test.sqlite3
307
- - spec/dummy/log/development.log
308
- - spec/dummy/log/test.log
309
- - spec/dummy/public/404.html
312
+ - spec/dummy/script/rails
313
+ - spec/dummy/Rakefile
314
+ - spec/dummy/public/favicon.ico
310
315
  - spec/dummy/public/422.html
311
316
  - spec/dummy/public/500.html
312
- - spec/dummy/public/favicon.ico
317
+ - spec/dummy/public/404.html
313
318
  - spec/dummy/public/robots.txt
314
- - spec/dummy/Rakefile
315
- - spec/dummy/script/rails
319
+ - spec/dummy/db/schema.rb
320
+ - spec/dummy/db/migrate/20130319050206_create_lti_provider_launches.lti_provider.rb
316
321
  - spec/models/lti_provider/launch_spec.rb
317
- - spec/spec_helper.rb
318
- has_rdoc:
322
+ - spec/controllers/lti_provider/lti_controller_spec.rb
Binary file
Binary file
@@ -1,32 +0,0 @@
1
- Initializing LTI key and secret using configuration in /Users/ngupta/Documents/lti_provider_engine/spec/dummy/config/lti.yml
2
- Initializing LTI XML config using configuration in /Users/ngupta/Documents/lti_provider_engine/spec/dummy/config/lti_xml.yml
3
- Initializing LTI key and secret using configuration in /Users/ngupta/Documents/lti_provider_engine/spec/dummy/config/lti.yml
4
- Initializing LTI XML config using configuration in /Users/ngupta/Documents/lti_provider_engine/spec/dummy/config/lti_xml.yml
5
- Initializing LTI key and secret using configuration in /Users/ngupta/Documents/lti_provider_engine/spec/dummy/config/lti.yml
6
- Initializing LTI XML config using configuration in /Users/ngupta/Documents/lti_provider_engine/spec/dummy/config/lti_xml.yml
7
-  (1.7ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL) 
8
-  (0.4ms) select sqlite_version(*)
9
-  (0.8ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
10
- ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
11
- Migrating to CreateLtiProviderLaunches (20130319050206)
12
-  (0.1ms) begin transaction
13
- DEPRECATION WARNING: `#timestamps` was called without specifying an option for `null`. In Rails 5, this behavior will change to `null: false`. You should manually specify `null: true` to prevent the behavior of your existing migrations from changing. (called from block in change at /Users/ngupta/Documents/lti_provider_engine/spec/dummy/db/migrate/20130319050206_create_lti_provider_launches.lti_provider.rb:9)
14
-  (0.3ms) CREATE TABLE "lti_provider_launches" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "canvas_url" varchar, "nonce" varchar, "provider_params" text, "created_at" datetime, "updated_at" datetime)
15
- SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20130319050206"]]
16
-  (0.8ms) commit transaction
17
- ActiveRecord::SchemaMigration Load (0.0ms) SELECT "schema_migrations".* FROM "schema_migrations"
18
- Initializing LTI key and secret using configuration in /Users/ngupta/Documents/lti_provider_engine/spec/dummy/config/lti.yml
19
- Initializing LTI XML config using configuration in /Users/ngupta/Documents/lti_provider_engine/spec/dummy/config/lti_xml.yml
20
- ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
21
- ActiveRecord::SchemaMigration Load (0.0ms) SELECT "schema_migrations".* FROM "schema_migrations"
22
- Initializing LTI key and secret using configuration in /Users/ngupta/Documents/lti_provider_engine/spec/dummy/config/lti.yml
23
- Initializing LTI XML config using configuration in /Users/ngupta/Documents/lti_provider_engine/spec/dummy/config/lti_xml.yml
24
- ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
25
- Migrating to CreateLtiProviderLaunches (20130319050003)
26
-  (0.1ms) begin transaction
27
- DEPRECATION WARNING: `#timestamps` was called without specifying an option for `null`. In Rails 5, this behavior will change to `null: false`. You should manually specify `null: true` to prevent the behavior of your existing migrations from changing. (called from block in change at /Users/ngupta/Documents/lti_provider_engine/db/migrate/20130319050003_create_lti_provider_launches.rb:8)
28
-  (1.3ms) DROP TABLE "lti_provider_launches"
29
-  (0.1ms) CREATE TABLE "lti_provider_launches" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "canvas_url" varchar, "nonce" varchar, "provider_params" text, "created_at" datetime, "updated_at" datetime)
30
- SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20130319050003"]]
31
-  (0.8ms) commit transaction
32
- ActiveRecord::SchemaMigration Load (0.0ms) SELECT "schema_migrations".* FROM "schema_migrations"