effective_orders 1.4.6 → 1.4.7

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
  SHA1:
3
- metadata.gz: 87ba5d572d9c6252280ef318455a3c9ad73cec07
4
- data.tar.gz: ce7b5f6096fcb1f02954573d75241e4c23fd8fb8
3
+ metadata.gz: 8bd1b0461a1e15f28fe6517bfa7d3690fdb73792
4
+ data.tar.gz: f4602fdd9df75b848db2d0738ce05f7d38f8fbe8
5
5
  SHA512:
6
- metadata.gz: c15b40d769f37947efb3614deaeef1b7de514737e7e009ec6476dd0e46fc5c19e668013bf8d791dba0f6f7d1b309c93f2a55933ba3b1875c70d5b3df4de24025
7
- data.tar.gz: cfbf07a9b769fbb4d667cbae1db3e61dc3e3b54d149f943bcfc1d920e1d7070f35c5ce2e2355a27e6e47971a2b7d8fce0ca69149a3405020cb55285e15d9b44a
6
+ metadata.gz: f54c72da379ddc8aabfaf98d292b1271f0186991303d5d03bf647a35eba11c3a15da6d1f1ac00eba4ad5c3b8e08161a12ed0e78dafb0d2c1c2dbe1bc385d2ee3
7
+ data.tar.gz: 2606e13a44beb4a5c65dad8704859a6741041e79a7977ef97e6ad9139c09e85365ef33f8de591bc5edd4060e867afb9cb4f2df13be9612729b246663a58d0b5a
@@ -44,8 +44,14 @@ module EffectiveOrders
44
44
  # This prepends the load path so someone can override the assets.rb if they want.
45
45
  initializer 'effective_orders.active_admin' do
46
46
  if EffectiveOrders.use_active_admin
47
- require 'active_admin'
48
- ::ActiveAdmin.application.load_paths.unshift Dir["#{config.root}/active_admin"]
47
+ require 'activeadmin'
48
+ puts "AM HERE IN EFFECTIVE ORDERS"
49
+
50
+ ActiveAdmin::Event.subscribe ActiveAdmin::Application::BeforeLoadEvent do
51
+ puts "SUBSCRIBED ACTIVEADMIN EVENT"
52
+ ::ActiveAdmin.application.load_paths.unshift Dir["#{config.root}/active_admin"]
53
+ end
54
+
49
55
  end
50
56
  end
51
57
 
@@ -1,3 +1,3 @@
1
1
  module EffectiveOrders
2
- VERSION = '1.4.6'.freeze
2
+ VERSION = '1.4.7'.freeze
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: effective_orders
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.4.6
4
+ version: 1.4.7
5
5
  platform: ruby
6
6
  authors:
7
7
  - Code and Effect