activeadmin_friendly_id_disabler 0.1.0 → 0.1.2

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: bde44090af3a0c7f166d64dc3b4fbedab9754367cc7b9e3ebcc7349117adfa07
4
- data.tar.gz: 92c723789faba3b5cf6dea6a472425a1bed7048ebc29d0384d45d8009bd48e27
3
+ metadata.gz: 04f126a118422f028715c49077e7b27d54584f2fd9e165fe7bb5252519b8a15b
4
+ data.tar.gz: 655b90b647670f1225153a62601733684fcb0add5fe80c76c317fca7af0b621b
5
5
  SHA512:
6
- metadata.gz: 89a5af8bd0d6bc09ea13d866deb0e623e6e186e8a82013a6de379770c2148e18b2fc10d95aa457fb04d9a0524b52678fc7ccb64cc9f43d23d8e478196e7521c4
7
- data.tar.gz: 8d73421e4e80c36a3cfbf69a8ccba6b9362c6e1351f63287ad2a066754f1fd61935df8499b7a10d2a7ab5d4bcddb5a9ee8f94451ee370652f9806abf2b3b1054
6
+ metadata.gz: 7a5bbb4263d13491599bcc450bedbeb9b199e116789888f9e7f46f96cdc1ca7a25c9bcf772629f75a7f797216404f358191ead82944739e90af0019042ec4b8b
7
+ data.tar.gz: 2ceeb8517c0ca0ff89dd3d2177d9c9f0e617a3522d5844158fe60b3412dae9bfec6dffcd7499682b9e76e6446debc3a19916288e56bbf6bc121cd58b5160aa6f
data/README.md CHANGED
@@ -60,6 +60,10 @@ end
60
60
 
61
61
  By default, the gem will automatically disable `FriendlyId` only for the duration of an action within ActiveAdmin controllers. If you need more granular control or need to disable `FriendlyId` in other parts of your application, consider implementing additional custom logic.
62
62
 
63
+ ## Background and Acknowledgments
64
+
65
+ This gem was inspired by discussions around the need to selectively disable FriendlyId, as highlighted in [this GitHub issue](https://github.com/norman/friendly_id/issues/691). Special thanks to [Fabio Napoleoni](https://github.com/fabn) for contributing ideas that helped shape this solution.
66
+
63
67
  ## Contributing
64
68
 
65
69
  Bug reports and pull requests are welcome on GitHub at [https://github.com/gordienko/activeadmin_friendly_id_disabler](https://github.com/gordienko/activeadmin_friendly_id_disabler).
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module ActiveadminFriendlyIdDisabler
4
- VERSION = '0.1.0'
4
+ VERSION = '0.1.2'
5
5
  end
@@ -1,5 +1,6 @@
1
1
  # frozen_string_literal: true
2
2
 
3
+ require 'friendly_id'
3
4
  require 'active_support'
4
5
  require 'active_support/concern'
5
6
  require_relative 'activeadmin_friendly_id_disabler/version'
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: activeadmin_friendly_id_disabler
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.1.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Alexey Gordienko