all_todo 0.1.0 → 0.1.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 50840f50b347e61c40a490d9b69a2c249df46a61
4
- data.tar.gz: 273110a3beb5badbb1444e1d3aea5c692dc95406
3
+ metadata.gz: 175e73b57c1d10ac2ba181f29b75ebc157fc338a
4
+ data.tar.gz: 158f117f95b91c334427b28d9f5d0d4ae782512b
5
5
  SHA512:
6
- metadata.gz: ace0ed84a10fe3a3f512dce6c7bb84a3ff9d0139a4efb15e6fe4a1f91f3b1d3d5d206b862fed7555ad731e8d956194be4e2534d7c9b702e0d137f7081de6aea1
7
- data.tar.gz: 83d2356b642110366e4fd061e64d2b5377d14e711f0db84c0e2bd0c01f67240ed1146e40ef6e311a20e708d183aa44fdc1a90ebf0b9abf48d051d4f8430d3fa6
6
+ metadata.gz: b3eb23b4a778223680e700cb4d419f04087b0f5c57b071731d4c4dd695aadb742d280b3ac3b058b93b3759792aed3c39db19f06cd77c3d94238f7685fde3edd2
7
+ data.tar.gz: 01fbf7b6d8dc3c8fdff87e7937fa1a80e2a7e32f6e25b2ede502c5227c2e5c78e70ebfd87ec421d9a59674aaf4a8b4a7fbf329be52f28182356e725bd947ea25
checksums.yaml.gz.sig CHANGED
Binary file
data/lib/all_todo.rb CHANGED
@@ -10,12 +10,16 @@ class AllTodo
10
10
 
11
11
  def initialize(s)
12
12
 
13
+ # remove the file heading
14
+ lines = s.lines
15
+ lines.shift 3
16
+
13
17
  declaration = '<?ph schema="sections[title]/section[x]"?>'
14
- @px = PolyrexHeadings.new(declaration + "\n" + s).to_polyrex
18
+ @px = PolyrexHeadings.new(declaration + "\n" + lines.join).to_polyrex
15
19
 
16
20
  end
17
21
 
18
22
  def to_px
19
23
  @px
20
24
  end
21
- end
25
+ end
data.tar.gz.sig CHANGED
Binary file
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: all_todo
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.1.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - James Robertson
metadata.gz.sig CHANGED
Binary file