galakei 0.14.3 → 0.14.4
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/lib/galakei/email.rb +1 -1
- data/lib/galakei/version.rb +1 -1
- data/spec/galakei/email_spec.rb +2 -2
- metadata +2 -2
data/lib/galakei/email.rb
CHANGED
data/lib/galakei/version.rb
CHANGED
data/spec/galakei/email_spec.rb
CHANGED
|
@@ -43,7 +43,7 @@ GREEEEEEN
|
|
|
43
43
|
<img src="http://someurl.com/someimage.png"/>
|
|
44
44
|
<a href="http://dragonmobile.nuancemobiledeveloper.com/"><img src="cid:image-attachment-id" alt=""/></a>this was an image
|
|
45
45
|
<br/>
|
|
46
|
-
This is <img src="http://someurl.com/someimage.png" alt="
|
|
46
|
+
This is <img src="http://someurl.com/someimage.png" alt="イメジー"/>...
|
|
47
47
|
And now, <a href="ftp://some.ftpsite.com/">Downloadz youz warez herez!</a>
|
|
48
48
|
</html>
|
|
49
49
|
EOT
|
|
@@ -73,7 +73,7 @@ describe Galakei::Email do
|
|
|
73
73
|
it "should handle images" do
|
|
74
74
|
sanitized_mail.should =~ /<img src=.*cid/m
|
|
75
75
|
sanitized_mail.should_not =~ /<img src=.*http/m
|
|
76
|
-
sanitized_mail.should match("This is
|
|
76
|
+
sanitized_mail.should match("This is イメジー...")
|
|
77
77
|
end
|
|
78
78
|
|
|
79
79
|
it "should not have unsupported protocols" do
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: galakei
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.14.
|
|
4
|
+
version: 0.14.4
|
|
5
5
|
prerelease:
|
|
6
6
|
platform: ruby
|
|
7
7
|
authors:
|
|
@@ -11,7 +11,7 @@ authors:
|
|
|
11
11
|
autorequire:
|
|
12
12
|
bindir: bin
|
|
13
13
|
cert_chain: []
|
|
14
|
-
date: 2012-07-
|
|
14
|
+
date: 2012-07-15 00:00:00.000000000 Z
|
|
15
15
|
dependencies:
|
|
16
16
|
- !ruby/object:Gem::Dependency
|
|
17
17
|
name: actionpack
|