CloudSesame 0.7.5 → 0.7.7
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile.lock +14 -12
- data/Guardfile +2 -2
- data/cloud_sesame.gemspec +2 -2
- data/coverage/.last_run.json +1 -1
- data/coverage/.resultset.json +1363 -248
- data/lib/cloud_sesame/domain/base.rb +1 -1
- data/lib/cloud_sesame/query/ast/abstract/multi_expression_operator.rb +3 -4
- data/lib/cloud_sesame/query/ast/abstract/value.rb +10 -2
- data/lib/cloud_sesame/query/ast/date_value.rb +1 -4
- data/lib/cloud_sesame/query/ast/literal.rb +20 -12
- data/lib/cloud_sesame/query/ast/{field_array.rb → multi_expression_operator_children.rb} +8 -2
- data/lib/cloud_sesame/query/ast/not.rb +1 -7
- data/lib/cloud_sesame/query/ast/range_value.rb +43 -28
- data/lib/cloud_sesame/query/ast/root.rb +2 -4
- data/lib/cloud_sesame/query/ast/value.rb +1 -9
- data/lib/cloud_sesame/query/builder.rb +9 -11
- data/lib/cloud_sesame/query/domain/block.rb +1 -3
- data/lib/cloud_sesame/query/domain/chaining_block.rb +3 -4
- data/lib/cloud_sesame/query/domain/literal.rb +1 -3
- data/lib/cloud_sesame/query/dsl/bind_caller.rb +13 -6
- data/lib/cloud_sesame/query/dsl/{field_array_methods.rb → literal_chaining_methods.rb} +1 -6
- data/lib/cloud_sesame/query/dsl/{field_accessors.rb → literal_methods.rb} +1 -1
- data/lib/cloud_sesame/query/node/fuzziness.rb +1 -1
- data/lib/cloud_sesame.rb +4 -3
- data/spec/cloud_sesame/query/ast/abstract/multi_expression_operator_spec.rb +5 -1
- data/spec/cloud_sesame/query/ast/field_array_spec.rb +57 -0
- data/spec/cloud_sesame/query/ast/literal_spec.rb +136 -0
- data/spec/cloud_sesame/query/ast/not_spec.rb +30 -0
- data/spec/cloud_sesame/query/ast/phrase_spec.rb +20 -0
- data/spec/cloud_sesame/query/ast/range_value_spec.rb +245 -30
- data/spec/cloud_sesame/query/ast/string_value_spec.rb +39 -0
- data/spec/cloud_sesame/query/ast/term_spec.rb +20 -0
- data/spec/cloud_sesame/query/ast/value_spec.rb +109 -0
- data/spec/cloud_sesame/query/builder_spec.rb +4 -4
- data/spec/cloud_sesame/query/domain/block_spec.rb +3 -3
- data/spec/cloud_sesame/query/dsl/{field_array_methods_spec.rb → literal_chaining_methods_spec.rb} +1 -1
- data/spec/cloud_sesame/query/dsl/{field_accessors_spec.rb → literal_methods_spec.rb} +3 -3
- data/spec/cloud_sesame/query/node/query_spec.rb +22 -0
- data/spec/profiling_spec.rb +155 -155
- metadata +23 -9
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: ef9924ed7e365bb70422a7e0e395d441667072b7
|
4
|
+
data.tar.gz: 2d06963d91a257e2b8ca1422483c1ccab56bafdd
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: ef1471103b8b7cd58572a42a4f25cdd051952960d364fb8c54c289b3ffd207c0cd515113a5a06970adafcadd726e7b671c28eb811b7edde885965789cb2665c5
|
7
|
+
data.tar.gz: 1da75efe4c85f02e7c69eb20c942735464c8456c1fd111ebe627b102b197cea0767d55cb0e7949da348b135fed9f163d47f58e34ff7f3656640e33add6a983fb
|
data/Gemfile.lock
CHANGED
@@ -1,19 +1,19 @@
|
|
1
1
|
PATH
|
2
2
|
remote: .
|
3
3
|
specs:
|
4
|
-
CloudSesame (0.7.
|
4
|
+
CloudSesame (0.7.7)
|
5
5
|
aws-sdk (~> 2)
|
6
6
|
|
7
7
|
GEM
|
8
8
|
remote: https://rubygems.org/
|
9
9
|
specs:
|
10
10
|
ast (2.2.0)
|
11
|
-
aws-sdk (2.2.
|
12
|
-
aws-sdk-resources (= 2.2.
|
13
|
-
aws-sdk-core (2.2.
|
11
|
+
aws-sdk (2.2.31)
|
12
|
+
aws-sdk-resources (= 2.2.31)
|
13
|
+
aws-sdk-core (2.2.31)
|
14
14
|
jmespath (~> 1.0)
|
15
|
-
aws-sdk-resources (2.2.
|
16
|
-
aws-sdk-core (= 2.2.
|
15
|
+
aws-sdk-resources (2.2.31)
|
16
|
+
aws-sdk-core (= 2.2.31)
|
17
17
|
codeclimate-test-reporter (0.5.0)
|
18
18
|
simplecov (>= 0.7.1, < 1.0.0)
|
19
19
|
coderay (1.1.1)
|
@@ -31,15 +31,17 @@ GEM
|
|
31
31
|
shellany (~> 0.0)
|
32
32
|
thor (>= 0.18.1)
|
33
33
|
guard-compat (1.2.1)
|
34
|
-
guard-rspec (4.6.
|
34
|
+
guard-rspec (4.6.5)
|
35
35
|
guard (~> 2.1)
|
36
36
|
guard-compat (~> 1.1)
|
37
37
|
rspec (>= 2.99.0, < 4.0)
|
38
38
|
guard-rubocop (1.2.0)
|
39
39
|
guard (~> 2.0)
|
40
40
|
rubocop (~> 0.20)
|
41
|
-
jmespath (1.
|
41
|
+
jmespath (1.2.3)
|
42
|
+
json_pure (>= 1.8.1)
|
42
43
|
json (1.8.3)
|
44
|
+
json_pure (1.8.3)
|
43
45
|
listen (3.0.6)
|
44
46
|
rb-fsevent (>= 0.9.3)
|
45
47
|
rb-inotify (>= 0.9.7)
|
@@ -49,7 +51,7 @@ GEM
|
|
49
51
|
notiffany (0.0.8)
|
50
52
|
nenv (~> 0.1)
|
51
53
|
shellany (~> 0.0)
|
52
|
-
parser (2.3.0.
|
54
|
+
parser (2.3.0.7)
|
53
55
|
ast (~> 2.2)
|
54
56
|
powerpack (0.1.1)
|
55
57
|
pry (0.10.3)
|
@@ -73,8 +75,8 @@ GEM
|
|
73
75
|
diff-lcs (>= 1.2.0, < 2.0)
|
74
76
|
rspec-support (~> 3.4.0)
|
75
77
|
rspec-support (3.4.1)
|
76
|
-
rubocop (0.
|
77
|
-
parser (>= 2.3.0.
|
78
|
+
rubocop (0.39.0)
|
79
|
+
parser (>= 2.3.0.7, < 3.0)
|
78
80
|
powerpack (~> 0.1)
|
79
81
|
rainbow (>= 1.99.1, < 3.0)
|
80
82
|
ruby-progressbar (~> 1.7)
|
@@ -89,7 +91,7 @@ GEM
|
|
89
91
|
simplecov-html (0.10.0)
|
90
92
|
slop (3.6.0)
|
91
93
|
thor (0.19.1)
|
92
|
-
unicode-display_width (1.0.
|
94
|
+
unicode-display_width (1.0.3)
|
93
95
|
|
94
96
|
PLATFORMS
|
95
97
|
ruby
|
data/Guardfile
CHANGED
@@ -24,8 +24,8 @@
|
|
24
24
|
# * zeus: 'zeus rspec' (requires the server to be started separately)
|
25
25
|
# * 'just' rspec: 'rspec'
|
26
26
|
|
27
|
-
|
28
|
-
guard :rspec, cmd: "bundle exec rspec" do
|
27
|
+
guard :rspec, cmd: "CODECLIMATE_REPO_TOKEN=f80e30cc893d8c6a41550e747e1d838c6123e9cc53f088bf4bc1337d40b3e581 bundle exec rspec" do
|
28
|
+
# guard :rspec, cmd: "bundle exec rspec" do
|
29
29
|
require "guard/rspec/dsl"
|
30
30
|
dsl = Guard::RSpec::Dsl.new(self)
|
31
31
|
|
data/cloud_sesame.gemspec
CHANGED
data/coverage/.last_run.json
CHANGED