wobauth 5.0.0 → 5.0.1

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
  SHA256:
3
- metadata.gz: 4a1e15fe42e6ce8fcc8274e264e6b6ff4411b465b78203a2afe1dc9050c934e3
4
- data.tar.gz: fc1141b984c94361f6d697b022b68de04ec794caea6f337218f2dc4be65c9315
3
+ metadata.gz: 0d5e1f219efe48cd29c469eb5d3ed59a25b1fc67475bfae58a264b0e7c99ad1a
4
+ data.tar.gz: 8bdbdcfd1a077031af6b1877467adfa058ed08ab45f9dbe21e35948a12e9d6e9
5
5
  SHA512:
6
- metadata.gz: 8d3c9edcd37cb311eb8586c73797157b40b6904d88f31e503bddad4b33e4eb2d715a8b1e8476f82ecfa0851afe2d26eda54ffa5c7aa7586c4bf9e7baf77f733f
7
- data.tar.gz: bdfd6aa3a3cf02f59b4ddc6c890bf4b76bb9e5a4463ce522dc2f14c58c9cbeb578c33eafc45c50baaade0ea2f3f983ea81c62faf82850534208f75a15ce7df41
6
+ metadata.gz: a0c43642e78f30c47ea97a380079bc544c9bda95efa28a143a9c446bc140e42121e6e80c6e1a06675a44a2112ead2f4fa651b0c5e57a6e7f4222407e5a9e03a0
7
+ data.tar.gz: fd817e4f7019a3fa07bdb8340f096fb307870ba7e8324df128b65596e5fc11b12a01683b1396d4e79fdbae6c3747da9a5c542c9b6498ecba9ddb4d608ab0680b
@@ -8,8 +8,7 @@ module Wobauth
8
8
  source: :user
9
9
  # -- configuration
10
10
  # -- validations and callbacks
11
- validates :name, :presence => true, :uniqueness => true
12
-
11
+ validates :name, presence: true, uniqueness: {case_sensitive: true}
13
12
 
14
13
  def to_s
15
14
  name
@@ -10,7 +10,7 @@ module Wobauth
10
10
  source_type: Wobauth::Group
11
11
  # -- configuration
12
12
  # -- validations and callbacks
13
- validates :name, :presence => true, :uniqueness => true
13
+ validates :name, presence: true, uniqueness: {case_sensitive: true}
14
14
 
15
15
  def to_s
16
16
  name
@@ -9,7 +9,7 @@ module UserConcerns
9
9
  has_many :group_roles, through: :groups, source: :roles
10
10
  has_many :group_authorities, through: :groups, source: :authorities
11
11
 
12
- validates :username, presence: true, uniqueness: true
12
+ validates :username, presence: true, uniqueness: { case_sensitive: false }
13
13
  end
14
14
 
15
15
 
@@ -1,4 +1,4 @@
1
1
  module Wobauth
2
- VERSION = "5.0.0".freeze
3
- RELEASEDATE = "2020-01-19".freeze
2
+ VERSION = "5.0.1".freeze
3
+ RELEASEDATE = "2020-01-22".freeze
4
4
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: wobauth
3
3
  version: !ruby/object:Gem::Version
4
- version: 5.0.0
4
+ version: 5.0.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Wolfgang Barth
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2020-01-19 00:00:00.000000000 Z
11
+ date: 2020-01-22 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails