activeadmin 4.0.0.beta21 → 4.0.0.beta22
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 +4 -4
- data/CONTRIBUTING.md +1 -1
- data/UPGRADING.md +2 -2
- data/app/views/active_admin/_main_navigation.html.erb +1 -1
- data/lib/active_admin/dependency.rb +1 -1
- data/lib/active_admin/resource.rb +3 -1
- data/lib/active_admin/version.rb +1 -1
- metadata +4 -4
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: '098aea41cb4fc6e731f7456f30043abe69d34fd641f007c1c377b874e9af4bb6'
|
|
4
|
+
data.tar.gz: 0bcd00148dd0e08f1c4b64aef23739cacc18e86961bc619a0e24a289db70a371
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: d19914f5a74cf0132c526b7acd6f470f1f4638f6a36ce9cee2011fb5af4ce648113bd8fe7a4e7d74c26a7fcd78abf099347d11d8ad382cab3b7c614ccad7a911
|
|
7
|
+
data.tar.gz: 525b975b7ea335ccb076d51733d7021bbb85d0be4fd5ec206c76d5d67e619b6f09c45941a92777ccaf1d2142a91e28a73f88aa25d4a06670e77d5fb0a2d6a9f5
|
data/CONTRIBUTING.md
CHANGED
data/UPGRADING.md
CHANGED
|
@@ -7,14 +7,14 @@ ActiveAdmin v4 uses Tailwind CSS v4. It has **mobile web, dark mode and RTL supp
|
|
|
7
7
|
|
|
8
8
|
These instructions assume the `cssbundling-rails` and `importmap-rails` gems are already installed and you have run their install commands in your app. If you haven't done so, please do before continuing.
|
|
9
9
|
|
|
10
|
-
Update your `Gemfile` with `gem "activeadmin", "4.0.0.
|
|
10
|
+
Update your `Gemfile` with `gem "activeadmin", "4.0.0.beta22"` and then run `gem install activeadmin --pre`.
|
|
11
11
|
|
|
12
12
|
Now, run `rails generate active_admin:assets` to replace the old assets with the new files.
|
|
13
13
|
|
|
14
14
|
Then add the npm package and update the `build:css` script.
|
|
15
15
|
|
|
16
16
|
```
|
|
17
|
-
yarn add @activeadmin/activeadmin@4.0.0-
|
|
17
|
+
yarn add @activeadmin/activeadmin@4.0.0-beta22
|
|
18
18
|
npm pkg set scripts.build:css="npx @tailwindcss/cli -i ./app/assets/stylesheets/active_admin.css -o ./app/assets/builds/active_admin.css --minify"
|
|
19
19
|
```
|
|
20
20
|
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
<div id="main-menu" class="fixed top-0 xl:top-16 bottom-0
|
|
1
|
+
<div id="main-menu" class="fixed top-0 xl:top-16 bottom-0 inset-s-0 z-40 w-72 xl:w-60 p-4 overflow-y-auto transition-transform duration-200 -translate-x-full xl:translate-x-0 bg-white dark:bg-gray-950 xl:border-e xl:border-gray-200 xl:dark:border-white/10" tabindex="-1">
|
|
2
2
|
<ul role="list" class="flex flex-1 flex-col space-y-1.5">
|
|
3
3
|
<% current_menu.items(self).each do |item| %>
|
|
4
4
|
<% children = item.items(self).presence %>
|
|
@@ -120,7 +120,9 @@ module ActiveAdmin
|
|
|
120
120
|
end
|
|
121
121
|
|
|
122
122
|
def resource_quoted_column_name(column)
|
|
123
|
-
resource_class.connection
|
|
123
|
+
resource_class.with_connection do |connection|
|
|
124
|
+
connection.quote_column_name(column)
|
|
125
|
+
end
|
|
124
126
|
end
|
|
125
127
|
|
|
126
128
|
# Clears all the member actions this resource knows about
|
data/lib/active_admin/version.rb
CHANGED
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: activeadmin
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 4.0.0.
|
|
4
|
+
version: 4.0.0.beta22
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Charles Maresh
|
|
@@ -50,14 +50,14 @@ dependencies:
|
|
|
50
50
|
requirements:
|
|
51
51
|
- - ">="
|
|
52
52
|
- !ruby/object:Gem::Version
|
|
53
|
-
version: '
|
|
53
|
+
version: '6.0'
|
|
54
54
|
type: :runtime
|
|
55
55
|
prerelease: false
|
|
56
56
|
version_requirements: !ruby/object:Gem::Requirement
|
|
57
57
|
requirements:
|
|
58
58
|
- - ">="
|
|
59
59
|
- !ruby/object:Gem::Version
|
|
60
|
-
version: '
|
|
60
|
+
version: '6.0'
|
|
61
61
|
- !ruby/object:Gem::Dependency
|
|
62
62
|
name: formtastic_i18n
|
|
63
63
|
requirement: !ruby/object:Gem::Requirement
|
|
@@ -403,7 +403,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
403
403
|
- !ruby/object:Gem::Version
|
|
404
404
|
version: '0'
|
|
405
405
|
requirements: []
|
|
406
|
-
rubygems_version:
|
|
406
|
+
rubygems_version: 4.0.7
|
|
407
407
|
specification_version: 4
|
|
408
408
|
summary: Active Admin is a Ruby on Rails plugin for generating administration style
|
|
409
409
|
interfaces. It abstracts common business application patterns to make it simple
|