stretchy 0.3.4 → 0.3.5

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 3d4b0615416277ad90eb59f3e4230a7782e787d7
4
- data.tar.gz: 647032f0eb9730d825ca1fe8d750192e8deb5352
3
+ metadata.gz: 758cd7bb41f505f1f9e4d0ce0faffe4990f67bf1
4
+ data.tar.gz: 497dea4fe5d9dc1f5a9ab87b5e62db499022a22e
5
5
  SHA512:
6
- metadata.gz: 9f1cf69b896008b76a5aefe34b1faacaa77ee34a8c93e105e6971d147f599b406a765c57cbf7442bd4f7ac57147d8ae8156cbf5de3c628e18d7bab5fe68f7b65
7
- data.tar.gz: b77b6a33a9d33556c4703fd70402873be9a833b3658a4922ccf138b119f9a79ef4c24ae57f54103e0240ff22fd355f3476044543f82001bce75d3e83dd964e30
6
+ metadata.gz: 6df1715ae65dcb706603afdf6f9bc96e812c4f36c6408af3ec95da37d3c2db73fe1fe80315411448c4f13483e3c224005cde41511311c95b706b717127c59e95
7
+ data.tar.gz: 5df44ca59f891c1973f2202fb013549faf1dd5d2a098eb87bde5af5696ddf0e5ab66c4a416e4ad64d1a04f9a7aae1d86e6d5c730b8eda38efd944e80d7b95779
@@ -0,0 +1,4 @@
1
+ require 'stretchy/boosts/base'
2
+ require 'stretchy/boosts/field_decay_boost'
3
+ require 'stretchy/boosts/filter_boost'
4
+ require 'stretchy/boosts/random_boost'
@@ -0,0 +1,3 @@
1
+ require 'stretchy/builders/boost_builder'
2
+ require 'stretchy/builders/match_builder'
3
+ require 'stretchy/builders/where_builder'
@@ -0,0 +1,6 @@
1
+ require 'stretchy/clauses/base'
2
+ require 'stretchy/clauses/match_clause'
3
+ require 'stretchy/clauses/where_clause'
4
+ require 'stretchy/clauses/boost_clause'
5
+ require 'stretchy/clauses/boost_match_clause'
6
+ require 'stretchy/clauses/boost_where_clause'
@@ -0,0 +1 @@
1
+ require 'stretchy/errors/contract_error.rb'
@@ -0,0 +1,10 @@
1
+ require 'stretchy/filters/base'
2
+ require 'stretchy/filters/and_filter'
3
+ require 'stretchy/filters/bool_filter'
4
+ require 'stretchy/filters/exists_filter'
5
+ require 'stretchy/filters/geo_filter'
6
+ require 'stretchy/filters/not_filter'
7
+ require 'stretchy/filters/or_filter'
8
+ require 'stretchy/filters/query_filter'
9
+ require 'stretchy/filters/range_filter'
10
+ require 'stretchy/filters/terms_filter'
@@ -0,0 +1,6 @@
1
+ require 'stretchy/queries/base'
2
+ require 'stretchy/queries/bool_query'
3
+ require 'stretchy/queries/filtered_query'
4
+ require 'stretchy/queries/function_score_query'
5
+ require 'stretchy/queries/match_all_query'
6
+ require 'stretchy/queries/match_query'
@@ -0,0 +1,2 @@
1
+ require 'stretchy/results/base'
2
+ require 'stretchy/results/null_results'
@@ -0,0 +1,3 @@
1
+ require 'stretchy/types/base'
2
+ require 'stretchy/types/geo_point'
3
+ require 'stretchy/types/range'
@@ -0,0 +1,3 @@
1
+ require 'stretchy/utils/configuration'
2
+ require 'stretchy/utils/client_actions'
3
+ require 'stretchy/utils/contract'
@@ -1,3 +1,3 @@
1
1
  module Stretchy
