junoser 0.1.4 → 0.1.5

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: f29184c4caf9cd9f2c631ff9ee28907990156b3e
4
- data.tar.gz: bb538d39ba3f589fe3184e2e6ed814c390d63925
3
+ metadata.gz: 31acb1e8abc3e39683666d17d250fb3be8872ec2
4
+ data.tar.gz: 578af0518c95aeaf82f3e59ff2ec0b946b6a5a2e
5
5
  SHA512:
6
- metadata.gz: b21fda5df6cda0df055fe002bc84ed424fa56aeff2209856421a28f7c557915792636c6856fa71fbf2b6fc77d02fb80069fc6c84d658f26230b06566ba0222a7
7
- data.tar.gz: 85bf0ed80ef26bbd3834f000685a35ea683c62ceaf04896090dd8286aa87205df54cc3e282d829b5a0b0ed68d8ae5dead4bba82ae73bee116bc5a3e7bc2fe196
6
+ metadata.gz: e8fa45ce896e5c1ef6c0ddae5069a1bcc54d5b81e8c640802478e6e97e864e3404c2cd14d504a5b00ffb6a09e6844452bc81cc8a304a053f2808a61da451b2b9
7
+ data.tar.gz: e64e18d06b8539668e3214f9bba8720f13bfb499f64abe1a004df87e4606e818512936d2424f4e02ff0d049ec7d200896bb0f387fb8410432e67be1e035cc90c
data/CHANGELOG.md CHANGED
@@ -1,3 +1,8 @@
1
+ ## 0.1.5 / 2015-09-11
2
+
3
+ * Bug fix
4
+ * mistakenly processed '{' and '}' in as-path string
5
+
1
6
  ## 0.1.4 / 2015-09-11
2
7
 
3
8
  * Bug fix
@@ -48,9 +48,9 @@ module Junoser
48
48
 
49
49
  Junoser::Input.new(@input).read.split("\n").each do |line|
50
50
  case line
51
- when /(.*){/
51
+ when /(?!.*})(.*){/
52
52
  stack.push $1.strip
53
- when '}'
53
+ when /}\s*$/
54
54
  stack.pop
55
55
  when /((?!\[).*)\[(.*)\];/
56
56
  $2.split("\s").each do |i|
@@ -1,3 +1,3 @@
1
1
  module Junoser
2
- VERSION = "0.1.4"
2
+ VERSION = "0.1.5"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: junoser
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.4
4
+ version: 0.1.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Shintaro Kojima