woody-decorators 0.1.0 → 0.2.0

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: 8153d6dcd393600a407bf1742f3ad21701e04ab3
4
- data.tar.gz: b940351e99cad8861323a405aac7bf79e68071b8
3
+ metadata.gz: 6a7d1f3440048ed7066a344dabd3125aef0f3cf2
4
+ data.tar.gz: dfd813a8b5ca2c7f2a5a6a94dbddd3a6466cb09a
5
5
  SHA512:
6
- metadata.gz: a2b0578294312ea38a544d3e3eec2322b70fb56767bf83c291c1fae05a325ede42bc338377d4b8b96b9ed8530c7c99b903f69a8bd102393cf2170500620c9276
7
- data.tar.gz: 28110c03d147ae1f60d0758074890041b7942877fb8442946ad711661dd91824dd26b441751a543e3ff822eeb382e96344100912f99a68cf6c29597ca895f7ba
6
+ metadata.gz: 6876781f971831d93972e40af552771a36f8c526a1bb7557023cdb3de24e267dd2f3370380ca5d6476641d3a9cfea6b00905437364c2bd98859cdbc9241f047c
7
+ data.tar.gz: 9c0730eeb6668bcd247052cc4c2da5f08f75cf1c3667a18ed7d71c4a5e7d4cce352707f07abb6b90450013d4964ed5789d4570c3a1c6a8bfca65cb0dcd67260e
@@ -1,5 +1,5 @@
1
1
  module Woody
2
2
  module Decorators
3
- VERSION = "0.1.0"
3
+ VERSION = "0.2.0".freeze
4
4
  end
5
5
  end
@@ -0,0 +1,14 @@
1
+ require "woody/decorators/base"
2
+
3
+ module Woody
4
+ module Decorators
5
+ class CreatorUser < Base
6
+ def full_name
7
+ [
8
+ @model.first_name,
9
+ @model.last_name
10
+ ].map(&:capitalize).join(" ")
11
+ end
12
+ end
13
+ end
14
+ end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: woody-decorators
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.2.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - ''
@@ -106,6 +106,7 @@ files:
106
106
  - lib/woody/decorators/base.rb
107
107
  - lib/woody/decorators/brand.rb
108
108
  - lib/woody/decorators/challenge.rb
109
+ - lib/woody/decorators/creator_user.rb
109
110
  - woody-decorators.gemspec
110
111
  homepage: ''
111
112
  licenses: []