activestorage-cascade 0.1.0 → 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: 7a27905dd06ad2ac414a9f30bfb3e802e2f10f4569c738ee4342a0dfe961ecc5
4
- data.tar.gz: da342d2bb7c11a9b9051d75f92b33f053c44438b8dcc5dfc024f5b5c1842608d
3
+ metadata.gz: b74b7f090547c24b157cfb5e6b0c501b725b9eafd94ac57e7237cb1a1d46d0aa
4
+ data.tar.gz: 2f443585506df2132c0844a1dafcb3f65f1fcd052acc847c13e4fda26beb77e2
5
5
  SHA512:
6
- metadata.gz: 974e3ac6483c46ce58397f10c5d018d3721151936f3970c00122fb65e5d54a5909609203976a91e6533779cc5f3f4e7371468e1a81aacf1602dd938198add1dd
7
- data.tar.gz: 9d084569494250c9334957d838d4cbddeaadefd62bd561d2faa417d4d769bb55c742098e08d8b5f56fee10a0f3082d746ed00f3978674017273ab669a7f9b700
6
+ metadata.gz: d97531adc493dcf2c8e253f41cff2d82c1cd1bc8fa577111da8d7e21a04b2cfc13f29eaa91e20aa0689ee7b3ea3013de59ff9dc4bc51541daf4718b265cf2976
7
+ data.tar.gz: a99bce3c49f21d88be46446a51f95981975117fe7da7179db691ab7788448b3ffcddd720e772d2f9dbe2fb1e1ef3329d0699736c5c922d0cd21e3c088f314044
@@ -2,6 +2,6 @@
2
2
 
3
3
  module ActiveStorage
4
4
  module Cascade
5
- VERSION = '0.1.0'
5
+ VERSION = '0.1.1'
6
6
  end
7
7
  end
@@ -45,6 +45,18 @@ module ActiveStorage
45
45
  .url(key, expires_in: expires_in, disposition: disposition, filename: filename, content_type: content_type)
46
46
  end
47
47
 
48
+ def method_missing(method_name, *arguments, &block)
49
+ if primary.respond_to?(method_name)
50
+ primary.send(method_name, *arguments, &block)
51
+ else
52
+ super
53
+ end
54
+ end
55
+
56
+ def respond_to?(method_name, include_private = false)
57
+ primary.respond_to?(method_name, include_private) || super
58
+ end
59
+
48
60
  private
49
61
 
50
62
  def service(key)
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: activestorage-cascade
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.1.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Mikko Kokkonen