activeadmin 2.0.0.rc2 → 2.0.0

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: 6287ab37b0fd3d36481883d28e163a9c3ade42cf5302bbeb6ea144e33cc077a5
4
- data.tar.gz: 39df303d047bc56a71a3c2a5604922ccda42616d42ab2504e8506a2f239c6a24
3
+ metadata.gz: '034169cf2f9474ee4754639ae5734d3338159a7897ee28b552592eadc71d428c'
4
+ data.tar.gz: a321cbba45ec6ed69e1730f6b2a0c6c2f40dd05ad1e62aab03f99f1699f762cd
5
5
  SHA512:
6
- metadata.gz: 41bdadca2f4621c62cfd2332c70e3759d13ac7b355fc165e4f43afcf4a9f3a3fbfe47aaf0504532428981c6c7e362cea9d4c31469942b804834f51c96a5e5eb2
7
- data.tar.gz: 1acdec633e759e664ac7713e4a4006fa303d96b5a12a46e80ac94eda7bec022d534e68b81bb966c75750ab466fdbeaab1063a77bb3572b3380b197237eb7eba2
6
+ metadata.gz: bf8442376b7c017615702ad0cd1a03c553d8b78e9ee1e6c131f5975d8555fc14b17861f75df300c5907b6bd73fa7e583d6791c621a46fe05ed163aba3ad20aef
7
+ data.tar.gz: 14222c5fb8fbad8af29f901aaaf3c4d97fa441454928256f1e84a84f5068ef608f1343c58cd3635eb8927989ef442c690e4f6b50f5ea4bb1809d328c71cc757b
@@ -2,6 +2,10 @@
2
2
 
3
3
  ## Unreleased
4
4
 
5
+ ## 2.0.0 [☰](https://github.com/activeadmin/activeadmin/compare/v2.0.0.rc2..v2.0.0)
6
+
7
+ _No changes_.
8
+
5
9
  ## 2.0.0.rc2 [☰](https://github.com/activeadmin/activeadmin/compare/v2.0.0.rc1..v2.0.0.rc2)
6
10
 
7
11
  ### Enhancements
@@ -51,6 +55,7 @@
51
55
  convert that file to plain JS (`//= require active_admin/base` if you
52
56
  didn't add any stuff to it).
53
57
  * Devise 3 support has been dropped. [#5608] by [@deivid-rodriguez] and [@javierjulio]
58
+ * `action_item` without a name has been removed. [#5099] by [@javierjulio]
54
59
 
55
60
  ## 1.4.3 [☰](https://github.com/activeadmin/activeadmin/compare/v1.4.2..v1.4.3)
56
61
 
@@ -237,7 +242,7 @@
237
242
  * Page supports belongs_to. [#4759] by [@Fivell] and [@zorab47]
238
243
  * Support for custom sorting strategies. [#4768] by [@Fivell]
239
244
  * Stream CSV downloads as they're generated. [#3038] by [@craigmcnamara]
240
- * Disable streaming in development for easier debugging. [#3535] by [@seanlinsley]
245
+ * Disable streaming in development for easier debugging. [#3535] by [@seanlinsley]
241
246
  * Improved code reloading. [#3783] by [@chancancode]
242
247
  * Do not auto link to inaccessible actions. [#3686] by [@pranas]
243
248
  * Allow to enable comments on per-resource basis. [#3695] by [@pranas]
@@ -297,6 +302,8 @@
297
302
  ActiveSupport::Notifications.publish ActiveAdmin::Application::BeforeLoadEvent, "some data"
298
303
  ```
299
304
 
305
+ * `action_item` without a name, to introduce a solution for removing action items (`remove_action_item(name)`). [#3091] by [@amiel]
306
+
300
307
  ## Previous Changes
301
308
 
302
309
  Please check [0-6-stable] for previous changes.
@@ -334,6 +341,7 @@ Please check [0-6-stable] for previous changes.
334
341
  [#5043]: https://github.com/activeadmin/activeadmin/issues/5043
335
342
  [#5198]: https://github.com/activeadmin/activeadmin/issues/5198
336
343
 
344
+ [#3091]: https://github.com/activeadmin/activeadmin/pull/3091
337
345
  [#3435]: https://github.com/activeadmin/activeadmin/pull/3435
338
346
  [#4477]: https://github.com/activeadmin/activeadmin/pull/4477
339
347
  [#4731]: https://github.com/activeadmin/activeadmin/pull/4731
@@ -361,6 +369,7 @@ Please check [0-6-stable] for previous changes.
361
369
  [#5081]: https://github.com/activeadmin/activeadmin/pull/5081
362
370
  [#5088]: https://github.com/activeadmin/activeadmin/pull/5088
363
371
  [#5093]: https://github.com/activeadmin/activeadmin/pull/5093
372
+ [#5099]: https://github.com/activeadmin/activeadmin/pull/5099
364
373
  [#5104]: https://github.com/activeadmin/activeadmin/pull/5104
365
374
  [#5119]: https://github.com/activeadmin/activeadmin/pull/5119
366
375
  [#5120]: https://github.com/activeadmin/activeadmin/pull/5120
@@ -431,6 +440,7 @@ Please check [0-6-stable] for previous changes.
431
440
  [@aarek]: https://github.com/aarek
432
441
  [@ajw725]: https://github.com/ajw725
433
442
  [@alex-bogomolov]: https://github.com/alex-bogomolov
443
+ [@amiel]: https://github.com/amiel
434
444
  [@andreslemik]: https://github.com/andreslemik
435
445
  [@blocknotes]: https://github.com/blocknotes
436
446
  [@bolshakov]: https://github.com/bolshakov
@@ -55,6 +55,14 @@ module ActiveAdmin
55
55
  Matcher.new name.to_s
56
56
  end
57
57
 
58
+ def self.rails_version
59
+ rails.spec.version
60
+ end
61
+
62
+ def self.supports_zeitwerk?
63
+ rails >= "6.0.0.beta3" && RUBY_ENGINE != "jruby"
64
+ end
65
+
58
66
  class Matcher
59
67
  attr_reader :name
60
68
 
@@ -1,3 +1,3 @@
1
1
  module ActiveAdmin
2
- VERSION = '2.0.0.rc2'
2
+ VERSION = '2.0.0'
3
3
  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.0.0.rc2
4
+ version: 2.0.0
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: 2019-04-13 00:00:00.000000000 Z
18
+ date: 2019-04-25 00:00:00.000000000 Z
19
19
  dependencies:
20
20
  - !ruby/object:Gem::Dependency
21
21
  name: arbre
@@ -603,9 +603,9 @@ required_ruby_version: !ruby/object:Gem::Requirement
603
603
  version: '2.3'
604
604
  required_rubygems_version: !ruby/object:Gem::Requirement
605
605
  requirements:
606
- - - ">"
606
+ - - ">="
607
607
  - !ruby/object:Gem::Version
608
- version: 1.3.1
608
+ version: '0'
609
609
  requirements: []
610
610
  rubygems_version: 3.0.3
611
611
  signing_key: