tanoshimu_utils 2.0.1 → 2.0.1.1

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: b170a219a838bb9b5293307331bc6680c9cfc7309c41ae5ec49fbfc7d51a07ab
4
- data.tar.gz: f870efb58cf10354e8a9cf5471e316790de69480eb452023e94d5e573cfa9e99
3
+ metadata.gz: 759893f5d151c66089897b1c428fe73a626c775649e38051d11125715608cbfe
4
+ data.tar.gz: c26c65d9c6b6d1d1dcbdc5bbcb3ed643441fb9d6b2a87407e37d56aabb2bc3a8
5
5
  SHA512:
6
- metadata.gz: 419d8533432d4c5bbfe2b1ab72f16a915dedfe24451bc5c58f3451098882802ee96a0c8ecf4621ec1eb0857715c7c3af4ab81c2faa84024492146de0fac5fe57
7
- data.tar.gz: 7670af527e6a26fb098bf659b79f4d7f70b70625f956efad1fecc5c01dde9cd506b7b0fff61f09179d5af60e91a83b3a8912edb41ade1d7f611224cbdcc4a4fd
6
+ metadata.gz: 21dfcc62a985a97521bf245c4752d1935a959e8845c81368304a9b4a693bb25f0501e3f024063b7e874293c86ca089fba30a8a6ed66d65c45dd2e0f46dbf9014
7
+ data.tar.gz: 6c860153ebab4a61fa6eefd49bb784737b70baffdb511302d2ad06e24b43d9af58b41b41f66a99968fc4ee2313d77bd718a397f3170c21d466d2808ecbb75174
@@ -24,7 +24,7 @@ module TanoshimuUtils
24
24
  attachment = resource_for(resource_name).attachment
25
25
  return default_url if attachment.nil?
26
26
 
27
- if Config.uses_disk_storage?
27
+ if Rails.configuration.uses_disk_storage
28
28
  Rails.application.routes.url_helpers.rails_blob_url(attachment, only_path: true)
29
29
  else
30
30
  attachment.service_url(expires_in: expiry)
@@ -87,4 +87,4 @@ module TanoshimuUtils
87
87
  end
88
88
  end
89
89
  end
90
- end
90
+ end
@@ -1,3 +1,3 @@
1
1
  module TanoshimuUtils
2
- VERSION = '2.0.1'
2
+ VERSION = '2.0.1.1'
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: tanoshimu_utils
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.0.1
4
+ version: 2.0.1.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Akinyele Cafe-Febrissy
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2020-01-10 00:00:00.000000000 Z
11
+ date: 2020-03-14 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails