validate_url 1.0.11 → 1.0.12
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/locale/ar.yml +4 -0
- data/lib/locale/es.yml +4 -0
- data/lib/locale/vi.yml +4 -0
- data/lib/validate_url.rb +1 -1
- metadata +9 -6
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 157fb70e3a605aec6febb5363358ca5e46f5e05b8c76875168eeb6c5668aa1f4
|
4
|
+
data.tar.gz: 7d6dcbfa72be63a24ae0a96ee185bdc95b31ef30ca01dc028c536e11b3123468
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: ed1f29124a7b78f2d0523e177ee28eac5e2d7295f1123fd10d230cbfdbcff42f48f1ab00691a7d646f889ee6954cd089b562ab20adb837ec617702af8bfffb53
|
7
|
+
data.tar.gz: d1435794c3ad4e8f080ee1f40ebf4fdd86e50e8a6fd7d3341a2b04ab2b856d09eb8b41fb7cdda3c9d89bfbfd75ee96fbe05d6fa4f9789038eb554f34a9e3fc5f
|
data/lib/locale/ar.yml
ADDED
data/lib/locale/es.yml
ADDED
data/lib/locale/vi.yml
ADDED
data/lib/validate_url.rb
CHANGED
@@ -33,7 +33,7 @@ module ActiveModel
|
|
33
33
|
record.errors.add(attribute, options.fetch(:message), value: value)
|
34
34
|
end
|
35
35
|
rescue URI::InvalidURIError
|
36
|
-
record.errors.add(attribute, :url, filtered_options(value))
|
36
|
+
record.errors.add(attribute, :url, **filtered_options(value))
|
37
37
|
end
|
38
38
|
end
|
39
39
|
|
metadata
CHANGED
@@ -1,16 +1,16 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: validate_url
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.
|
4
|
+
version: 1.0.12
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Tanel Suurhans
|
8
8
|
- Tarmo Lehtpuu
|
9
9
|
- Vladimir Krylov
|
10
|
-
autorequire:
|
10
|
+
autorequire:
|
11
11
|
bindir: bin
|
12
12
|
cert_chain: []
|
13
|
-
date: 2020-
|
13
|
+
date: 2020-09-22 00:00:00.000000000 Z
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|
16
16
|
name: jeweler
|
@@ -125,8 +125,10 @@ files:
|
|
125
125
|
- README.md
|
126
126
|
- init.rb
|
127
127
|
- install.rb
|
128
|
+
- lib/locale/ar.yml
|
128
129
|
- lib/locale/de.yml
|
129
130
|
- lib/locale/en.yml
|
131
|
+
- lib/locale/es.yml
|
130
132
|
- lib/locale/fr.yml
|
131
133
|
- lib/locale/it.yml
|
132
134
|
- lib/locale/ja.yml
|
@@ -136,6 +138,7 @@ files:
|
|
136
138
|
- lib/locale/ro.yml
|
137
139
|
- lib/locale/ru.yml
|
138
140
|
- lib/locale/tr.yml
|
141
|
+
- lib/locale/vi.yml
|
139
142
|
- lib/locale/zh-CN.yml
|
140
143
|
- lib/locale/zh-TW.yml
|
141
144
|
- lib/validate_url.rb
|
@@ -143,7 +146,7 @@ files:
|
|
143
146
|
homepage: http://github.com/perfectline/validates_url/tree/master
|
144
147
|
licenses: []
|
145
148
|
metadata: {}
|
146
|
-
post_install_message:
|
149
|
+
post_install_message:
|
147
150
|
rdoc_options: []
|
148
151
|
require_paths:
|
149
152
|
- lib
|
@@ -158,8 +161,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
158
161
|
- !ruby/object:Gem::Version
|
159
162
|
version: '0'
|
160
163
|
requirements: []
|
161
|
-
rubygems_version: 3.0.
|
162
|
-
signing_key:
|
164
|
+
rubygems_version: 3.0.8
|
165
|
+
signing_key:
|
163
166
|
specification_version: 4
|
164
167
|
summary: Library for validating urls in Rails.
|
165
168
|
test_files: []
|