booklab-sml 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
  SHA256:
3
- metadata.gz: 185f05ba4b7c2f499267560d5f7d7a9afb090f2283815b8ec477491fe95b3589
4
- data.tar.gz: 3266ed391058555f8d38a5551170199e751363e5d8f9c58ade854be4657f495a
3
+ metadata.gz: 788082a5399970d31fe1b96e30f8c2163907f60fdbb7316779b41e800ca6063b
4
+ data.tar.gz: d621ccbf43de6cede1f544bdb2627d76676133bc74a8807fd4c9110964218c55
5
5
  SHA512:
6
- metadata.gz: dcb794b686118b2879af4c8ffd9ede6e021c030051574364d68ece9eb5aa8b1e4ae60569441b0714097b2d32ac65b95e2ecb43b20316621c967a93855ec989b7
7
- data.tar.gz: 15cdeff70e66a0572c240b991e39635178501cd44be16d35909c2e5853c2a8a6f87d0a45331fd52a0972cefe3c1b63c97fb2779c92b95779b9240488cb3b11f5
6
+ metadata.gz: 0f32ea2dfb58ecca1e842a389e99b2ca468cd4b62865a0b779b7d2a19d73964d34e61c29d928475370a1c5277591503282b8ed5b34a0ea4dd4dbef25ee8dcc54
7
+ data.tar.gz: f5fa90ab211e8741634676684d7078fcaafb78e80751490ce37440b40b3898436ba2fb100c25c98b73ea00d25bd44aeee40d567f32e572c5ba04a62b3b9e3e68
@@ -28,7 +28,7 @@ module BookLab::SML
28
28
  end
29
29
 
30
30
  def has_attributes?(node)
31
- raise "Invalid SML format:\n#{node.inspect}" unless element?(node)
31
+ return false unless element?(node)
32
32
  attributes?(node[1])
33
33
  end
34
34
 
@@ -2,6 +2,6 @@
2
2
 
3
3
  module BookLab
4
4
  module SML
5
- VERSION = "0.2.2"
5
+ VERSION = "0.2.3"
6
6
  end
7
7
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: booklab-sml
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
  - Jason Lee
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2019-01-10 00:00:00.000000000 Z
11
+ date: 2019-01-11 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activesupport
@@ -110,8 +110,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
110
110
  - !ruby/object:Gem::Version
111
111
  version: '0'
112
112
  requirements: []
113
- rubyforge_project:
114
- rubygems_version: 2.7.8
113
+ rubygems_version: 3.0.1
115
114
  signing_key:
116
115
  specification_version: 4
117
116
  summary: SML is a rich text format for describe of the BookLab rich contents.