cdn_asset_gem 1.0.12 → 1.0.13

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: a481d0b97b1189af33e10295dcf5510d0697620f17ba9a57f89d49312b2966a6
4
- data.tar.gz: d93075643105ff21736e28a612dbb1ac26ff43677ca97dd254348c917884d3c0
3
+ metadata.gz: 9b6edfeb279d963a66865fec3c3d75f0053580146e0911b3b5b00968c6a38b28
4
+ data.tar.gz: 29e1d741e65304bc70924767b9b78d4bb908aeb027cbb28c3e09a97115881197
5
5
  SHA512:
6
- metadata.gz: 11facc25aff7ce6aa0e4a5691c3db3affadc15d8b5edd93577ec9cba5470ddf62c18293838a5620010858bd5d7f7fa58f613937182fd0d885cfb2946cda79b74
7
- data.tar.gz: fadd50cfe885a5ceea39e18dfd75ecac4892b5d29e2a5ac36bfbb999eebb240951f73a5fbc073fd393e9b5f463fc49de2e83b19c098814767f21dde2f5b675e6
6
+ metadata.gz: 4b55d01df8eff4f087ae9c6f843f9212f3b5d6b203c066db13e4b1ec6ca52c595a232d9b24a57c6f2e6881510f6e4a04cca7398cdd74966bac76bb000060992b
7
+ data.tar.gz: 514bab86984859442d0c5636634f2c320775f9b965fff2592e94c31b28c2e5029a26e2f44de35b6cbf167be19a0b325ff2f5435ef9da98def22efa79e210c63d
@@ -9,9 +9,7 @@ module CdnAssetGem
9
9
  "#{root_path}/assets"
10
10
  end
11
11
  manifest_hash = Rails.cache.fetch("cdn-asset-#{root_path}-#{asset_name}", expires_in: 5.minutes) do
12
- uri = URI("#{ENV['CDN_URL']}#{assets_path}/rev-manifest.json")
13
- response = HTTP.get(uri)
14
- Rails.logger.info "CdnAssetGem INFO: uri: #{uri}"
12
+ response = HTTP.get("#{ENV['CDN_URL']}#{assets_path}/rev-manifest.json")
15
13
  Rails.logger.info "CdnAssetGem INFO: response #{response}"
16
14
  if response.code == '200'
17
15
  JSON.parse(response)
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: cdn_asset_gem
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.12
4
+ version: 1.0.13
5
5
  platform: ruby
6
6
  authors:
7
7
  - Phil Baker