activeadmin 2.11.0 → 2.11.1

Sign up to get free protection for your applications and to get access to all the features.

Potentially problematic release.


This version of activeadmin might be problematic. Click here for more details.

checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: b578018efdba15f5dae1b1050ea996d6330dbdcf8c7497d6a2522112dbe7c216
4
- data.tar.gz: '094f47ca19bade29e51f71b5547b745df10bffa882da86377c405631091871ea'
3
+ metadata.gz: 40e545429e58f56877c3374a3b41adb6e02b15dba7ce6155ecef68d606d63edf
4
+ data.tar.gz: 6e479ebfc7d021502f8df7d11c57ea444bd0c7714be57673575d559b3871f7da
5
5
  SHA512:
6
- metadata.gz: 5557cc728762d85d8a1ffda799a361f24562f169c67a9684c0abd37327561a20a0f94ac667ae5eb19d069d4ebe8f766fc0d5d6dd2b7999bd882428ccd4dfba97
7
- data.tar.gz: 74d0c6f3c6cf60595725db5d4a28c6b1a7c0c51355d47d1165e773452fb8662ac560c20e4edafc3257fe8721fbf5e8f264a6f4b117c828829f21c171a4b2b432
6
+ metadata.gz: d355e9804b0a59fb57708115c0ff5d3542ffb89e5b02c27e022bd4820747c587de4b26cfcca9894c28f573515d41d79ee4b78a98f627ebb17fbb19dab1e37929
7
+ data.tar.gz: 17ba06abb61b0a7c74bf0e00201890c9a9e5021a2daa7c8866473f66b8497d3c948875fbffef761585d0b4f9b4fb75b2710142ae365b2f38c730531342d769d0
data/CHANGELOG.md CHANGED
@@ -2,6 +2,16 @@
2
2
 
3
3
  ## Unreleased
4
4
 
5
+ ## 2.11.1 [☰](https://github.com/activeadmin/activeadmin/compare/v2.11.0..v2.11.1)
6
+
7
+ ### Enhancements
8
+
9
+ * Add turbolinks support to has many js. [#7384] by [@amiel]
10
+
11
+ ### Documentation
12
+
13
+ * Remove `insert_tag` from Form-Partial docs. [#7394] by [@TonyArra]
14
+
5
15
  ## 2.11.0 [☰](https://github.com/activeadmin/activeadmin/compare/v2.10.1..v2.11.0)
6
16
 
7
17
  ### Enhancements
@@ -731,6 +741,8 @@ Please check [0-6-stable] for previous changes.
731
741
  [#7341]: https://github.com/activeadmin/activeadmin/pull/7341
732
742
  [#7349]: https://github.com/activeadmin/activeadmin/pull/7349
733
743
  [#7350]: https://github.com/activeadmin/activeadmin/pull/7350
744
+ [#7384]: https://github.com/activeadmin/activeadmin/pull/7384
745
+ [#7394]: https://github.com/activeadmin/activeadmin/pull/7394
734
746
 
735
747
  [@1000ship]: https://github.com/1000ship
736
748
  [@5t111111]: https://github.com/5t111111
@@ -837,6 +849,7 @@ Please check [0-6-stable] for previous changes.
837
849
  [@timoschilling]: https://github.com/timoschilling
838
850
  [@TimPetricola]: https://github.com/TimPetricola
839
851
  [@tomgilligan]: https://github.com/tomgilligan
852
+ [@TonyArra]: https://github.com/TonyArra
840
853
  [@tordans]: https://github.com/tordans
841
854
  [@utkarsh2102]: https://github.com/utkarsh2102
842
855
  [@varyonic]: https://github.com/varyonic
@@ -392,7 +392,6 @@
392
392
  $(document).on("change", '.has_many_container[data-sortable] :input[name$="[_destroy]"]', function() {
393
393
  recompute_positions($(this).closest(".has_many"));
394
394
  });
395
- init_sortable();
396
395
  $(document).on("has_many_add:after", ".has_many_container", init_sortable);
397
396
  });
398
397
  var init_sortable = function init_sortable() {
@@ -426,6 +425,7 @@
426
425
  }
427
426
  });
428
427
  };
428
+ $(document).ready(init_sortable).on("page:load turbolinks:load", init_sortable);
429
429
  var PerPage = function() {
430
430
  function PerPage(element) {
431
431
  this.element = element;
@@ -57,7 +57,6 @@ $(function() {
57
57
  recompute_positions($(this).closest('.has_many'));
58
58
  });
59
59
 
60
- init_sortable();
61
60
  $(document).on('has_many_add:after', '.has_many_container', init_sortable);
62
61
  });
63
62
 
@@ -93,3 +92,7 @@ var recompute_positions = function(parent){
93
92
  }
94
93
  });
95
94
  };
95
+
96
+ $(document).
97
+ ready(init_sortable).
98
+ on('page:load turbolinks:load', init_sortable);
data/docs/5-forms.md CHANGED
@@ -56,7 +56,7 @@ Which looks for something like this:
56
56
 
57
57
  ```ruby
58
58
  # app/views/admin/posts/_form.html.arb
59
- insert_tag active_admin_form_for resource do |f|
59
+ active_admin_form_for [:admin, resource] do |f|
60
60
  inputs :title, :body
61
61
  actions
62
62
  end
@@ -1,4 +1,4 @@
1
1
  # frozen_string_literal: true
2
2
  module ActiveAdmin
3
- VERSION = "2.11.0"
3
+ VERSION = "2.11.1"
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: 2.11.0
4
+ version: 2.11.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Charles Maresh
@@ -15,7 +15,7 @@ authors:
15
15
  autorequire:
16
16
  bindir: bin
17
17
  cert_chain: []
18
- date: 2022-03-11 00:00:00.000000000 Z
18
+ date: 2022-03-25 00:00:00.000000000 Z
19
19
  dependencies:
20
20
  - !ruby/object:Gem::Dependency
21
21
  name: arbre
@@ -578,7 +578,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
578
578
  - !ruby/object:Gem::Version
579
579
  version: '0'
580
580
  requirements: []
581
- rubygems_version: 3.3.9
581
+ rubygems_version: 3.3.7
582
582
  signing_key:
583
583
  specification_version: 4
584
584
  summary: Active Admin is a Ruby on Rails plugin for generating administration style