attr_validator 0.0.1 → 0.1.0
Sign up to get free protection for your applications and to get access to all the features.
- data/.gitignore +1 -0
- data/Gemfile.lock +1 -1
- data/lib/attr_validator/version.rb +1 -1
- data/lib/attr_validator.rb +1 -1
- metadata +17 -12
data/.gitignore
CHANGED
data/Gemfile.lock
CHANGED
data/lib/attr_validator.rb
CHANGED
@@ -37,5 +37,5 @@ AttrValidator.add_validator(:regexp, AttrValidator::Validators::RegexpVali
|
|
37
37
|
AttrValidator.add_validator(:url, AttrValidator::Validators::UrlValidator)
|
38
38
|
|
39
39
|
# I18n settings
|
40
|
-
I18n.load_path
|
40
|
+
I18n.load_path += Dir[File.dirname(__FILE__) +'/attr_validator/locales/*.yml']
|
41
41
|
I18n.default_locale = :en
|
metadata
CHANGED
@@ -2,25 +2,25 @@
|
|
2
2
|
name: attr_validator
|
3
3
|
version: !ruby/object:Gem::Version
|
4
4
|
prerelease:
|
5
|
-
version: 0.0
|
5
|
+
version: 0.1.0
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
8
8
|
- Albert Gazizov
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2014-
|
12
|
+
date: 2014-04-09 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
|
+
prerelease: false
|
16
|
+
name: i18n
|
17
|
+
type: :runtime
|
15
18
|
version_requirements: !ruby/object:Gem::Requirement
|
16
19
|
requirements:
|
17
20
|
- - ! '>='
|
18
21
|
- !ruby/object:Gem::Version
|
19
22
|
version: '0'
|
20
23
|
none: false
|
21
|
-
name: i18n
|
22
|
-
type: :runtime
|
23
|
-
prerelease: false
|
24
24
|
requirement: !ruby/object:Gem::Requirement
|
25
25
|
requirements:
|
26
26
|
- - ! '>='
|
@@ -28,15 +28,15 @@ dependencies:
|
|
28
28
|
version: '0'
|
29
29
|
none: false
|
30
30
|
- !ruby/object:Gem::Dependency
|
31
|
+
prerelease: false
|
32
|
+
name: bundler
|
33
|
+
type: :development
|
31
34
|
version_requirements: !ruby/object:Gem::Requirement
|
32
35
|
requirements:
|
33
36
|
- - ~>
|
34
37
|
- !ruby/object:Gem::Version
|
35
38
|
version: '1.3'
|
36
39
|
none: false
|
37
|
-
name: bundler
|
38
|
-
type: :development
|
39
|
-
prerelease: false
|
40
40
|
requirement: !ruby/object:Gem::Requirement
|
41
41
|
requirements:
|
42
42
|
- - ~>
|
@@ -44,15 +44,15 @@ dependencies:
|
|
44
44
|
version: '1.3'
|
45
45
|
none: false
|
46
46
|
- !ruby/object:Gem::Dependency
|
47
|
+
prerelease: false
|
48
|
+
name: rake
|
49
|
+
type: :development
|
47
50
|
version_requirements: !ruby/object:Gem::Requirement
|
48
51
|
requirements:
|
49
52
|
- - ! '>='
|
50
53
|
- !ruby/object:Gem::Version
|
51
54
|
version: '0'
|
52
55
|
none: false
|
53
|
-
name: rake
|
54
|
-
type: :development
|
55
|
-
prerelease: false
|
56
56
|
requirement: !ruby/object:Gem::Requirement
|
57
57
|
requirements:
|
58
58
|
- - ! '>='
|
@@ -116,12 +116,18 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
116
116
|
requirements:
|
117
117
|
- - ! '>='
|
118
118
|
- !ruby/object:Gem::Version
|
119
|
+
segments:
|
120
|
+
- 0
|
121
|
+
hash: -4524151488610427739
|
119
122
|
version: '0'
|
120
123
|
none: false
|
121
124
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
122
125
|
requirements:
|
123
126
|
- - ! '>='
|
124
127
|
- !ruby/object:Gem::Version
|
128
|
+
segments:
|
129
|
+
- 0
|
130
|
+
hash: -4524151488610427739
|
125
131
|
version: '0'
|
126
132
|
none: false
|
127
133
|
requirements: []
|
@@ -142,4 +148,3 @@ test_files:
|
|
142
148
|
- spec/attr_validator/validators/regexp_validator_spec.rb
|
143
149
|
- spec/attr_validator/validators/url_validator_spec.rb
|
144
150
|
- spec/spec_helper.rb
|
145
|
-
has_rdoc:
|