dh_easy-core 0.3.2 → 0.3.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/dh_easy/core/mock/fake_db.rb +2 -2
- data/lib/dh_easy/core/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 5c8df8d64c0b30446fe7788e9310854f9505c173accb53158087d769b2f5a940
|
4
|
+
data.tar.gz: 587e97b5f482a1ff1b96aced7b2596201ba565e499bea0656d41d7c941307527
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a87131209b739ab230f5c030b54184ce930689bb690bb330b2f9abc6c1d42ca196fd3b7ef69629b193b41c9d1bac677fae2c6f548cb789b7a48330108c3d0a2d
|
7
|
+
data.tar.gz: 37725d63fee0b3db0e41d5604d196db658a608d74319f6964d236463a4b7c333908fdc3c668684f4a02736490510f3b7eb98cbfd939526b6657595801e9344ca
|
@@ -102,7 +102,7 @@ module DhEasy
|
|
102
102
|
# @return [URI::HTTPS]
|
103
103
|
def self.clean_uri_obj raw_url
|
104
104
|
url = URI.parse(raw_url)
|
105
|
-
url.hostname = url.hostname.downcase
|
105
|
+
url.hostname = url.hostname.downcase unless url.hostname.nil?
|
106
106
|
url.fragment = nil
|
107
107
|
|
108
108
|
# Sort query string keys
|
@@ -574,7 +574,7 @@ module DhEasy
|
|
574
574
|
item['headers'] = nil if self.class.is_hash_empty? item['headers']
|
575
575
|
item['vars'] = nil if self.class.is_hash_empty? item['vars']
|
576
576
|
uri = self.class.clean_uri_obj(item['url'])
|
577
|
-
item['hostname'] = uri.hostname
|
577
|
+
item['hostname'] = (item['url'] =~ /^about:blank$/i) ? '127.0.0.1' : uri.hostname
|
578
578
|
uri = nil
|
579
579
|
if item['gid'].nil? || !allow_page_gid_override?
|
580
580
|
item['gid'] = generate_page_gid item
|
data/lib/dh_easy/core/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: dh_easy-core
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.3.
|
4
|
+
version: 0.3.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Eduardo Rosales
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2022-
|
11
|
+
date: 2022-08-18 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: datahen
|