woody-decorators 7.2.0 → 7.3.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: 8b5e7ff41d1a42cf2720a76d5f187a32788624ce
4
- data.tar.gz: 32f168e54254e218e94e62b97e3a4b187213d1f2
3
+ metadata.gz: 2a3fa6198562f8454a8461794397b7d773d2707d
4
+ data.tar.gz: 46a8a52b9331657340079ba05880582e0698ad0f
5
5
  SHA512:
6
- metadata.gz: 2f6d431c9b8956801463949ad3d06768fd7761f57bf0600df051d598b5ac08cfc69fd29a4c4f8805162c39a4a9616eb2ae363f38e6d59f8059003b31b533370e
7
- data.tar.gz: 1075b09bae7af451abaf90bfc92ba63f77a8de4d8dbfb9fd67811b735644cae3516950d523245239700e2b0d87c3419d1957ba2b2bdba3db2ba9ac9df8d2eb3b
6
+ metadata.gz: 49d43497edfe86276eb385f1da96e7fa8e6052edf2aa0af640f273a00e490f9352703518a94ed6aa22caa8e8e89d86cc8c342e642231e8b1e29927691c948737
7
+ data.tar.gz: 6fefce2f48d8d27a3e33d79426411ab5d5002bc0f36b28be71789129d3b02120f5c527e027da233c1407327408046e9aef12d955487597b8e6cd3974024febf3
@@ -1,5 +1,5 @@
1
1
  module Woody
2
2
  module Decorators
3
- VERSION = '7.2.0'.freeze
3
+ VERSION = '7.3.0'.freeze
4
4
  end
5
5
  end
@@ -29,6 +29,13 @@ module Woody
29
29
  format('%s...', output[0..(size - 1)])
30
30
  end
31
31
 
32
+ def short_name
33
+ [
34
+ first_name,
35
+ last_name[0]
36
+ ].join(' ')
37
+ end
38
+
32
39
  def id
33
40
  @model.auth0_id
34
41
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: woody-decorators
3
3
  version: !ruby/object:Gem::Version
4
- version: 7.2.0
4
+ version: 7.3.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - ''
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2016-09-13 00:00:00.000000000 Z
11
+ date: 2016-09-14 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler