old_sql 0.32.0 → 0.33.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -56,7 +56,7 @@ module OldSql
56
56
 
57
57
  puts "Checking #{schema_path} for pattern #{model_name}"
58
58
 
59
- if File.exists?(schema_path) && open(schema_path).grep(model_name).count>0
59
+ if File.exists?(schema_path) && open(schema_path).grep(/#{model_name.pluralize}/).count>0
60
60
  return true
61
61
  else
62
62
  return false
metadata CHANGED
@@ -2,7 +2,7 @@
2
2
  name: old_sql
3
3
  version: !ruby/object:Gem::Version
4
4
  prerelease:
5
- version: 0.32.0
5
+ version: 0.33.0
6
6
  platform: ruby
7
7
  authors:
8
8
  - Eddie Gonzales
@@ -192,7 +192,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
192
192
  requirements:
193
193
  - - ">="
194
194
  - !ruby/object:Gem::Version
195
- hash: 3548740248769912198
195
+ hash: 300231767881025336
196
196
  segments:
197
197
  - 0
198
198
  version: "0"