odt-ui-rails 2.2.3 → 2.2.4

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.
data/lib/odt_ui/engine.rb CHANGED
@@ -5,8 +5,9 @@ module OdtUi
5
5
  isolate_namespace OdtUi
6
6
 
7
7
  initializer "odt_ui.assets" do |app|
8
- if app.config.respond_to?(:assets)
8
+ if app.config.respond_to?(:assets) && app.config.assets.respond_to?(:paths)
9
9
  app.config.assets.paths << root.join("app/assets/stylesheets").to_s
10
+ app.config.assets.paths << root.join("app/javascript").to_s if root.join("app/javascript").exist?
10
11
  end
11
12
  end
12
13
 
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module OdtUi
4
- VERSION = "2.2.3"
4
+ VERSION = "2.2.4"
5
5
  end
data/lib/odt_ui.rb ADDED
@@ -0,0 +1,3 @@
1
+ # frozen_string_literal: true
2
+
3
+ require_relative "odt-ui-rails"
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: odt-ui-rails
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.2.3
4
+ version: 2.2.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Pixel
@@ -57,6 +57,7 @@ files:
57
57
  - lib/generators/odt/templates/odt_toast_controller.js
58
58
  - lib/generators/odt/templates/odt_ui.rbs
59
59
  - lib/odt-ui-rails.rb
60
+ - lib/odt_ui.rb
60
61
  - lib/odt_ui/engine.rb
61
62
  - lib/odt_ui/helper.rb
62
63
  - lib/odt_ui/version.rb