canvas_connect 0.3.8 → 0.3.13

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,15 +1,7 @@
1
1
  ---
2
- !binary "U0hBMQ==":
3
- metadata.gz: !binary |-
4
- MGY4ZDg0Yjk3MmUxNGZmNTNjOTcyYzdkZmFhMGVhZDQ1MDA4NWQ4Yg==
5
- data.tar.gz: !binary |-
6
- YTNjZjMzNTQyODhkNmU0NjY0ODhkYmYxMDZiMGZhMzg2MTQ0M2U4YQ==
2
+ SHA256:
3
+ metadata.gz: '094554d30de1e6c0179d2b3f643db905d4f2f1ca35597b6e77c134294331c95a'
4
+ data.tar.gz: 54c3dac0ad2a2b4088187d555011f964776a95b5a7b84926a7685dcf920691bc
7
5
  SHA512:
8
- metadata.gz: !binary |-
9
- NjQ4OTBjYzdmYzY2MzcwM2IwYzk1N2MxMjY4MGZlYTU3ZjUwMmU3ZDUxZTg3
10
- ZTI2OWIyMTBiNTA2NTI1M2JiNGJlNTA4MjZhNzBmZDM3NjVkODY1YmY0ZWYw
11
- YTNjZjg1ZTM4YTQzMzhmZDQzNDlkODkzZDhmNmVkZDUyZDcyNmU=
12
- data.tar.gz: !binary |-
13
- Y2NjZDA4NGEyYmZlOWNmN2QwODBhY2ZmZjRiZWI4NWUxNDRjMmViMjI2ZWE4
14
- ZmFlOTQ0YjNmYjViMmUzMjM1MzM5ZDA3YmFiOWViODk4ODY3ODUyYTdhZWY3
15
- YjRiNWNkNGE4MmMyNWM4NjkwNDZkMTZmMDY0YTc1Nzg4NGYwNjA=
6
+ metadata.gz: 43a5c0d46ece2457e5f32da96b4243c37d8affe4fa0186bc4f8d12e16b2df57fb4bd27a8e3d37ddaec0a99bebacfe3499c316650aed702778e740054f468b963
7
+ data.tar.gz: 40914efb3597f42606215833ec358fb4a800dac4a3f45aa4ebab33eedc4ffef6ded470b27572600701532a5c06a95a51a54afaa30a5a8bbbc9bfabfeafe538ce
@@ -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.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.8'
2
+ VERSION = '0.3.13'
3
3
  end
@@ -17,32 +17,20 @@
17
17
  #
18
18
 
19
19
  require "adobe_connect"
20
- require "canvas_connect/version"
21
20
 
22
21
  module CanvasConnect
23
22
  class ConnectionError < StandardError; end
24
23
  class MeetingFolderError < StandardError; end
25
24
  class MeetingNotFound < StandardError; end
26
25
 
27
- configure_method = Proc.new do
28
- view_path = File.expand_path('../app/views', File.dirname(__FILE__))
29
- unless ApplicationController.view_paths.include?(view_path)
30
- ApplicationController.view_paths.unshift(view_path)
31
- end
32
-
33
- ActiveSupport::Dependencies.autoload_paths << File.expand_path('../app/models', File.dirname(__FILE__))
34
-
35
- require_dependency File.expand_path('../app/models/adobe_connect_conference.rb', File.dirname(__FILE__))
36
- require_dependency "canvas/plugins/validators/adobe_connect_validator"
37
- require_dependency "canvas/plugins/adobe_connect"
38
- require_dependency "canvas_connect/meeting_archive"
26
+ class Engine < Rails::Engine
27
+ config.paths['lib'].eager_load!
39
28
 
40
- Canvas::Plugins::AdobeConnect.new
29
+ config.to_prepare do
30
+ Canvas::Plugins::AdobeConnect.new
31
+ end
41
32
  end
42
33
 
43
- class Railtie < Rails::Railtie; end
44
- Railtie.config.to_prepare(&configure_method)
45
-
46
34
  # Public: Find the plugin configuration.
47
35
  #
48
36
  # Returns a settings hash.
metadata CHANGED
@@ -1,41 +1,41 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: canvas_connect
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.8
4
+ version: 0.3.13
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-07-07 00:00:00.000000000 Z
11
+ date: 2021-10-13 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rake
15
15
  requirement: !ruby/object:Gem::Requirement
16
16
  requirements:
17
- - - ! '>='
17
+ - - ">="
18
18
  - !ruby/object:Gem::Version
19
19
  version: 0.9.6
20
20
  type: :runtime
21
21
  prerelease: false
22
22
  version_requirements: !ruby/object:Gem::Requirement
23
23
  requirements:
24
- - - ! '>='
24
+ - - ">="
25
25
  - !ruby/object:Gem::Version
26
26
  version: 0.9.6
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: adobe_connect
29
29
  requirement: !ruby/object:Gem::Requirement
30
30
  requirements:
31
- - - ~>
31
+ - - "~>"
32
32
  - !ruby/object:Gem::Version
33
33
  version: 1.0.0
34
34
  type: :runtime
35
35
  prerelease: false
36
36
  version_requirements: !ruby/object:Gem::Requirement
37
37
  requirements:
38
- - - ~>
38
+ - - "~>"
39
39
  - !ruby/object:Gem::Version
40
40
  version: 1.0.0
41
41
  description: Canvas Connect is an Adobe Connect plugin for the Instructure Canvas
@@ -47,7 +47,7 @@ executables: []
47
47
  extensions: []
48
48
  extra_rdoc_files: []
49
49
  files:
50
- - .gitignore
50
+ - ".gitignore"
51
51
  - Gemfile
52
52
  - LICENSE.txt
53
53
  - README.md
@@ -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
@@ -71,19 +72,17 @@ require_paths:
71
72
  - lib
72
73
  required_ruby_version: !ruby/object:Gem::Requirement
73
74
  requirements:
74
- - - ! '>='
75
+ - - ">="
75
76
  - !ruby/object:Gem::Version
76
77
  version: '0'
77
78
  required_rubygems_version: !ruby/object:Gem::Requirement
78
79
  requirements:
79
- - - ! '>='
80
+ - - ">="
80
81
  - !ruby/object:Gem::Version
81
82
  version: '0'
82
83
  requirements: []
83
- rubyforge_project:
84
- rubygems_version: 2.4.5
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: