sniff 0.0.13 → 0.0.14

Sign up to get free protection for your applications and to get access to all the features.
Files changed (2) hide show
  1. data/lib/sniff/database.rb +7 -3
  2. metadata +22 -6
@@ -44,9 +44,13 @@ module Sniff
44
44
  :database => ':memory:'
45
45
  end
46
46
 
47
- def earth_init(domain)
48
- domain ||= :none
49
- Earth.init domain, :apply_schemas => true
47
+ def earth_init(domains)
48
+ domains ||= :none
49
+ domains = [domains] unless domains.is_a? Array
50
+ args = domains
51
+ args << {:apply_schemas => true}
52
+
53
+ Earth.init *args
50
54
  end
51
55
 
52
56
  def load_all_schemas
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: sniff
3
3
  version: !ruby/object:Gem::Version
4
- hash: 5
4
+ hash: 3
5
5
  prerelease: false
6
6
  segments:
7
7
  - 0
8
8
  - 0
9
- - 13
10
- version: 0.0.13
9
+ - 14
10
+ version: 0.0.14
11
11
  platform: ruby
12
12
  authors:
13
13
  - Derek Kastner
@@ -93,12 +93,12 @@ dependencies:
93
93
  requirements:
94
94
  - - "="
95
95
  - !ruby/object:Gem::Version
96
- hash: 15
96
+ hash: 9
97
97
  segments:
98
98
  - 0
99
99
  - 0
100
- - 8
101
- version: 0.0.8
100
+ - 11
101
+ version: 0.0.11
102
102
  requirement: *id005
103
103
  - !ruby/object:Gem::Dependency
104
104
  type: :runtime
@@ -204,6 +204,22 @@ dependencies:
204
204
  - 0
205
205
  version: "0"
206
206
  requirement: *id012
207
+ - !ruby/object:Gem::Dependency
208
+ type: :development
209
+ prerelease: false
210
+ name: fast_timestamp
211
+ version_requirements: &id013 !ruby/object:Gem::Requirement
212
+ none: false
213
+ requirements:
214
+ - - "="
215
+ - !ruby/object:Gem::Version
216
+ hash: 23
217
+ segments:
218
+ - 0
219
+ - 0
220
+ - 4
221
+ version: 0.0.4
222
+ requirement: *id013
207
223
  description: |
208
224
  # sniff
209
225
  Development environment for Brighter Planet emitters.