esapiserver 0.0.1 → 0.0.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/bin/esapiserver +4 -0
- data/esapiserver.gemspec +1 -1
- data/lib/esapiserver.rb +0 -1
- data/lib/esapiserver/version.rb +1 -1
- metadata +4 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 4474751b09bee298a35d46ae71b801514a6a158e
|
4
|
+
data.tar.gz: 9b19b611f7d2b423c5769dfd9330d14896cbdba2
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: bbd46703d6f466b45e708864de487b67668c8d120016f68dc40711be33fb5963632a717f344a62502d8afb4337b728bfa71b20673217b2a25505ad54dd24ec16
|
7
|
+
data.tar.gz: 4c20fb2a0d1cb8e31300b31eabfac9985d929408953662d1159308018ed9c9d874014f64fcf98e2ea915234fbe9ef9a35a4f571dbcc9f7a5551cf34ab7e6a70a
|
data/bin/esapiserver
ADDED
data/esapiserver.gemspec
CHANGED
@@ -14,7 +14,7 @@ Gem::Specification.new do |spec|
|
|
14
14
|
spec.license = "MIT"
|
15
15
|
|
16
16
|
spec.files = `git ls-files -z`.split("\x0")
|
17
|
-
spec.executables =
|
17
|
+
spec.executables = ['esapiserver']
|
18
18
|
spec.test_files = spec.files.grep(%r{^(test|spec|features)/})
|
19
19
|
spec.require_paths = ["lib"]
|
20
20
|
|
data/lib/esapiserver.rb
CHANGED
@@ -75,7 +75,6 @@ module Esapiserver
|
|
75
75
|
if request.query_string.empty?
|
76
76
|
result = collection.find.to_a.map{|t| frombsonid(t, params[:thing])}.to_json
|
77
77
|
else
|
78
|
-
#TODO Handle a single ID
|
79
78
|
if request.query_string.include? 'ids[]' or request.query_string.include? 'ids%5B%5D'
|
80
79
|
ids = []
|
81
80
|
|
data/lib/esapiserver/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: esapiserver
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- William Miles
|
@@ -251,7 +251,8 @@ dependencies:
|
|
251
251
|
description: A Sinatra/MongoDB API server to use for EmberJS development
|
252
252
|
email:
|
253
253
|
- william@miles.dk
|
254
|
-
executables:
|
254
|
+
executables:
|
255
|
+
- esapiserver
|
255
256
|
extensions: []
|
256
257
|
extra_rdoc_files: []
|
257
258
|
files:
|
@@ -267,6 +268,7 @@ files:
|
|
267
268
|
- lib/esapiserver/version.rb
|
268
269
|
- spec/esapiserver_spec.rb
|
269
270
|
- spec/spec_helper.rb
|
271
|
+
- bin/esapiserver
|
270
272
|
homepage: https://github.com/mawiza/esapiserver
|
271
273
|
licenses:
|
272
274
|
- MIT
|