recurrence_ui 0.2.1 → 0.2.2

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
2
  SHA256:
3
- metadata.gz: 3e6f3005d6cd808a8fe574323a864f24fb6c17936e0e162227787cbbcf07d5ce
4
- data.tar.gz: 687543fd54f2ff1e9a6e867734b19baf01be6d111bee6a5ded59268c75a8c5ec
3
+ metadata.gz: 20647bab22cceca506089a2396bd2b3105a1cac2595d8fd17834e60db04fc862
4
+ data.tar.gz: 1c0f8adca5ab3cf2196e7bef7e5b3819b8ac263e80e9f99104b483e574595585
5
5
  SHA512:
6
- metadata.gz: 1cb389646f40f9ec058b2f1c6cfa97f7986804a1c0751a3b815ff35c1468443df43334879476d17fe2546bb0a0b03be1b112b3be2e2e27756eb078f432a09e1b
7
- data.tar.gz: 706ee82b13e5cd4e5208ed47060f70b6de1360c35a75ca44242bd3911af8e6727a2cd5cdc7bbe5cef82750c97afe376079aff243bc2935d8ba04afa622aa5f17
6
+ metadata.gz: 19b24fe598939465aab719d3080017e0f11fed41a8fc9cd3ab70a967656b1bc45629f7278daf5d27bc1655d53522da125cd912302c77a14def6f00b289714114
7
+ data.tar.gz: d21393711d67f282b4431abcbed85b6eca87d2a55b1d91f7b3ab8415c9d54a1f8ddf0d7a9791cc6fdf4a960f64d052124f0a40134cdddfe14f5030642b53645d
@@ -6,11 +6,11 @@ module RecurrenceUi
6
6
  isolate_namespace RecurrenceUi
7
7
 
8
8
  # 1. Add importmap support for the gem
9
- #initializer "recurrence_ui.importmap", before: "importmap" do |app|
10
- # if app.config.respond_to?(:importmap)
11
- # app.config.importmap.paths << Engine.root.join("config/importmap.rb")
12
- # end
13
- #end
9
+ initializer "recurrence_ui.importmap", before: "importmap" do |app|
10
+ if app.config.respond_to?(:importmap)
11
+ app.config.importmap.paths << Engine.root.join("config/importmap.rb")
12
+ end
13
+ end
14
14
 
15
15
  # 2. Assets (только стили и картинки, если нужны, т.к. JS обслуживает Importmap)
16
16
  initializer "recurrence_ui.assets" do |app|
@@ -21,7 +21,7 @@ module RecurrenceUi
21
21
 
22
22
  # 3. i18n locales
23
23
  initializer "recurrence_ui.locales" do |app|
24
- config.i18n.load_path += Dir[Engine.root.join("config", "locales", "*.{rb,yml}")]
24
+ app.config.i18n.load_path += Dir[Engine.root.join("config", "locales", "*.{rb,yml}")]
25
25
  end
26
26
 
27
27
  # Add components to the global ViewComponent / ActionView search
@@ -1,3 +1,3 @@
1
1
  module RecurrenceUi
2
- VERSION = "0.2.1"
2
+ VERSION = "0.2.2"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: recurrence_ui
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.1
4
+ version: 0.2.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Katerina German