polyrex-schema 0.2.2 → 0.2.3

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: 29b9fb069d346a9ed3ea8e80c78f89c9a6693b16
4
- data.tar.gz: 174201bd0242d9eacf25fb4f6285bfcfc87ced34
3
+ metadata.gz: 525963053e50db80e18bb8795c34470553012143
4
+ data.tar.gz: 8716384cb4673f6a37d14d3e9190849e0dac8684
5
5
  SHA512:
6
- metadata.gz: c1df8edd790749daa04abb404921ee12f8033cdafaa805ef66026ea6df496fa406929eb3d222011ea84332b35e417418b1c7aef23d100c0f411d6757ff6efce2
7
- data.tar.gz: 7605377416173826f08e495d0263f378003af0acc01ed7e948143d442744799707c68b3b59a26b1e85c1c8c6463dbf517a4b8454073603d09461aea30727bc22
6
+ metadata.gz: 8f6e16d034e80574719bc6814b27d7ed998a53b1d3b68458f92679e05ebbd32bb64e9674e5f3dee17d09ced68006d27062a14a2ba381f6f2ccf763d58ced061c
7
+ data.tar.gz: 89f515edde9c6b0d959adda07afaa651c79c358dbfba3d88a258af94550f0ef3c0d51237836c102952cfb9d422e88ef8edbdd3a59311c3be776dca55226c1f6b
Binary file
data.tar.gz.sig CHANGED
Binary file
@@ -10,7 +10,7 @@ class PolyrexSchema
10
10
 
11
11
  s.prepend 'root/' if s[0] == '{'
12
12
 
13
- a = s.scan(/(\{[^\}]+\})|(\w+[^\/]*)\/|\/(.*)/).flatten(1).compact
13
+ a = s.scan(/(\{[^\}]+\})|(\w+[^\/]*)\/|\/(.*)|(.+)/).flatten(1).compact
14
14
 
15
15
  r = add_node a
16
16
  r[3] << node('recordx_type', 'polyrex') << node('schema',s)
@@ -51,7 +51,8 @@ class PolyrexSchema
51
51
 
52
52
  r = raw_siblings[1..-2].split(/\s*\s*;/).map do |x|
53
53
 
54
- a2 = x.scan(/(\{[^\}]+\})|(\w+[^\/]*)\/|\/(.*)|(.+)/).flatten(1).compact
54
+ a2 = x.scan(/(\{[^\}]+\})|(\w+[^\/]*)\/|\/(.*)|(.+)/).flatten(1)\
55
+ .compact
55
56
  add_node a2 + a
56
57
  end
57
58
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: polyrex-schema
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.2
4
+ version: 0.2.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - James Robertson
metadata.gz.sig CHANGED
Binary file