old_sql 1.33.0 → 1.34.0
Sign up to get free protection for your applications and to get access to all the features.
@@ -102,7 +102,7 @@ module OldSql
|
|
102
102
|
|
103
103
|
puts "Checking #{schema_path} for pattern #{model_name}"
|
104
104
|
|
105
|
-
if File.exists?(schema_path) && open(schema_path).grep(/#{model_name
|
105
|
+
if File.exists?(schema_path) && open(schema_path).grep(/#{model_name}/).count>0
|
106
106
|
return true
|
107
107
|
else
|
108
108
|
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: 1.
|
5
|
+
version: 1.34.0
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
8
8
|
- Eddie Gonzales
|
@@ -198,7 +198,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
198
198
|
requirements:
|
199
199
|
- - ">="
|
200
200
|
- !ruby/object:Gem::Version
|
201
|
-
hash:
|
201
|
+
hash: 2769926889463593353
|
202
202
|
segments:
|
203
203
|
- 0
|
204
204
|
version: "0"
|