px_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 +4 -4
- checksums.yaml.gz.sig +0 -0
- data/lib/px_todo.rb +6 -3
- data.tar.gz.sig +0 -0
- metadata +4 -3
- metadata.gz.sig +1 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 2a7641512d15318225a9d56113b259e9cc26c227
|
|
4
|
+
data.tar.gz: 8c0061150d8c3078fbe4659d1db8bd6f9ba6124c
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: af08dc210cf3e959efa8eda070958edf2ded618baf242b89cc7dfb0611bc3187a811381bf48e2d80538fe9519936296b7d2d87819da1c00948f5278f0b7c7c0a
|
|
7
|
+
data.tar.gz: ea0d30177ea64057538948908a91cf58cbe85a238988fac37df6acc2f188eb54da326fd00addc8ca61dd7974b800ad86367870b912277e26a757865843657e54
|
checksums.yaml.gz.sig
CHANGED
|
Binary file
|
data/lib/px_todo.rb
CHANGED
|
@@ -9,9 +9,12 @@ require 'pxrowx'
|
|
|
9
9
|
|
|
10
10
|
class PxTodo
|
|
11
11
|
|
|
12
|
-
def initialize(raw_s)
|
|
12
|
+
def initialize(raw_s, filepath: '.')
|
|
13
13
|
|
|
14
|
-
s,
|
|
14
|
+
s, type = RXFHelper.read(raw_s)
|
|
15
|
+
|
|
16
|
+
@filepath = filepath
|
|
17
|
+
@filepath = File.dirname(raw_s) if type == :file and filepath == '.'
|
|
15
18
|
|
|
16
19
|
# remove the file heading
|
|
17
20
|
lines = s.lines
|
|
@@ -75,4 +78,4 @@ class PxTodo
|
|
|
75
78
|
end
|
|
76
79
|
|
|
77
80
|
|
|
78
|
-
end
|
|
81
|
+
end
|
data.tar.gz.sig
CHANGED
|
Binary file
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: px_todo
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.1.
|
|
4
|
+
version: 0.1.1
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- James Robertson
|
|
@@ -31,7 +31,7 @@ cert_chain:
|
|
|
31
31
|
P1gYYReHqUGXkUljinviQFod3s18BdV5MVytr/SoRtY/HxD6KiVOGI0ONjjXMJko
|
|
32
32
|
K1OGU0RnBiQMew==
|
|
33
33
|
-----END CERTIFICATE-----
|
|
34
|
-
date: 2016-11-
|
|
34
|
+
date: 2016-11-26 00:00:00.000000000 Z
|
|
35
35
|
dependencies:
|
|
36
36
|
- !ruby/object:Gem::Dependency
|
|
37
37
|
name: pxrowx
|
|
@@ -103,5 +103,6 @@ rubyforge_project:
|
|
|
103
103
|
rubygems_version: 2.5.1
|
|
104
104
|
signing_key:
|
|
105
105
|
specification_version: 4
|
|
106
|
-
summary:
|
|
106
|
+
summary: Reads a plain text file containing a to-do list which is the stored in a
|
|
107
|
+
Polyrex (XML) document format.
|
|
107
108
|
test_files: []
|
metadata.gz.sig
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
p��R�C|��O���
|