syoboi_calendar 0.9.2 → 0.9.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: 64bed26decc403c59c6b45cb43a52b982f359dbe
4
- data.tar.gz: 4f60c7dedf22e16aad725086f91ee71610ab2046
3
+ metadata.gz: e883e8224c5b174aeceebe9868980696569aaec2
4
+ data.tar.gz: 16a2a2704d64aaaa71ff8890e54cf7e28f1ce408
5
5
  SHA512:
6
- metadata.gz: 0e68be18c3062aeac3c5651647a24acc9db35080824994144035c1fd4af099b64ff1d7e92678230e98089002240b1a657e8b49556c7334f8fc0b2612fa3cf9a1
7
- data.tar.gz: 773bce0b13f1612511d15a50f16ca85c9013130d3b5cab4ef723a22eff753e7c3303f68b30429f248a37fe3560f0b81c72dfb0f1f98f3dd577f249961803135b
6
+ metadata.gz: 49cc7b046996044c57b86c206356ca3e820e7d73c033cad3f3bd51642e0bffbf9e2d3a97547af8ae690e0436756c393799ebd6666093eefea8f4871adb791339
7
+ data.tar.gz: d5b5d9901b05c32c45274ee0b344dd9d66d9c966cdc4db64dbe9d00476746b1c952ee8a25dcd5058f044a3d307b4259d01b9b80050e95fb7b8e0a2e93d92e8e3
data/CHANGELOG.md CHANGED
@@ -1,3 +1,7 @@
1
+ ## 0.9.3
2
+
3
+ - Fix comment parser logic
4
+
1
5
  ## 0.9.2
2
6
 
3
7
  - Add `SyoboiCalendar::Resources::ProgramResource#rerun?`
@@ -80,8 +80,10 @@ module SyoboiCalendar
80
80
  # @return [Hash{String => String}]
81
81
  def hash
82
82
  lines[1..-1].grep(/\A:/).each_with_object({}) do |line, result|
83
- key, value = line[1..-1].split(":", 2)
84
- result[key] = value.split("、")
83
+ key, value = line[1..-1].split(/[::]/, 2)
84
+ if value
85
+ result[key] = value.split("、")
86
+ end
85
87
  end
86
88
  end
87
89
 
@@ -1,3 +1,3 @@
1
1
  module SyoboiCalendar
2
- VERSION = "0.9.2"
2
+ VERSION = "0.9.3"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: syoboi_calendar
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.9.2
4
+ version: 0.9.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ryo Nakamura
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2017-02-16 00:00:00.000000000 Z
11
+ date: 2017-02-19 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: faraday