kawaii_email_address 0.1.2 → 0.1.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.travis.yml +7 -0
- data/README.md +3 -1
- data/lib/kawaii_email_address.rb +1 -0
- data/lib/kawaii_email_address/validator.rb +1 -1
- data/lib/kawaii_email_address/version.rb +1 -1
- metadata +5 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: ffde28e5d7178162903ab8385f212687b114b1a0
|
4
|
+
data.tar.gz: 5d172f3cf45fc3ac826ec0a72674058a00dffdf7
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 02a6029584b557590b48450c5665bc8cfcc671e46f7435cf953d55d66974d317e7f3fa094c1156d2fa67319591430086dae1084b1e3643e5389d448f85437fef
|
7
|
+
data.tar.gz: 4dafa09430162cc982e9b57a178c5c004cd19b30407906b2f308edd6820b2888e3252e510ca0f4dbf8c56b6b4cd3adcf3e02ef1179661618a6bf709e36b88391
|
data/.travis.yml
ADDED
data/README.md
CHANGED
@@ -1,5 +1,7 @@
|
|
1
1
|
# KawaiiEmailAddress
|
2
2
|
|
3
|
+
[![Build Status](https://travis-ci.org/esminc/kawaii_email_address.png?branch=master)](https://travis-ci.org/esminc/kawaii_email_address)
|
4
|
+
|
3
5
|
Extraction of validate logic from `validates_email_format_of` to support japanese docomo/au kawaii addresses.
|
4
6
|
|
5
7
|
## Installation
|
@@ -21,7 +23,7 @@ Or install it yourself as:
|
|
21
23
|
It's NOT Rails' validator. Use it with this
|
22
24
|
|
23
25
|
```
|
24
|
-
#
|
26
|
+
# accept `kawaii` local part with docomo or ezweb.
|
25
27
|
KawaiiEmailAddress::Validator.new('....-_-....@docomo.ne.jp').valid? # => true
|
26
28
|
|
27
29
|
# reject with other domains.
|
@@ -0,0 +1 @@
|
|
1
|
+
require 'kawaii_email_address/validator'
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: kawaii_email_address
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- moro
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date:
|
12
|
+
date: 2014-04-15 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: bundler
|
@@ -64,11 +64,13 @@ extra_rdoc_files: []
|
|
64
64
|
files:
|
65
65
|
- .gitignore
|
66
66
|
- .rspec
|
67
|
+
- .travis.yml
|
67
68
|
- Gemfile
|
68
69
|
- LICENSE.txt
|
69
70
|
- README.md
|
70
71
|
- Rakefile
|
71
72
|
- kawaii_email_address.gemspec
|
73
|
+
- lib/kawaii_email_address.rb
|
72
74
|
- lib/kawaii_email_address/validator.rb
|
73
75
|
- lib/kawaii_email_address/version.rb
|
74
76
|
- spec/kawaii_email_address_spec.rb
|
@@ -93,7 +95,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
93
95
|
version: '0'
|
94
96
|
requirements: []
|
95
97
|
rubyforge_project:
|
96
|
-
rubygems_version: 2.0.
|
98
|
+
rubygems_version: 2.0.7
|
97
99
|
signing_key:
|
98
100
|
specification_version: 4
|
99
101
|
summary: Extraction of validate logic from `validates_email_format_of` to support
|