tml 5.7.7 → 5.7.8
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/lib/tml/api/client.rb +2 -1
- data/lib/tml/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: 29fa2c2d665ac3e5366de6dc1639b945cc51aa45e0873483fa3e7c6a694a0e30
|
|
4
|
+
data.tar.gz: e63756f1db0045a11446845c4a86891be04d10e74705db122b279a8f7cf650cf
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 3c4ced6dbc494a6efe3f4c8a704f29a4974cd6721edbab5990f03c438c1ad39911078ff58939e0b479fd5bed242b297a17e169066bb85903633661bcbe7c2083
|
|
7
|
+
data.tar.gz: 9f0976e774dba0bf947b2c7286f5bb8a97a495781f60372bb3de3347e92ebe9beb8eff5e20b53e29f0667298407ca00c4a4dd3bdf76079289dc507042e512d28
|
data/lib/tml/api/client.rb
CHANGED
|
@@ -129,7 +129,8 @@ class Tml::Api::Client < Tml::Base
|
|
|
129
129
|
|
|
130
130
|
def get_cdn_path(key, opts = {})
|
|
131
131
|
base_path = URI(application.cdn_host).path
|
|
132
|
-
|
|
132
|
+
# Remove usage of String#last for clients who do not use ActiveSupport
|
|
133
|
+
base_path += '/' unless base_path.size > 0 && base_path[-1..-1] == '/'
|
|
133
134
|
|
|
134
135
|
adjusted_path = "#{base_path}#{application.key}/"
|
|
135
136
|
|
data/lib/tml/version.rb
CHANGED
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: tml
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 5.7.
|
|
4
|
+
version: 5.7.8
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Michael Berkovich
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2018-
|
|
11
|
+
date: 2018-06-13 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: faraday
|