dense 1.1.5 → 1.1.6

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: cfc698913c3d5e9fcc87f8af83dea003df39e71d
4
- data.tar.gz: a81ecccdad7be0875a560025022b00c28b97558a
3
+ metadata.gz: 98c2df19e83fe3baf42a83e25dc86a89da6559a5
4
+ data.tar.gz: 6ac12307afce7a347cc449e4172ef8036e2883a4
5
5
  SHA512:
6
- metadata.gz: 332efedf4c5fe21336898ff830f90dda169a3fce2da5984b553e9ca61c8d5bd855e3e62bf40e403286f66ed922212928ee46209a9dedbc187079b4af97608270
7
- data.tar.gz: 5b4806c891b739b277c2c7447b232d3c9a0d974c1aea8ea5749541f5bbd77a85ec0f3aa70d27217161ff7ddde1b637969721a57a099400792509373cd20e9eaf
6
+ metadata.gz: 02b601a07946bcae9bd79167aab71e97d39b645abe97813871a4f6e06bd2cc5a72b73058b1a85e7e855f69546e709c289cd5e9df6510a7558661230638a0c02c
7
+ data.tar.gz: d1c63c70024f8b7a0b702a203fe1007c65ee4ef28a2d9880b94c150214442bc1a8275a7c3af6ce6271f8a8b9af039d7cfa978400c6639507789bd56e19acae66
@@ -2,6 +2,11 @@
2
2
  # dense
3
3
 
4
4
 
5
+ ## dense 1.1.6 released 2018-12-24 (Merry Christmas!)
6
+
7
+ * Interpret "replies.0_1_2" as `[ "replies", "0_1_2" ]` not `[ "replies", 0 ]`
8
+
9
+
5
10
  ## dense 1.1.5 released 2018-12-04
6
11
 
7
12
  * Differentiate KeyError and IndexError upon miss
@@ -1,7 +1,7 @@
1
1
 
2
2
  module Dense
3
3
 
4
- VERSION = '1.1.5'
4
+ VERSION = '1.1.6'
5
5
  end
6
6
 
7
7
  require 'raabro'
@@ -44,7 +44,8 @@ module Dense::Path::Parser include ::Raabro
44
44
  def blank(i); str(:blank, i, ''); end
45
45
 
46
46
  def name(i); rex(:name, i, /[-+%^<>a-zA-Z0-9_\/\\=?!]+/); end
47
- def off(i); rex(:off, i, /-?\d+/); end
47
+ def off(i); rex(:off, i, /-?\d+(?=(\.|\[|\z))/); end
48
+ # positive lookahead so that "0_1_2" is not parsed as "0" and whatever...
48
49
 
49
50
  def star(i); str(:star, i, '*'); end
50
51
 
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: dense
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.1.5
4
+ version: 1.1.6
5
5
  platform: ruby
6
6
  authors:
7
7
  - John Mettraux
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2018-12-04 00:00:00.000000000 Z
11
+ date: 2018-12-23 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: raabro