user_naming 1.0.0 → 1.0.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.gitignore +2 -0
- data/CHANGELOG.md +14 -0
- data/lib/user_naming/user.rb +2 -2
- data/lib/user_naming/version.rb +1 -1
- metadata +4 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: d6903bc527ad60c1b14b0b80cb639db6de5c94c7
|
4
|
+
data.tar.gz: c280cdeae857d83612a1064b06e6046c81b165e7
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 0ab9c33940feacdb2fd31f3137f8ea9e9e9194b3cbbd2537a7b031bd9beab5768968b33fd00f9c0f38111e6c80b3295420da8ec8e6a9682baf38bd0eca55bf4f
|
7
|
+
data.tar.gz: d4b07807003ce9bba203e1468fcf1f413275c8f52c4e0322ae1a541fb385b343e584f11d5c60ba6f2073c224caa875c54a701fd1e5cfda6b068eaf13c02e12bb
|
data/.gitignore
CHANGED
data/CHANGELOG.md
ADDED
@@ -0,0 +1,14 @@
|
|
1
|
+
# UserNaming Changelog
|
2
|
+
|
3
|
+
|
4
|
+
## [1.0.1] - September 30, 2017
|
5
|
+
|
6
|
+
No code changes, just fixing permissions in the gem build.
|
7
|
+
|
8
|
+
|
9
|
+
## 1.0.0 - July 02, 2017
|
10
|
+
|
11
|
+
Initial release
|
12
|
+
|
13
|
+
|
14
|
+
[1.0.1]: https://github.com/tomichj/user_time_zones/compare/v1.0.0...v1.0.1
|
data/lib/user_naming/user.rb
CHANGED
@@ -25,11 +25,11 @@ module UserNaming
|
|
25
25
|
# The last name.
|
26
26
|
#
|
27
27
|
# A name with only one part will return an empty string.
|
28
|
-
# A name with two or more parts will return
|
28
|
+
# A name with two or more parts will return the last part.
|
29
29
|
#
|
30
30
|
# Examples:
|
31
31
|
# 'Bilbo' will have a last name of ''.
|
32
|
-
# 'Bilbo Foo Baggins' will have a last name of '
|
32
|
+
# 'Bilbo Foo Baggins' will have a last name of 'Baggins'.
|
33
33
|
#
|
34
34
|
# @return [String]
|
35
35
|
def last_name
|
data/lib/user_naming/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: user_naming
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.
|
4
|
+
version: 1.0.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Justin Tomich
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2017-
|
11
|
+
date: 2017-09-30 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rails
|
@@ -99,6 +99,7 @@ files:
|
|
99
99
|
- ".gitignore"
|
100
100
|
- ".rspec"
|
101
101
|
- ".travis.yml"
|
102
|
+
- CHANGELOG.md
|
102
103
|
- CODE_OF_CONDUCT.md
|
103
104
|
- Gemfile
|
104
105
|
- LICENSE.txt
|
@@ -134,7 +135,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
134
135
|
version: '0'
|
135
136
|
requirements: []
|
136
137
|
rubyforge_project:
|
137
|
-
rubygems_version: 2.
|
138
|
+
rubygems_version: 2.6.11
|
138
139
|
signing_key:
|
139
140
|
specification_version: 4
|
140
141
|
summary: A rails gem providing naming methods for user models
|