sniff 0.4.10 → 0.4.11
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.
- data/lib/sniff/database.rb +1 -1
- metadata +4 -4
data/lib/sniff/database.rb
CHANGED
|
@@ -115,7 +115,7 @@ module Sniff
|
|
|
115
115
|
end
|
|
116
116
|
|
|
117
117
|
def populate_fixtures
|
|
118
|
-
Encoding.default_external = 'UTF-8'
|
|
118
|
+
Encoding.default_external = 'UTF-8' if Object.const_defined?('Encoding')
|
|
119
119
|
Earth.resource_names.each do |klass|
|
|
120
120
|
klass = klass.pluralize unless Object.const_defined?(klass)
|
|
121
121
|
if Object.const_defined?(klass) and klass.constantize.table_exists?
|
metadata
CHANGED
|
@@ -5,8 +5,8 @@ version: !ruby/object:Gem::Version
|
|
|
5
5
|
segments:
|
|
6
6
|
- 0
|
|
7
7
|
- 4
|
|
8
|
-
-
|
|
9
|
-
version: 0.4.
|
|
8
|
+
- 11
|
|
9
|
+
version: 0.4.11
|
|
10
10
|
platform: ruby
|
|
11
11
|
authors:
|
|
12
12
|
- Derek Kastner
|
|
@@ -14,7 +14,7 @@ autorequire:
|
|
|
14
14
|
bindir: bin
|
|
15
15
|
cert_chain: []
|
|
16
16
|
|
|
17
|
-
date: 2010-12-
|
|
17
|
+
date: 2010-12-30 00:00:00 -05:00
|
|
18
18
|
default_executable:
|
|
19
19
|
dependencies:
|
|
20
20
|
- !ruby/object:Gem::Dependency
|
|
@@ -328,7 +328,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
|
328
328
|
requirements:
|
|
329
329
|
- - ">="
|
|
330
330
|
- !ruby/object:Gem::Version
|
|
331
|
-
hash:
|
|
331
|
+
hash: 995656925
|
|
332
332
|
segments:
|
|
333
333
|
- 0
|
|
334
334
|
version: "0"
|