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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: df95503cbb6cea6033ff2bbbcec84dfb3331ff8e
4
- data.tar.gz: fbd70a9e3bb605470f1faaac554fa736a581b3be
3
+ metadata.gz: 28350c4773c7dd720ae05262010f84e88895a40c
4
+ data.tar.gz: ee68f965a61338cf5f4a780752fa9d88c90d708a
5
5
  SHA512:
6
- metadata.gz: 1bc164f9db2c077b1223832417a93bbba3b45ebba1de0fa4c5bd43d25c547c515c4737aa5708dc775ff4103bd0cffde77220e91081f629c7e21a198688fa31be
7
- data.tar.gz: e45bf15ed756faee217656231fd7370656df1be2a3ea6ff076d3c916ec4f92ebb678ac0b17020898d39fb22c8f9bf609ccbee93b22ae41fe00fceb3df01782e6
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.find_by(name: gem.name)
10
+ spec = Gem::Specification.find_by_name gem.name
11
11
  discover spec.gem_dir
12
12
  end
13
13
  end
@@ -1,3 +1,3 @@
1
1
  module ModelDiscovery
2
- VERSION = "0.2.3"
2
+ VERSION = "0.2.4"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: model_discovery
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.3
4
+ version: 0.2.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Sameer Rahmani