diff options
| author | mokha <mokha@cisco.com> | 2019-02-23 09:21:34 -0700 |
|---|---|---|
| committer | mokha <mokha@cisco.com> | 2019-02-23 09:21:34 -0700 |
| commit | 7eb9bc3b13811e8a05dfc82d25fd23fabc15916b (patch) | |
| tree | 86ba4226e38475e2530ab0cbf53011a1dfef74dc /lib | |
| parent | 311579373b120860ed005b1384584371966d8992 (diff) | |
camelize the default descriptionv0.3.2
Diffstat (limited to 'lib')
| -rw-r--r-- | lib/scim/kit/v2/attribute_type.rb | 2 | ||||
| -rw-r--r-- | lib/scim/kit/version.rb | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/lib/scim/kit/v2/attribute_type.rb b/lib/scim/kit/v2/attribute_type.rb index c24a446..0743372 100644 --- a/lib/scim/kit/v2/attribute_type.rb +++ b/lib/scim/kit/v2/attribute_type.rb @@ -14,7 +14,7 @@ module Scim def initialize(name:, type: :string) @name = name.to_s.underscore @type = DATATYPES[type.to_sym] ? type.to_sym : (raise TYPE_ERROR) - @description = name + @description = name.to_s.camelize(:lower) @multi_valued = false @required = false @case_exact = false diff --git a/lib/scim/kit/version.rb b/lib/scim/kit/version.rb index 3e05f49..24a707d 100644 --- a/lib/scim/kit/version.rb +++ b/lib/scim/kit/version.rb @@ -2,6 +2,6 @@ module Scim module Kit - VERSION = '0.3.1' + VERSION = '0.3.2' end end |
