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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 2ebf350f462941c42e619393d90d4a302b49f1536d3dd53a2fb5a8047a21a66a
4
- data.tar.gz: bf556f211740563b2626f9eb8b24a2d7dde9f76f31abf1bdd22740845111bf08
3
+ metadata.gz: '098aea41cb4fc6e731f7456f30043abe69d34fd641f007c1c377b874e9af4bb6'
4
+ data.tar.gz: 0bcd00148dd0e08f1c4b64aef23739cacc18e86961bc619a0e24a289db70a371
5
5
  SHA512:
6
- metadata.gz: 78b2f3a7a1fdc6f4afe636955d4dac033d78f0733ccbc26e367458000025366f70cf720bafa5cc8c68cff834a897608908afb9592d63c17b48ed73006ac286bf
7
- data.tar.gz: 22309da1320f3b56619d99f21cee368554a6145369ab9f9f26196d70214b2fb98bc9e0665f0156a39a96c8f8db6bbd386d75b9cbaae9604ee053563563f02844
6
+ metadata.gz: d19914f5a74cf0132c526b7acd6f470f1f4638f6a36ce9cee2011fb5af4ce648113bd8fe7a4e7d74c26a7fcd78abf099347d11d8ad382cab3b7c614ccad7a911
7
+ data.tar.gz: 525b975b7ea335ccb076d51733d7021bbb85d0be4fd5ec206c76d5d67e619b6f09c45941a92777ccaf1d2142a91e28a73f88aa25d4a06670e77d5fb0a2d6a9f5
data/CONTRIBUTING.md CHANGED
@@ -27,7 +27,7 @@ Now install the development dependencies:
27
27
 
28
28
  ```sh
29
29
  gem install foreman
30
- bundle install
30
+ bundle install --all
31
31
  yarn install
32
32
  ```
33
33
 
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.beta21"` and then run `gem install activeadmin --pre`.
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-beta21
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 start-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">
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 %>
@@ -2,7 +2,7 @@
2
2
  module ActiveAdmin
3
3
  module Dependency
4
4
  module Requirements
5
- DEVISE = ">= 4.0", "< 5"
5
+ DEVISE = ">= 4.0", "< 6"
6
6
  end
7
7
 
8
8
  # Provides a clean interface to check for gem dependencies at runtime.
@@ -120,7 +120,9 @@ module ActiveAdmin
120
120
  end
121
121
 
122
122
  def resource_quoted_column_name(column)
123
- resource_class.connection.quote_column_name(column)
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
@@ -1,4 +1,4 @@
1
1
  # frozen_string_literal: true
2
2
  module ActiveAdmin
3
- VERSION = "4.0.0.beta21"
3
+ VERSION = "4.0.0.beta22"
4
4
  end
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.beta21
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: '5.0'
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: '5.0'
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: 3.7.2
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