2
- VERSION = "0.3.4"
2
+ VERSION = "0.3.5"
3
3
  end
data/lib/stretchy.rb CHANGED
@@ -4,12 +4,18 @@ require 'forwardable'
4
4
  require 'excon'
5
5
  require 'elasticsearch'
6
6
 
7
- require 'stretchy/utils/configuration'
8
- require 'stretchy/utils/client_actions'
7
+ require 'stretchy/utils'
8
+ require 'stretchy/errors'
9
+ require 'stretchy/types'
10
+ require 'stretchy/queries'
11
+ require 'stretchy/filters'
12
+ require 'stretchy/queries'
13
+ require 'stretchy/boosts'
14
+ require 'stretchy/builders'
15
+ require 'stretchy/results'
16
+ require 'stretchy/clauses'
9
17
 
10
18
  module Stretchy
11
19
  extend Stretchy::Utils::Configuration
12
20
  extend Stretchy::Utils::ClientActions
13
21
  end
14
-
15
- Gem.find_files('stretchy/**/*.rb').reject{|f| f =~ /spec/ }.each {|f| require f }
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: stretchy
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.4
4
+ version: 0.3.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - agius
@@ -137,20 +137,25 @@ files:
137
137
  - bin/console
138
138
  - bin/setup
139
139
  - lib/stretchy.rb
140
+ - lib/stretchy/boosts.rb
140
141
  - lib/stretchy/boosts/base.rb
141
142
  - lib/stretchy/boosts/field_decay_boost.rb
142
143
  - lib/stretchy/boosts/filter_boost.rb
143
144
  - lib/stretchy/boosts/random_boost.rb
145
+ - lib/stretchy/builders.rb
144
146
  - lib/stretchy/builders/boost_builder.rb
145
147
  - lib/stretchy/builders/match_builder.rb
146
148
  - lib/stretchy/builders/where_builder.rb
149
+ - lib/stretchy/clauses.rb
147
150
  - lib/stretchy/clauses/base.rb
148
151
  - lib/stretchy/clauses/boost_clause.rb
149
152
  - lib/stretchy/clauses/boost_match_clause.rb
150
153
  - lib/stretchy/clauses/boost_where_clause.rb
151
154
  - lib/stretchy/clauses/match_clause.rb
152
155
  - lib/stretchy/clauses/where_clause.rb
156
+ - lib/stretchy/errors.rb
153
157
  - lib/stretchy/errors/contract_error.rb
158
+ - lib/stretchy/filters.rb
154
159
  - lib/stretchy/filters/and_filter.rb
155
160
  - lib/stretchy/filters/base.rb
156
161
  - lib/stretchy/filters/bool_filter.rb
@@ -161,17 +166,21 @@ files:
161
166
  - lib/stretchy/filters/query_filter.rb
162
167
  - lib/stretchy/filters/range_filter.rb
163
168
  - lib/stretchy/filters/terms_filter.rb
169
+ - lib/stretchy/queries.rb
164
170
  - lib/stretchy/queries/base.rb
165
171
  - lib/stretchy/queries/bool_query.rb
166
172
  - lib/stretchy/queries/filtered_query.rb
167
173
  - lib/stretchy/queries/function_score_query.rb
168
174
  - lib/stretchy/queries/match_all_query.rb
169
175
  - lib/stretchy/queries/match_query.rb
176
+ - lib/stretchy/results.rb
170
177
  - lib/stretchy/results/base.rb
171
178
  - lib/stretchy/results/null_results.rb
179
+ - lib/stretchy/types.rb
172
180
  - lib/stretchy/types/base.rb
173
181
  - lib/stretchy/types/geo_point.rb
174
182
  - lib/stretchy/types/range.rb
183
+ - lib/stretchy/utils.rb
175
184
  - lib/stretchy/utils/client_actions.rb
176
185
  - lib/stretchy/utils/configuration.rb
177
186
  - lib/stretchy/utils/contract.rb