decorations 0.1.3 → 0.1.4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile.lock +1 -1
- data/lib/decorations.rb +1 -1
- data/lib/decorations/version.rb +1 -1
- data/lib/decorator.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 31bf145c0d39101e6c4aaf1c1ef9bc4d44286e72fbbac2c2cf15bac1e94764d6
|
4
|
+
data.tar.gz: 29c49a2c78b92a09d15b8aee25e2730d54ff2d79e9f688819d546d00b097c269
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 2c242c574f807b2d6a2d27448e38c86895892b5e785c2da95238865b717482274f7d3aa285690bed21cff93398ffb87d852183fdd460e62b2b805ff2e699d18c
|
7
|
+
data.tar.gz: c22dbe2455e391069b6ad9c765b6159e061ad046e0be6fd4173626aaec986bdc1c352d6eb0df474c1520b0a80c9114e61414f14d5218290170364f759b0ade14
|
data/Gemfile.lock
CHANGED
data/lib/decorations.rb
CHANGED
@@ -89,7 +89,7 @@ module Decorations
|
|
89
89
|
class_eval <<-RUBY_EVAL, __FILE__, __LINE__ + 1
|
90
90
|
def #{name}(*args, &blk)
|
91
91
|
chain = self.class.decorated_methods[#{name.inspect}].dup
|
92
|
-
|
92
|
+
Decorator.new(self, :method_added).call_next(self, chain, *args, &blk)
|
93
93
|
end
|
94
94
|
RUBY_EVAL
|
95
95
|
end
|
data/lib/decorations/version.rb
CHANGED
data/lib/decorator.rb
CHANGED