redcloth_on 0.1.0 → 0.2.0
Sign up to get free protection for your applications and to get access to all the features.
- data/VERSION +1 -1
- data/lib/redcloth_on.rb +5 -0
- data/redcloth_on.gemspec +1 -1
- data/spec/redcloth_on_spec.rb +7 -0
- metadata +2 -2
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.
|
1
|
+
0.2.0
|
data/lib/redcloth_on.rb
CHANGED
data/redcloth_on.gemspec
CHANGED
data/spec/redcloth_on_spec.rb
CHANGED
@@ -33,7 +33,14 @@ describe "RedclothOn" do
|
|
33
33
|
|
34
34
|
it "should not raise when the attribute is nil" do
|
35
35
|
lambda{ TestingClass.new.nil_value }.should_not raise_error
|
36
|
+
end
|
37
|
+
|
38
|
+
it "has access to the unmodified attribute" do
|
39
|
+
TestingClass.new.old_testing.should == "*hello*"
|
40
|
+
end
|
36
41
|
|
42
|
+
it "returns an empty string for nil attribute" do
|
43
|
+
TestingClass.new.nil_value.should == ""
|
37
44
|
end
|
38
45
|
|
39
46
|
end
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: redcloth_on
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.2.0
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -142,7 +142,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
142
142
|
version: '0'
|
143
143
|
segments:
|
144
144
|
- 0
|
145
|
-
hash:
|
145
|
+
hash: 1428702851010503921
|
146
146
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
147
147
|
none: false
|
148
148
|
requirements:
|