rails-erd 1.5.1 → 1.5.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/rails_erd/cli.rb +1 -1
- data/lib/rails_erd/tasks.rake +1 -1
- data/lib/rails_erd/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 33b2df60c7db63f567ecf08e5e221d7e47dc0234
|
4
|
+
data.tar.gz: 85fd38a21b0bb31cdbe1e19c20d0fbdd56e5d617
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 0f10ee2e13c4d6e25c5bd3e4bc1e0df346a44f874e61f7f38ff0503639d046623a28bab1883cc49ff9fee1da3f5ecd1455a301b066eaa516c61ed04efe2fbe3b
|
7
|
+
data.tar.gz: 6b4ddb644d1966ff5f5a3d34a016ea5668f5ddfcc3914eeb539f10760e7eda79ecc5fca593e84a141f23b420919aab783811e99c9d7ba76cc28110aeb86b365a
|
data/lib/rails_erd/cli.rb
CHANGED
@@ -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
|
data/lib/rails_erd/tasks.rake
CHANGED
@@ -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
|
data/lib/rails_erd/version.rb
CHANGED
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.
|
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-
|
12
|
+
date: 2017-05-24 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: activerecord
|