qiita-elasticsearch 0.17.0 → 0.18.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: 7d6570d03729c979346948b0cc263aba403bee28
4
- data.tar.gz: c8124642ae04a4f72ef23897b57281c854af6b0e
3
+ metadata.gz: 6cf12d1404cd16ad0ca66e662c930573cf6bead9
4
+ data.tar.gz: cc701f849847a2c85140115a1a04d261dbc30009
5
5
  SHA512:
6
- metadata.gz: f9fdd319e921675775c7ed2db8e3708243f2e1faaa2b254765a77e43b52dcac50eb44a3ceea3270469694b9257d87550d36764577d84d8a9ba35be00dfadbf37
7
- data.tar.gz: 878f11a6496aa4801c732ee0bf844211eb2ed354ab90b0aa271d099f7f89a046cdff2f10d7d8519885c46cd8648d864b8a676b0c487fa2b3ce3f2cffb73b4f6b
6
+ metadata.gz: 79d36cd192a2efc54cd5a1d8b0ede53dc315c7d949f4a238cfa8ac55bc642e1589c413f607e3d4d9b4dcac43c8c92acfd20b391f088fb11255c563a1b0f27154
7
+ data.tar.gz: adae64c88cdc0b142a63b16b27218ba891c60f935d18e53b34c6e74ac0bcaff86f4e16481893acb714090d455b20f07d6d1833f9c20af4374522ee8fba4ae175
@@ -1,3 +1,7 @@
1
+ ## 0.18.0
2
+
3
+ * Change the relative date expression format (Past date must be prefixed with `-` like `-30d`)
4
+
1
5
  ## 0.17.0
2
6
 
3
7
  * Add support for relative date expression in date fields
@@ -100,6 +100,7 @@ module Qiita
100
100
  class RelativeDateExpression < BaseDateExpression
101
101
  # @note Matches to "30d" and "30days"
102
102
  PATTERN = /\A
103
+ -
103
104
  (?<digit>\d+)
104
105
  (?<type>d|y|day|days|year|years)
105
106
  \z/x
@@ -1,5 +1,5 @@
1
1
  module Qiita
2
2
  module Elasticsearch
3
- VERSION = "0.17.0"
3
+ VERSION = "0.18.0"
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: qiita-elasticsearch
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.17.0
4
+ version: 0.18.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ryo Nakamura
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2016-12-02 00:00:00.000000000 Z
11
+ date: 2016-12-12 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activesupport