simple_token_authentication 1.1.0 → 1.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 +4 -4
- data/lib/simple_token_authentication/version.rb +1 -1
- data/spec/dummy/app/views/layouts/application.html.erb +2 -2
- data/spec/dummy/config/application.rb +9 -4
- data/spec/dummy/config/boot.rb +1 -2
- data/spec/dummy/config/initializers/devise.rb +2 -2
- data/spec/dummy/config/initializers/secret_token.rb +1 -1
- data/spec/dummy/config/routes.rb +1 -0
- data/spec/dummy/db/migrate/{20140220080143_devise_create_users.rb → 20140220091354_devise_create_users.rb} +0 -0
- data/spec/dummy/db/migrate/{20140220080144_add_authentication_token_to_users.rb → 20140220091355_add_authentication_token_to_users.rb} +0 -0
- metadata +5 -5
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: a099166750c3ffa7b40f3cb27a8edb3ee77b44b9
|
4
|
+
data.tar.gz: 036ce13c507db9f9565811b26e1208a4cdb124e0
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 011f771b587175aee878714d5a20f079f482d89b26e5219aa542b1abac9ac1e5be8107ab1f82c4628bf0b5201ecc95e5c89f792934d1386514d8b155174a10af
|
7
|
+
data.tar.gz: 2a1d2ebedb2a333d5cbf9bb47e78e1092da190bbb6937993857f8592e671efdad46d24aedf7a0392ba3a04c4b212039a22d4f34e0483e6aaac7c0a83aaff9ca9
|
@@ -2,8 +2,8 @@
|
|
2
2
|
<html>
|
3
3
|
<head>
|
4
4
|
<title>Dummy</title>
|
5
|
-
<%= stylesheet_link_tag "application", media: "all"
|
6
|
-
<%= javascript_include_tag "application"
|
5
|
+
<%= stylesheet_link_tag "application", media: "all" %>
|
6
|
+
<%= javascript_include_tag "application" %>
|
7
7
|
<%= csrf_meta_tags %>
|
8
8
|
</head>
|
9
9
|
<body>
|
@@ -1,9 +1,15 @@
|
|
1
1
|
require File.expand_path('../boot', __FILE__)
|
2
2
|
|
3
|
-
|
3
|
+
# Pick the frameworks you want:
|
4
|
+
require "active_record/railtie"
|
5
|
+
require "action_controller/railtie"
|
6
|
+
require "action_mailer/railtie"
|
7
|
+
require "sprockets/railtie"
|
8
|
+
# require "rails/test_unit/railtie"
|
4
9
|
|
5
|
-
|
6
|
-
|
10
|
+
# Require the gems listed in Gemfile, including any gems
|
11
|
+
# you've limited to :test, :development, or :production.
|
12
|
+
Bundler.require(:default, Rails.env)
|
7
13
|
|
8
14
|
module Dummy
|
9
15
|
class Application < Rails::Application
|
@@ -20,4 +26,3 @@ module Dummy
|
|
20
26
|
# config.i18n.default_locale = :de
|
21
27
|
end
|
22
28
|
end
|
23
|
-
|
data/spec/dummy/config/boot.rb
CHANGED
@@ -1,5 +1,4 @@
|
|
1
1
|
# Set up gems listed in the Gemfile.
|
2
|
-
ENV['BUNDLE_GEMFILE'] ||= File.expand_path('
|
2
|
+
ENV['BUNDLE_GEMFILE'] ||= File.expand_path('../../Gemfile', __FILE__)
|
3
3
|
|
4
4
|
require 'bundler/setup' if File.exists?(ENV['BUNDLE_GEMFILE'])
|
5
|
-
$LOAD_PATH.unshift File.expand_path('../../../../lib', __FILE__)
|
@@ -4,7 +4,7 @@ Devise.setup do |config|
|
|
4
4
|
# The secret key used by Devise. Devise uses this key to generate
|
5
5
|
# random tokens. Changing this key will render invalid all existing
|
6
6
|
# confirmation, reset password and unlock tokens in the database.
|
7
|
-
config.secret_key = '
|
7
|
+
config.secret_key = '17ac00ffe0e45f31487ee0fd5ec4fb184c49a1ad66a6015b0644251a5222e6f86434cebd4acc3ff8f8b1d5f38b81924b9cbe71a89edfe9eb9ea7d3fed4e75ed1'
|
8
8
|
|
9
9
|
# ==> Mailer Configuration
|
10
10
|
# Configure the e-mail address which will be shown in Devise::Mailer,
|
@@ -95,7 +95,7 @@ Devise.setup do |config|
|
|
95
95
|
config.stretches = Rails.env.test? ? 1 : 10
|
96
96
|
|
97
97
|
# Setup a pepper to generate the encrypted password.
|
98
|
-
# config.pepper = '
|
98
|
+
# config.pepper = '0be7c2c95a314c66232b85242185fd6b67ce21d61a299ddfa24d8a2d46b7cce2f7c8362d5c56aa0ef1691c477b704377c8be75c8f1dd86c70c72b80a0cf8af90'
|
99
99
|
|
100
100
|
# ==> Configuration for :confirmable
|
101
101
|
# A period that the user is allowed to access the website even without
|
@@ -9,4 +9,4 @@
|
|
9
9
|
|
10
10
|
# Make sure your secret_key_base is kept private
|
11
11
|
# if you're sharing your code publicly.
|
12
|
-
Dummy::Application.config.secret_key_base = '
|
12
|
+
Dummy::Application.config.secret_key_base = 'd7175da7f9364b2a21cb81fe670d12715c99eb61626e8e57f2c47143cf7b6bc349ee3445a044843c3f519e283d6f266acbab9b8a069791d685480d8f17f831d1'
|
data/spec/dummy/config/routes.rb
CHANGED
File without changes
|
File without changes
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: simple_token_authentication
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.1.
|
4
|
+
version: 1.1.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Gonzalo Bulnes Guilpain
|
@@ -170,8 +170,8 @@ files:
|
|
170
170
|
- spec/dummy/bin/rails
|
171
171
|
- spec/dummy/bin/rake
|
172
172
|
- spec/dummy/db/seeds.rb
|
173
|
-
- spec/dummy/db/migrate/
|
174
|
-
- spec/dummy/db/migrate/
|
173
|
+
- spec/dummy/db/migrate/20140220091354_devise_create_users.rb
|
174
|
+
- spec/dummy/db/migrate/20140220091355_add_authentication_token_to_users.rb
|
175
175
|
- spec/dummy/log/test.log
|
176
176
|
- spec/dummy/README.rdoc
|
177
177
|
- spec/dummy/config/initializers/wrap_parameters.rb
|
@@ -237,8 +237,8 @@ test_files:
|
|
237
237
|
- spec/dummy/bin/rails
|
238
238
|
- spec/dummy/bin/rake
|
239
239
|
- spec/dummy/db/seeds.rb
|
240
|
-
- spec/dummy/db/migrate/
|
241
|
-
- spec/dummy/db/migrate/
|
240
|
+
- spec/dummy/db/migrate/20140220091354_devise_create_users.rb
|
241
|
+
- spec/dummy/db/migrate/20140220091355_add_authentication_token_to_users.rb
|
242
242
|
- spec/dummy/log/test.log
|
243
243
|
- spec/dummy/README.rdoc
|
244
244
|
- spec/dummy/config/initializers/wrap_parameters.rb
|