eden_cloud_search 0.1.10
Sign up to get free protection for your applications and to get access to all the features.
- data/.gitignore +19 -0
- data/.rspec +1 -0
- data/.travis.yml +3 -0
- data/Gemfile +13 -0
- data/Guardfile +10 -0
- data/LICENSE.txt +22 -0
- data/README.md +142 -0
- data/Rakefile +9 -0
- data/eden_cloud_search.gemspec +30 -0
- data/lib/eden_cloud_search/config.rb +62 -0
- data/lib/eden_cloud_search/document.rb +95 -0
- data/lib/eden_cloud_search/exceptions.rb +3 -0
- data/lib/eden_cloud_search/indexer.rb +44 -0
- data/lib/eden_cloud_search/invalid_document.rb +11 -0
- data/lib/eden_cloud_search/search_response.rb +73 -0
- data/lib/eden_cloud_search/searcher.rb +118 -0
- data/lib/eden_cloud_search/version.rb +3 -0
- data/lib/eden_cloud_search.rb +24 -0
- data/spec/cloud_search/config_spec.rb +23 -0
- data/spec/cloud_search/document_spec.rb +335 -0
- data/spec/cloud_search/indexer_spec.rb +146 -0
- data/spec/cloud_search/invalid_document_spec.rb +9 -0
- data/spec/cloud_search/search_response_spec.rb +220 -0
- data/spec/cloud_search/searcher_spec.rb +254 -0
- data/spec/fixtures/full.json +1 -0
- data/spec/fixtures/vcr_cassettes/index/request/add.yml +38 -0
- data/spec/fixtures/vcr_cassettes/index/request/add_in_batch.yml +40 -0
- data/spec/fixtures/vcr_cassettes/index/request/delete.yml +37 -0
- data/spec/fixtures/vcr_cassettes/search/request/facets.yml +121 -0
- data/spec/fixtures/vcr_cassettes/search/request/facets_with_constraints.yml +123 -0
- data/spec/fixtures/vcr_cassettes/search/request/full.yml +114 -0
- data/spec/fixtures/vcr_cassettes/search/request/paginated.yml +36 -0
- data/spec/fixtures/vcr_cassettes/search/request/paginated_first_page.yml +56 -0
- data/spec/fixtures/vcr_cassettes/search/request/paginated_second_page.yml +81 -0
- data/spec/spec_helper.rb +17 -0
- data/spec/support/vcr.rb +5 -0
- metadata +212 -0
metadata
ADDED
@@ -0,0 +1,212 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: eden_cloud_search
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 0.1.10
|
5
|
+
prerelease:
|
6
|
+
platform: ruby
|
7
|
+
authors:
|
8
|
+
- Willian Fernandes
|
9
|
+
autorequire:
|
10
|
+
bindir: bin
|
11
|
+
cert_chain: []
|
12
|
+
date: 2013-05-07 00:00:00.000000000 Z
|
13
|
+
dependencies:
|
14
|
+
- !ruby/object:Gem::Dependency
|
15
|
+
name: pry
|
16
|
+
requirement: !ruby/object:Gem::Requirement
|
17
|
+
none: false
|
18
|
+
requirements:
|
19
|
+
- - ! '>='
|
20
|
+
- !ruby/object:Gem::Version
|
21
|
+
version: '0'
|
22
|
+
type: :development
|
23
|
+
prerelease: false
|
24
|
+
version_requirements: !ruby/object:Gem::Requirement
|
25
|
+
none: false
|
26
|
+
requirements:
|
27
|
+
- - ! '>='
|
28
|
+
- !ruby/object:Gem::Version
|
29
|
+
version: '0'
|
30
|
+
- !ruby/object:Gem::Dependency
|
31
|
+
name: rake
|
32
|
+
requirement: !ruby/object:Gem::Requirement
|
33
|
+
none: false
|
34
|
+
requirements:
|
35
|
+
- - ! '>='
|
36
|
+
- !ruby/object:Gem::Version
|
37
|
+
version: '0'
|
38
|
+
type: :development
|
39
|
+
prerelease: false
|
40
|
+
version_requirements: !ruby/object:Gem::Requirement
|
41
|
+
none: false
|
42
|
+
requirements:
|
43
|
+
- - ! '>='
|
44
|
+
- !ruby/object:Gem::Version
|
45
|
+
version: '0'
|
46
|
+
- !ruby/object:Gem::Dependency
|
47
|
+
name: rspec
|
48
|
+
requirement: !ruby/object:Gem::Requirement
|
49
|
+
none: false
|
50
|
+
requirements:
|
51
|
+
- - ~>
|
52
|
+
- !ruby/object:Gem::Version
|
53
|
+
version: '2.11'
|
54
|
+
type: :development
|
55
|
+
prerelease: false
|
56
|
+
version_requirements: !ruby/object:Gem::Requirement
|
57
|
+
none: false
|
58
|
+
requirements:
|
59
|
+
- - ~>
|
60
|
+
- !ruby/object:Gem::Version
|
61
|
+
version: '2.11'
|
62
|
+
- !ruby/object:Gem::Dependency
|
63
|
+
name: simplecov
|
64
|
+
requirement: !ruby/object:Gem::Requirement
|
65
|
+
none: false
|
66
|
+
requirements:
|
67
|
+
- - ~>
|
68
|
+
- !ruby/object:Gem::Version
|
69
|
+
version: '0.6'
|
70
|
+
type: :development
|
71
|
+
prerelease: false
|
72
|
+
version_requirements: !ruby/object:Gem::Requirement
|
73
|
+
none: false
|
74
|
+
requirements:
|
75
|
+
- - ~>
|
76
|
+
- !ruby/object:Gem::Version
|
77
|
+
version: '0.6'
|
78
|
+
- !ruby/object:Gem::Dependency
|
79
|
+
name: vcr
|
80
|
+
requirement: !ruby/object:Gem::Requirement
|
81
|
+
none: false
|
82
|
+
requirements:
|
83
|
+
- - ~>
|
84
|
+
- !ruby/object:Gem::Version
|
85
|
+
version: '2.2'
|
86
|
+
type: :development
|
87
|
+
prerelease: false
|
88
|
+
version_requirements: !ruby/object:Gem::Requirement
|
89
|
+
none: false
|
90
|
+
requirements:
|
91
|
+
- - ~>
|
92
|
+
- !ruby/object:Gem::Version
|
93
|
+
version: '2.2'
|
94
|
+
- !ruby/object:Gem::Dependency
|
95
|
+
name: webmock
|
96
|
+
requirement: !ruby/object:Gem::Requirement
|
97
|
+
none: false
|
98
|
+
requirements:
|
99
|
+
- - ! '>='
|
100
|
+
- !ruby/object:Gem::Version
|
101
|
+
version: '0'
|
102
|
+
type: :development
|
103
|
+
prerelease: false
|
104
|
+
version_requirements: !ruby/object:Gem::Requirement
|
105
|
+
none: false
|
106
|
+
requirements:
|
107
|
+
- - ! '>='
|
108
|
+
- !ruby/object:Gem::Version
|
109
|
+
version: '0'
|
110
|
+
- !ruby/object:Gem::Dependency
|
111
|
+
name: rest-client
|
112
|
+
requirement: !ruby/object:Gem::Requirement
|
113
|
+
none: false
|
114
|
+
requirements:
|
115
|
+
- - ~>
|
116
|
+
- !ruby/object:Gem::Version
|
117
|
+
version: 1.6.7
|
118
|
+
type: :runtime
|
119
|
+
prerelease: false
|
120
|
+
version_requirements: !ruby/object:Gem::Requirement
|
121
|
+
none: false
|
122
|
+
requirements:
|
123
|
+
- - ~>
|
124
|
+
- !ruby/object:Gem::Version
|
125
|
+
version: 1.6.7
|
126
|
+
description: A wraper to Amazon CloudSearch's API
|
127
|
+
email:
|
128
|
+
- willian@willianfernandes.com.br
|
129
|
+
executables: []
|
130
|
+
extensions: []
|
131
|
+
extra_rdoc_files: []
|
132
|
+
files:
|
133
|
+
- .gitignore
|
134
|
+
- .rspec
|
135
|
+
- .travis.yml
|
136
|
+
- Gemfile
|
137
|
+
- Guardfile
|
138
|
+
- LICENSE.txt
|
139
|
+
- README.md
|
140
|
+
- Rakefile
|
141
|
+
- eden_cloud_search.gemspec
|
142
|
+
- lib/eden_cloud_search.rb
|
143
|
+
- lib/eden_cloud_search/config.rb
|
144
|
+
- lib/eden_cloud_search/document.rb
|
145
|
+
- lib/eden_cloud_search/exceptions.rb
|
146
|
+
- lib/eden_cloud_search/indexer.rb
|
147
|
+
- lib/eden_cloud_search/invalid_document.rb
|
148
|
+
- lib/eden_cloud_search/search_response.rb
|
149
|
+
- lib/eden_cloud_search/searcher.rb
|
150
|
+
- lib/eden_cloud_search/version.rb
|
151
|
+
- spec/cloud_search/config_spec.rb
|
152
|
+
- spec/cloud_search/document_spec.rb
|
153
|
+
- spec/cloud_search/indexer_spec.rb
|
154
|
+
- spec/cloud_search/invalid_document_spec.rb
|
155
|
+
- spec/cloud_search/search_response_spec.rb
|
156
|
+
- spec/cloud_search/searcher_spec.rb
|
157
|
+
- spec/fixtures/full.json
|
158
|
+
- spec/fixtures/vcr_cassettes/index/request/add.yml
|
159
|
+
- spec/fixtures/vcr_cassettes/index/request/add_in_batch.yml
|
160
|
+
- spec/fixtures/vcr_cassettes/index/request/delete.yml
|
161
|
+
- spec/fixtures/vcr_cassettes/search/request/facets.yml
|
162
|
+
- spec/fixtures/vcr_cassettes/search/request/facets_with_constraints.yml
|
163
|
+
- spec/fixtures/vcr_cassettes/search/request/full.yml
|
164
|
+
- spec/fixtures/vcr_cassettes/search/request/paginated.yml
|
165
|
+
- spec/fixtures/vcr_cassettes/search/request/paginated_first_page.yml
|
166
|
+
- spec/fixtures/vcr_cassettes/search/request/paginated_second_page.yml
|
167
|
+
- spec/spec_helper.rb
|
168
|
+
- spec/support/vcr.rb
|
169
|
+
homepage: http://rubygems.org/gems/eden_cloud_search
|
170
|
+
licenses: []
|
171
|
+
post_install_message:
|
172
|
+
rdoc_options: []
|
173
|
+
require_paths:
|
174
|
+
- lib
|
175
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
176
|
+
none: false
|
177
|
+
requirements:
|
178
|
+
- - ! '>='
|
179
|
+
- !ruby/object:Gem::Version
|
180
|
+
version: '0'
|
181
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
182
|
+
none: false
|
183
|
+
requirements:
|
184
|
+
- - ! '>='
|
185
|
+
- !ruby/object:Gem::Version
|
186
|
+
version: '0'
|
187
|
+
requirements: []
|
188
|
+
rubyforge_project:
|
189
|
+
rubygems_version: 1.8.24
|
190
|
+
signing_key:
|
191
|
+
specification_version: 3
|
192
|
+
summary: A wraper to Amazon CloudSearch's API
|
193
|
+
test_files:
|
194
|
+
- spec/cloud_search/config_spec.rb
|
195
|
+
- spec/cloud_search/document_spec.rb
|
196
|
+
- spec/cloud_search/indexer_spec.rb
|
197
|
+
- spec/cloud_search/invalid_document_spec.rb
|
198
|
+
- spec/cloud_search/search_response_spec.rb
|
199
|
+
- spec/cloud_search/searcher_spec.rb
|
200
|
+
- spec/fixtures/full.json
|
201
|
+
- spec/fixtures/vcr_cassettes/index/request/add.yml
|
202
|
+
- spec/fixtures/vcr_cassettes/index/request/add_in_batch.yml
|
203
|
+
- spec/fixtures/vcr_cassettes/index/request/delete.yml
|
204
|
+
- spec/fixtures/vcr_cassettes/search/request/facets.yml
|
205
|
+
- spec/fixtures/vcr_cassettes/search/request/facets_with_constraints.yml
|
206
|
+
- spec/fixtures/vcr_cassettes/search/request/full.yml
|
207
|
+
- spec/fixtures/vcr_cassettes/search/request/paginated.yml
|
208
|
+
- spec/fixtures/vcr_cassettes/search/request/paginated_first_page.yml
|
209
|
+
- spec/fixtures/vcr_cassettes/search/request/paginated_second_page.yml
|
210
|
+
- spec/spec_helper.rb
|
211
|
+
- spec/support/vcr.rb
|
212
|
+
has_rdoc:
|