casino 4.1.0 → 4.1.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: aea38a541f37cf37f8106c82861e7b4bbcf08f57
|
|
4
|
+
data.tar.gz: a0501db8fd072f527c48cc28a0639293facd9a87
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: e729f203027c107010a254817f0cdd4a662223936528fe3b4255b6f4da2735e5cab92e93d223d46ca95e3fc7a6e920125402a876bb56f42def10b2681e2d6571
|
|
7
|
+
data.tar.gz: d06fef0171fa04e73217f9fca0fe82f608c746254526f429fdb41f3ceed05e1f885cb2588ddc3ad36e933bc3116409e6ce4ec10bed57d8ca931379a5bbf09805
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
class RemoveUsernameFromLoginAttempts < ActiveRecord::Migration
|
|
2
|
+
def up
|
|
3
|
+
remove_column :casino_login_attempts, :username
|
|
4
|
+
change_column_null :casino_login_attempts, :user_id, false
|
|
5
|
+
end
|
|
6
|
+
|
|
7
|
+
def down
|
|
8
|
+
add_column :casino_login_attempts, :username, :string
|
|
9
|
+
change_column_null :casino_login_attempts, :user_id, true
|
|
10
|
+
end
|
|
11
|
+
end
|
data/lib/casino/version.rb
CHANGED
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: casino
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 4.1.
|
|
4
|
+
version: 4.1.1
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Nils Caspar
|
|
@@ -10,7 +10,7 @@ authors:
|
|
|
10
10
|
autorequire:
|
|
11
11
|
bindir: bin
|
|
12
12
|
cert_chain: []
|
|
13
|
-
date: 2016-05-
|
|
13
|
+
date: 2016-05-25 00:00:00.000000000 Z
|
|
14
14
|
dependencies:
|
|
15
15
|
- !ruby/object:Gem::Dependency
|
|
16
16
|
name: capybara
|
|
@@ -415,6 +415,7 @@ files:
|
|
|
415
415
|
- db/migrate/20140831205255_create_auth_token_tickets.rb
|
|
416
416
|
- db/migrate/20151022192752_add_user_ip_to_ticket_granting_ticket.rb
|
|
417
417
|
- db/migrate/20160502074450_create_login_attempts.rb
|
|
418
|
+
- db/migrate/20160524121117_remove_username_from_login_attempts.rb
|
|
418
419
|
- lib/assets/.gitkeep
|
|
419
420
|
- lib/casino.rb
|
|
420
421
|
- lib/casino/authenticator.rb
|