nudge 0.2.2 → 0.2.3

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.
Files changed (3) hide show
  1. data/VERSION +1 -1
  2. data/lib/interpreter/parse.tab.rb +2 -2
  3. metadata +3 -3
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.2.2
1
+ 0.2.3
@@ -73,11 +73,11 @@ module_eval <<'..end parse.y modeval..ida1760a43d7', 'parse.y', 22
73
73
  ss = StringScanner.new(code_text)
74
74
  while ss.skip_until(/«([\p{Alpha}][\p{Alnum}_]*?)»/um)
75
75
  category = ss[1]
76
- footnote = @footnotes[category].shift || ""
76
+ footnote = @footnotes[category].shift
77
77
 
78
78
  embedded_footnotes << "«#{category}» #{footnote}"
79
79
 
80
- if category == "code"
80
+ if category == "code" && footnote
81
81
  self.collect_embedded_footnotes!(footnote, embedded_footnotes)
82
82
  end
83
83
  end
metadata CHANGED
@@ -5,8 +5,8 @@ version: !ruby/object:Gem::Version
5
5
  segments:
6
6
  - 0
7
7
  - 2
8
- - 2
9
- version: 0.2.2
8
+ - 3
9
+ version: 0.2.3
10
10
  platform: ruby
11
11
  authors:
12
12
  - Bill Tozier
@@ -16,7 +16,7 @@ autorequire:
16
16
  bindir: bin
17
17
  cert_chain: []
18
18
 
19
- date: 2010-04-08 00:00:00 -04:00
19
+ date: 2010-04-09 00:00:00 -04:00
20
20
  default_executable: nudge
21
21
  dependencies:
22
22
  - !ruby/object:Gem::Dependency