rasti-db 1.5.0 → 2.0.0

Sign up to get free protection for your applications and to get access to all the features.
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rasti-db
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.5.0
4
+ version: 2.0.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Gabriel Naiman
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2020-04-17 00:00:00.000000000 Z
11
+ date: 2020-04-30 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: sequel
@@ -277,7 +277,8 @@ files:
277
277
  - lib/rasti-db.rb
278
278
  - lib/rasti/db.rb
279
279
  - lib/rasti/db/collection.rb
280
- - lib/rasti/db/helpers.rb
280
+ - lib/rasti/db/data_source.rb
281
+ - lib/rasti/db/environment.rb
281
282
  - lib/rasti/db/model.rb
282
283
  - lib/rasti/db/nql/invalid_expression_error.rb
283
284
  - lib/rasti/db/nql/nodes/binary_node.rb
@@ -1,16 +0,0 @@
1
- module Rasti
2
- module DB
3
- module Helpers
4
- module WithSchema
5
-
6
- private
7
-
8
- def with_schema(table, field=nil)
9
- qualified_table = schema ? Sequel[schema][table] : Sequel[table]
10
- field ? Sequel[qualified_table][field] : qualified_table
11
- end
12
-
13
- end
14
- end
15
- end
16
- end