lti_twitter_engine 0.1.0 → 0.1.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Rakefile +5 -11
- data/app/assets/stylesheets/inst_lti_twitter/lti.css.erb +2 -8
- data/app/controllers/inst_lti_twitter/api_controller.rb +21 -1
- data/app/controllers/inst_lti_twitter/test_controller.rb +11 -0
- data/app/views/inst_lti_twitter/test/backdoor.html.erb +5 -0
- data/config/routes.rb +3 -0
- data/lib/inst_lti_twitter/engine.rb +7 -1
- data/lib/inst_lti_twitter/version.rb +1 -1
- metadata +58 -177
- data/test/controllers/inst_lti_twitter/api_controller_test.rb +0 -9
- data/test/controllers/inst_lti_twitter/lti_controller_test.rb +0 -9
- data/test/dummy/README.rdoc +0 -28
- data/test/dummy/Rakefile +0 -6
- data/test/dummy/app/assets/javascripts/application.js +0 -13
- data/test/dummy/app/assets/stylesheets/application.css +0 -13
- data/test/dummy/app/controllers/application_controller.rb +0 -5
- data/test/dummy/app/helpers/application_helper.rb +0 -2
- data/test/dummy/app/views/layouts/application.html.erb +0 -14
- data/test/dummy/bin/bundle +0 -3
- data/test/dummy/bin/rails +0 -4
- data/test/dummy/bin/rake +0 -4
- data/test/dummy/config/application.rb +0 -23
- data/test/dummy/config/boot.rb +0 -5
- data/test/dummy/config/database.yml +0 -25
- data/test/dummy/config/environment.rb +0 -5
- data/test/dummy/config/environments/development.rb +0 -29
- data/test/dummy/config/environments/production.rb +0 -80
- data/test/dummy/config/environments/test.rb +0 -36
- data/test/dummy/config/initializers/backtrace_silencers.rb +0 -7
- data/test/dummy/config/initializers/filter_parameter_logging.rb +0 -4
- data/test/dummy/config/initializers/inflections.rb +0 -16
- data/test/dummy/config/initializers/mime_types.rb +0 -5
- data/test/dummy/config/initializers/secret_token.rb +0 -12
- data/test/dummy/config/initializers/session_store.rb +0 -3
- data/test/dummy/config/initializers/wrap_parameters.rb +0 -14
- data/test/dummy/config/locales/en.yml +0 -23
- data/test/dummy/config/routes.rb +0 -3
- data/test/dummy/config.ru +0 -4
- data/test/dummy/db/development.sqlite3 +0 -0
- data/test/dummy/db/test.sqlite3 +0 -0
- data/test/dummy/log/development.log +0 -401
- data/test/dummy/log/test.log +0 -6
- data/test/dummy/public/404.html +0 -58
- data/test/dummy/public/422.html +0 -58
- data/test/dummy/public/500.html +0 -57
- data/test/dummy/public/favicon.ico +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/28f0960538590d2f560d268a62b4a37f +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/2a3f277c2fb4541253b0deffe68c7153 +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/2ebe5619d6b8770ad2c9b41f1c50db6f +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/32a37f75dd0338f4129d5e0f8d1cee71 +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/3ccd1c565936e4d2231e690812a5a03f +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/3da360372da584de62a6445f59f4f95e +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/41a2eb656aadf139c0c7f33b4dd6771e +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/44c89e51593fa1e32a58d590bc6c4013 +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/4f68db553c2adac80345271fb9182b53 +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/5000f811fc8ec9c39135aefeb7aafe71 +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/64c9e7e740e2e8390269e5ddc2c56833 +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/65813860e88b677bb69b9c0edaea8574 +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/6850ef2030d3057ab841a12a28986e6c +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/6d635ae086a391a31eb576c0b27da029 +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/6d7cd3e98f9cfde59a42727772861074 +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/6f919560d562bff72fe271f529bff047 +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/70b0fcb1eb6531fb0c004456c93d10cf +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/72b43d90db48ee7a456700f199c64bae +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/7b4d8662cc7fd5d6bc523fb0567c0c7c +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/914cfda4ebcc990241b5c5b6920521ba +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/a3faead580690d4b2a473b7bdcf43370 +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/a547d652636a8c119b6e4d4d4def5d09 +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/a62bc4559c56306b54a2ae62e98b8126 +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/a82f947884cb8399db2660d3d92f9bfb +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/af5b6d626004c38e2f28bf82089f72b3 +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/b0b4f1b0bbe233682a33d8c2a71f4244 +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/b767c1f732e8eeb94c6b0a8ee806260d +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/b9d0edc35ef052731b612f17559d6a7e +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/c06af4d34b031305f63b9223911ea920 +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/c142a2169999053d0cb7af6170d7633f +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/c4e4d54345da90bac6a0409d386e1c9e +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/cb4a0efcb18cc1a1cdcfac488974f368 +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/d22cbffd1887f47130c37f80414c2272 +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/d2f6c16be8601a48bd8b3095940760a4 +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/da52dff1b0a16497a8fe2c32d0fb7755 +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/e06cb18ee2c2f53da1abe69b5a50abf0 +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/e2cf53a30f09dad8da66597575bfb3f8 +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/ebc0b45c4800a10392afff2c596840d7 +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/f374b5cf5ed62f835f6933b0573c6666 +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/f5f0c1eaa6ea89f8ebedf408a83544e5 +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/f888a90061817d96bd73575f968919d0 +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/f92a94546b8d4365902e0a4c369176d2 +0 -0
- data/test/inst_lti_twitter_test.rb +0 -7
- data/test/integration/navigation_test.rb +0 -10
- data/test/test_helper.rb +0 -15
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: eaeefb5785537919811f30f1746c6cd98d14faa6
|
4
|
+
data.tar.gz: 0a6ca3042ef29c4eec88194f8d73300db18cfdd1
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b52d425ed1e0443e5521d2a748526c8e1d4027882be6448a8c7ca954814b2e15d2bb9090c8078955091f1e9987563d7387dc3a1dfbf101b3a01d7aa82aefc357
|
7
|
+
data.tar.gz: 84633f6013f471465a72f2eb0a6eb9d0e2a9b62447f83b3577e730034534d08ed4bb60a52db69706f61ef6cb23a7e074834289e88276e087dc43681308e66453
|
data/Rakefile
CHANGED
@@ -14,21 +14,15 @@ RDoc::Task.new(:rdoc) do |rdoc|
|
|
14
14
|
rdoc.rdoc_files.include('lib/**/*.rb')
|
15
15
|
end
|
16
16
|
|
17
|
-
APP_RAKEFILE = File.expand_path("../
|
17
|
+
APP_RAKEFILE = File.expand_path("../spec/test_app/Rakefile", __FILE__)
|
18
18
|
load 'rails/tasks/engine.rake'
|
19
19
|
|
20
|
-
|
21
|
-
|
22
20
|
Bundler::GemHelper.install_tasks
|
23
21
|
|
24
|
-
|
22
|
+
Dir[File.join(File.dirname(__FILE__), 'tasks/**/*.rake')].each {|f| load f }
|
25
23
|
|
26
|
-
|
27
|
-
t.libs << 'lib'
|
28
|
-
t.libs << 'test'
|
29
|
-
t.pattern = 'test/**/*_test.rb'
|
30
|
-
t.verbose = false
|
31
|
-
end
|
24
|
+
require 'rspec/core/rake_task'
|
32
25
|
|
26
|
+
RSpec::Core::RakeTask.new(:spec)
|
33
27
|
|
34
|
-
task default
|
28
|
+
task :default => :spec
|
@@ -1,9 +1,3 @@
|
|
1
|
-
#wrapper {
|
2
|
-
border: 3px solid #ddd;
|
3
|
-
border-radius: 3px;
|
4
|
-
max-width: 560px;
|
5
|
-
min-width: 360px;
|
6
|
-
}
|
7
1
|
#header {
|
8
2
|
padding: 10px;
|
9
3
|
border-bottom: 1px solid #ddd;
|
@@ -11,7 +5,7 @@
|
|
11
5
|
#header h3 {
|
12
6
|
margin: 0px;
|
13
7
|
font-size: 16px;
|
14
|
-
background: url('
|
8
|
+
background: url('/assets/inst_lti_twitter/icon_large.png") %>') right -7px no-repeat;
|
15
9
|
}
|
16
10
|
#list {
|
17
11
|
overflow: auto;
|
@@ -56,4 +50,4 @@
|
|
56
50
|
}
|
57
51
|
.padded {
|
58
52
|
padding: 15px;
|
59
|
-
}
|
53
|
+
}
|
@@ -4,6 +4,27 @@ require 'ims/lti'
|
|
4
4
|
|
5
5
|
module InstLtiTwitter
|
6
6
|
class ApiController < ApplicationController
|
7
|
+
def xml_config
|
8
|
+
host = "#{request.protocol}#{request.host_with_port}"
|
9
|
+
url = "#{host}#{root_path}"
|
10
|
+
title = "Twitter"
|
11
|
+
tool_id = "twitter_lti"
|
12
|
+
tc = IMS::LTI::ToolConfig.new(:title => title, :launch_url => url)
|
13
|
+
tc.extend IMS::LTI::Extensions::Canvas::ToolConfig
|
14
|
+
tc.description = "Embed a Twitter stream"
|
15
|
+
tc.canvas_privacy_anonymous!
|
16
|
+
tc.canvas_domain!(request.host)
|
17
|
+
tc.canvas_icon_url!("#{host}/assets/inst_lti_twitter/icon.png")
|
18
|
+
tc.canvas_text!(title)
|
19
|
+
tc.set_ext_param('canvas.instructure.com', :tool_id, tool_id)
|
20
|
+
tc.canvas_editor_button!(enabled: true)
|
21
|
+
tc.canvas_resource_selection!(enabled: true)
|
22
|
+
render xml: tc.to_xml
|
23
|
+
end
|
24
|
+
|
25
|
+
def health_check
|
26
|
+
head 200
|
27
|
+
end
|
7
28
|
|
8
29
|
def tweets
|
9
30
|
client = Twitter::REST::Client.new do |config|
|
@@ -72,6 +93,5 @@ module InstLtiTwitter
|
|
72
93
|
return redirect_url
|
73
94
|
end
|
74
95
|
end
|
75
|
-
|
76
96
|
end
|
77
97
|
end
|
data/config/routes.rb
CHANGED
@@ -3,4 +3,7 @@ InstLtiTwitter::Engine.routes.draw do
|
|
3
3
|
match "/" => "lti#index", via: [:get, :post]
|
4
4
|
get "/api/tweets" => "api#tweets"
|
5
5
|
post "/api/embed" => "api#embed"
|
6
|
+
get "health_check" => "api#health_check"
|
7
|
+
get "config(.xml)" => "api#xml_config"
|
8
|
+
get "test/backdoor" => "test#backdoor"
|
6
9
|
end
|
@@ -1,7 +1,7 @@
|
|
1
1
|
module InstLtiTwitter
|
2
2
|
class Engine < ::Rails::Engine
|
3
3
|
isolate_namespace InstLtiTwitter
|
4
|
-
|
4
|
+
|
5
5
|
initializer "lti_provider.load_app_instance_data" do |app|
|
6
6
|
InstLtiTwitter.setup do |config|
|
7
7
|
config.app_root = app.root
|
@@ -11,5 +11,11 @@ module InstLtiTwitter
|
|
11
11
|
initializer "lti_provider.lti_config" do |app|
|
12
12
|
InstLtiTwitter::InstLtiTwitterConfig.setup!
|
13
13
|
end
|
14
|
+
|
15
|
+
config.generators do |g|
|
16
|
+
g.test_framework :rspec
|
17
|
+
g.assets false
|
18
|
+
g.helper false
|
19
|
+
end
|
14
20
|
end
|
15
21
|
end
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: lti_twitter_engine
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Eric Berry
|
@@ -9,62 +9,104 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2014-
|
12
|
+
date: 2014-02-07 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: rails
|
16
16
|
requirement: !ruby/object:Gem::Requirement
|
17
17
|
requirements:
|
18
|
-
- -
|
18
|
+
- - ~>
|
19
19
|
- !ruby/object:Gem::Version
|
20
20
|
version: 4.0.0
|
21
21
|
type: :runtime
|
22
22
|
prerelease: false
|
23
23
|
version_requirements: !ruby/object:Gem::Requirement
|
24
24
|
requirements:
|
25
|
-
- -
|
25
|
+
- - ~>
|
26
26
|
- !ruby/object:Gem::Version
|
27
27
|
version: 4.0.0
|
28
28
|
- !ruby/object:Gem::Dependency
|
29
29
|
name: twitter
|
30
30
|
requirement: !ruby/object:Gem::Requirement
|
31
31
|
requirements:
|
32
|
-
- -
|
32
|
+
- - ~>
|
33
33
|
- !ruby/object:Gem::Version
|
34
34
|
version: 5.0.0.rc.1
|
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
41
|
version: 5.0.0.rc.1
|
42
42
|
- !ruby/object:Gem::Dependency
|
43
43
|
name: ims-lti
|
44
44
|
requirement: !ruby/object:Gem::Requirement
|
45
45
|
requirements:
|
46
|
-
- -
|
46
|
+
- - ~>
|
47
47
|
- !ruby/object:Gem::Version
|
48
48
|
version: 1.1.4
|
49
49
|
type: :runtime
|
50
50
|
prerelease: false
|
51
51
|
version_requirements: !ruby/object:Gem::Requirement
|
52
52
|
requirements:
|
53
|
-
- -
|
53
|
+
- - ~>
|
54
54
|
- !ruby/object:Gem::Version
|
55
55
|
version: 1.1.4
|
56
56
|
- !ruby/object:Gem::Dependency
|
57
57
|
name: sqlite3
|
58
58
|
requirement: !ruby/object:Gem::Requirement
|
59
59
|
requirements:
|
60
|
-
- -
|
60
|
+
- - '>='
|
61
61
|
- !ruby/object:Gem::Version
|
62
62
|
version: '0'
|
63
63
|
type: :development
|
64
64
|
prerelease: false
|
65
65
|
version_requirements: !ruby/object:Gem::Requirement
|
66
66
|
requirements:
|
67
|
-
- -
|
67
|
+
- - '>='
|
68
|
+
- !ruby/object:Gem::Version
|
69
|
+
version: '0'
|
70
|
+
- !ruby/object:Gem::Dependency
|
71
|
+
name: rspec-rails
|
72
|
+
requirement: !ruby/object:Gem::Requirement
|
73
|
+
requirements:
|
74
|
+
- - ~>
|
75
|
+
- !ruby/object:Gem::Version
|
76
|
+
version: 2.14.1
|
77
|
+
type: :development
|
78
|
+
prerelease: false
|
79
|
+
version_requirements: !ruby/object:Gem::Requirement
|
80
|
+
requirements:
|
81
|
+
- - ~>
|
82
|
+
- !ruby/object:Gem::Version
|
83
|
+
version: 2.14.1
|
84
|
+
- !ruby/object:Gem::Dependency
|
85
|
+
name: capybara
|
86
|
+
requirement: !ruby/object:Gem::Requirement
|
87
|
+
requirements:
|
88
|
+
- - '>='
|
89
|
+
- !ruby/object:Gem::Version
|
90
|
+
version: '0'
|
91
|
+
type: :development
|
92
|
+
prerelease: false
|
93
|
+
version_requirements: !ruby/object:Gem::Requirement
|
94
|
+
requirements:
|
95
|
+
- - '>='
|
96
|
+
- !ruby/object:Gem::Version
|
97
|
+
version: '0'
|
98
|
+
- !ruby/object:Gem::Dependency
|
99
|
+
name: poltergeist
|
100
|
+
requirement: !ruby/object:Gem::Requirement
|
101
|
+
requirements:
|
102
|
+
- - '>='
|
103
|
+
- !ruby/object:Gem::Version
|
104
|
+
version: '0'
|
105
|
+
type: :development
|
106
|
+
prerelease: false
|
107
|
+
version_requirements: !ruby/object:Gem::Requirement
|
108
|
+
requirements:
|
109
|
+
- - '>='
|
68
110
|
- !ruby/object:Gem::Version
|
69
111
|
version: '0'
|
70
112
|
description: Embed a Twitter widget into your LMS with this LTI App.
|
@@ -91,7 +133,9 @@ files:
|
|
91
133
|
- app/controllers/inst_lti_twitter/api_controller.rb
|
92
134
|
- app/controllers/inst_lti_twitter/application_controller.rb
|
93
135
|
- app/controllers/inst_lti_twitter/lti_controller.rb
|
136
|
+
- app/controllers/inst_lti_twitter/test_controller.rb
|
94
137
|
- app/views/inst_lti_twitter/lti/index.html.erb
|
138
|
+
- app/views/inst_lti_twitter/test/backdoor.html.erb
|
95
139
|
- app/views/layouts/inst_lti_twitter/application.html.erb
|
96
140
|
- config/inst_lti_twitter_config.yml.example
|
97
141
|
- config/routes.rb
|
@@ -101,88 +145,6 @@ files:
|
|
101
145
|
- lib/inst_lti_twitter/inst_lti_twitter_config.rb
|
102
146
|
- lib/inst_lti_twitter/version.rb
|
103
147
|
- lib/tasks/inst_lti_twitter_tasks.rake
|
104
|
-
- test/controllers/inst_lti_twitter/api_controller_test.rb
|
105
|
-
- test/controllers/inst_lti_twitter/lti_controller_test.rb
|
106
|
-
- test/dummy/README.rdoc
|
107
|
-
- test/dummy/Rakefile
|
108
|
-
- test/dummy/app/assets/javascripts/application.js
|
109
|
-
- test/dummy/app/assets/stylesheets/application.css
|
110
|
-
- test/dummy/app/controllers/application_controller.rb
|
111
|
-
- test/dummy/app/helpers/application_helper.rb
|
112
|
-
- test/dummy/app/views/layouts/application.html.erb
|
113
|
-
- test/dummy/bin/bundle
|
114
|
-
- test/dummy/bin/rails
|
115
|
-
- test/dummy/bin/rake
|
116
|
-
- test/dummy/config.ru
|
117
|
-
- test/dummy/config/application.rb
|
118
|
-
- test/dummy/config/boot.rb
|
119
|
-
- test/dummy/config/database.yml
|
120
|
-
- test/dummy/config/environment.rb
|
121
|
-
- test/dummy/config/environments/development.rb
|
122
|
-
- test/dummy/config/environments/production.rb
|
123
|
-
- test/dummy/config/environments/test.rb
|
124
|
-
- test/dummy/config/initializers/backtrace_silencers.rb
|
125
|
-
- test/dummy/config/initializers/filter_parameter_logging.rb
|
126
|
-
- test/dummy/config/initializers/inflections.rb
|
127
|
-
- test/dummy/config/initializers/mime_types.rb
|
128
|
-
- test/dummy/config/initializers/secret_token.rb
|
129
|
-
- test/dummy/config/initializers/session_store.rb
|
130
|
-
- test/dummy/config/initializers/wrap_parameters.rb
|
131
|
-
- test/dummy/config/locales/en.yml
|
132
|
-
- test/dummy/config/routes.rb
|
133
|
-
- test/dummy/db/development.sqlite3
|
134
|
-
- test/dummy/db/test.sqlite3
|
135
|
-
- test/dummy/log/development.log
|
136
|
-
- test/dummy/log/test.log
|
137
|
-
- test/dummy/public/404.html
|
138
|
-
- test/dummy/public/422.html
|
139
|
-
- test/dummy/public/500.html
|
140
|
-
- test/dummy/public/favicon.ico
|
141
|
-
- test/dummy/tmp/cache/assets/development/sprockets/28f0960538590d2f560d268a62b4a37f
|
142
|
-
- test/dummy/tmp/cache/assets/development/sprockets/2a3f277c2fb4541253b0deffe68c7153
|
143
|
-
- test/dummy/tmp/cache/assets/development/sprockets/2ebe5619d6b8770ad2c9b41f1c50db6f
|
144
|
-
- test/dummy/tmp/cache/assets/development/sprockets/32a37f75dd0338f4129d5e0f8d1cee71
|
145
|
-
- test/dummy/tmp/cache/assets/development/sprockets/3ccd1c565936e4d2231e690812a5a03f
|
146
|
-
- test/dummy/tmp/cache/assets/development/sprockets/3da360372da584de62a6445f59f4f95e
|
147
|
-
- test/dummy/tmp/cache/assets/development/sprockets/41a2eb656aadf139c0c7f33b4dd6771e
|
148
|
-
- test/dummy/tmp/cache/assets/development/sprockets/44c89e51593fa1e32a58d590bc6c4013
|
149
|
-
- test/dummy/tmp/cache/assets/development/sprockets/4f68db553c2adac80345271fb9182b53
|
150
|
-
- test/dummy/tmp/cache/assets/development/sprockets/5000f811fc8ec9c39135aefeb7aafe71
|
151
|
-
- test/dummy/tmp/cache/assets/development/sprockets/64c9e7e740e2e8390269e5ddc2c56833
|
152
|
-
- test/dummy/tmp/cache/assets/development/sprockets/65813860e88b677bb69b9c0edaea8574
|
153
|
-
- test/dummy/tmp/cache/assets/development/sprockets/6850ef2030d3057ab841a12a28986e6c
|
154
|
-
- test/dummy/tmp/cache/assets/development/sprockets/6d635ae086a391a31eb576c0b27da029
|
155
|
-
- test/dummy/tmp/cache/assets/development/sprockets/6d7cd3e98f9cfde59a42727772861074
|
156
|
-
- test/dummy/tmp/cache/assets/development/sprockets/6f919560d562bff72fe271f529bff047
|
157
|
-
- test/dummy/tmp/cache/assets/development/sprockets/70b0fcb1eb6531fb0c004456c93d10cf
|
158
|
-
- test/dummy/tmp/cache/assets/development/sprockets/72b43d90db48ee7a456700f199c64bae
|
159
|
-
- test/dummy/tmp/cache/assets/development/sprockets/7b4d8662cc7fd5d6bc523fb0567c0c7c
|
160
|
-
- test/dummy/tmp/cache/assets/development/sprockets/914cfda4ebcc990241b5c5b6920521ba
|
161
|
-
- test/dummy/tmp/cache/assets/development/sprockets/a3faead580690d4b2a473b7bdcf43370
|
162
|
-
- test/dummy/tmp/cache/assets/development/sprockets/a547d652636a8c119b6e4d4d4def5d09
|
163
|
-
- test/dummy/tmp/cache/assets/development/sprockets/a62bc4559c56306b54a2ae62e98b8126
|
164
|
-
- test/dummy/tmp/cache/assets/development/sprockets/a82f947884cb8399db2660d3d92f9bfb
|
165
|
-
- test/dummy/tmp/cache/assets/development/sprockets/af5b6d626004c38e2f28bf82089f72b3
|
166
|
-
- test/dummy/tmp/cache/assets/development/sprockets/b0b4f1b0bbe233682a33d8c2a71f4244
|
167
|
-
- test/dummy/tmp/cache/assets/development/sprockets/b767c1f732e8eeb94c6b0a8ee806260d
|
168
|
-
- test/dummy/tmp/cache/assets/development/sprockets/b9d0edc35ef052731b612f17559d6a7e
|
169
|
-
- test/dummy/tmp/cache/assets/development/sprockets/c06af4d34b031305f63b9223911ea920
|
170
|
-
- test/dummy/tmp/cache/assets/development/sprockets/c142a2169999053d0cb7af6170d7633f
|
171
|
-
- test/dummy/tmp/cache/assets/development/sprockets/c4e4d54345da90bac6a0409d386e1c9e
|
172
|
-
- test/dummy/tmp/cache/assets/development/sprockets/cb4a0efcb18cc1a1cdcfac488974f368
|
173
|
-
- test/dummy/tmp/cache/assets/development/sprockets/d22cbffd1887f47130c37f80414c2272
|
174
|
-
- test/dummy/tmp/cache/assets/development/sprockets/d2f6c16be8601a48bd8b3095940760a4
|
175
|
-
- test/dummy/tmp/cache/assets/development/sprockets/da52dff1b0a16497a8fe2c32d0fb7755
|
176
|
-
- test/dummy/tmp/cache/assets/development/sprockets/e06cb18ee2c2f53da1abe69b5a50abf0
|
177
|
-
- test/dummy/tmp/cache/assets/development/sprockets/e2cf53a30f09dad8da66597575bfb3f8
|
178
|
-
- test/dummy/tmp/cache/assets/development/sprockets/ebc0b45c4800a10392afff2c596840d7
|
179
|
-
- test/dummy/tmp/cache/assets/development/sprockets/f374b5cf5ed62f835f6933b0573c6666
|
180
|
-
- test/dummy/tmp/cache/assets/development/sprockets/f5f0c1eaa6ea89f8ebedf408a83544e5
|
181
|
-
- test/dummy/tmp/cache/assets/development/sprockets/f888a90061817d96bd73575f968919d0
|
182
|
-
- test/dummy/tmp/cache/assets/development/sprockets/f92a94546b8d4365902e0a4c369176d2
|
183
|
-
- test/inst_lti_twitter_test.rb
|
184
|
-
- test/integration/navigation_test.rb
|
185
|
-
- test/test_helper.rb
|
186
148
|
homepage: https://github.com/instructure/inst-lti-twitter
|
187
149
|
licenses: []
|
188
150
|
metadata: {}
|
@@ -192,12 +154,12 @@ require_paths:
|
|
192
154
|
- lib
|
193
155
|
required_ruby_version: !ruby/object:Gem::Requirement
|
194
156
|
requirements:
|
195
|
-
- -
|
157
|
+
- - '>='
|
196
158
|
- !ruby/object:Gem::Version
|
197
159
|
version: '0'
|
198
160
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
199
161
|
requirements:
|
200
|
-
- -
|
162
|
+
- - '>='
|
201
163
|
- !ruby/object:Gem::Version
|
202
164
|
version: '0'
|
203
165
|
requirements: []
|
@@ -206,86 +168,5 @@ rubygems_version: 2.2.1
|
|
206
168
|
signing_key:
|
207
169
|
specification_version: 4
|
208
170
|
summary: LTI App for Twitter
|
209
|
-
test_files:
|
210
|
-
|
211
|
-
- test/controllers/inst_lti_twitter/lti_controller_test.rb
|
212
|
-
- test/dummy/app/assets/javascripts/application.js
|
213
|
-
- test/dummy/app/assets/stylesheets/application.css
|
214
|
-
- test/dummy/app/controllers/application_controller.rb
|
215
|
-
- test/dummy/app/helpers/application_helper.rb
|
216
|
-
- test/dummy/app/views/layouts/application.html.erb
|
217
|
-
- test/dummy/bin/bundle
|
218
|
-
- test/dummy/bin/rails
|
219
|
-
- test/dummy/bin/rake
|
220
|
-
- test/dummy/config/application.rb
|
221
|
-
- test/dummy/config/boot.rb
|
222
|
-
- test/dummy/config/database.yml
|
223
|
-
- test/dummy/config/environment.rb
|
224
|
-
- test/dummy/config/environments/development.rb
|
225
|
-
- test/dummy/config/environments/production.rb
|
226
|
-
- test/dummy/config/environments/test.rb
|
227
|
-
- test/dummy/config/initializers/backtrace_silencers.rb
|
228
|
-
- test/dummy/config/initializers/filter_parameter_logging.rb
|
229
|
-
- test/dummy/config/initializers/inflections.rb
|
230
|
-
- test/dummy/config/initializers/mime_types.rb
|
231
|
-
- test/dummy/config/initializers/secret_token.rb
|
232
|
-
- test/dummy/config/initializers/session_store.rb
|
233
|
-
- test/dummy/config/initializers/wrap_parameters.rb
|
234
|
-
- test/dummy/config/locales/en.yml
|
235
|
-
- test/dummy/config/routes.rb
|
236
|
-
- test/dummy/config.ru
|
237
|
-
- test/dummy/db/development.sqlite3
|
238
|
-
- test/dummy/db/test.sqlite3
|
239
|
-
- test/dummy/log/development.log
|
240
|
-
- test/dummy/log/test.log
|
241
|
-
- test/dummy/public/404.html
|
242
|
-
- test/dummy/public/422.html
|
243
|
-
- test/dummy/public/500.html
|
244
|
-
- test/dummy/public/favicon.ico
|
245
|
-
- test/dummy/Rakefile
|
246
|
-
- test/dummy/README.rdoc
|
247
|
-
- test/dummy/tmp/cache/assets/development/sprockets/28f0960538590d2f560d268a62b4a37f
|
248
|
-
- test/dummy/tmp/cache/assets/development/sprockets/2a3f277c2fb4541253b0deffe68c7153
|
249
|
-
- test/dummy/tmp/cache/assets/development/sprockets/2ebe5619d6b8770ad2c9b41f1c50db6f
|
250
|
-
- test/dummy/tmp/cache/assets/development/sprockets/32a37f75dd0338f4129d5e0f8d1cee71
|
251
|
-
- test/dummy/tmp/cache/assets/development/sprockets/3ccd1c565936e4d2231e690812a5a03f
|
252
|
-
- test/dummy/tmp/cache/assets/development/sprockets/3da360372da584de62a6445f59f4f95e
|
253
|
-
- test/dummy/tmp/cache/assets/development/sprockets/41a2eb656aadf139c0c7f33b4dd6771e
|
254
|
-
- test/dummy/tmp/cache/assets/development/sprockets/44c89e51593fa1e32a58d590bc6c4013
|
255
|
-
- test/dummy/tmp/cache/assets/development/sprockets/4f68db553c2adac80345271fb9182b53
|
256
|
-
- test/dummy/tmp/cache/assets/development/sprockets/5000f811fc8ec9c39135aefeb7aafe71
|
257
|
-
- test/dummy/tmp/cache/assets/development/sprockets/64c9e7e740e2e8390269e5ddc2c56833
|
258
|
-
- test/dummy/tmp/cache/assets/development/sprockets/65813860e88b677bb69b9c0edaea8574
|
259
|
-
- test/dummy/tmp/cache/assets/development/sprockets/6850ef2030d3057ab841a12a28986e6c
|
260
|
-
- test/dummy/tmp/cache/assets/development/sprockets/6d635ae086a391a31eb576c0b27da029
|
261
|
-
- test/dummy/tmp/cache/assets/development/sprockets/6d7cd3e98f9cfde59a42727772861074
|
262
|
-
- test/dummy/tmp/cache/assets/development/sprockets/6f919560d562bff72fe271f529bff047
|
263
|
-
- test/dummy/tmp/cache/assets/development/sprockets/70b0fcb1eb6531fb0c004456c93d10cf
|
264
|
-
- test/dummy/tmp/cache/assets/development/sprockets/72b43d90db48ee7a456700f199c64bae
|
265
|
-
- test/dummy/tmp/cache/assets/development/sprockets/7b4d8662cc7fd5d6bc523fb0567c0c7c
|
266
|
-
- test/dummy/tmp/cache/assets/development/sprockets/914cfda4ebcc990241b5c5b6920521ba
|
267
|
-
- test/dummy/tmp/cache/assets/development/sprockets/a3faead580690d4b2a473b7bdcf43370
|
268
|
-
- test/dummy/tmp/cache/assets/development/sprockets/a547d652636a8c119b6e4d4d4def5d09
|
269
|
-
- test/dummy/tmp/cache/assets/development/sprockets/a62bc4559c56306b54a2ae62e98b8126
|
270
|
-
- test/dummy/tmp/cache/assets/development/sprockets/a82f947884cb8399db2660d3d92f9bfb
|
271
|
-
- test/dummy/tmp/cache/assets/development/sprockets/af5b6d626004c38e2f28bf82089f72b3
|
272
|
-
- test/dummy/tmp/cache/assets/development/sprockets/b0b4f1b0bbe233682a33d8c2a71f4244
|
273
|
-
- test/dummy/tmp/cache/assets/development/sprockets/b767c1f732e8eeb94c6b0a8ee806260d
|
274
|
-
- test/dummy/tmp/cache/assets/development/sprockets/b9d0edc35ef052731b612f17559d6a7e
|
275
|
-
- test/dummy/tmp/cache/assets/development/sprockets/c06af4d34b031305f63b9223911ea920
|
276
|
-
- test/dummy/tmp/cache/assets/development/sprockets/c142a2169999053d0cb7af6170d7633f
|
277
|
-
- test/dummy/tmp/cache/assets/development/sprockets/c4e4d54345da90bac6a0409d386e1c9e
|
278
|
-
- test/dummy/tmp/cache/assets/development/sprockets/cb4a0efcb18cc1a1cdcfac488974f368
|
279
|
-
- test/dummy/tmp/cache/assets/development/sprockets/d22cbffd1887f47130c37f80414c2272
|
280
|
-
- test/dummy/tmp/cache/assets/development/sprockets/d2f6c16be8601a48bd8b3095940760a4
|
281
|
-
- test/dummy/tmp/cache/assets/development/sprockets/da52dff1b0a16497a8fe2c32d0fb7755
|
282
|
-
- test/dummy/tmp/cache/assets/development/sprockets/e06cb18ee2c2f53da1abe69b5a50abf0
|
283
|
-
- test/dummy/tmp/cache/assets/development/sprockets/e2cf53a30f09dad8da66597575bfb3f8
|
284
|
-
- test/dummy/tmp/cache/assets/development/sprockets/ebc0b45c4800a10392afff2c596840d7
|
285
|
-
- test/dummy/tmp/cache/assets/development/sprockets/f374b5cf5ed62f835f6933b0573c6666
|
286
|
-
- test/dummy/tmp/cache/assets/development/sprockets/f5f0c1eaa6ea89f8ebedf408a83544e5
|
287
|
-
- test/dummy/tmp/cache/assets/development/sprockets/f888a90061817d96bd73575f968919d0
|
288
|
-
- test/dummy/tmp/cache/assets/development/sprockets/f92a94546b8d4365902e0a4c369176d2
|
289
|
-
- test/inst_lti_twitter_test.rb
|
290
|
-
- test/integration/navigation_test.rb
|
291
|
-
- test/test_helper.rb
|
171
|
+
test_files: []
|
172
|
+
has_rdoc:
|
data/test/dummy/README.rdoc
DELETED
@@ -1,28 +0,0 @@
|
|
1
|
-
== README
|
2
|
-
|
3
|
-
This README would normally document whatever steps are necessary to get the
|
4
|
-
application up and running.
|
5
|
-
|
6
|
-
Things you may want to cover:
|
7
|
-
|
8
|
-
* Ruby version
|
9
|
-
|
10
|
-
* System dependencies
|
11
|
-
|
12
|
-
* Configuration
|
13
|
-
|
14
|
-
* Database creation
|
15
|
-
|
16
|
-
* Database initialization
|
17
|
-
|
18
|
-
* How to run the test suite
|
19
|
-
|
20
|
-
* Services (job queues, cache servers, search engines, etc.)
|
21
|
-
|
22
|
-
* Deployment instructions
|
23
|
-
|
24
|
-
* ...
|
25
|
-
|
26
|
-
|
27
|
-
Please feel free to use a different markup language if you do not plan to run
|
28
|
-
<tt>rake doc:app</tt>.
|
data/test/dummy/Rakefile
DELETED
@@ -1,13 +0,0 @@
|
|
1
|
-
// This is a manifest file that'll be compiled into application.js, which will include all the files
|
2
|
-
// listed below.
|
3
|
-
//
|
4
|
-
// Any JavaScript/Coffee file within this directory, lib/assets/javascripts, vendor/assets/javascripts,
|
5
|
-
// or vendor/assets/javascripts of plugins, if any, can be referenced here using a relative path.
|
6
|
-
//
|
7
|
-
// It's not advisable to add code directly here, but if you do, it'll appear at the bottom of the
|
8
|
-
// compiled file.
|
9
|
-
//
|
10
|
-
// Read Sprockets README (https://github.com/sstephenson/sprockets#sprockets-directives) for details
|
11
|
-
// about supported directives.
|
12
|
-
//
|
13
|
-
//= require_tree .
|
@@ -1,13 +0,0 @@
|
|
1
|
-
/*
|
2
|
-
* This is a manifest file that'll be compiled into application.css, which will include all the files
|
3
|
-
* listed below.
|
4
|
-
*
|
5
|
-
* Any CSS and SCSS file within this directory, lib/assets/stylesheets, vendor/assets/stylesheets,
|
6
|
-
* or vendor/assets/stylesheets of plugins, if any, can be referenced here using a relative path.
|
7
|
-
*
|
8
|
-
* You're free to add application-wide styles to this file and they'll appear at the top of the
|
9
|
-
* compiled file, but it's generally better to create a new file per style scope.
|
10
|
-
*
|
11
|
-
*= require_self
|
12
|
-
*= require_tree .
|
13
|
-
*/
|
@@ -1,14 +0,0 @@
|
|
1
|
-
<!DOCTYPE html>
|
2
|
-
<html>
|
3
|
-
<head>
|
4
|
-
<title>Dummy</title>
|
5
|
-
<%= stylesheet_link_tag "application", media: "all", "data-turbolinks-track" => true %>
|
6
|
-
<%= javascript_include_tag "application", "data-turbolinks-track" => true %>
|
7
|
-
<%= csrf_meta_tags %>
|
8
|
-
</head>
|
9
|
-
<body>
|
10
|
-
|
11
|
-
<%= yield %>
|
12
|
-
|
13
|
-
</body>
|
14
|
-
</html>
|
data/test/dummy/bin/bundle
DELETED
data/test/dummy/bin/rails
DELETED
data/test/dummy/bin/rake
DELETED
@@ -1,23 +0,0 @@
|
|
1
|
-
require File.expand_path('../boot', __FILE__)
|
2
|
-
|
3
|
-
require 'rails/all'
|
4
|
-
|
5
|
-
Bundler.require(*Rails.groups)
|
6
|
-
require "inst_lti_twitter"
|
7
|
-
|
8
|
-
module Dummy
|
9
|
-
class Application < Rails::Application
|
10
|
-
# Settings in config/environments/* take precedence over those specified here.
|
11
|
-
# Application configuration should go into files in config/initializers
|
12
|
-
# -- all .rb files in that directory are automatically loaded.
|
13
|
-
|
14
|
-
# Set Time.zone default to the specified zone and make Active Record auto-convert to this zone.
|
15
|
-
# Run "rake -D time" for a list of tasks for finding time zone names. Default is UTC.
|
16
|
-
# config.time_zone = 'Central Time (US & Canada)'
|
17
|
-
|
18
|
-
# The default locale is :en and all translations from config/locales/*.rb,yml are auto loaded.
|
19
|
-
# config.i18n.load_path += Dir[Rails.root.join('my', 'locales', '*.{rb,yml}').to_s]
|
20
|
-
# config.i18n.default_locale = :de
|
21
|
-
end
|
22
|
-
end
|
23
|
-
|
data/test/dummy/config/boot.rb
DELETED