mailchecker 0.0.3 → 0.0.4
Sign up to get free protection for your applications and to get access to all the features.
@@ -6,7 +6,15 @@ module Mailchecker
|
|
6
6
|
desc "Create the javascript file to make the validation in client side."
|
7
7
|
|
8
8
|
def copy_javascript
|
9
|
-
|
9
|
+
copy_file "assets/mailchecker.js.coffee.erb", "app/assets/javascripts/mailchecker_client.js.coffee.erb"
|
10
|
+
|
11
|
+
if File.exist?('app/assets/javascripts/application.js')
|
12
|
+
insert_into_file "app/assets/javascripts/application.js", "//= require mailchecker_client\n", after: "jquery_ujs\n"
|
13
|
+
else
|
14
|
+
if File.exist?('app/assets/javascripts/application.js.coffee')
|
15
|
+
insert_into_file "app/assets/javascripts/application.js.coffee", "#= require mailchecker_client\n", after: "jquery_ujs\n"
|
16
|
+
end
|
17
|
+
end
|
10
18
|
end
|
11
19
|
end
|
12
20
|
end
|
data/lib/mailchecker/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: mailchecker
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.4
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2012-12-
|
12
|
+
date: 2012-12-13 00:00:00.000000000 Z
|
13
13
|
dependencies: []
|
14
14
|
description: This will validate your email using mail-checker.com web service, it
|
15
15
|
will test for you the format, if the domain responds and if the email is not a temporary
|