widget_list 1.3.1 → 1.3.2

Sign up to get free protection for your applications and to get access to all the features.
data/lib/widget_list.rb CHANGED
@@ -12,7 +12,7 @@ require 'uri'
12
12
  require 'extensions/action_controller_base'
13
13
 
14
14
  module WidgetList
15
-
15
+
16
16
  #
17
17
  # WidgetList Administration/Setup
18
18
  #
@@ -1061,6 +1061,7 @@ module WidgetList
1061
1061
  class Engine < ::Rails::Engine
1062
1062
  require 'widget_list/engine'
1063
1063
  end
1064
+
1064
1065
  end
1065
1066
 
1066
1067
  class List
@@ -3687,6 +3688,9 @@ module WidgetList
3687
3688
  def self.load_widget_list_yml
3688
3689
  if $widget_list_conf.nil?
3689
3690
  $widget_list_conf = YAML.load(ERB.new(File.new(Rails.root.join("config", "widget-list.yml")).read).result)[Rails.env]
3691
+ if Rails.root.join("app/helpers", "widget_list_helper.rb").file?
3692
+ require Rails.root.join("app/helpers", "widget_list_helper.rb")
3693
+ end
3690
3694
  end
3691
3695
  end
3692
3696
 
@@ -3865,4 +3869,4 @@ module WidgetList
3865
3869
 
3866
3870
  end
3867
3871
 
3868
- end
3872
+ end
@@ -1,3 +1,3 @@
1
1
  module WidgetList
2
- VERSION = "1.3.1"
2
+ VERSION = "1.3.2"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: widget_list
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.3.1
4
+ version: 1.3.2
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors: