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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: fe0b202d3e751ee7f584656ac3e1e5bf980ddc46
4
- data.tar.gz: e579242f74cee8914dfbd2459b0078f1f487a80a
3
+ metadata.gz: a099166750c3ffa7b40f3cb27a8edb3ee77b44b9
4
+ data.tar.gz: 036ce13c507db9f9565811b26e1208a4cdb124e0
5
5
  SHA512:
6
- metadata.gz: 7b77aed745f0220f4238c25f37be4bc68349288728acd91d11176abe3d34b7a7e510d493dff95be815986cac6375a0be4e629e508036d2e2f33a532bba98078c
7
- data.tar.gz: bbd38d859ca4bbc6260851fbb8e9084da32d87e40af83afeeb0dacb7594235e4a814547114d622f3d96bc88ad4ce643afb446baabf4fc21c8ea1ec6e33792c07
6
+ metadata.gz: 011f771b587175aee878714d5a20f079f482d89b26e5219aa542b1abac9ac1e5be8107ab1f82c4628bf0b5201ecc95e5c89f792934d1386514d8b155174a10af
7
+ data.tar.gz: 2a1d2ebedb2a333d5cbf9bb47e78e1092da190bbb6937993857f8592e671efdad46d24aedf7a0392ba3a04c4b212039a22d4f34e0483e6aaac7c0a83aaff9ca9
@@ -1,3 +1,3 @@
1
1
  module SimpleTokenAuthentication
2
- VERSION = "1.1.0"
2
+ VERSION = "1.1.1"
3
3
  end
@@ -2,8 +2,8 @@
2
2
  <html>
3
3
  <head>
4
4
  <title>Dummy</title>
5
- <%= stylesheet_link_tag "application", media: "all", "data-turbolinks-track" => true %>
6
- <%= javascript_include_tag "application", "data-turbolinks-track" => true %>
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
- require 'rails/all'
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
- Bundler.require(*Rails.groups)
6
- require "simple_token_authentication"
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
-
@@ -1,5 +1,4 @@
1
1
  # Set up gems listed in the Gemfile.
2
- ENV['BUNDLE_GEMFILE'] ||= File.expand_path('../../../../Gemfile', __FILE__)
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 = '67fdb5ef83612b1c364294f2650098154c98ab478e115e6cac5da51f57c2847e4c2ae4706be212db4a74f4947cb151b7d5ffb409b424799ccedf2a67b48ddeb6'
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 = '4a1413e8413a51d2dd28e92b9b0414ee0b6ecffc3dd3ce0dfe7b226805efe51d78e61e2121bea905ef76782159c8bec605915af0e25255946459747d3d5ea7bc'
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 = '5b33a3481820c1078cd7c24d57cf444c8826f12a36e1cabfafe516e2fb622f1f471c08e8f95e89bf24eb09b7060ef28f3387fbb3908485df2a282fd04731d35f'
12
+ Dummy::Application.config.secret_key_base = 'd7175da7f9364b2a21cb81fe670d12715c99eb61626e8e57f2c47143cf7b6bc349ee3445a044843c3f519e283d6f266acbab9b8a069791d685480d8f17f831d1'
@@ -1,4 +1,5 @@
1
1
  Dummy::Application.routes.draw do
2
+ devise_for :users
2
3
  # The priority is based upon order of creation: first created -> highest priority.
3
4
  # See how all your routes lay out with "rake routes".
4
5
 
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.0
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/20140220080144_add_authentication_token_to_users.rb
174
- - spec/dummy/db/migrate/20140220080143_devise_create_users.rb
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/20140220080144_add_authentication_token_to_users.rb
241
- - spec/dummy/db/migrate/20140220080143_devise_create_users.rb
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