goodcheck 2.1.0 → 2.1.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: c1eb6ece8a435ad763555da38a18d8dacc04f382ae683f15fea06c7dbb117c23
4
- data.tar.gz: ba146e257cc9dd9d1253af0009b59b75cd9063f40a8617a4454956a2c858c927
3
+ metadata.gz: b55685cfc689ed8aa037daa6bff7cc2012cb4d92e905e3cbeee07d13ef2b6d7a
4
+ data.tar.gz: 495ffb584f5886b4ee767994a315b83e8d371ddc8dd035d7378ed02096e69682
5
5
  SHA512:
6
- metadata.gz: 8758e7b9ea900a80e044b1cc5cc8eafd00bc7063a2c821683c69bd6052a1d2418a127ad1e3a64863bb63833dda00597165401280d645b9514cd5909243818a1c
7
- data.tar.gz: 4c7d2ef14d5c2fff6f49f89f94aa3b4b169625aafa4c5344a7af6ccdf77bc93cf5c79cdc11b0857f1ebc4951b1e8207d3173d67fb39872cd4a849946718ad992
6
+ metadata.gz: 9b032e6dffb2d0df33bd0eaea991d1175723df5f741bc190d792062629687dcde70c7153cb86f1ceee48c420472f106b6e6046adaf9de316018b16243a724dbb
7
+ data.tar.gz: 69ee77829739d940cba31b97427d5667d785fbffdcb672b584e33123d6c16cacaefd9265ca2c0aa1af8057b7159fe2c8ebf8139008a44801998c45a0643820a4
@@ -2,6 +2,15 @@
2
2
 
3
3
  ## master
4
4
 
5
+ ## 2.1.1 (2019-06-11)
6
+
7
+ * Let `:int` variable match with `0`
8
+
9
+ ## 2.1.0 (2019-06-10)
10
+
11
+ * Introduce regexp string pattern [#56](https://github.com/sider/goodcheck/pull/56)
12
+ * Introduce variable binding token pattern [#55](https://github.com/sider/goodcheck/pull/55)
13
+
5
14
  ## 2.0.0 (2019-06-06)
6
15
 
7
16
  * Introduce trigger, a new pattern definition [#53](https://github.com/sider/goodcheck/pull/53)
data/Dockerfile CHANGED
@@ -1,4 +1,4 @@
1
- FROM ruby:2.5.0-stretch
1
+ FROM ruby:2.6.3
2
2
 
3
3
  ENV DEBIAN_FRONTEND=noninteractive
4
4
 
@@ -112,7 +112,7 @@ module Goodcheck
112
112
 
113
113
  @@TYPES[:int] = -> (name) {
114
114
  ::Regexp.union(
115
- /(?<#{name}>[+-]?[1-9](:?\d|_\d)*)/,
115
+ /(?<#{name}>[+-]?0|[1-9](:?\d|_\d)*)/,
116
116
  /(?<#{name}>[+-]?0[dD][0-7]+)/,
117
117
  /(?<#{name}>[+-]?0[oO]?[0-7]+)/,
118
118
  /(?<#{name}>[+-]?0[xX][0-9a-fA-F]+)/,
@@ -1,3 +1,3 @@
1
1
  module Goodcheck
2
- VERSION = "2.1.0"
2
+ VERSION = "2.1.1"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: goodcheck
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.1.0
4
+ version: 2.1.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Soutaro Matsumoto
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2019-06-10 00:00:00.000000000 Z
11
+ date: 2019-06-11 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler