rails_admin_nested_list 0.0.3 → 0.0.5

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: 12ad3cd809f3b6e864dcb2a542d0af413866aec1487f66f8f17d8477ecfb5a62
4
- data.tar.gz: 6d180eda9d77fe01cdfecd60653b4cd3f3351c3d8eeb460715098f67a3953cb2
3
+ metadata.gz: dd8f3747d7241b9cc6a22e9fb719268136967535c7f3057f6f1eeb4364a74acd
4
+ data.tar.gz: 340732ef44a535131f9fd34c314cfe430f4a3852bef40e436341a2a6357e8202
5
5
  SHA512:
6
- metadata.gz: 04544f4d41c97d1b8c412af3c0fd89774cbc06d053c2917955e65666fa0a9033a769321429ab67a6ddbcf28455610eb23c674b0e2078ed3272d1a3a394f47bdf
7
- data.tar.gz: 81314ca5d62caea0a7a24153887de400e24fc5e4a69453f3202adda9107c2c205d3940ebb49c56efc435359625510479c62262ac3fca19e4ee82af31d88dd36e
6
+ metadata.gz: 69e9887e1d39062cb48e0cc659a6cca5e96f5751f2740989e502671482bb59879ea40a2d836152a71fd8584c5bc6141198e424debdab77511c839b5ec5caab9a
7
+ data.tar.gz: 35531623ccbbddb2c70041762831fe0fa1f13bce25dadc2019f6d80ee133902b8f47f4b8cd8a7771593e58c9f3f24dc65127fa7aa65997e9c17942a30aab1a9b
data/README.md CHANGED
@@ -10,9 +10,6 @@ A simple gem to work with [rails_admin](https://github.com/sferik/rails_admin) t
10
10
  gem "rails_admin_nested_list"
11
11
  ```
12
12
 
13
- Then, add asset to pipeline in app/assets/config/manifest.js file:<br/>
14
- ` /= link rails_admin_nested_list`
15
-
16
13
  ## Usage
17
14
 
18
15
  ```ruby
@@ -19,4 +19,4 @@
19
19
  <%= nested_form.generate({action: :nested, model_config: field.associated_model_config, nested_in: field }) %>
20
20
  <% end %>
21
21
  </div>
22
- <%= stylesheet_link_tag "rails_admin_nested_list", media: "all" %>
22
+ <%= stylesheet_link_tag "rails_admin/rails_admin_nested_list", media: "all" %>
@@ -2,6 +2,9 @@ require 'rails'
2
2
  require 'rails_admin_nested_list'
3
3
 
4
4
  module RailsAdminNestedList
5
- class Engine < Rails::Engine
5
+ class Engine < ::Rails::Engine
6
+ initializer "RailsAdminNestedList precompile hook", group: :all do |app|
7
+ app.config.assets.precompile += %w(rails_admin/rails_admin_nested_list.css)
8
+ end
6
9
  end
7
10
  end
@@ -1,3 +1,3 @@
1
1
  module RailsAdminNestedList
2
- VERSION = "0.0.3"
2
+ VERSION = "0.0.5"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rails_admin_nested_list
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.3
4
+ version: 0.0.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Nicolas Milot
@@ -10,7 +10,7 @@ authors:
10
10
  autorequire:
11
11
  bindir: bin
12
12
  cert_chain: []
13
- date: 2022-11-18 00:00:00.000000000 Z
13
+ date: 2023-01-25 00:00:00.000000000 Z
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
16
  name: rails_admin
@@ -88,8 +88,7 @@ extra_rdoc_files: []
88
88
  files:
89
89
  - README.md
90
90
  - Rakefile
91
- - app/assets/config/rails_admin_nested_list.js
92
- - app/assets/stylesheets/rails_admin_nested_list.css
91
+ - app/assets/stylesheets/rails_admin/rails_admin_nested_list.css
93
92
  - app/views/rails_admin/main/_form_nested_list.html.erb
94
93
  - lib/rails_admin_nested_list.rb
95
94
  - lib/rails_admin_nested_list/engine.rb
@@ -114,7 +113,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
114
113
  - !ruby/object:Gem::Version
115
114
  version: '0'
116
115
  requirements: []
117
- rubygems_version: 3.1.2
116
+ rubygems_version: 3.3.7
118
117
  signing_key:
119
118
  specification_version: 4
120
119
  summary: Rails admin Nested List
@@ -1 +0,0 @@
1
- //= link_directory ../stylesheets .css