html_terminator 0.0.1 → 0.0.2
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.
- data/.travis.yml +5 -0
- data/README.md +2 -0
- data/lib/html_terminator/version.rb +1 -1
- data/lib/html_terminator.rb +1 -1
- data/spec/html_terminator_spec.rb +6 -0
- metadata +2 -1
data/.travis.yml
ADDED
data/README.md
CHANGED
data/lib/html_terminator.rb
CHANGED
@@ -23,4 +23,10 @@ describe HtmlTerminator do
|
|
23
23
|
@student.last_name = "Hello <img>"
|
24
24
|
@student.last_name.should == "Hello"
|
25
25
|
end
|
26
|
+
|
27
|
+
it "should not blow up if value is nil" do
|
28
|
+
@student = Student.new
|
29
|
+
@student.first_name = nil
|
30
|
+
@student.first_name.should == nil
|
31
|
+
end
|
26
32
|
end
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: html_terminator
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.2
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -69,6 +69,7 @@ extensions: []
|
|
69
69
|
extra_rdoc_files: []
|
70
70
|
files:
|
71
71
|
- .gitignore
|
72
|
+
- .travis.yml
|
72
73
|
- Gemfile
|
73
74
|
- Guardfile
|
74
75
|
- LICENSE.txt
|