org-ruby 0.9.7 → 0.9.8
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/History.org +4 -0
- data/lib/org-ruby/parser.rb +4 -9
- data/lib/org-ruby/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: c0e5f64b70fe620336e34b6c5853ce64916c569e
|
4
|
+
data.tar.gz: d8beaa73ed7a50d7452876b2221a482e4666de7a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 607e5c4a80acafe273f087543399dbde9e832aab9e415f240545c0b50d8d5ba4130856b0bb266c52f491c3d69f6b9f985948137c9ae91db062a03a2686fcd238
|
7
|
+
data.tar.gz: ae30540a9d062a2aece38ced86cf46549ef972450c34552929f6d97417352da9115750afe4d7170623ad888a1883366ded9dd5e6489e1d0e41d5ed1a1d6f7535
|
data/History.org
CHANGED
data/lib/org-ruby/parser.rb
CHANGED
@@ -448,18 +448,13 @@ module Orgmode
|
|
448
448
|
|
449
449
|
# Stores an in-buffer setting.
|
450
450
|
def store_in_buffer_setting(key, value)
|
451
|
-
if key == "OPTIONS"
|
451
|
+
if key == "OPTIONS"
|
452
452
|
|
453
453
|
# Options are stored in a hash. Special-case.
|
454
|
-
|
455
|
-
|
456
|
-
if opt =~ /^(.*):(.*?)$/ then
|
457
|
-
@options[$1] = $2
|
458
|
-
else
|
459
|
-
raise "Unexpected option: #{opt}"
|
460
|
-
end
|
454
|
+
value.scan(/([^ ]*):((((\(.*\))))|([^ ])*)/) do |o, v|
|
455
|
+
@options[o] = v
|
461
456
|
end
|
462
|
-
elsif key =~ /^(TODO|SEQ_TODO|TYP_TODO)$/
|
457
|
+
elsif key =~ /^(TODO|SEQ_TODO|TYP_TODO)$/
|
463
458
|
# Handle todo keywords specially.
|
464
459
|
value.split.each do |keyword|
|
465
460
|
keyword.gsub!(/\(.*\)/, "") # Get rid of any parenthetical notes
|
data/lib/org-ruby/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: org-ruby
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.9.
|
4
|
+
version: 0.9.8
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Brian Dewey
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2014-
|
12
|
+
date: 2014-08-11 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: rubypants
|