presenter_object 0.2.2 → 0.2.3

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: 78f5455c6b97c8287e3f65dae994aa9b0037c9a9
4
- data.tar.gz: 71aff4625c628642a8221162045fcc6e9c9fcf76
3
+ metadata.gz: ba318d03b041c36513036dacf2bf5e16f4d91fa6
4
+ data.tar.gz: c2e442471e91117a7333bd316f04ec30132cc656
5
5
  SHA512:
6
- metadata.gz: d6d5de1c395f145fd70d697d46fb6f21594a764ee2b27ccbac6da2ba92d43b9501aafaa1172d4cf0a4d31d4e303250f8313acbf4a4fd01cc5bb8898ebbff365d
7
- data.tar.gz: 25f688a0d874663f2455081dc7a501dcb86707a3f5ac3ef57328d51a73370d28f612880c9509dca58eaac397c49bb4a5d4274bba75f23e5e00e29eff9de57248
6
+ metadata.gz: 1ad28122e2215dc097d60f42886a3fcf046353ec7abf49561d9f379407ed04766c033c2334b2c4247f9dc8406e9a03b7e58ace262080917e36df1a17381d3c12
7
+ data.tar.gz: 69222e141173db4d753d52bd851c23138630f0bd8429c6e68fb44200a84acd597cb9e5710f6a263003bfa2275049e34c13dde2f04043278362c225cb5013ec79
@@ -15,7 +15,7 @@ module PresenterObject::Presentable
15
15
 
16
16
  module ClassMethods
17
17
  def presenter_class
18
- PresenterObject::Base.presenters.fetch name
18
+ PresenterObject::Base.presenters.fetch name.demodulize
19
19
  rescue KeyError
20
20
  raise PresenterNotRegistered, "No presenter registered for #{name}. Is it defined and loaded?"
21
21
  end
@@ -1,3 +1,3 @@
1
1
  module PresenterObject
2
- VERSION = "0.2.2"
2
+ VERSION = "0.2.3"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: presenter_object
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.2
4
+ version: 0.2.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Diego Salazar