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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 7d07a29896ee308b52b9825976e831dcfca958c5
4
- data.tar.gz: cab39ec8f560b174c593fab6faa4c82b968e30be
3
+ metadata.gz: c0e5f64b70fe620336e34b6c5853ce64916c569e
4
+ data.tar.gz: d8beaa73ed7a50d7452876b2221a482e4666de7a
5
5
  SHA512:
6
- metadata.gz: 6abb23cb0b3217a0fc85923f0af373a1c27c40d7887784cb638e9ac24e074e08eddb31611a4702f1ed0ddaddb392ef4463093ad386e91811cc2ffcd8ecf6da94
7
- data.tar.gz: 0ae80c077087c8445affaea40039bb2b019036a0d0b5c17310ce758f853f75eb2238475f688db05948795f00f76988efb6cc7ce366d44bd7dcbd7e323f95ae9e
6
+ metadata.gz: 607e5c4a80acafe273f087543399dbde9e832aab9e415f240545c0b50d8d5ba4130856b0bb266c52f491c3d69f6b9f985948137c9ae91db062a03a2686fcd238
7
+ data.tar.gz: ae30540a9d062a2aece38ced86cf46549ef972450c34552929f6d97417352da9115750afe4d7170623ad888a1883366ded9dd5e6489e1d0e41d5ed1a1d6f7535
@@ -2,6 +2,10 @@
2
2
  #+title: Changelog
3
3
  #+startup: showeverything
4
4
 
5
+ * 0.9.8 / 2014-08-11
6
+
7
+ - Bugfix for =#+OPTIONS= values parsing
8
+
5
9
  * 0.9.7 / 2014-06-22
6
10
 
7
11
  - Custom markup support for exporters via YAML files (by [[https://github.com/gnusosa][@gnusosa]])
@@ -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" then
451
+ if key == "OPTIONS"
452
452
 
453
453
  # Options are stored in a hash. Special-case.
454
-
455
- value.split.each do |opt|
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)$/ then
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
@@ -1,3 +1,3 @@
1
1
  module OrgRuby
2
- VERSION = '0.9.7'
2
+ VERSION = '0.9.8'
3
3
  end
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.7
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-06-22 00:00:00.000000000 Z
12
+ date: 2014-08-11 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: rubypants