old_sql 1.33.0 → 1.34.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -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"
|