rails-erd 1.5.1 → 1.5.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
  SHA1:
3
- metadata.gz: 908b423dba1519fc2769f64ec4d9cb80ec81e9e2
4
- data.tar.gz: c360f615b7ab66d757aaadfa79cef2877a756008
3
+ metadata.gz: 33b2df60c7db63f567ecf08e5e221d7e47dc0234
4
+ data.tar.gz: 85fd38a21b0bb31cdbe1e19c20d0fbdd56e5d617
5
5
  SHA512:
6
- metadata.gz: 0b0195f4c8f8c9119bfeb00a8fd6ae929d4ac1023509f06bccd20316aaba51a907d080ea2f720866231168252092f139b727d705452029739a0548bef2bb1d09
7
- data.tar.gz: 6c64ed31acdda5d1b3983641f4c02f5d434ab562930e8905a1ca5e5a4d8ade1aa0721f1e50de06cbd1e2161e099e08e87a0710ba2e71c7e9f51d97f6c3b36c57
6
+ metadata.gz: 0f10ee2e13c4d6e25c5bd3e4bc1e0df346a44f874e61f7f38ff0503639d046623a28bab1883cc49ff9fee1da3f5ecd1455a301b066eaa516c61ed04efe2fbe3b
7
+ data.tar.gz: 6b4ddb644d1966ff5f5a3d34a016ea5668f5ddfcc3914eeb539f10760e7eda79ecc5fca593e84a141f23b420919aab783811e99c9d7ba76cc28110aeb86b365a
@@ -173,7 +173,7 @@ module RailsERD
173
173
  end
174
174
  if defined? Rails
175
175
  Rails.application.eager_load!
176
- Rails.application.config.eager_load_namespaces.each(&:eager_load!)
176
+ Rails.application.config.eager_load_namespaces.each(&:eager_load!) if Rails.application.config.respond_to?(:eager_load_namespaces)
177
177
  end
178
178
  rescue TypeError
179
179
  end
@@ -33,7 +33,7 @@ namespace :erd do
33
33
  Rails.application.eager_load!
34
34
 
35
35
  if Rails.application.respond_to?(:config) && !Rails.application.config.nil?
36
- Rails.application.config.eager_load_namespaces.each(&:eager_load!)
36
+ Rails.application.config.eager_load_namespaces.each(&:eager_load!) if Rails.application.config.respond_to?(:eager_load_namespaces)
37
37
  end
38
38
  rescue Exception => err
39
39
  if Rake.application.options.trace
@@ -1,4 +1,4 @@
1
1
  module RailsERD
2
- VERSION = "1.5.1"
2
+ VERSION = "1.5.2"
3
3
  BANNER = "RailsERD #{VERSION}"
4
4
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rails-erd
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.5.1
4
+ version: 1.5.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Rolf Timmermans
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2017-05-15 00:00:00.000000000 Z
12
+ date: 2017-05-24 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: activerecord