cirneco 0.8.10 → 0.8.11
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 +4 -4
- data/Gemfile.lock +2 -2
- data/lib/cirneco/utils.rb +3 -2
- data/lib/cirneco/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 930da712971a72b457afabc3ae040d71c547b026
|
|
4
|
+
data.tar.gz: a06198faa846b6c7bc89e8d766ab29afe4101e16
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: ac4ff7e66d209d29f5821c7fd461426668ee5f13e798c6839541186aa906178eebfddfd179082a96d753f3a2b037cc01fdb6a2f0cd3b5e1e9b01d7074c7b49c1
|
|
7
|
+
data.tar.gz: 12340fab8a7214689597ff2f719a1950cc185bde0ba6a84b357bc8521936161e5466cb61ce525f4c15df49931ba22f60c4a7c00e0446e2712c2c9af59d6793b1
|
data/Gemfile.lock
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
PATH
|
|
2
2
|
remote: .
|
|
3
3
|
specs:
|
|
4
|
-
cirneco (0.8.
|
|
4
|
+
cirneco (0.8.11)
|
|
5
5
|
activesupport (~> 4.2, >= 4.2.5)
|
|
6
6
|
base32-crockford-checksum (~> 0.2.2)
|
|
7
7
|
bergamasco (~> 0.3)
|
|
@@ -122,4 +122,4 @@ DEPENDENCIES
|
|
|
122
122
|
webmock (~> 1.22, >= 1.22.3)
|
|
123
123
|
|
|
124
124
|
BUNDLED WITH
|
|
125
|
-
1.
|
|
125
|
+
1.13.6
|
data/lib/cirneco/utils.rb
CHANGED
|
@@ -333,8 +333,9 @@ module Cirneco
|
|
|
333
333
|
url = response.headers.fetch("Location", "")
|
|
334
334
|
end
|
|
335
335
|
|
|
336
|
-
url.
|
|
337
|
-
|
|
336
|
+
uri = Addressable::URI.parse(url.gsub(Dir.pwd + options[:build_dir].to_s, "")
|
|
337
|
+
.gsub(/index\.html$/, "")
|
|
338
|
+
.gsub(/\/$/, ""))
|
|
338
339
|
basename = File.basename(uri.path, ".html").presence || "index"
|
|
339
340
|
|
|
340
341
|
if basename.starts_with?("index")
|
data/lib/cirneco/version.rb
CHANGED