model_discovery 0.2.3 → 0.2.4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/model_discovery/discovery.rb +1 -1
- data/lib/model_discovery/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 28350c4773c7dd720ae05262010f84e88895a40c
|
4
|
+
data.tar.gz: ee68f965a61338cf5f4a780752fa9d88c90d708a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: af7139fcb7efaa2bfa0ebec83fff65a42cadc3872dcc70d6d8f32d74f425a43b008898fd645af8dcbccf38f35f2cc2974c12c5406ee3391d39b8cea3ec89d752
|
7
|
+
data.tar.gz: dc9aba7731436ef947fd6e88805d4e89582ed6aa537a20b48b0340f598fd1ac55b3fcb269991dc76e1c328f2ec59c854c8c2ad7c7d370564ff5e38bfe212a220
|
@@ -7,7 +7,7 @@ module ModelDiscovery
|
|
7
7
|
all_gems.each do |gem|
|
8
8
|
if gem.groups.include? Rails.env.to_sym or gem.groups.include? :default
|
9
9
|
puts "Gem name: #{gem.name}"
|
10
|
-
spec = Gem::Specification.
|
10
|
+
spec = Gem::Specification.find_by_name gem.name
|
11
11
|
discover spec.gem_dir
|
12
12
|
end
|
13
13
|
end
|