fix stupid bug, yanking old version
This commit is contained in:
parent
98f302bf6c
commit
52bdf6f164
@ -1,3 +1,5 @@
|
||||
v0.2.2. Fix a stupid bug, yanking old version.
|
||||
|
||||
v0.2.1. Lots of code cleanup and documentation added.
|
||||
|
||||
v0.2. Another minor release, lots of improvements since 0.1.
|
||||
|
@ -56,7 +56,7 @@ class Symbol
|
||||
# Turn this into an option for IndexOptions
|
||||
def optionify
|
||||
output = self.apachify
|
||||
output = "-#{output[4..-1].apachify}" if self.to_s[0..3] == 'not_'
|
||||
output = "-#{output[3..-1]}" if self.to_s[0..3] == 'not_'
|
||||
output
|
||||
end
|
||||
|
||||
|
@ -14,4 +14,12 @@ describe Apache::Apachify, "extends objects to apachify themselves" do
|
||||
input.apachify.should == output
|
||||
end
|
||||
end
|
||||
|
||||
it "should optionify the symbol" do
|
||||
[
|
||||
[ :not_multiviews, '-Multiviews' ]
|
||||
].each do |symbol, output|
|
||||
symbol.optionify.should == output
|
||||
end
|
||||
end
|
||||
end
|
||||
|
Loading…
Reference in New Issue
Block a user