wolf_core 1.0.49 → 1.0.50
Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: c3381b62135ffb1ee1e6473708cb7c39b6e9cb56852d0082db844dfe10d928ec
|
4
|
+
data.tar.gz: 03aecbe82ba0f63683d2ec1ca91c49727c6e95be89f340882dcfc3ef9bab8989
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: cee10bbe65f246ab589cdde283e33ebea74afeda0a3f246610672e69fda7d0c11f82ca1f34ebb4088c4ed3a7e21fc7d6a0f2017e2fc041ea1603b855c478eb06
|
7
|
+
data.tar.gz: 32f90a9cb33c6fdec0fc4847338aff5a8d83e735881a046296cb495fe31da2a9097cbf9e7e453439cb55c4d6fa73bd84fcb1835c1745ae8927d923b7979df1ce
|
@@ -11,7 +11,6 @@ module WolfCore
|
|
11
11
|
'burnett/orders/export' => 'BurnettExportOrder',
|
12
12
|
'burnett/order_applications/export' => 'BurnettExportOrderApplication',
|
13
13
|
'burnett/clients/import' => 'BurnettImportClient',
|
14
|
-
'burnett/clients/bulk_import' => 'BurnettBulkImportClients',
|
15
14
|
'burnett/clients/export' => 'BurnettExportClient',
|
16
15
|
}
|
17
16
|
|
@@ -31,5 +31,13 @@ module WolfCore
|
|
31
31
|
|
32
32
|
input || {}
|
33
33
|
end
|
34
|
+
|
35
|
+
def valid_url?(url)
|
36
|
+
return false unless url.instance_of?(String)
|
37
|
+
uri = URI.parse(url)
|
38
|
+
uri.is_a?(URI::HTTP) || uri.is_a?(URI::HTTPS) && !uri.host.nil?
|
39
|
+
rescue URI::InvalidURIError
|
40
|
+
false
|
41
|
+
end
|
34
42
|
end
|
35
43
|
end
|
data/lib/wolf_core/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: wolf_core
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.
|
4
|
+
version: 1.0.50
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Javier Roncallo
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2024-12-
|
11
|
+
date: 2024-12-24 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: httparty
|