gleborator 0.1.1.3 → 0.1.1.4

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
  SHA1:
3
- metadata.gz: b66fa368f8cc815753803bcc4e346fd350d96bd6
4
- data.tar.gz: 7bbf04a52fe87cf3dec71ef59713065a167972c4
3
+ metadata.gz: 16d813aa868415177ac49e74a04a44ed23dd68a3
4
+ data.tar.gz: 75cbf1b520751ec4adc3ae89b2655e78c83b4d9a
5
5
  SHA512:
6
- metadata.gz: 5cb7f351d4d4153f3c8b841c71bfb3058efcf6dfc1a29ee86d5af609f77909908e1841786c81ca9ed80b499e3439fb7965d1e9330cf0bf9c43746357a58f5809
7
- data.tar.gz: 68729471e40dce840872d1a17743869f9d5d830155e54a1291766b3d528514ff5786cb4c20315b521541764c337fd80f5b59146af36d954c4d8a57596fbc2f2e
6
+ metadata.gz: 786afe9a897b8b00b8cd9604bad4f8620525c4885e1483c869b16bf00862b84d33d49391ad3683e6b3e24b38884d789c9d07caa9158805304795c380a427c230
7
+ data.tar.gz: 11cd82d2190c6d82cfa1713fb66ecf48ac9c76a5f9161dd1d735fc35babe39d089889034ea8023998a553935fba895cf26a2e83adbc356ad8a0579452c011b95
@@ -14,10 +14,10 @@ module Gleborator
14
14
  module ClassMethods
15
15
  def decorate
16
16
  begin
17
- decorator_class = "#{self.class.name}Decorator".constantize
17
+ decorator_class = "#{self.name}Decorator".constantize
18
18
  decorate_class.decorate_collection(self)
19
19
  rescue NameError => e
20
- raise "Couldn't find decorator #{self.class.name}Decorator"
20
+ raise "Couldn't find decorator #{self.name}Decorator"
21
21
  end
22
22
  end
23
23
  end
@@ -1,3 +1,3 @@
1
1
  module Gleborator
2
- VERSION = "0.1.1.3"
2
+ VERSION = "0.1.1.4"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: gleborator
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.1.3
4
+ version: 0.1.1.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Gleb Vishnevsky