svxbox 0.0.6 → 0.0.7
Sign up to get free protection for your applications and to get access to all the features.
- data/VERSION +1 -1
- data/lib/svxbox/markupguppy.rb +5 -2
- metadata +3 -3
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.0.
|
1
|
+
0.0.7
|
data/lib/svxbox/markupguppy.rb
CHANGED
@@ -23,15 +23,18 @@ module SvxBox
|
|
23
23
|
return text.gsub('_',' ').gsub(/\b\w/){$&.upcase}
|
24
24
|
end
|
25
25
|
|
26
|
-
def
|
26
|
+
def svxbasename(text)
|
27
27
|
return text.downcase.gsub(' ','_').gsub(/[^a-z0-9_]/,'')
|
28
28
|
end
|
29
29
|
|
30
|
-
def
|
30
|
+
def svxprevnext(svxprev,svxnext)
|
31
31
|
npkg = ''
|
32
32
|
npkg << "<span class=\"flrt\"><a href=\"#{svxnext}\">Next ›</a></span>"
|
33
33
|
npkg << "<a href=\"#{svxprev}\">‹ 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
|
-
-
|
9
|
-
version: 0.0.
|
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-
|
17
|
+
date: 2010-05-01 00:00:00 -04:00
|
18
18
|
default_executable:
|
19
19
|
dependencies:
|
20
20
|
- !ruby/object:Gem::Dependency
|