svxbox 0.0.6 → 0.0.7

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/svxbox/markupguppy.rb +5 -2
  3. metadata +3 -3
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.0.6
1
+ 0.0.7
@@ -23,15 +23,18 @@ module SvxBox
23
23
  return text.gsub('_',' ').gsub(/\b\w/){$&.upcase}
24
24
  end
25
25
 
26
- def svxbn(text)
26
+ def svxbasename(text)
27
27
  return text.downcase.gsub(' ','_').gsub(/[^a-z0-9_]/,'')
28
28
  end
29
29
 
30
- def svxpn(svxprev,svxnext)
30
+ def svxprevnext(svxprev,svxnext)
31
31
  npkg = ''
32
32
  npkg << "<span class=\"flrt\"><a href=\"#{svxnext}\">Next &#8250;</a></span>"
33
33
  npkg << "<a href=\"#{svxprev}\">&#8249; Previous</a>\n\n"
34
34
  end
35
+
36
+ alias :svxbn :svxbasename
37
+ alias :svxpn :svxprevnext
35
38
 
36
39
  end
37
40
  end
metadata CHANGED
@@ -5,8 +5,8 @@ version: !ruby/object:Gem::Version
5
5
  segments:
6
6
  - 0
7
7
  - 0
8
- - 6
9
- version: 0.0.6
8
+ - 7
9
+ version: 0.0.7
10
10
  platform: ruby
11
11
  authors:
12
12
  - Albert Lash
@@ -14,7 +14,7 @@ autorequire:
14
14
  bindir: bin
15
15
  cert_chain: []
16
16
 
17
- date: 2010-04-26 00:00:00 -04:00
17
+ date: 2010-05-01 00:00:00 -04:00
18
18
  default_executable:
19
19
  dependencies:
20
20
  - !ruby/object:Gem::Dependency