fog-k5 0.1.3 → 0.1.4
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/CHANGELOG.md +9 -2
- data/lib/fog/k5/version.rb +1 -1
- data/lib/fog/storage/k5/models/file.rb +8 -7
- 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: d0e1489fde3fe66ba6983e25cc5420bb3c090ed0687172b8fb213903e7a510c6
|
|
4
|
+
data.tar.gz: 7cd1567c218473b30fb15f004bbadc2cbfe17a7e57b9ee7ffb67d325bb83c367
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 8ad2f8cbd15e07adaf3898b846b04a9a8328c760cf3d91e2f86ef55aef9071814008b43d51b95e8b07b0e70508523a3ceee5c6eea763a1c8d64087f50fd5cd1c
|
|
7
|
+
data.tar.gz: '08f709d4ca0eeb6cf70bc0fad35da67a190c810960522ec5b6641b0d44f242e8d9b79c996f87f50d9ab35987a124be3d41a6b62c3abb9167325434b345f5e86b'
|
data/CHANGELOG.md
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
# Change Log
|
|
2
2
|
|
|
3
|
-
## [v0.1.
|
|
4
|
-
[Full Changelog](https://github.com/blooper05/fog-k5/compare/v0.1.
|
|
3
|
+
## [v0.1.3](https://github.com/blooper05/fog-k5/tree/v0.1.3) (2018-05-24)
|
|
4
|
+
[Full Changelog](https://github.com/blooper05/fog-k5/compare/v0.1.2...v0.1.3)
|
|
5
5
|
|
|
6
6
|
**Fixed bugs:**
|
|
7
7
|
|
|
@@ -9,6 +9,13 @@
|
|
|
9
9
|
|
|
10
10
|
**Merged pull requests:**
|
|
11
11
|
|
|
12
|
+
- 🐛 Update the authentication token this time for sure [\#11](https://github.com/blooper05/fog-k5/pull/11) ([blooper05](https://github.com/blooper05))
|
|
13
|
+
|
|
14
|
+
## [v0.1.2](https://github.com/blooper05/fog-k5/tree/v0.1.2) (2018-05-23)
|
|
15
|
+
[Full Changelog](https://github.com/blooper05/fog-k5/compare/v0.1.1...v0.1.2)
|
|
16
|
+
|
|
17
|
+
**Merged pull requests:**
|
|
18
|
+
|
|
12
19
|
- 🐛 Use instance variables instead of Fog.credentials [\#10](https://github.com/blooper05/fog-k5/pull/10) ([blooper05](https://github.com/blooper05))
|
|
13
20
|
|
|
14
21
|
## [v0.1.1](https://github.com/blooper05/fog-k5/tree/v0.1.1) (2018-05-17)
|
data/lib/fog/k5/version.rb
CHANGED
|
@@ -20,13 +20,14 @@ module Fog
|
|
|
20
20
|
def public_url
|
|
21
21
|
requires :directory, :key
|
|
22
22
|
|
|
23
|
-
region
|
|
24
|
-
project_id
|
|
25
|
-
version
|
|
26
|
-
url
|
|
27
|
-
container
|
|
28
|
-
|
|
29
|
-
|
|
23
|
+
region = service.k5_region
|
|
24
|
+
project_id = service.k5_project_id
|
|
25
|
+
version = K5_STORAGE_URL_VERSION
|
|
26
|
+
url = build_url(url_type: K5_STORAGE_URL_TYPE, region: region)
|
|
27
|
+
container = directory.key
|
|
28
|
+
escaped_key = Excon::Utils.escape_uri(key)
|
|
29
|
+
|
|
30
|
+
"#{url}/#{version}/AUTH_#{project_id}/#{container}/#{escaped_key}"
|
|
30
31
|
end
|
|
31
32
|
|
|
32
33
|
def save
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: fog-k5
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.1.
|
|
4
|
+
version: 0.1.4
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- blooper05
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: exe
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2018-05-
|
|
11
|
+
date: 2018-05-29 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: fog-core
|