jet_set 0.3.0 → 0.3.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/jet_set/mapping.rb +4 -0
- data/lib/jet_set/query_parser.rb +0 -4
- data/lib/jet_set/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: fe8110ac9241efcdd8c84d85b8668cbeb48e022a
|
4
|
+
data.tar.gz: 479ef832c344f4dbc3fd45494d23b3fa19a33a1b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 98f1d9bf5214c2a271ba7e72d73878ebc21673bc8251355163a9d3647c5c135c11f08603eb6dae68835a3d5de780d499d5bcc47bead8d0a56e7586ec3bbdba86
|
7
|
+
data.tar.gz: 6df0496c18992fdd35f1ac8da910c936d3e3a6ea156ed49802cbc59a161294a82a28c55aed6757dba581c92901c9061a73132cd78514edf1ecdd596e6d0238a8
|
data/lib/jet_set/mapping.rb
CHANGED
data/lib/jet_set/query_parser.rb
CHANGED
@@ -27,10 +27,6 @@ module JetSet
|
|
27
27
|
entity_name = match[2]
|
28
28
|
entity = @mapping.get(entity_name.to_sym)
|
29
29
|
|
30
|
-
if entity.nil?
|
31
|
-
raise MapperError, "Entity \"#{entity_name}\" is not defined in the mapping. Query:\n#{expression}"
|
32
|
-
end
|
33
|
-
|
34
30
|
entities << entity
|
35
31
|
fields_sql = entity.fields.map {|field| "#{alias_name}.#{field} AS #{entity_name}__#{field}"}.join(",#{spaces_str}")
|
36
32
|
sql.sub!(entity_expressions[index], fields_sql)
|
data/lib/jet_set/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: jet_set
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.3.
|
4
|
+
version: 0.3.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Vladimir Kalinkin
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2018-
|
11
|
+
date: 2018-05-02 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: sequel
|