canvas_connect 0.3.9 → 0.3.14
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
|
-
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
2
|
+
SHA256:
|
3
|
+
metadata.gz: 12dd720a8ffdc9e84e4d67a5259fbec65a4323eb23a5de5b4597aec99b94c475
|
4
|
+
data.tar.gz: 132864f0a731072cc2569dcab6837041e37ae235fe7370e943af74ec70b16282
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 89e11749ae41bc55959422c2e544fdccdd5f6a493ef7065f97826beac2d80ce057f6bde1058d8669082be879c35076290b8d98d2aa95369a2f49a6820fc719f3
|
7
|
+
data.tar.gz: 0ae06141883a71e6432b57bcf6c9da3614736d449f2790fd84a71b67052d0151e133b508e7a7c319f2d267f12ef55a30a54fe5c2171a1a62eb585b57a657494a
|
@@ -0,0 +1,12 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
# this CANVAS_ZEITWERK constant flag is defined in canvas' "application.rb"
|
4
|
+
# from an env var. It should be temporary,
|
5
|
+
# and removed once we've fully upgraded to zeitwerk autoloading.
|
6
|
+
if defined?(CANVAS_ZEITWERK) && CANVAS_ZEITWERK
|
7
|
+
|
8
|
+
# make sure we don't try to create a "CanvasConnect::Version" thing,
|
9
|
+
# because that doesn't exist
|
10
|
+
Rails.autoloaders.main.ignore("#{__dir__}/../../lib/canvas_connect/version.rb")
|
11
|
+
|
12
|
+
end
|
@@ -39,7 +39,7 @@ module Canvas
|
|
39
39
|
if valid?(filtered_settings)
|
40
40
|
filtered_settings
|
41
41
|
else
|
42
|
-
plugin_setting.errors.
|
42
|
+
plugin_setting.errors.add(:base, I18n.t('canvas.plugins.errors.all_fields_required', 'All fields are required'))
|
43
43
|
false
|
44
44
|
end
|
45
45
|
end
|
data/lib/canvas_connect.rb
CHANGED
@@ -24,7 +24,7 @@ module CanvasConnect
|
|
24
24
|
class MeetingNotFound < StandardError; end
|
25
25
|
|
26
26
|
class Engine < Rails::Engine
|
27
|
-
config.
|
27
|
+
config.paths['lib'].eager_load!
|
28
28
|
|
29
29
|
config.to_prepare do
|
30
30
|
Canvas::Plugins::AdobeConnect.new
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: canvas_connect
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.3.
|
4
|
+
version: 0.3.14
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Zach Pendleton
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2021-10-14 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rake
|
@@ -55,6 +55,7 @@ files:
|
|
55
55
|
- app/models/adobe_connect_conference.rb
|
56
56
|
- app/views/plugins/_connect_settings.html.erb
|
57
57
|
- canvas_connect.gemspec
|
58
|
+
- config/initializers/zeitwerk.rb
|
58
59
|
- lib/canvas/plugins/adobe_connect.rb
|
59
60
|
- lib/canvas/plugins/validators/adobe_connect_validator.rb
|
60
61
|
- lib/canvas_connect.rb
|
@@ -80,10 +81,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
80
81
|
- !ruby/object:Gem::Version
|
81
82
|
version: '0'
|
82
83
|
requirements: []
|
83
|
-
|
84
|
-
rubygems_version: 2.4.5.1
|
84
|
+
rubygems_version: 3.0.3
|
85
85
|
signing_key:
|
86
86
|
specification_version: 4
|
87
87
|
summary: Adobe Connect integration for Instructure Canvas (http://instructure.com).
|
88
88
|
test_files: []
|
89
|
-
has_rdoc:
|