polytexnic 0.9.8 → 0.9.9

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: c232d21ed27bff434a2f5c71115f16467589958c
4
- data.tar.gz: 4489ddc0c8847d3b474ffb42e5e18ea56de0f1d7
3
+ metadata.gz: 821fd49a7e64e757649554fe43230066a4adabde
4
+ data.tar.gz: 691430267b60c4c687bb84f7ba6fb70e1a0ea9c6
5
5
  SHA512:
6
- metadata.gz: e797cba3b511b53641cf3dc2b47a1c56eeaab7c7a4c4dde696614acc908f8b634ae9c69977185a3afdffda9c6d9d7a3bf6aeb1db071f6fea46fd9d4a3d723809
7
- data.tar.gz: 11d6f921adf4845ecccea201475fe1cd73c5356dd4eb3e054bc41ce0e4789477ec1e7430770a8c05484ce482ae891149f038323fcc8e6075d2b928db8b9ec740
6
+ metadata.gz: d44043bfb3c04a58e30e1a85e5cf1c0a0046f92018c27e22310b22e145c2c1bceb23077d2cedabcdc7ec8db0802d9d7bbdcbae43a946edc7a2854cf33bda791e
7
+ data.tar.gz: d07ba71163b7acc22d019d4d7b798838512a092db4791e2d56a4a867ad07bb220b79e6454e20646f9e5c19b130bdcde3161d256ce1ab35e6ebbbc4f307334bb6
@@ -379,7 +379,7 @@ module Polytexnic
379
379
  if number && !number.empty?
380
380
  number.split('.').first.to_i
381
381
  else
382
- chapter_number(node.parent)
382
+ chapter_number(node.parent) rescue nil
383
383
  end
384
384
  end
385
385
 
@@ -1,3 +1,3 @@
1
1
  module Polytexnic
2
- VERSION = "0.9.8"
2
+ VERSION = "0.9.9"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: polytexnic
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.9.8
4
+ version: 0.9.9
5
5
  platform: ruby
6
6
  authors:
7
7
  - Michael Hartl
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2014-05-06 00:00:00.000000000 Z
12
+ date: 2014-05-07 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: nokogiri