Skip to content

Commit 153497b

Browse files
committed
Fix rubocop
1 parent 10bdc2b commit 153497b

3 files changed

Lines changed: 10 additions & 1 deletion

File tree

.rubocop.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,9 @@ AllCops:
1616
- 'tmp/**/*'
1717
- 'vendor/**/*'
1818

19+
Style/Alias:
20+
EnforcedStyle: prefer_alias_method
21+
1922
Style/ModuleFunction:
2023
EnforcedStyle: extend_self
2124

README.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -963,6 +963,12 @@ end
963963
964964
The `attribute_value` option additionally accepts an array of possible values.
965965
966+
## SP Request UUIDs
967+
968+
By default, Ruby SAML will generate UUIDs for SP requests prefixed with the `_` character,
969+
for example `"_ea8b5fdf-0a71-4bef-9f87-5406ee746f5b"`. To override this behavior,
970+
you may set `settings.sp_uuid_prefix` to a string of your choice, or `false` to use no prefix.
971+
966972
## Custom Metadata Fields
967973
968974
Some IdPs may require to add SPs to add additional fields (Organization, ContactPerson, etc.)

lib/ruby_saml/utils.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ module RubySaml
88

99
# SAML2 Auxiliary class
1010
#
11-
module Utils
11+
module Utils # rubocop:disable Metrics/ModuleLength
1212
extend self
1313

1414
BINDINGS = { post: "urn:oasis:names:tc:SAML:2.0:bindings:HTTP-POST",

0 commit comments

Comments
 (0)