sniff 0.3.0 → 0.3.1
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.
File without changes
|
@@ -5,8 +5,9 @@ describe Sniff::Database do
|
|
5
5
|
describe '#connect' do
|
6
6
|
let(:dirigible_path) { File.expand_path '../../fixtures/dirigible', File.dirname(__FILE__) }
|
7
7
|
|
8
|
-
before :
|
9
|
-
|
8
|
+
before :all do
|
9
|
+
$:.unshift File.join(dirigible_path, 'lib')
|
10
|
+
require File.join('dirigible')
|
10
11
|
end
|
11
12
|
|
12
13
|
it 'should load the air domain' do
|
@@ -20,6 +21,8 @@ describe Sniff::Database do
|
|
20
21
|
ZipCode.count.should > 0
|
21
22
|
end
|
22
23
|
it 'should load a schema for the emitter record' do
|
24
|
+
Sniff.init(dirigible_path, :apply_schemas => true)
|
25
|
+
require File.join(dirigible_path, 'lib', 'test_support', 'dirigible_record')
|
23
26
|
DirigibleRecord.table_exists?.should be_true
|
24
27
|
end
|
25
28
|
end
|
metadata
CHANGED
@@ -5,8 +5,8 @@ version: !ruby/object:Gem::Version
|
|
5
5
|
segments:
|
6
6
|
- 0
|
7
7
|
- 3
|
8
|
-
-
|
9
|
-
version: 0.3.
|
8
|
+
- 1
|
9
|
+
version: 0.3.1
|
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-11-
|
17
|
+
date: 2010-11-22 00:00:00 -05:00
|
18
18
|
default_executable:
|
19
19
|
dependencies:
|
20
20
|
- !ruby/object:Gem::Dependency
|
@@ -257,7 +257,7 @@ files:
|
|
257
257
|
- lib/test_support/db/fixtures/egrid_regions.csv
|
258
258
|
- lib/test_support/db/fixtures/egrid_subregions.csv
|
259
259
|
- lib/test_support/db/fixtures/genders.csv
|
260
|
-
- lib/test_support/db/fixtures/
|
260
|
+
- lib/test_support/db/fixtures/petrolem_districts.csv
|
261
261
|
- lib/test_support/db/fixtures/states.csv
|
262
262
|
- lib/test_support/db/fixtures/urbanities.csv
|
263
263
|
- lib/test_support/db/fixtures/zip_codes.csv
|
@@ -285,7 +285,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
285
285
|
requirements:
|
286
286
|
- - ">="
|
287
287
|
- !ruby/object:Gem::Version
|
288
|
-
hash: -
|
288
|
+
hash: -446310847
|
289
289
|
segments:
|
290
290
|
- 0
|
291
291
|
version: "0"
|