qiita-elasticsearch 0.10.0 → 0.11.0

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: a6b10568a904f2fb28ae1463af4886eb92d34d59
4
- data.tar.gz: d26129444b8c9a9b14840ffcee127f20c598ba64
3
+ metadata.gz: 3f2d6e55767109fc2d71771815a3f6a90a59a35c
4
+ data.tar.gz: 6781d498d675320ddb26b930a3a42d794dda99b7
5
5
  SHA512:
6
- metadata.gz: 7ae10433bf1f17bd5efd1cafee4240eee962c01eafffd687f4c9eb095569e659cb0eb3163699e9522017670f2db06c922ddf8d42868a4b04cf129a414239cd63
7
- data.tar.gz: af8287db05f84c06566e47e478f407d929d2ccc2bdad0d631ecc1288edcc0518110b46451e47400dc239343c1acb58f5de0bde3d378871a0351b3a718e1e057b
6
+ metadata.gz: f263d65f4e1c44df2d13ec45e5331961a17265650b60dc123bfa38b6fcc1dc86d0f40008a9de2496dad5e097c702ee05290dc52e76048be00540c34263fe2f4a
7
+ data.tar.gz: c0f6e28632ce08e2a46f9364c9e855c5d4db95f4faf2c2488eb687b2e0b9ad797a0d159f0adc503daa52c7818da28ca5987e07505510900ca1d95855c82d05fb
data/CHANGELOG.md CHANGED
@@ -1,3 +1,6 @@
1
+ ## 0.11.0
2
+ - Add sort:lgtms-asc and sort:lgtms-desc tokens
3
+
1
4
  ## 0.10.0
2
5
  - Add sort:updated-asc and sort:updated-desc tokens
3
6
 
@@ -60,6 +60,10 @@ module Qiita
60
60
  case @tokens.select(&:sort?).last.try(:term)
61
61
  when "created-asc"
62
62
  [{ "created_at" => "asc" }, "_score"]
63
+ when "lgtms-asc"
64
+ [{ "lgtms" => "asc" }, "_score"]
65
+ when "lgtms-desc"
66
+ [{ "lgtms" => "desc" }, "_score"]
63
67
  when "related-asc"
64
68
  ["_score"]
65
69
  when "related-desc"
@@ -1,5 +1,5 @@
1
1
  module Qiita
2
2
  module Elasticsearch
3
- VERSION = "0.10.0"
3
+ VERSION = "0.11.0"
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: qiita-elasticsearch
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.10.0
4
+ version: 0.11.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ryo Nakamura