panda_pal 0.0.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/MIT-LICENSE +20 -0
- data/Rakefile +37 -0
- data/app/assets/javascripts/panda_pal/application.js +13 -0
- data/app/assets/javascripts/panda_pal/lti.js +2 -0
- data/app/assets/stylesheets/panda_pal/application.css +15 -0
- data/app/assets/stylesheets/panda_pal/lti.css +4 -0
- data/app/controllers/panda_pal/application_controller.rb +4 -0
- data/app/controllers/panda_pal/lti_controller.rb +50 -0
- data/app/helpers/panda_pal/application_helper.rb +4 -0
- data/app/models/panda_pal/organization.rb +28 -0
- data/app/models/panda_pal/session.rb +9 -0
- data/app/views/layouts/panda_pal/application.html.erb +14 -0
- data/app/views/panda_pal/lti/launch.html.erb +1 -0
- data/config/initializers/apartment.rb +15 -0
- data/config/initializers/delayed_job.rb +1 -0
- data/config/routes.rb +4 -0
- data/db/f60326d86923901b6cfdb11a6d8ebd68.sqlite3 +0 -0
- data/db/migrate/20160412205931_create_panda_pal_organizations.rb +15 -0
- data/db/migrate/20160413132229_create_delayed_jobs.rb +23 -0
- data/db/migrate/20160413135653_create_panda_pal_sessions.rb +11 -0
- data/lib/panda_pal/engine.rb +45 -0
- data/lib/panda_pal/helpers/controller_helper.rb +62 -0
- data/lib/panda_pal/helpers/route_helper.rb +17 -0
- data/lib/panda_pal/helpers.rb +4 -0
- data/lib/panda_pal/plugins/apartment_delayed_jobs_plugin.rb +40 -0
- data/lib/panda_pal/plugins.rb +3 -0
- data/lib/panda_pal/version.rb +3 -0
- data/lib/panda_pal.rb +63 -0
- data/lib/tasks/panda_pal_tasks.rake +6 -0
- data/panda_pal.gemspec +28 -0
- data/spec/dummy/README.rdoc +28 -0
- data/spec/dummy/Rakefile +6 -0
- data/spec/dummy/app/assets/javascripts/application.js +13 -0
- data/spec/dummy/app/assets/stylesheets/application.css +15 -0
- data/spec/dummy/app/controllers/application_controller.rb +5 -0
- data/spec/dummy/app/helpers/application_helper.rb +2 -0
- data/spec/dummy/app/views/layouts/application.html.erb +14 -0
- data/spec/dummy/bin/bundle +3 -0
- data/spec/dummy/bin/rails +4 -0
- data/spec/dummy/bin/rake +4 -0
- data/spec/dummy/bin/setup +29 -0
- data/spec/dummy/config/application.rb +26 -0
- data/spec/dummy/config/boot.rb +5 -0
- data/spec/dummy/config/database.yml +25 -0
- data/spec/dummy/config/environment.rb +5 -0
- data/spec/dummy/config/environments/development.rb +41 -0
- data/spec/dummy/config/environments/production.rb +79 -0
- data/spec/dummy/config/environments/test.rb +42 -0
- data/spec/dummy/config/initializers/assets.rb +11 -0
- data/spec/dummy/config/initializers/backtrace_silencers.rb +7 -0
- data/spec/dummy/config/initializers/cookies_serializer.rb +3 -0
- data/spec/dummy/config/initializers/filter_parameter_logging.rb +4 -0
- data/spec/dummy/config/initializers/inflections.rb +16 -0
- data/spec/dummy/config/initializers/mime_types.rb +4 -0
- data/spec/dummy/config/initializers/session_store.rb +3 -0
- data/spec/dummy/config/initializers/wrap_parameters.rb +14 -0
- data/spec/dummy/config/locales/en.yml +23 -0
- data/spec/dummy/config/routes.rb +4 -0
- data/spec/dummy/config/secrets.yml +22 -0
- data/spec/dummy/config.ru +4 -0
- data/spec/dummy/db/development.sqlite3 +0 -0
- data/spec/dummy/db/migrate/20160415162152_create_panda_pal_organizations.panda_pal.rb +16 -0
- data/spec/dummy/db/migrate/20160415162153_create_delayed_jobs.panda_pal.rb +24 -0
- data/spec/dummy/db/migrate/20160415162154_create_panda_pal_sessions.panda_pal.rb +12 -0
- data/spec/dummy/db/schema.rb +55 -0
- data/spec/dummy/db/test.sqlite3 +0 -0
- data/spec/dummy/log/development.log +101 -0
- data/spec/dummy/log/test.log +657 -0
- data/spec/dummy/public/404.html +67 -0
- data/spec/dummy/public/422.html +67 -0
- data/spec/dummy/public/500.html +66 -0
- data/spec/dummy/public/favicon.ico +0 -0
- data/spec/factories/panda_pal_organizations.rb +8 -0
- data/spec/factories/panda_pal_sessions.rb +7 -0
- data/spec/models/panda_pal/organization_spec.rb +26 -0
- data/spec/models/panda_pal/session_spec.rb +9 -0
- data/spec/rails_helper.rb +31 -0
- data/spec/spec_helper.rb +85 -0
- metadata +296 -0
@@ -0,0 +1,67 @@
|
|
1
|
+
<!DOCTYPE html>
|
2
|
+
<html>
|
3
|
+
<head>
|
4
|
+
<title>The page you were looking for doesn't exist (404)</title>
|
5
|
+
<meta name="viewport" content="width=device-width,initial-scale=1">
|
6
|
+
<style>
|
7
|
+
body {
|
8
|
+
background-color: #EFEFEF;
|
9
|
+
color: #2E2F30;
|
10
|
+
text-align: center;
|
11
|
+
font-family: arial, sans-serif;
|
12
|
+
margin: 0;
|
13
|
+
}
|
14
|
+
|
15
|
+
div.dialog {
|
16
|
+
width: 95%;
|
17
|
+
max-width: 33em;
|
18
|
+
margin: 4em auto 0;
|
19
|
+
}
|
20
|
+
|
21
|
+
div.dialog > div {
|
22
|
+
border: 1px solid #CCC;
|
23
|
+
border-right-color: #999;
|
24
|
+
border-left-color: #999;
|
25
|
+
border-bottom-color: #BBB;
|
26
|
+
border-top: #B00100 solid 4px;
|
27
|
+
border-top-left-radius: 9px;
|
28
|
+
border-top-right-radius: 9px;
|
29
|
+
background-color: white;
|
30
|
+
padding: 7px 12% 0;
|
31
|
+
box-shadow: 0 3px 8px rgba(50, 50, 50, 0.17);
|
32
|
+
}
|
33
|
+
|
34
|
+
h1 {
|
35
|
+
font-size: 100%;
|
36
|
+
color: #730E15;
|
37
|
+
line-height: 1.5em;
|
38
|
+
}
|
39
|
+
|
40
|
+
div.dialog > p {
|
41
|
+
margin: 0 0 1em;
|
42
|
+
padding: 1em;
|
43
|
+
background-color: #F7F7F7;
|
44
|
+
border: 1px solid #CCC;
|
45
|
+
border-right-color: #999;
|
46
|
+
border-left-color: #999;
|
47
|
+
border-bottom-color: #999;
|
48
|
+
border-bottom-left-radius: 4px;
|
49
|
+
border-bottom-right-radius: 4px;
|
50
|
+
border-top-color: #DADADA;
|
51
|
+
color: #666;
|
52
|
+
box-shadow: 0 3px 8px rgba(50, 50, 50, 0.17);
|
53
|
+
}
|
54
|
+
</style>
|
55
|
+
</head>
|
56
|
+
|
57
|
+
<body>
|
58
|
+
<!-- This file lives in public/404.html -->
|
59
|
+
<div class="dialog">
|
60
|
+
<div>
|
61
|
+
<h1>The page you were looking for doesn't exist.</h1>
|
62
|
+
<p>You may have mistyped the address or the page may have moved.</p>
|
63
|
+
</div>
|
64
|
+
<p>If you are the application owner check the logs for more information.</p>
|
65
|
+
</div>
|
66
|
+
</body>
|
67
|
+
</html>
|
@@ -0,0 +1,67 @@
|
|
1
|
+
<!DOCTYPE html>
|
2
|
+
<html>
|
3
|
+
<head>
|
4
|
+
<title>The change you wanted was rejected (422)</title>
|
5
|
+
<meta name="viewport" content="width=device-width,initial-scale=1">
|
6
|
+
<style>
|
7
|
+
body {
|
8
|
+
background-color: #EFEFEF;
|
9
|
+
color: #2E2F30;
|
10
|
+
text-align: center;
|
11
|
+
font-family: arial, sans-serif;
|
12
|
+
margin: 0;
|
13
|
+
}
|
14
|
+
|
15
|
+
div.dialog {
|
16
|
+
width: 95%;
|
17
|
+
max-width: 33em;
|
18
|
+
margin: 4em auto 0;
|
19
|
+
}
|
20
|
+
|
21
|
+
div.dialog > div {
|
22
|
+
border: 1px solid #CCC;
|
23
|
+
border-right-color: #999;
|
24
|
+
border-left-color: #999;
|
25
|
+
border-bottom-color: #BBB;
|
26
|
+
border-top: #B00100 solid 4px;
|
27
|
+
border-top-left-radius: 9px;
|
28
|
+
border-top-right-radius: 9px;
|
29
|
+
background-color: white;
|
30
|
+
padding: 7px 12% 0;
|
31
|
+
box-shadow: 0 3px 8px rgba(50, 50, 50, 0.17);
|
32
|
+
}
|
33
|
+
|
34
|
+
h1 {
|
35
|
+
font-size: 100%;
|
36
|
+
color: #730E15;
|
37
|
+
line-height: 1.5em;
|
38
|
+
}
|
39
|
+
|
40
|
+
div.dialog > p {
|
41
|
+
margin: 0 0 1em;
|
42
|
+
padding: 1em;
|
43
|
+
background-color: #F7F7F7;
|
44
|
+
border: 1px solid #CCC;
|
45
|
+
border-right-color: #999;
|
46
|
+
border-left-color: #999;
|
47
|
+
border-bottom-color: #999;
|
48
|
+
border-bottom-left-radius: 4px;
|
49
|
+
border-bottom-right-radius: 4px;
|
50
|
+
border-top-color: #DADADA;
|
51
|
+
color: #666;
|
52
|
+
box-shadow: 0 3px 8px rgba(50, 50, 50, 0.17);
|
53
|
+
}
|
54
|
+
</style>
|
55
|
+
</head>
|
56
|
+
|
57
|
+
<body>
|
58
|
+
<!-- This file lives in public/422.html -->
|
59
|
+
<div class="dialog">
|
60
|
+
<div>
|
61
|
+
<h1>The change you wanted was rejected.</h1>
|
62
|
+
<p>Maybe you tried to change something you didn't have access to.</p>
|
63
|
+
</div>
|
64
|
+
<p>If you are the application owner check the logs for more information.</p>
|
65
|
+
</div>
|
66
|
+
</body>
|
67
|
+
</html>
|
@@ -0,0 +1,66 @@
|
|
1
|
+
<!DOCTYPE html>
|
2
|
+
<html>
|
3
|
+
<head>
|
4
|
+
<title>We're sorry, but something went wrong (500)</title>
|
5
|
+
<meta name="viewport" content="width=device-width,initial-scale=1">
|
6
|
+
<style>
|
7
|
+
body {
|
8
|
+
background-color: #EFEFEF;
|
9
|
+
color: #2E2F30;
|
10
|
+
text-align: center;
|
11
|
+
font-family: arial, sans-serif;
|
12
|
+
margin: 0;
|
13
|
+
}
|
14
|
+
|
15
|
+
div.dialog {
|
16
|
+
width: 95%;
|
17
|
+
max-width: 33em;
|
18
|
+
margin: 4em auto 0;
|
19
|
+
}
|
20
|
+
|
21
|
+
div.dialog > div {
|
22
|
+
border: 1px solid #CCC;
|
23
|
+
border-right-color: #999;
|
24
|
+
border-left-color: #999;
|
25
|
+
border-bottom-color: #BBB;
|
26
|
+
border-top: #B00100 solid 4px;
|
27
|
+
border-top-left-radius: 9px;
|
28
|
+
border-top-right-radius: 9px;
|
29
|
+
background-color: white;
|
30
|
+
padding: 7px 12% 0;
|
31
|
+
box-shadow: 0 3px 8px rgba(50, 50, 50, 0.17);
|
32
|
+
}
|
33
|
+
|
34
|
+
h1 {
|
35
|
+
font-size: 100%;
|
36
|
+
color: #730E15;
|
37
|
+
line-height: 1.5em;
|
38
|
+
}
|
39
|
+
|
40
|
+
div.dialog > p {
|
41
|
+
margin: 0 0 1em;
|
42
|
+
padding: 1em;
|
43
|
+
background-color: #F7F7F7;
|
44
|
+
border: 1px solid #CCC;
|
45
|
+
border-right-color: #999;
|
46
|
+
border-left-color: #999;
|
47
|
+
border-bottom-color: #999;
|
48
|
+
border-bottom-left-radius: 4px;
|
49
|
+
border-bottom-right-radius: 4px;
|
50
|
+
border-top-color: #DADADA;
|
51
|
+
color: #666;
|
52
|
+
box-shadow: 0 3px 8px rgba(50, 50, 50, 0.17);
|
53
|
+
}
|
54
|
+
</style>
|
55
|
+
</head>
|
56
|
+
|
57
|
+
<body>
|
58
|
+
<!-- This file lives in public/500.html -->
|
59
|
+
<div class="dialog">
|
60
|
+
<div>
|
61
|
+
<h1>We're sorry, but something went wrong.</h1>
|
62
|
+
</div>
|
63
|
+
<p>If you are the application owner check the logs for more information.</p>
|
64
|
+
</div>
|
65
|
+
</body>
|
66
|
+
</html>
|
File without changes
|
@@ -0,0 +1,26 @@
|
|
1
|
+
require 'rails_helper'
|
2
|
+
|
3
|
+
module PandaPal
|
4
|
+
RSpec.describe Organization, type: :model do
|
5
|
+
|
6
|
+
it 'creates a schema upon creation' do
|
7
|
+
expect(Apartment::Tenant).to receive(:create)
|
8
|
+
create :panda_pal_organization
|
9
|
+
end
|
10
|
+
|
11
|
+
it 'deletes a schema upon deletion' do
|
12
|
+
TestAfterCommit.with_commits(true) do
|
13
|
+
expect(Apartment::Tenant).to receive(:create)
|
14
|
+
expect(Apartment::Tenant).to receive(:drop)
|
15
|
+
org = create :panda_pal_organization
|
16
|
+
org.destroy
|
17
|
+
end
|
18
|
+
end
|
19
|
+
|
20
|
+
it 'does not allow the name to be changed after creation' do
|
21
|
+
org = create :panda_pal_organization
|
22
|
+
org.name = 'test123'
|
23
|
+
expect(org.valid?).to be_falsey
|
24
|
+
end
|
25
|
+
end
|
26
|
+
end
|
@@ -0,0 +1,31 @@
|
|
1
|
+
ActiveRecord::Migration.maintain_test_schema!
|
2
|
+
|
3
|
+
RSpec.configure do |config|
|
4
|
+
# Remove this line if you're not using ActiveRecord or ActiveRecord fixtures
|
5
|
+
config.fixture_path = "#{::Rails.root}/spec/fixtures"
|
6
|
+
|
7
|
+
# If you're not using ActiveRecord, or you'd prefer not to run each of your
|
8
|
+
# examples within a transaction, remove the following line or assign false
|
9
|
+
# instead of true.
|
10
|
+
config.use_transactional_fixtures = true
|
11
|
+
|
12
|
+
# RSpec Rails can automatically mix in different behaviours to your tests
|
13
|
+
# based on their file location, for example enabling you to call `get` and
|
14
|
+
# `post` in specs under `spec/controllers`.
|
15
|
+
#
|
16
|
+
# You can disable this behaviour by removing the line below, and instead
|
17
|
+
# explicitly tag your specs with their type, e.g.:
|
18
|
+
#
|
19
|
+
# RSpec.describe UsersController, :type => :controller do
|
20
|
+
# # ...
|
21
|
+
# end
|
22
|
+
#
|
23
|
+
# The different available types are documented in the features, such as in
|
24
|
+
# https://relishapp.com/rspec/rspec-rails/docs
|
25
|
+
config.infer_spec_type_from_file_location!
|
26
|
+
|
27
|
+
# Filter lines from Rails gems in backtraces.
|
28
|
+
config.filter_rails_from_backtrace!
|
29
|
+
# arbitrary gems may also be filtered via:
|
30
|
+
# config.filter_gems_from_backtrace("gem name")
|
31
|
+
end
|
data/spec/spec_helper.rb
ADDED
@@ -0,0 +1,85 @@
|
|
1
|
+
ENV["RAILS_ENV"] ||= 'test'
|
2
|
+
require File.expand_path("../dummy/config/environment.rb", __FILE__)
|
3
|
+
require 'rspec/rails'
|
4
|
+
require 'rspec/autorun'
|
5
|
+
require 'nokogiri'
|
6
|
+
require 'delayed_job_active_record'
|
7
|
+
require 'factory_girl_rails'
|
8
|
+
require 'test_after_commit'
|
9
|
+
|
10
|
+
Delayed::Worker.delay_jobs = false
|
11
|
+
RSpec.configure do |config|
|
12
|
+
config.include FactoryGirl::Syntax::Methods
|
13
|
+
# rspec-expectations config goes here. You can use an alternate
|
14
|
+
# assertion/expectation library such as wrong or the stdlib/minitest
|
15
|
+
# assertions if you prefer.
|
16
|
+
config.expect_with :rspec do |expectations|
|
17
|
+
# This option will default to `true` in RSpec 4. It makes the `description`
|
18
|
+
# and `failure_message` of custom matchers include text for helper methods
|
19
|
+
# defined using `chain`, e.g.:
|
20
|
+
# be_bigger_than(2).and_smaller_than(4).description
|
21
|
+
# # => "be bigger than 2 and smaller than 4"
|
22
|
+
# ...rather than:
|
23
|
+
# # => "be bigger than 2"
|
24
|
+
expectations.include_chain_clauses_in_custom_matcher_descriptions = true
|
25
|
+
end
|
26
|
+
|
27
|
+
# rspec-mocks config goes here. You can use an alternate test double
|
28
|
+
# library (such as bogus or mocha) by changing the `mock_with` option here.
|
29
|
+
config.mock_with :rspec do |mocks|
|
30
|
+
# Prevents you from mocking or stubbing a method that does not exist on
|
31
|
+
# a real object. This is generally recommended, and will default to
|
32
|
+
# `true` in RSpec 4.
|
33
|
+
mocks.verify_partial_doubles = true
|
34
|
+
end
|
35
|
+
|
36
|
+
# The settings below are suggested to provide a good initial experience
|
37
|
+
# with RSpec, but feel free to customize to your heart's content.
|
38
|
+
=begin
|
39
|
+
# These two settings work together to allow you to limit a spec run
|
40
|
+
# to individual examples or groups you care about by tagging them with
|
41
|
+
# `:focus` metadata. When nothing is tagged with `:focus`, all examples
|
42
|
+
# get run.
|
43
|
+
config.filter_run :focus
|
44
|
+
config.run_all_when_everything_filtered = true
|
45
|
+
|
46
|
+
# Allows RSpec to persist some state between runs in order to support
|
47
|
+
# the `--only-failures` and `--next-failure` CLI options. We recommend
|
48
|
+
# you configure your source control system to ignore this file.
|
49
|
+
config.example_status_persistence_file_path = "spec/examples.txt"
|
50
|
+
|
51
|
+
# Limits the available syntax to the non-monkey patched syntax that is
|
52
|
+
# recommended. For more details, see:
|
53
|
+
# - http://rspec.info/blog/2012/06/rspecs-new-expectation-syntax/
|
54
|
+
# - http://www.teaisaweso.me/blog/2013/05/27/rspecs-new-message-expectation-syntax/
|
55
|
+
# - http://rspec.info/blog/2014/05/notable-changes-in-rspec-3/#zero-monkey-patching-mode
|
56
|
+
config.disable_monkey_patching!
|
57
|
+
|
58
|
+
# Many RSpec users commonly either run the entire suite or an individual
|
59
|
+
# file, and it's useful to allow more verbose output when running an
|
60
|
+
# individual spec file.
|
61
|
+
if config.files_to_run.one?
|
62
|
+
# Use the documentation formatter for detailed output,
|
63
|
+
# unless a formatter has already been configured
|
64
|
+
# (e.g. via a command-line flag).
|
65
|
+
config.default_formatter = 'doc'
|
66
|
+
end
|
67
|
+
|
68
|
+
# Print the 10 slowest examples and example groups at the
|
69
|
+
# end of the spec run, to help surface which specs are running
|
70
|
+
# particularly slow.
|
71
|
+
config.profile_examples = 10
|
72
|
+
|
73
|
+
# Run specs in random order to surface order dependencies. If you find an
|
74
|
+
# order dependency and want to debug it, you can fix the order by providing
|
75
|
+
# the seed, which is printed after each run.
|
76
|
+
# --seed 1234
|
77
|
+
config.order = :random
|
78
|
+
|
79
|
+
# Seed global randomization in this process using the `--seed` CLI option.
|
80
|
+
# Setting this allows you to use `--seed` to deterministically reproduce
|
81
|
+
# test failures related to randomization by passing the same `--seed` value
|
82
|
+
# as the one that triggered the failure.
|
83
|
+
Kernel.srand config.seed
|
84
|
+
=end
|
85
|
+
end
|
metadata
ADDED
@@ -0,0 +1,296 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: panda_pal
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 0.0.2
|
5
|
+
platform: ruby
|
6
|
+
authors:
|
7
|
+
- Ben Young
|
8
|
+
autorequire:
|
9
|
+
bindir: bin
|
10
|
+
cert_chain: []
|
11
|
+
date: 2016-04-15 00:00:00.000000000 Z
|
12
|
+
dependencies:
|
13
|
+
- !ruby/object:Gem::Dependency
|
14
|
+
name: rails
|
15
|
+
requirement: !ruby/object:Gem::Requirement
|
16
|
+
requirements:
|
17
|
+
- - "~>"
|
18
|
+
- !ruby/object:Gem::Version
|
19
|
+
version: 4.2.5.2
|
20
|
+
type: :runtime
|
21
|
+
prerelease: false
|
22
|
+
version_requirements: !ruby/object:Gem::Requirement
|
23
|
+
requirements:
|
24
|
+
- - "~>"
|
25
|
+
- !ruby/object:Gem::Version
|
26
|
+
version: 4.2.5.2
|
27
|
+
- !ruby/object:Gem::Dependency
|
28
|
+
name: pg
|
29
|
+
requirement: !ruby/object:Gem::Requirement
|
30
|
+
requirements:
|
31
|
+
- - "~>"
|
32
|
+
- !ruby/object:Gem::Version
|
33
|
+
version: 0.18.4
|
34
|
+
type: :runtime
|
35
|
+
prerelease: false
|
36
|
+
version_requirements: !ruby/object:Gem::Requirement
|
37
|
+
requirements:
|
38
|
+
- - "~>"
|
39
|
+
- !ruby/object:Gem::Version
|
40
|
+
version: 0.18.4
|
41
|
+
- !ruby/object:Gem::Dependency
|
42
|
+
name: apartment
|
43
|
+
requirement: !ruby/object:Gem::Requirement
|
44
|
+
requirements:
|
45
|
+
- - "~>"
|
46
|
+
- !ruby/object:Gem::Version
|
47
|
+
version: 1.0.2
|
48
|
+
type: :runtime
|
49
|
+
prerelease: false
|
50
|
+
version_requirements: !ruby/object:Gem::Requirement
|
51
|
+
requirements:
|
52
|
+
- - "~>"
|
53
|
+
- !ruby/object:Gem::Version
|
54
|
+
version: 1.0.2
|
55
|
+
- !ruby/object:Gem::Dependency
|
56
|
+
name: delayed_job_active_record
|
57
|
+
requirement: !ruby/object:Gem::Requirement
|
58
|
+
requirements:
|
59
|
+
- - ">="
|
60
|
+
- !ruby/object:Gem::Version
|
61
|
+
version: '0'
|
62
|
+
type: :runtime
|
63
|
+
prerelease: false
|
64
|
+
version_requirements: !ruby/object:Gem::Requirement
|
65
|
+
requirements:
|
66
|
+
- - ">="
|
67
|
+
- !ruby/object:Gem::Version
|
68
|
+
version: '0'
|
69
|
+
- !ruby/object:Gem::Dependency
|
70
|
+
name: ims-lti
|
71
|
+
requirement: !ruby/object:Gem::Requirement
|
72
|
+
requirements:
|
73
|
+
- - ">="
|
74
|
+
- !ruby/object:Gem::Version
|
75
|
+
version: '0'
|
76
|
+
type: :runtime
|
77
|
+
prerelease: false
|
78
|
+
version_requirements: !ruby/object:Gem::Requirement
|
79
|
+
requirements:
|
80
|
+
- - ">="
|
81
|
+
- !ruby/object:Gem::Version
|
82
|
+
version: '0'
|
83
|
+
- !ruby/object:Gem::Dependency
|
84
|
+
name: sqlite3
|
85
|
+
requirement: !ruby/object:Gem::Requirement
|
86
|
+
requirements:
|
87
|
+
- - ">="
|
88
|
+
- !ruby/object:Gem::Version
|
89
|
+
version: '0'
|
90
|
+
type: :development
|
91
|
+
prerelease: false
|
92
|
+
version_requirements: !ruby/object:Gem::Requirement
|
93
|
+
requirements:
|
94
|
+
- - ">="
|
95
|
+
- !ruby/object:Gem::Version
|
96
|
+
version: '0'
|
97
|
+
- !ruby/object:Gem::Dependency
|
98
|
+
name: rspec-rails
|
99
|
+
requirement: !ruby/object:Gem::Requirement
|
100
|
+
requirements:
|
101
|
+
- - ">="
|
102
|
+
- !ruby/object:Gem::Version
|
103
|
+
version: '0'
|
104
|
+
type: :development
|
105
|
+
prerelease: false
|
106
|
+
version_requirements: !ruby/object:Gem::Requirement
|
107
|
+
requirements:
|
108
|
+
- - ">="
|
109
|
+
- !ruby/object:Gem::Version
|
110
|
+
version: '0'
|
111
|
+
- !ruby/object:Gem::Dependency
|
112
|
+
name: factory_girl_rails
|
113
|
+
requirement: !ruby/object:Gem::Requirement
|
114
|
+
requirements:
|
115
|
+
- - ">="
|
116
|
+
- !ruby/object:Gem::Version
|
117
|
+
version: '0'
|
118
|
+
type: :development
|
119
|
+
prerelease: false
|
120
|
+
version_requirements: !ruby/object:Gem::Requirement
|
121
|
+
requirements:
|
122
|
+
- - ">="
|
123
|
+
- !ruby/object:Gem::Version
|
124
|
+
version: '0'
|
125
|
+
- !ruby/object:Gem::Dependency
|
126
|
+
name: test_after_commit
|
127
|
+
requirement: !ruby/object:Gem::Requirement
|
128
|
+
requirements:
|
129
|
+
- - ">="
|
130
|
+
- !ruby/object:Gem::Version
|
131
|
+
version: '0'
|
132
|
+
type: :development
|
133
|
+
prerelease: false
|
134
|
+
version_requirements: !ruby/object:Gem::Requirement
|
135
|
+
requirements:
|
136
|
+
- - ">="
|
137
|
+
- !ruby/object:Gem::Version
|
138
|
+
version: '0'
|
139
|
+
description:
|
140
|
+
email:
|
141
|
+
- byoung@instructure.com
|
142
|
+
executables: []
|
143
|
+
extensions: []
|
144
|
+
extra_rdoc_files: []
|
145
|
+
files:
|
146
|
+
- MIT-LICENSE
|
147
|
+
- Rakefile
|
148
|
+
- app/assets/javascripts/panda_pal/application.js
|
149
|
+
- app/assets/javascripts/panda_pal/lti.js
|
150
|
+
- app/assets/stylesheets/panda_pal/application.css
|
151
|
+
- app/assets/stylesheets/panda_pal/lti.css
|
152
|
+
- app/controllers/panda_pal/application_controller.rb
|
153
|
+
- app/controllers/panda_pal/lti_controller.rb
|
154
|
+
- app/helpers/panda_pal/application_helper.rb
|
155
|
+
- app/models/panda_pal/organization.rb
|
156
|
+
- app/models/panda_pal/session.rb
|
157
|
+
- app/views/layouts/panda_pal/application.html.erb
|
158
|
+
- app/views/panda_pal/lti/launch.html.erb
|
159
|
+
- config/initializers/apartment.rb
|
160
|
+
- config/initializers/delayed_job.rb
|
161
|
+
- config/routes.rb
|
162
|
+
- db/f60326d86923901b6cfdb11a6d8ebd68.sqlite3
|
163
|
+
- db/migrate/20160412205931_create_panda_pal_organizations.rb
|
164
|
+
- db/migrate/20160413132229_create_delayed_jobs.rb
|
165
|
+
- db/migrate/20160413135653_create_panda_pal_sessions.rb
|
166
|
+
- lib/panda_pal.rb
|
167
|
+
- lib/panda_pal/engine.rb
|
168
|
+
- lib/panda_pal/helpers.rb
|
169
|
+
- lib/panda_pal/helpers/controller_helper.rb
|
170
|
+
- lib/panda_pal/helpers/route_helper.rb
|
171
|
+
- lib/panda_pal/plugins.rb
|
172
|
+
- lib/panda_pal/plugins/apartment_delayed_jobs_plugin.rb
|
173
|
+
- lib/panda_pal/version.rb
|
174
|
+
- lib/tasks/panda_pal_tasks.rake
|
175
|
+
- panda_pal.gemspec
|
176
|
+
- spec/dummy/README.rdoc
|
177
|
+
- spec/dummy/Rakefile
|
178
|
+
- spec/dummy/app/assets/javascripts/application.js
|
179
|
+
- spec/dummy/app/assets/stylesheets/application.css
|
180
|
+
- spec/dummy/app/controllers/application_controller.rb
|
181
|
+
- spec/dummy/app/helpers/application_helper.rb
|
182
|
+
- spec/dummy/app/views/layouts/application.html.erb
|
183
|
+
- spec/dummy/bin/bundle
|
184
|
+
- spec/dummy/bin/rails
|
185
|
+
- spec/dummy/bin/rake
|
186
|
+
- spec/dummy/bin/setup
|
187
|
+
- spec/dummy/config.ru
|
188
|
+
- spec/dummy/config/application.rb
|
189
|
+
- spec/dummy/config/boot.rb
|
190
|
+
- spec/dummy/config/database.yml
|
191
|
+
- spec/dummy/config/environment.rb
|
192
|
+
- spec/dummy/config/environments/development.rb
|
193
|
+
- spec/dummy/config/environments/production.rb
|
194
|
+
- spec/dummy/config/environments/test.rb
|
195
|
+
- spec/dummy/config/initializers/assets.rb
|
196
|
+
- spec/dummy/config/initializers/backtrace_silencers.rb
|
197
|
+
- spec/dummy/config/initializers/cookies_serializer.rb
|
198
|
+
- spec/dummy/config/initializers/filter_parameter_logging.rb
|
199
|
+
- spec/dummy/config/initializers/inflections.rb
|
200
|
+
- spec/dummy/config/initializers/mime_types.rb
|
201
|
+
- spec/dummy/config/initializers/session_store.rb
|
202
|
+
- spec/dummy/config/initializers/wrap_parameters.rb
|
203
|
+
- spec/dummy/config/locales/en.yml
|
204
|
+
- spec/dummy/config/routes.rb
|
205
|
+
- spec/dummy/config/secrets.yml
|
206
|
+
- spec/dummy/db/development.sqlite3
|
207
|
+
- spec/dummy/db/migrate/20160415162152_create_panda_pal_organizations.panda_pal.rb
|
208
|
+
- spec/dummy/db/migrate/20160415162153_create_delayed_jobs.panda_pal.rb
|
209
|
+
- spec/dummy/db/migrate/20160415162154_create_panda_pal_sessions.panda_pal.rb
|
210
|
+
- spec/dummy/db/schema.rb
|
211
|
+
- spec/dummy/db/test.sqlite3
|
212
|
+
- spec/dummy/log/development.log
|
213
|
+
- spec/dummy/log/test.log
|
214
|
+
- spec/dummy/public/404.html
|
215
|
+
- spec/dummy/public/422.html
|
216
|
+
- spec/dummy/public/500.html
|
217
|
+
- spec/dummy/public/favicon.ico
|
218
|
+
- spec/factories/panda_pal_organizations.rb
|
219
|
+
- spec/factories/panda_pal_sessions.rb
|
220
|
+
- spec/models/panda_pal/organization_spec.rb
|
221
|
+
- spec/models/panda_pal/session_spec.rb
|
222
|
+
- spec/rails_helper.rb
|
223
|
+
- spec/spec_helper.rb
|
224
|
+
homepage: http://instructure.com
|
225
|
+
licenses:
|
226
|
+
- MIT
|
227
|
+
metadata: {}
|
228
|
+
post_install_message:
|
229
|
+
rdoc_options: []
|
230
|
+
require_paths:
|
231
|
+
- lib
|
232
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
233
|
+
requirements:
|
234
|
+
- - ">="
|
235
|
+
- !ruby/object:Gem::Version
|
236
|
+
version: '0'
|
237
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
238
|
+
requirements:
|
239
|
+
- - ">="
|
240
|
+
- !ruby/object:Gem::Version
|
241
|
+
version: '0'
|
242
|
+
requirements: []
|
243
|
+
rubyforge_project:
|
244
|
+
rubygems_version: 2.4.5.1
|
245
|
+
signing_key:
|
246
|
+
specification_version: 4
|
247
|
+
summary: LTI mountable engine
|
248
|
+
test_files:
|
249
|
+
- spec/dummy/app/assets/javascripts/application.js
|
250
|
+
- spec/dummy/app/assets/stylesheets/application.css
|
251
|
+
- spec/dummy/app/controllers/application_controller.rb
|
252
|
+
- spec/dummy/app/helpers/application_helper.rb
|
253
|
+
- spec/dummy/app/views/layouts/application.html.erb
|
254
|
+
- spec/dummy/bin/bundle
|
255
|
+
- spec/dummy/bin/rails
|
256
|
+
- spec/dummy/bin/rake
|
257
|
+
- spec/dummy/bin/setup
|
258
|
+
- spec/dummy/config/application.rb
|
259
|
+
- spec/dummy/config/boot.rb
|
260
|
+
- spec/dummy/config/database.yml
|
261
|
+
- spec/dummy/config/environment.rb
|
262
|
+
- spec/dummy/config/environments/development.rb
|
263
|
+
- spec/dummy/config/environments/production.rb
|
264
|
+
- spec/dummy/config/environments/test.rb
|
265
|
+
- spec/dummy/config/initializers/assets.rb
|
266
|
+
- spec/dummy/config/initializers/backtrace_silencers.rb
|
267
|
+
- spec/dummy/config/initializers/cookies_serializer.rb
|
268
|
+
- spec/dummy/config/initializers/filter_parameter_logging.rb
|
269
|
+
- spec/dummy/config/initializers/inflections.rb
|
270
|
+
- spec/dummy/config/initializers/mime_types.rb
|
271
|
+
- spec/dummy/config/initializers/session_store.rb
|
272
|
+
- spec/dummy/config/initializers/wrap_parameters.rb
|
273
|
+
- spec/dummy/config/locales/en.yml
|
274
|
+
- spec/dummy/config/routes.rb
|
275
|
+
- spec/dummy/config/secrets.yml
|
276
|
+
- spec/dummy/config.ru
|
277
|
+
- spec/dummy/db/development.sqlite3
|
278
|
+
- spec/dummy/db/migrate/20160415162152_create_panda_pal_organizations.panda_pal.rb
|
279
|
+
- spec/dummy/db/migrate/20160415162153_create_delayed_jobs.panda_pal.rb
|
280
|
+
- spec/dummy/db/migrate/20160415162154_create_panda_pal_sessions.panda_pal.rb
|
281
|
+
- spec/dummy/db/schema.rb
|
282
|
+
- spec/dummy/db/test.sqlite3
|
283
|
+
- spec/dummy/log/development.log
|
284
|
+
- spec/dummy/log/test.log
|
285
|
+
- spec/dummy/public/404.html
|
286
|
+
- spec/dummy/public/422.html
|
287
|
+
- spec/dummy/public/500.html
|
288
|
+
- spec/dummy/public/favicon.ico
|
289
|
+
- spec/dummy/Rakefile
|
290
|
+
- spec/dummy/README.rdoc
|
291
|
+
- spec/factories/panda_pal_organizations.rb
|
292
|
+
- spec/factories/panda_pal_sessions.rb
|
293
|
+
- spec/models/panda_pal/organization_spec.rb
|
294
|
+
- spec/models/panda_pal/session_spec.rb
|
295
|
+
- spec/rails_helper.rb
|
296
|
+
- spec/spec_helper.rb
|