rails-identity 0.2.3 → 0.3.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -10,15 +10,18 @@ one:
10
10
  password_digest: <%= BCrypt::Password.create("password") %>
11
11
  role: <%= RailsIdentity::Roles::USER %>
12
12
  verified: true
13
+ api_key: <%= SecureRandom.hex(32) %>
13
14
  two:
14
15
  uuid: "2"
15
16
  username: two@example.com
16
17
  password_digest: <%= BCrypt::Password.create("password") %>
17
18
  role: <%= RailsIdentity::Roles::USER %>
18
19
  verified: true
20
+ api_key: <%= SecureRandom.hex(32) %>
19
21
  admin_one:
20
22
  uuid: "admin_one"
21
23
  username: admin_one@example.com
22
24
  password_digest: <%= BCrypt::Password.create("password") %>
23
25
  role: <%= RailsIdentity::Roles::ADMIN %>
24
26
  verified: true
27
+ api_key: <%= SecureRandom.hex(32) %>
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rails-identity
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.3
4
+ version: 0.3.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - David An
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2016-05-03 00:00:00.000000000 Z
11
+ date: 2016-05-10 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails
@@ -178,12 +178,14 @@ files:
178
178
  - db/migrate/20160411215917_add_verification_token_to_users.rb
179
179
  - db/migrate/20160420012342_add_type_to_users.rb
180
180
  - db/migrate/20160421125651_remove_id_from_all_tables.rb
181
+ - db/migrate/20160507014709_add_api_key_to_users.rb
181
182
  - lib/rails_identity/engine.rb
182
183
  - lib/rails_identity/version.rb
183
184
  - lib/rails_identity.rb
184
185
  - lib/tasks/rails_identity_tasks.rake
185
186
  - MIT-LICENSE
186
187
  - Rakefile
188
+ - test/controllers/rails_identity/application_controller_test.rb
187
189
  - test/controllers/rails_identity/sessions_controller_test.rb
188
190
  - test/controllers/rails_identity/users_controller_test.rb
189
191
  - test/dummy/app/assets/javascripts/application.js
@@ -262,6 +264,7 @@ specification_version: 4
262
264
  summary: rails-identity is a Rails engine that provides a simple JWT-based session
263
265
  management service.
264
266
  test_files:
267
+ - test/controllers/rails_identity/application_controller_test.rb
265
268
  - test/controllers/rails_identity/sessions_controller_test.rb
266
269
  - test/controllers/rails_identity/users_controller_test.rb
267
270
  - test/dummy/app/assets/javascripts/application.js