canvas_webex 0.3.1 → 0.3.2

Sign up to get free protection for your applications and to get access to all the features.
data/lib/canvas_webex.rb CHANGED
@@ -17,10 +17,6 @@
17
17
  #
18
18
 
19
19
  require_dependency "canvas_webex/version"
20
- require_dependency "canvas/plugins/validators/cisco_webex_validator"
21
- require_dependency "canvas/plugins/cisco_webex"
22
- require_dependency "canvas_webex/service"
23
- require_dependency "canvas_webex/meeting"
24
20
 
25
21
  module CanvasWebex
26
22
  class ConnectionError < StandardError; end
@@ -35,7 +31,14 @@ module CanvasWebex
35
31
  ApplicationController.view_paths.unshift(view_path)
36
32
  end
37
33
 
38
- require_dependency "models/cisco_webex_conference"
34
+ path = File.expand_path('../app/models', File.dirname(__FILE__))
35
+ ActiveSupport::Dependencies.autoload_paths << path unless ActiveSupport::Dependencies.autoload_paths.include? path
36
+
37
+ require_dependency File.expand_path('../app/models/cisco_webex_conference.rb', File.dirname(__FILE__))
38
+ require_dependency "canvas/plugins/validators/cisco_webex_validator"
39
+ require_dependency "canvas/plugins/cisco_webex"
40
+ require_dependency "canvas_webex/service"
41
+ require_dependency "canvas_webex/meeting"
39
42
 
40
43
  Canvas::Plugins::CiscoWebex.new
41
44
  end
@@ -17,6 +17,6 @@
17
17
  #
18
18
 
19
19
  module CanvasWebex
20
- VERSION = "0.3.1"
20
+ VERSION = "0.3.2"
21
21
  end
22
22
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: canvas_webex
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.1
4
+ version: 0.3.2
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors: