canvas_connect 0.3.9 → 0.3.14

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
- SHA1:
3
- metadata.gz: 1120f3be5f8f80438bb418c008f3d7707a16d091
4
- data.tar.gz: bb86da5e5860f63859c1115a43d54cca1de339f7
2
+ SHA256:
3
+ metadata.gz: 12dd720a8ffdc9e84e4d67a5259fbec65a4323eb23a5de5b4597aec99b94c475
4
+ data.tar.gz: 132864f0a731072cc2569dcab6837041e37ae235fe7370e943af74ec70b16282
5
5
  SHA512:
6
- metadata.gz: 53b1489c05247eb29ae8137cd98cc21cedc1c007f4fb25060db7df02fad81ce576c8acef7cf8ae8fcc64d0ecbdb9ef418f61b1dc41a7080056388190aa79784c
7
- data.tar.gz: 158f285a3a0e4eac65179ca72632787bbae0882e3ebfa9b1ad28d0faca710621ddae82037798811f2797ff69ceb2bd12230fa6de48a3a71ec736151e61bb2f25
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
@@ -16,6 +16,8 @@
16
16
  # with this program. If not, see <http://www.gnu.org/licenses/>.
17
17
  #
18
18
 
19
+ require 'canvas_connect/version'
20
+
19
21
  module Canvas
20
22
  module Plugins
21
23
  class AdobeConnect
@@ -39,7 +39,7 @@ module Canvas
39
39
  if valid?(filtered_settings)
40
40
  filtered_settings
41
41
  else
42
- plugin_setting.errors.add_to_base(I18n.t('canvas.plugins.errors.all_fields_required', 'All fields are required'))
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
@@ -1,3 +1,3 @@
1
1
  module CanvasConnect
2
- VERSION = '0.3.9'
2
+ VERSION = '0.3.14'
3
3
  end
@@ -24,7 +24,7 @@ module CanvasConnect
24
24
  class MeetingNotFound < StandardError; end
25
25
 
26
26
  class Engine < Rails::Engine
27
- config.autoload_paths << File.expand_path(File.join(__FILE__, ".."))
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.9
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: 2015-12-04 00:00:00.000000000 Z
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
- rubyforge_project:
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: