five-two-nw-olivander 0.1.2.58 → 0.1.2.59
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 4bb63d2cacd80159ce88a4ca4bfd24cc76a2013e8a500a0fc2394d88f818895c
|
|
4
|
+
data.tar.gz: '09d028da7571057067363c6f9b29ae3b94c99e048746c7c59c7373f2cda7cd6a'
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: e5533355da05342dcd7f3a7aafbd1c055e946aee00f815318c4f62264cb7dff5cebc38487de7597e93b6b1cc6f06bce1deb052db1a26574a497a8a7e5382198e
|
|
7
|
+
data.tar.gz: 5064a53fcb45f5995fece0d46c268cb4d4fcb004d618b274702f406e05847589235fcce4c26340d067a6a3bc8b8de55a6136f3081b6b0aa7590a262baf1d4da1
|
|
@@ -24,9 +24,11 @@
|
|
|
24
24
|
$(document).ready(function(){
|
|
25
25
|
function getUrl() {
|
|
26
26
|
const locationUrl = new URL(window.location),
|
|
27
|
-
reg = /\/new|\/[0-9]+[\/edit]
|
|
27
|
+
reg = /\/new|\/[0-9]+[\/edit]*|\/([0-9a-f]{8}-[0-9a-f]{4}-[0-5][0-9a-f]{3}-[089ab][0-9a-f]{3}-[0-9a-f]{12})+[\/edit]*|\/$/;
|
|
28
28
|
|
|
29
|
+
console.log(locationUrl)
|
|
29
30
|
locationUrl.pathname = locationUrl.pathname.replace(reg, '')
|
|
31
|
+
console.log(locationUrl)
|
|
30
32
|
return locationUrl.href;
|
|
31
33
|
}
|
|
32
34
|
const url = getUrl();
|
data/lib/olivander/version.rb
CHANGED
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: five-two-nw-olivander
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.1.2.
|
|
4
|
+
version: 0.1.2.59
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Eric Dennis
|
|
8
|
-
autorequire:
|
|
8
|
+
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2024-02-
|
|
11
|
+
date: 2024-02-06 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: chartkick
|
|
@@ -282,7 +282,7 @@ metadata:
|
|
|
282
282
|
changelog_uri: https://github.com/5and2northwest/olivander/blob/main/CHANGELOG.md
|
|
283
283
|
bug_tracker_uri: https://github.com/5and2northwest/olivander/issues
|
|
284
284
|
wiki_uri: https://github.com/5and2northwest/olivander/wiki
|
|
285
|
-
post_install_message:
|
|
285
|
+
post_install_message:
|
|
286
286
|
rdoc_options: []
|
|
287
287
|
require_paths:
|
|
288
288
|
- lib
|
|
@@ -298,7 +298,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
298
298
|
version: '0'
|
|
299
299
|
requirements: []
|
|
300
300
|
rubygems_version: 3.1.6
|
|
301
|
-
signing_key:
|
|
301
|
+
signing_key:
|
|
302
302
|
specification_version: 4
|
|
303
303
|
summary: Summary of Olivander.
|
|
304
304
|
test_files: []
|