jwt_auth_dummy 0.0.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/MIT-LICENSE +20 -0
- data/README.rdoc +7 -0
- data/Rakefile +37 -0
- data/app/assets/javascripts/jwt_auth/application.js +13 -0
- data/app/assets/stylesheets/jwt_auth/application.css +15 -0
- data/app/controllers/jwt_auth/application_controller.rb +5 -0
- data/app/helpers/jwt_auth/application_helper.rb +4 -0
- data/app/models/jwt_auth/application_record.rb +5 -0
- data/app/views/layouts/jwt_auth/application.html.erb +14 -0
- data/config/routes.rb +3 -0
- data/lib/jwt_auth.rb +24 -0
- data/lib/jwt_auth/engine.rb +5 -0
- data/lib/jwt_auth/version.rb +3 -0
- data/lib/tasks/jwt_auth_tasks.rake +4 -0
- data/test/dummy/README.rdoc +28 -0
- data/test/dummy/Rakefile +6 -0
- data/test/dummy/app/assets/javascripts/application.js +13 -0
- data/test/dummy/app/assets/stylesheets/application.css +15 -0
- data/test/dummy/app/controllers/application_controller.rb +5 -0
- data/test/dummy/app/helpers/application_helper.rb +2 -0
- data/test/dummy/app/views/layouts/application.html.erb +14 -0
- data/test/dummy/bin/bundle +3 -0
- data/test/dummy/bin/rails +4 -0
- data/test/dummy/bin/rake +4 -0
- data/test/dummy/bin/setup +29 -0
- data/test/dummy/config.ru +4 -0
- data/test/dummy/config/application.rb +22 -0
- data/test/dummy/config/boot.rb +5 -0
- data/test/dummy/config/database.yml +9 -0
- data/test/dummy/config/environment.rb +5 -0
- data/test/dummy/config/environments/development.rb +41 -0
- data/test/dummy/config/environments/production.rb +79 -0
- data/test/dummy/config/environments/test.rb +42 -0
- data/test/dummy/config/initializers/assets.rb +11 -0
- data/test/dummy/config/initializers/backtrace_silencers.rb +7 -0
- data/test/dummy/config/initializers/cookies_serializer.rb +3 -0
- data/test/dummy/config/initializers/filter_parameter_logging.rb +4 -0
- data/test/dummy/config/initializers/inflections.rb +16 -0
- data/test/dummy/config/initializers/mime_types.rb +4 -0
- data/test/dummy/config/initializers/session_store.rb +3 -0
- data/test/dummy/config/initializers/wrap_parameters.rb +14 -0
- data/test/dummy/config/locales/en.yml +23 -0
- data/test/dummy/config/routes.rb +3 -0
- data/test/dummy/config/secrets.yml +22 -0
- data/test/dummy/db/schema.rb +33 -0
- data/test/dummy/lib/jwt_auth.rb +23 -0
- data/test/dummy/log/development.log +837 -0
- data/test/dummy/public/404.html +67 -0
- data/test/dummy/public/422.html +67 -0
- data/test/dummy/public/500.html +66 -0
- data/test/dummy/public/favicon.ico +0 -0
- data/test/fixtures/jwt_auth/users.yml +9 -0
- data/test/integration/navigation_test.rb +8 -0
- data/test/jwt_auth_test.rb +7 -0
- data/test/models/jwt_auth/user_test.rb +9 -0
- data/test/test_helper.rb +21 -0
- metadata +170 -0
@@ -0,0 +1,42 @@
|
|
1
|
+
Rails.application.configure do
|
2
|
+
# Settings specified here will take precedence over those in config/application.rb.
|
3
|
+
|
4
|
+
# The test environment is used exclusively to run your application's
|
5
|
+
# test suite. You never need to work with it otherwise. Remember that
|
6
|
+
# your test database is "scratch space" for the test suite and is wiped
|
7
|
+
# and recreated between test runs. Don't rely on the data there!
|
8
|
+
config.cache_classes = true
|
9
|
+
|
10
|
+
# Do not eager load code on boot. This avoids loading your whole application
|
11
|
+
# just for the purpose of running a single test. If you are using a tool that
|
12
|
+
# preloads Rails for running tests, you may have to set it to true.
|
13
|
+
config.eager_load = false
|
14
|
+
|
15
|
+
# Configure static file server for tests with Cache-Control for performance.
|
16
|
+
config.serve_static_files = true
|
17
|
+
config.static_cache_control = 'public, max-age=3600'
|
18
|
+
|
19
|
+
# Show full error reports and disable caching.
|
20
|
+
config.consider_all_requests_local = true
|
21
|
+
config.action_controller.perform_caching = false
|
22
|
+
|
23
|
+
# Raise exceptions instead of rendering exception templates.
|
24
|
+
config.action_dispatch.show_exceptions = false
|
25
|
+
|
26
|
+
# Disable request forgery protection in test environment.
|
27
|
+
config.action_controller.allow_forgery_protection = false
|
28
|
+
|
29
|
+
# Tell Action Mailer not to deliver emails to the real world.
|
30
|
+
# The :test delivery method accumulates sent emails in the
|
31
|
+
# ActionMailer::Base.deliveries array.
|
32
|
+
config.action_mailer.delivery_method = :test
|
33
|
+
|
34
|
+
# Randomize the order test cases are executed.
|
35
|
+
config.active_support.test_order = :random
|
36
|
+
|
37
|
+
# Print deprecation notices to the stderr.
|
38
|
+
config.active_support.deprecation = :stderr
|
39
|
+
|
40
|
+
# Raises error for missing translations
|
41
|
+
# config.action_view.raise_on_missing_translations = true
|
42
|
+
end
|
@@ -0,0 +1,11 @@
|
|
1
|
+
# Be sure to restart your server when you modify this file.
|
2
|
+
|
3
|
+
# Version of your assets, change this if you want to expire all your assets.
|
4
|
+
Rails.application.config.assets.version = '1.0'
|
5
|
+
|
6
|
+
# Add additional assets to the asset load path
|
7
|
+
# Rails.application.config.assets.paths << Emoji.images_path
|
8
|
+
|
9
|
+
# Precompile additional assets.
|
10
|
+
# application.js, application.css, and all non-JS/CSS in app/assets folder are already added.
|
11
|
+
# Rails.application.config.assets.precompile += %w( search.js )
|
@@ -0,0 +1,7 @@
|
|
1
|
+
# Be sure to restart your server when you modify this file.
|
2
|
+
|
3
|
+
# You can add backtrace silencers for libraries that you're using but don't wish to see in your backtraces.
|
4
|
+
# Rails.backtrace_cleaner.add_silencer { |line| line =~ /my_noisy_library/ }
|
5
|
+
|
6
|
+
# You can also remove all the silencers if you're trying to debug a problem that might stem from framework code.
|
7
|
+
# Rails.backtrace_cleaner.remove_silencers!
|
@@ -0,0 +1,16 @@
|
|
1
|
+
# Be sure to restart your server when you modify this file.
|
2
|
+
|
3
|
+
# Add new inflection rules using the following format. Inflections
|
4
|
+
# are locale specific, and you may define rules for as many different
|
5
|
+
# locales as you wish. All of these examples are active by default:
|
6
|
+
# ActiveSupport::Inflector.inflections(:en) do |inflect|
|
7
|
+
# inflect.plural /^(ox)$/i, '\1en'
|
8
|
+
# inflect.singular /^(ox)en/i, '\1'
|
9
|
+
# inflect.irregular 'person', 'people'
|
10
|
+
# inflect.uncountable %w( fish sheep )
|
11
|
+
# end
|
12
|
+
|
13
|
+
# These inflection rules are supported but not enabled by default:
|
14
|
+
# ActiveSupport::Inflector.inflections(:en) do |inflect|
|
15
|
+
# inflect.acronym 'RESTful'
|
16
|
+
# end
|
@@ -0,0 +1,14 @@
|
|
1
|
+
# Be sure to restart your server when you modify this file.
|
2
|
+
|
3
|
+
# This file contains settings for ActionController::ParamsWrapper which
|
4
|
+
# is enabled by default.
|
5
|
+
|
6
|
+
# Enable parameter wrapping for JSON. You can disable this by setting :format to an empty array.
|
7
|
+
ActiveSupport.on_load(:action_controller) do
|
8
|
+
wrap_parameters format: [:json] if respond_to?(:wrap_parameters)
|
9
|
+
end
|
10
|
+
|
11
|
+
# To enable root element in JSON for ActiveRecord objects.
|
12
|
+
# ActiveSupport.on_load(:active_record) do
|
13
|
+
# self.include_root_in_json = true
|
14
|
+
# end
|
@@ -0,0 +1,23 @@
|
|
1
|
+
# Files in the config/locales directory are used for internationalization
|
2
|
+
# and are automatically loaded by Rails. If you want to use locales other
|
3
|
+
# than English, add the necessary files in this directory.
|
4
|
+
#
|
5
|
+
# To use the locales, use `I18n.t`:
|
6
|
+
#
|
7
|
+
# I18n.t 'hello'
|
8
|
+
#
|
9
|
+
# In views, this is aliased to just `t`:
|
10
|
+
#
|
11
|
+
# <%= t('hello') %>
|
12
|
+
#
|
13
|
+
# To use a different locale, set it with `I18n.locale`:
|
14
|
+
#
|
15
|
+
# I18n.locale = :es
|
16
|
+
#
|
17
|
+
# This would use the information in config/locales/es.yml.
|
18
|
+
#
|
19
|
+
# To learn more, please read the Rails Internationalization guide
|
20
|
+
# available at http://guides.rubyonrails.org/i18n.html.
|
21
|
+
|
22
|
+
en:
|
23
|
+
hello: "Hello world"
|
@@ -0,0 +1,22 @@
|
|
1
|
+
# Be sure to restart your server when you modify this file.
|
2
|
+
|
3
|
+
# Your secret key is used for verifying the integrity of signed cookies.
|
4
|
+
# If you change this key, all old signed cookies will become invalid!
|
5
|
+
|
6
|
+
# Make sure the secret is at least 30 characters and all random,
|
7
|
+
# no regular words or you'll be exposed to dictionary attacks.
|
8
|
+
# You can use `rake secret` to generate a secure secret key.
|
9
|
+
|
10
|
+
# Make sure the secrets in this file are kept private
|
11
|
+
# if you're sharing your code publicly.
|
12
|
+
|
13
|
+
development:
|
14
|
+
secret_key_base: abbc9b975486422d3755b51572d92bc607f03a4c4a0332ab83f2fc677639ca6bddf010ab317d0c27026bd0da3295dc2c018ed99dedf26a428d5ed7ce2c3f8adb
|
15
|
+
|
16
|
+
test:
|
17
|
+
secret_key_base: 7ef577114d11e44a4af3740c3696c114ae69f2d42d8d3c60109e440cb1770df9df8edb33cc07c5bf76d38c1a5d4441115dce6a78b3012eed13252d02f65f21f9
|
18
|
+
|
19
|
+
# Do not keep production secrets in the repository,
|
20
|
+
# instead read values from the environment.
|
21
|
+
production:
|
22
|
+
secret_key_base: <%= ENV["SECRET_KEY_BASE"] %>
|
@@ -0,0 +1,33 @@
|
|
1
|
+
# This file is auto-generated from the current state of the database. Instead
|
2
|
+
# of editing this file, please use the migrations feature of Active Record to
|
3
|
+
# incrementally modify your database, and then regenerate this schema definition.
|
4
|
+
#
|
5
|
+
# Note that this schema.rb definition is the authoritative source for your
|
6
|
+
# database schema. If you need to create the application database on another
|
7
|
+
# system, you should be using db:schema:load, not running all the migrations
|
8
|
+
# from scratch. The latter is a flawed and unsustainable approach (the more migrations
|
9
|
+
# you'll amass, the slower it'll run and the greater likelihood for issues).
|
10
|
+
#
|
11
|
+
# It's strongly recommended that you check this file into your version control system.
|
12
|
+
|
13
|
+
ActiveRecord::Schema.define(version: 20170601085604) do
|
14
|
+
|
15
|
+
# These are extensions that must be enabled in order to support this database
|
16
|
+
enable_extension "plpgsql"
|
17
|
+
enable_extension "postgis"
|
18
|
+
|
19
|
+
create_table "jwt_auth_users", force: :cascade do |t|
|
20
|
+
t.string "name"
|
21
|
+
t.string "email"
|
22
|
+
t.datetime "created_at", null: false
|
23
|
+
t.datetime "updated_at", null: false
|
24
|
+
end
|
25
|
+
|
26
|
+
create_table "spatial_ref_sys", primary_key: "srid", id: :integer, default: nil, force: :cascade do |t|
|
27
|
+
t.string "auth_name", limit: 256
|
28
|
+
t.integer "auth_srid"
|
29
|
+
t.string "srtext", limit: 2048
|
30
|
+
t.string "proj4text", limit: 2048
|
31
|
+
end
|
32
|
+
|
33
|
+
end
|
@@ -0,0 +1,23 @@
|
|
1
|
+
module JwtAuth
|
2
|
+
HMAC_SECRET = 'my$ecretK3y'
|
3
|
+
|
4
|
+
|
5
|
+
def self.authorize!(env)
|
6
|
+
return false unless env['HTTP_AUTHORIZATION']
|
7
|
+
token = env['HTTP_AUTHORIZATION']
|
8
|
+
|
9
|
+
begin
|
10
|
+
params = (JWT.decode token, HMAC_SECRET, true, algorithm: 'HS256').first
|
11
|
+
User.find_by(params).present?
|
12
|
+
rescue JWT::DecodeError
|
13
|
+
false
|
14
|
+
end
|
15
|
+
end
|
16
|
+
|
17
|
+
def self.generate_token(params)
|
18
|
+
p params
|
19
|
+
p '1+1'
|
20
|
+
JWT.encode params, HMAC_SECRET, 'HS256'
|
21
|
+
end
|
22
|
+
end
|
23
|
+
|
@@ -0,0 +1,837 @@
|
|
1
|
+
Started GET "/" for ::1 at 2017-06-01 11:33:17 +0300
|
2
|
+
Processing by Rails::WelcomeController#index as HTML
|
3
|
+
Completed 500 Internal Server Error in 565ms
|
4
|
+
|
5
|
+
|
6
|
+
|
7
|
+
NoMethodError (undefined method `raise_in_transactional_callbacks=' for ActiveRecord::Base:Class):
|
8
|
+
|
9
|
+
activerecord (5.1.1) lib/active_record/dynamic_matchers.rb:22:in `method_missing'
|
10
|
+
activerecord (5.1.1) lib/active_record/railtie.rb:112:in `block (3 levels) in <class:Railtie>'
|
11
|
+
activerecord (5.1.1) lib/active_record/railtie.rb:111:in `each'
|
12
|
+
activerecord (5.1.1) lib/active_record/railtie.rb:111:in `block (2 levels) in <class:Railtie>'
|
13
|
+
activesupport (5.1.1) lib/active_support/lazy_load_hooks.rb:45:in `instance_eval'
|
14
|
+
activesupport (5.1.1) lib/active_support/lazy_load_hooks.rb:45:in `execute_hook'
|
15
|
+
activesupport (5.1.1) lib/active_support/lazy_load_hooks.rb:52:in `block in run_load_hooks'
|
16
|
+
activesupport (5.1.1) lib/active_support/lazy_load_hooks.rb:51:in `each'
|
17
|
+
activesupport (5.1.1) lib/active_support/lazy_load_hooks.rb:51:in `run_load_hooks'
|
18
|
+
activerecord (5.1.1) lib/active_record/base.rb:326:in `<module:ActiveRecord>'
|
19
|
+
activerecord (5.1.1) lib/active_record/base.rb:25:in `<top (required)>'
|
20
|
+
activesupport (5.1.1) lib/active_support/dependencies.rb:292:in `require'
|
21
|
+
activesupport (5.1.1) lib/active_support/dependencies.rb:292:in `block in require'
|
22
|
+
activesupport (5.1.1) lib/active_support/dependencies.rb:258:in `load_dependency'
|
23
|
+
activesupport (5.1.1) lib/active_support/dependencies.rb:292:in `require'
|
24
|
+
activerecord (5.1.1) lib/active_record/railties/controller_runtime.rb:26:in `cleanup_view_runtime'
|
25
|
+
actionpack (5.1.1) lib/action_controller/metal/instrumentation.rb:43:in `render'
|
26
|
+
actionpack (5.1.1) lib/action_controller/metal/implicit_render.rb:33:in `default_render'
|
27
|
+
actionpack (5.1.1) lib/action_controller/metal/basic_implicit_render.rb:4:in `block in send_action'
|
28
|
+
actionpack (5.1.1) lib/action_controller/metal/basic_implicit_render.rb:4:in `tap'
|
29
|
+
actionpack (5.1.1) lib/action_controller/metal/basic_implicit_render.rb:4:in `send_action'
|
30
|
+
actionpack (5.1.1) lib/abstract_controller/base.rb:186:in `process_action'
|
31
|
+
actionpack (5.1.1) lib/action_controller/metal/rendering.rb:30:in `process_action'
|
32
|
+
actionpack (5.1.1) lib/abstract_controller/callbacks.rb:20:in `block in process_action'
|
33
|
+
activesupport (5.1.1) lib/active_support/callbacks.rb:97:in `run_callbacks'
|
34
|
+
actionpack (5.1.1) lib/abstract_controller/callbacks.rb:19:in `process_action'
|
35
|
+
actionpack (5.1.1) lib/action_controller/metal/rescue.rb:20:in `process_action'
|
36
|
+
actionpack (5.1.1) lib/action_controller/metal/instrumentation.rb:32:in `block in process_action'
|
37
|
+
activesupport (5.1.1) lib/active_support/notifications.rb:166:in `block in instrument'
|
38
|
+
activesupport (5.1.1) lib/active_support/notifications/instrumenter.rb:21:in `instrument'
|
39
|
+
activesupport (5.1.1) lib/active_support/notifications.rb:166:in `instrument'
|
40
|
+
actionpack (5.1.1) lib/action_controller/metal/instrumentation.rb:30:in `process_action'
|
41
|
+
actionpack (5.1.1) lib/action_controller/metal/params_wrapper.rb:252:in `process_action'
|
42
|
+
activerecord (5.1.1) lib/active_record/railties/controller_runtime.rb:22:in `process_action'
|
43
|
+
actionpack (5.1.1) lib/abstract_controller/base.rb:124:in `process'
|
44
|
+
actionview (5.1.1) lib/action_view/rendering.rb:30:in `process'
|
45
|
+
actionpack (5.1.1) lib/action_controller/metal.rb:189:in `dispatch'
|
46
|
+
actionpack (5.1.1) lib/action_controller/metal.rb:253:in `dispatch'
|
47
|
+
actionpack (5.1.1) lib/action_dispatch/routing/route_set.rb:49:in `dispatch'
|
48
|
+
actionpack (5.1.1) lib/action_dispatch/routing/route_set.rb:31:in `serve'
|
49
|
+
actionpack (5.1.1) lib/action_dispatch/journey/router.rb:46:in `block in serve'
|
50
|
+
actionpack (5.1.1) lib/action_dispatch/journey/router.rb:33:in `each'
|
51
|
+
actionpack (5.1.1) lib/action_dispatch/journey/router.rb:33:in `serve'
|
52
|
+
actionpack (5.1.1) lib/action_dispatch/routing/route_set.rb:832:in `call'
|
53
|
+
rack (2.0.3) lib/rack/etag.rb:25:in `call'
|
54
|
+
rack (2.0.3) lib/rack/conditional_get.rb:25:in `call'
|
55
|
+
rack (2.0.3) lib/rack/head.rb:12:in `call'
|
56
|
+
rack (2.0.3) lib/rack/session/abstract/id.rb:232:in `context'
|
57
|
+
rack (2.0.3) lib/rack/session/abstract/id.rb:226:in `call'
|
58
|
+
actionpack (5.1.1) lib/action_dispatch/middleware/cookies.rb:613:in `call'
|
59
|
+
activerecord (5.1.1) lib/active_record/migration.rb:556:in `call'
|
60
|
+
actionpack (5.1.1) lib/action_dispatch/middleware/callbacks.rb:26:in `block in call'
|
61
|
+
activesupport (5.1.1) lib/active_support/callbacks.rb:97:in `run_callbacks'
|
62
|
+
actionpack (5.1.1) lib/action_dispatch/middleware/callbacks.rb:24:in `call'
|
63
|
+
actionpack (5.1.1) lib/action_dispatch/middleware/executor.rb:12:in `call'
|
64
|
+
actionpack (5.1.1) lib/action_dispatch/middleware/debug_exceptions.rb:59:in `call'
|
65
|
+
actionpack (5.1.1) lib/action_dispatch/middleware/show_exceptions.rb:31:in `call'
|
66
|
+
railties (5.1.1) lib/rails/rack/logger.rb:36:in `call_app'
|
67
|
+
railties (5.1.1) lib/rails/rack/logger.rb:24:in `block in call'
|
68
|
+
activesupport (5.1.1) lib/active_support/tagged_logging.rb:69:in `block in tagged'
|
69
|
+
activesupport (5.1.1) lib/active_support/tagged_logging.rb:26:in `tagged'
|
70
|
+
activesupport (5.1.1) lib/active_support/tagged_logging.rb:69:in `tagged'
|
71
|
+
railties (5.1.1) lib/rails/rack/logger.rb:24:in `call'
|
72
|
+
actionpack (5.1.1) lib/action_dispatch/middleware/remote_ip.rb:79:in `call'
|
73
|
+
actionpack (5.1.1) lib/action_dispatch/middleware/request_id.rb:25:in `call'
|
74
|
+
rack (2.0.3) lib/rack/method_override.rb:22:in `call'
|
75
|
+
rack (2.0.3) lib/rack/runtime.rb:22:in `call'
|
76
|
+
activesupport (5.1.1) lib/active_support/cache/strategy/local_cache_middleware.rb:27:in `call'
|
77
|
+
actionpack (5.1.1) lib/action_dispatch/middleware/executor.rb:12:in `call'
|
78
|
+
actionpack (5.1.1) lib/action_dispatch/middleware/static.rb:125:in `call'
|
79
|
+
rack (2.0.3) lib/rack/sendfile.rb:111:in `call'
|
80
|
+
railties (5.1.1) lib/rails/engine.rb:522:in `call'
|
81
|
+
rack (2.0.3) lib/rack/handler/webrick.rb:86:in `service'
|
82
|
+
/Users/stas/.rvm/rubies/ruby-2.4.1/lib/ruby/2.4.0/webrick/httpserver.rb:140:in `service'
|
83
|
+
/Users/stas/.rvm/rubies/ruby-2.4.1/lib/ruby/2.4.0/webrick/httpserver.rb:96:in `run'
|
84
|
+
/Users/stas/.rvm/rubies/ruby-2.4.1/lib/ruby/2.4.0/webrick/server.rb:290:in `block in start_thread'
|
85
|
+
Started GET "/" for ::1 at 2017-06-01 11:33:20 +0300
|
86
|
+
Processing by Rails::WelcomeController#index as HTML
|
87
|
+
Rendering /Users/stas/.rvm/gems/ruby-2.4.1/gems/railties-5.1.1/lib/rails/templates/rails/welcome/index.html.erb
|
88
|
+
Rendered /Users/stas/.rvm/gems/ruby-2.4.1/gems/railties-5.1.1/lib/rails/templates/rails/welcome/index.html.erb (2.8ms)
|
89
|
+
Completed 200 OK in 6ms (Views: 4.6ms)
|
90
|
+
|
91
|
+
|
92
|
+
Started GET "/get_token" for ::1 at 2017-06-01 11:33:28 +0300
|
93
|
+
|
94
|
+
ActionController::RoutingError (No route matches [GET] "/get_token"):
|
95
|
+
|
96
|
+
actionpack (5.1.1) lib/action_dispatch/middleware/debug_exceptions.rb:63:in `call'
|
97
|
+
actionpack (5.1.1) lib/action_dispatch/middleware/show_exceptions.rb:31:in `call'
|
98
|
+
railties (5.1.1) lib/rails/rack/logger.rb:36:in `call_app'
|
99
|
+
railties (5.1.1) lib/rails/rack/logger.rb:24:in `block in call'
|
100
|
+
activesupport (5.1.1) lib/active_support/tagged_logging.rb:69:in `block in tagged'
|
101
|
+
activesupport (5.1.1) lib/active_support/tagged_logging.rb:26:in `tagged'
|
102
|
+
activesupport (5.1.1) lib/active_support/tagged_logging.rb:69:in `tagged'
|
103
|
+
railties (5.1.1) lib/rails/rack/logger.rb:24:in `call'
|
104
|
+
actionpack (5.1.1) lib/action_dispatch/middleware/remote_ip.rb:79:in `call'
|
105
|
+
actionpack (5.1.1) lib/action_dispatch/middleware/request_id.rb:25:in `call'
|
106
|
+
rack (2.0.3) lib/rack/method_override.rb:22:in `call'
|
107
|
+
rack (2.0.3) lib/rack/runtime.rb:22:in `call'
|
108
|
+
activesupport (5.1.1) lib/active_support/cache/strategy/local_cache_middleware.rb:27:in `call'
|
109
|
+
actionpack (5.1.1) lib/action_dispatch/middleware/executor.rb:12:in `call'
|
110
|
+
actionpack (5.1.1) lib/action_dispatch/middleware/static.rb:125:in `call'
|
111
|
+
rack (2.0.3) lib/rack/sendfile.rb:111:in `call'
|
112
|
+
railties (5.1.1) lib/rails/engine.rb:522:in `call'
|
113
|
+
rack (2.0.3) lib/rack/handler/webrick.rb:86:in `service'
|
114
|
+
/Users/stas/.rvm/rubies/ruby-2.4.1/lib/ruby/2.4.0/webrick/httpserver.rb:140:in `service'
|
115
|
+
/Users/stas/.rvm/rubies/ruby-2.4.1/lib/ruby/2.4.0/webrick/httpserver.rb:96:in `run'
|
116
|
+
/Users/stas/.rvm/rubies/ruby-2.4.1/lib/ruby/2.4.0/webrick/server.rb:290:in `block in start_thread'
|
117
|
+
Started GET "/get_token" for ::1 at 2017-06-01 11:33:39 +0300
|
118
|
+
|
119
|
+
ActionController::RoutingError (No route matches [GET] "/get_token"):
|
120
|
+
|
121
|
+
actionpack (5.1.1) lib/action_dispatch/middleware/debug_exceptions.rb:63:in `call'
|
122
|
+
actionpack (5.1.1) lib/action_dispatch/middleware/show_exceptions.rb:31:in `call'
|
123
|
+
railties (5.1.1) lib/rails/rack/logger.rb:36:in `call_app'
|
124
|
+
railties (5.1.1) lib/rails/rack/logger.rb:24:in `block in call'
|
125
|
+
activesupport (5.1.1) lib/active_support/tagged_logging.rb:69:in `block in tagged'
|
126
|
+
activesupport (5.1.1) lib/active_support/tagged_logging.rb:26:in `tagged'
|
127
|
+
activesupport (5.1.1) lib/active_support/tagged_logging.rb:69:in `tagged'
|
128
|
+
railties (5.1.1) lib/rails/rack/logger.rb:24:in `call'
|
129
|
+
actionpack (5.1.1) lib/action_dispatch/middleware/remote_ip.rb:79:in `call'
|
130
|
+
actionpack (5.1.1) lib/action_dispatch/middleware/request_id.rb:25:in `call'
|
131
|
+
rack (2.0.3) lib/rack/method_override.rb:22:in `call'
|
132
|
+
rack (2.0.3) lib/rack/runtime.rb:22:in `call'
|
133
|
+
activesupport (5.1.1) lib/active_support/cache/strategy/local_cache_middleware.rb:27:in `call'
|
134
|
+
actionpack (5.1.1) lib/action_dispatch/middleware/executor.rb:12:in `call'
|
135
|
+
actionpack (5.1.1) lib/action_dispatch/middleware/static.rb:125:in `call'
|
136
|
+
rack (2.0.3) lib/rack/sendfile.rb:111:in `call'
|
137
|
+
railties (5.1.1) lib/rails/engine.rb:522:in `call'
|
138
|
+
rack (2.0.3) lib/rack/handler/webrick.rb:86:in `service'
|
139
|
+
/Users/stas/.rvm/rubies/ruby-2.4.1/lib/ruby/2.4.0/webrick/httpserver.rb:140:in `service'
|
140
|
+
/Users/stas/.rvm/rubies/ruby-2.4.1/lib/ruby/2.4.0/webrick/httpserver.rb:96:in `run'
|
141
|
+
/Users/stas/.rvm/rubies/ruby-2.4.1/lib/ruby/2.4.0/webrick/server.rb:290:in `block in start_thread'
|
142
|
+
Started GET "/jwt_auth" for ::1 at 2017-06-01 11:34:29 +0300
|
143
|
+
|
144
|
+
ActionController::RoutingError (No route matches [GET] "/jwt_auth"):
|
145
|
+
|
146
|
+
actionpack (5.1.1) lib/action_dispatch/middleware/debug_exceptions.rb:63:in `call'
|
147
|
+
actionpack (5.1.1) lib/action_dispatch/middleware/show_exceptions.rb:31:in `call'
|
148
|
+
railties (5.1.1) lib/rails/rack/logger.rb:36:in `call_app'
|
149
|
+
railties (5.1.1) lib/rails/rack/logger.rb:24:in `block in call'
|
150
|
+
activesupport (5.1.1) lib/active_support/tagged_logging.rb:69:in `block in tagged'
|
151
|
+
activesupport (5.1.1) lib/active_support/tagged_logging.rb:26:in `tagged'
|
152
|
+
activesupport (5.1.1) lib/active_support/tagged_logging.rb:69:in `tagged'
|
153
|
+
railties (5.1.1) lib/rails/rack/logger.rb:24:in `call'
|
154
|
+
actionpack (5.1.1) lib/action_dispatch/middleware/remote_ip.rb:79:in `call'
|
155
|
+
actionpack (5.1.1) lib/action_dispatch/middleware/request_id.rb:25:in `call'
|
156
|
+
rack (2.0.3) lib/rack/method_override.rb:22:in `call'
|
157
|
+
rack (2.0.3) lib/rack/runtime.rb:22:in `call'
|
158
|
+
activesupport (5.1.1) lib/active_support/cache/strategy/local_cache_middleware.rb:27:in `call'
|
159
|
+
actionpack (5.1.1) lib/action_dispatch/middleware/executor.rb:12:in `call'
|
160
|
+
actionpack (5.1.1) lib/action_dispatch/middleware/static.rb:125:in `call'
|
161
|
+
rack (2.0.3) lib/rack/sendfile.rb:111:in `call'
|
162
|
+
railties (5.1.1) lib/rails/engine.rb:522:in `call'
|
163
|
+
rack (2.0.3) lib/rack/handler/webrick.rb:86:in `service'
|
164
|
+
/Users/stas/.rvm/rubies/ruby-2.4.1/lib/ruby/2.4.0/webrick/httpserver.rb:140:in `service'
|
165
|
+
/Users/stas/.rvm/rubies/ruby-2.4.1/lib/ruby/2.4.0/webrick/httpserver.rb:96:in `run'
|
166
|
+
/Users/stas/.rvm/rubies/ruby-2.4.1/lib/ruby/2.4.0/webrick/server.rb:290:in `block in start_thread'
|
167
|
+
Started GET "/jwt_auth" for ::1 at 2017-06-01 11:34:34 +0300
|
168
|
+
|
169
|
+
ActionController::RoutingError (No route matches [GET] "/jwt_auth"):
|
170
|
+
|
171
|
+
actionpack (5.1.1) lib/action_dispatch/middleware/debug_exceptions.rb:63:in `call'
|
172
|
+
actionpack (5.1.1) lib/action_dispatch/middleware/show_exceptions.rb:31:in `call'
|
173
|
+
railties (5.1.1) lib/rails/rack/logger.rb:36:in `call_app'
|
174
|
+
railties (5.1.1) lib/rails/rack/logger.rb:24:in `block in call'
|
175
|
+
activesupport (5.1.1) lib/active_support/tagged_logging.rb:69:in `block in tagged'
|
176
|
+
activesupport (5.1.1) lib/active_support/tagged_logging.rb:26:in `tagged'
|
177
|
+
activesupport (5.1.1) lib/active_support/tagged_logging.rb:69:in `tagged'
|
178
|
+
railties (5.1.1) lib/rails/rack/logger.rb:24:in `call'
|
179
|
+
actionpack (5.1.1) lib/action_dispatch/middleware/remote_ip.rb:79:in `call'
|
180
|
+
actionpack (5.1.1) lib/action_dispatch/middleware/request_id.rb:25:in `call'
|
181
|
+
rack (2.0.3) lib/rack/method_override.rb:22:in `call'
|
182
|
+
rack (2.0.3) lib/rack/runtime.rb:22:in `call'
|
183
|
+
activesupport (5.1.1) lib/active_support/cache/strategy/local_cache_middleware.rb:27:in `call'
|
184
|
+
actionpack (5.1.1) lib/action_dispatch/middleware/executor.rb:12:in `call'
|
185
|
+
actionpack (5.1.1) lib/action_dispatch/middleware/static.rb:125:in `call'
|
186
|
+
rack (2.0.3) lib/rack/sendfile.rb:111:in `call'
|
187
|
+
railties (5.1.1) lib/rails/engine.rb:522:in `call'
|
188
|
+
rack (2.0.3) lib/rack/handler/webrick.rb:86:in `service'
|
189
|
+
/Users/stas/.rvm/rubies/ruby-2.4.1/lib/ruby/2.4.0/webrick/httpserver.rb:140:in `service'
|
190
|
+
/Users/stas/.rvm/rubies/ruby-2.4.1/lib/ruby/2.4.0/webrick/httpserver.rb:96:in `run'
|
191
|
+
/Users/stas/.rvm/rubies/ruby-2.4.1/lib/ruby/2.4.0/webrick/server.rb:290:in `block in start_thread'
|
192
|
+
Started GET "/jwt_auth" for ::1 at 2017-06-01 11:34:36 +0300
|
193
|
+
|
194
|
+
ActionController::RoutingError (No route matches [GET] "/jwt_auth"):
|
195
|
+
|
196
|
+
actionpack (5.1.1) lib/action_dispatch/middleware/debug_exceptions.rb:63:in `call'
|
197
|
+
actionpack (5.1.1) lib/action_dispatch/middleware/show_exceptions.rb:31:in `call'
|
198
|
+
railties (5.1.1) lib/rails/rack/logger.rb:36:in `call_app'
|
199
|
+
railties (5.1.1) lib/rails/rack/logger.rb:24:in `block in call'
|
200
|
+
activesupport (5.1.1) lib/active_support/tagged_logging.rb:69:in `block in tagged'
|
201
|
+
activesupport (5.1.1) lib/active_support/tagged_logging.rb:26:in `tagged'
|
202
|
+
activesupport (5.1.1) lib/active_support/tagged_logging.rb:69:in `tagged'
|
203
|
+
railties (5.1.1) lib/rails/rack/logger.rb:24:in `call'
|
204
|
+
actionpack (5.1.1) lib/action_dispatch/middleware/remote_ip.rb:79:in `call'
|
205
|
+
actionpack (5.1.1) lib/action_dispatch/middleware/request_id.rb:25:in `call'
|
206
|
+
rack (2.0.3) lib/rack/method_override.rb:22:in `call'
|
207
|
+
rack (2.0.3) lib/rack/runtime.rb:22:in `call'
|
208
|
+
activesupport (5.1.1) lib/active_support/cache/strategy/local_cache_middleware.rb:27:in `call'
|
209
|
+
actionpack (5.1.1) lib/action_dispatch/middleware/executor.rb:12:in `call'
|
210
|
+
actionpack (5.1.1) lib/action_dispatch/middleware/static.rb:125:in `call'
|
211
|
+
rack (2.0.3) lib/rack/sendfile.rb:111:in `call'
|
212
|
+
railties (5.1.1) lib/rails/engine.rb:522:in `call'
|
213
|
+
rack (2.0.3) lib/rack/handler/webrick.rb:86:in `service'
|
214
|
+
/Users/stas/.rvm/rubies/ruby-2.4.1/lib/ruby/2.4.0/webrick/httpserver.rb:140:in `service'
|
215
|
+
/Users/stas/.rvm/rubies/ruby-2.4.1/lib/ruby/2.4.0/webrick/httpserver.rb:96:in `run'
|
216
|
+
/Users/stas/.rvm/rubies/ruby-2.4.1/lib/ruby/2.4.0/webrick/server.rb:290:in `block in start_thread'
|
217
|
+
Started GET "/jwt_auth" for ::1 at 2017-06-01 11:34:37 +0300
|
218
|
+
|
219
|
+
ActionController::RoutingError (No route matches [GET] "/jwt_auth"):
|
220
|
+
|
221
|
+
actionpack (5.1.1) lib/action_dispatch/middleware/debug_exceptions.rb:63:in `call'
|
222
|
+
actionpack (5.1.1) lib/action_dispatch/middleware/show_exceptions.rb:31:in `call'
|
223
|
+
railties (5.1.1) lib/rails/rack/logger.rb:36:in `call_app'
|
224
|
+
railties (5.1.1) lib/rails/rack/logger.rb:24:in `block in call'
|
225
|
+
activesupport (5.1.1) lib/active_support/tagged_logging.rb:69:in `block in tagged'
|
226
|
+
activesupport (5.1.1) lib/active_support/tagged_logging.rb:26:in `tagged'
|
227
|
+
activesupport (5.1.1) lib/active_support/tagged_logging.rb:69:in `tagged'
|
228
|
+
railties (5.1.1) lib/rails/rack/logger.rb:24:in `call'
|
229
|
+
actionpack (5.1.1) lib/action_dispatch/middleware/remote_ip.rb:79:in `call'
|
230
|
+
actionpack (5.1.1) lib/action_dispatch/middleware/request_id.rb:25:in `call'
|
231
|
+
rack (2.0.3) lib/rack/method_override.rb:22:in `call'
|
232
|
+
rack (2.0.3) lib/rack/runtime.rb:22:in `call'
|
233
|
+
activesupport (5.1.1) lib/active_support/cache/strategy/local_cache_middleware.rb:27:in `call'
|
234
|
+
actionpack (5.1.1) lib/action_dispatch/middleware/executor.rb:12:in `call'
|
235
|
+
actionpack (5.1.1) lib/action_dispatch/middleware/static.rb:125:in `call'
|
236
|
+
rack (2.0.3) lib/rack/sendfile.rb:111:in `call'
|
237
|
+
railties (5.1.1) lib/rails/engine.rb:522:in `call'
|
238
|
+
rack (2.0.3) lib/rack/handler/webrick.rb:86:in `service'
|
239
|
+
/Users/stas/.rvm/rubies/ruby-2.4.1/lib/ruby/2.4.0/webrick/httpserver.rb:140:in `service'
|
240
|
+
/Users/stas/.rvm/rubies/ruby-2.4.1/lib/ruby/2.4.0/webrick/httpserver.rb:96:in `run'
|
241
|
+
/Users/stas/.rvm/rubies/ruby-2.4.1/lib/ruby/2.4.0/webrick/server.rb:290:in `block in start_thread'
|
242
|
+
Started GET "/jwt_auth" for ::1 at 2017-06-01 11:36:17 +0300
|
243
|
+
|
244
|
+
ActionController::RoutingError (No route matches [GET] "/jwt_auth"):
|
245
|
+
|
246
|
+
actionpack (5.1.1) lib/action_dispatch/middleware/debug_exceptions.rb:63:in `call'
|
247
|
+
actionpack (5.1.1) lib/action_dispatch/middleware/show_exceptions.rb:31:in `call'
|
248
|
+
railties (5.1.1) lib/rails/rack/logger.rb:36:in `call_app'
|
249
|
+
railties (5.1.1) lib/rails/rack/logger.rb:24:in `block in call'
|
250
|
+
activesupport (5.1.1) lib/active_support/tagged_logging.rb:69:in `block in tagged'
|
251
|
+
activesupport (5.1.1) lib/active_support/tagged_logging.rb:26:in `tagged'
|
252
|
+
activesupport (5.1.1) lib/active_support/tagged_logging.rb:69:in `tagged'
|
253
|
+
railties (5.1.1) lib/rails/rack/logger.rb:24:in `call'
|
254
|
+
actionpack (5.1.1) lib/action_dispatch/middleware/remote_ip.rb:79:in `call'
|
255
|
+
actionpack (5.1.1) lib/action_dispatch/middleware/request_id.rb:25:in `call'
|
256
|
+
rack (2.0.3) lib/rack/method_override.rb:22:in `call'
|
257
|
+
rack (2.0.3) lib/rack/runtime.rb:22:in `call'
|
258
|
+
activesupport (5.1.1) lib/active_support/cache/strategy/local_cache_middleware.rb:27:in `call'
|
259
|
+
actionpack (5.1.1) lib/action_dispatch/middleware/executor.rb:12:in `call'
|
260
|
+
actionpack (5.1.1) lib/action_dispatch/middleware/static.rb:125:in `call'
|
261
|
+
rack (2.0.3) lib/rack/sendfile.rb:111:in `call'
|
262
|
+
railties (5.1.1) lib/rails/engine.rb:522:in `call'
|
263
|
+
rack (2.0.3) lib/rack/handler/webrick.rb:86:in `service'
|
264
|
+
/Users/stas/.rvm/rubies/ruby-2.4.1/lib/ruby/2.4.0/webrick/httpserver.rb:140:in `service'
|
265
|
+
/Users/stas/.rvm/rubies/ruby-2.4.1/lib/ruby/2.4.0/webrick/httpserver.rb:96:in `run'
|
266
|
+
/Users/stas/.rvm/rubies/ruby-2.4.1/lib/ruby/2.4.0/webrick/server.rb:290:in `block in start_thread'
|
267
|
+
Started GET "/jwt_auth" for ::1 at 2017-06-01 11:38:55 +0300
|
268
|
+
|
269
|
+
ActionController::RoutingError (No route matches [GET] "/jwt_auth"):
|
270
|
+
|
271
|
+
actionpack (5.1.1) lib/action_dispatch/middleware/debug_exceptions.rb:63:in `call'
|
272
|
+
actionpack (5.1.1) lib/action_dispatch/middleware/show_exceptions.rb:31:in `call'
|
273
|
+
railties (5.1.1) lib/rails/rack/logger.rb:36:in `call_app'
|
274
|
+
railties (5.1.1) lib/rails/rack/logger.rb:24:in `block in call'
|
275
|
+
activesupport (5.1.1) lib/active_support/tagged_logging.rb:69:in `block in tagged'
|
276
|
+
activesupport (5.1.1) lib/active_support/tagged_logging.rb:26:in `tagged'
|
277
|
+
activesupport (5.1.1) lib/active_support/tagged_logging.rb:69:in `tagged'
|
278
|
+
railties (5.1.1) lib/rails/rack/logger.rb:24:in `call'
|
279
|
+
actionpack (5.1.1) lib/action_dispatch/middleware/remote_ip.rb:79:in `call'
|
280
|
+
actionpack (5.1.1) lib/action_dispatch/middleware/request_id.rb:25:in `call'
|
281
|
+
rack (2.0.3) lib/rack/method_override.rb:22:in `call'
|
282
|
+
rack (2.0.3) lib/rack/runtime.rb:22:in `call'
|
283
|
+
activesupport (5.1.1) lib/active_support/cache/strategy/local_cache_middleware.rb:27:in `call'
|
284
|
+
actionpack (5.1.1) lib/action_dispatch/middleware/executor.rb:12:in `call'
|
285
|
+
actionpack (5.1.1) lib/action_dispatch/middleware/static.rb:125:in `call'
|
286
|
+
rack (2.0.3) lib/rack/sendfile.rb:111:in `call'
|
287
|
+
railties (5.1.1) lib/rails/engine.rb:522:in `call'
|
288
|
+
rack (2.0.3) lib/rack/handler/webrick.rb:86:in `service'
|
289
|
+
/Users/stas/.rvm/rubies/ruby-2.4.1/lib/ruby/2.4.0/webrick/httpserver.rb:140:in `service'
|
290
|
+
/Users/stas/.rvm/rubies/ruby-2.4.1/lib/ruby/2.4.0/webrick/httpserver.rb:96:in `run'
|
291
|
+
/Users/stas/.rvm/rubies/ruby-2.4.1/lib/ruby/2.4.0/webrick/server.rb:290:in `block in start_thread'
|
292
|
+
Started GET "/jwt_auth" for ::1 at 2017-06-01 11:39:52 +0300
|
293
|
+
|
294
|
+
ActionController::RoutingError (No route matches [GET] "/jwt_auth"):
|
295
|
+
|
296
|
+
actionpack (5.1.1) lib/action_dispatch/middleware/debug_exceptions.rb:63:in `call'
|
297
|
+
actionpack (5.1.1) lib/action_dispatch/middleware/show_exceptions.rb:31:in `call'
|
298
|
+
railties (5.1.1) lib/rails/rack/logger.rb:36:in `call_app'
|
299
|
+
railties (5.1.1) lib/rails/rack/logger.rb:24:in `block in call'
|
300
|
+
activesupport (5.1.1) lib/active_support/tagged_logging.rb:69:in `block in tagged'
|
301
|
+
activesupport (5.1.1) lib/active_support/tagged_logging.rb:26:in `tagged'
|
302
|
+
activesupport (5.1.1) lib/active_support/tagged_logging.rb:69:in `tagged'
|
303
|
+
railties (5.1.1) lib/rails/rack/logger.rb:24:in `call'
|
304
|
+
actionpack (5.1.1) lib/action_dispatch/middleware/remote_ip.rb:79:in `call'
|
305
|
+
actionpack (5.1.1) lib/action_dispatch/middleware/request_id.rb:25:in `call'
|
306
|
+
rack (2.0.3) lib/rack/method_override.rb:22:in `call'
|
307
|
+
rack (2.0.3) lib/rack/runtime.rb:22:in `call'
|
308
|
+
activesupport (5.1.1) lib/active_support/cache/strategy/local_cache_middleware.rb:27:in `call'
|
309
|
+
actionpack (5.1.1) lib/action_dispatch/middleware/executor.rb:12:in `call'
|
310
|
+
actionpack (5.1.1) lib/action_dispatch/middleware/static.rb:125:in `call'
|
311
|
+
rack (2.0.3) lib/rack/sendfile.rb:111:in `call'
|
312
|
+
railties (5.1.1) lib/rails/engine.rb:522:in `call'
|
313
|
+
rack (2.0.3) lib/rack/handler/webrick.rb:86:in `service'
|
314
|
+
/Users/stas/.rvm/rubies/ruby-2.4.1/lib/ruby/2.4.0/webrick/httpserver.rb:140:in `service'
|
315
|
+
/Users/stas/.rvm/rubies/ruby-2.4.1/lib/ruby/2.4.0/webrick/httpserver.rb:96:in `run'
|
316
|
+
/Users/stas/.rvm/rubies/ruby-2.4.1/lib/ruby/2.4.0/webrick/server.rb:290:in `block in start_thread'
|
317
|
+
[1m[35m (9.0ms)[0m [1m[35mCREATE TABLE "schema_migrations" ("version" character varying NOT NULL PRIMARY KEY)[0m
|
318
|
+
[1m[35m (19.8ms)[0m [1m[35mCREATE TABLE "ar_internal_metadata" ("key" character varying NOT NULL PRIMARY KEY, "value" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
|
319
|
+
[1m[35m (0.6ms)[0m [1m[34mSELECT pg_try_advisory_lock(7522879141526650650);[0m
|
320
|
+
[1m[35m (0.4ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
321
|
+
Migrating to CreateJwtAuthUsers (20170601085604)
|
322
|
+
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
|
323
|
+
[1m[35m (21.2ms)[0m [1m[35mCREATE TABLE "jwt_auth_users" ("id" bigserial primary key, "name" character varying, "email" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
|
324
|
+
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version"[0m [["version", "20170601085604"]]
|
325
|
+
[1m[35m (0.3ms)[0m [1m[35mCOMMIT[0m
|
326
|
+
[1m[36mActiveRecord::InternalMetadata Load (0.3ms)[0m [1m[34mSELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2[0m [["key", "environment"], ["LIMIT", 1]]
|
327
|
+
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
|
328
|
+
[1m[35mSQL (1.6ms)[0m [1m[32mINSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "key"[0m [["key", "environment"], ["value", "development"], ["created_at", "2017-06-01 08:56:21.628535"], ["updated_at", "2017-06-01 08:56:21.628535"]]
|
329
|
+
[1m[35m (4.0ms)[0m [1m[35mCOMMIT[0m
|
330
|
+
[1m[35m (0.6ms)[0m [1m[34mSELECT pg_advisory_unlock(7522879141526650650)[0m
|
331
|
+
[1m[35m (5.8ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
332
|
+
Started GET "/jwt_auth" for ::1 at 2017-06-01 11:58:30 +0300
|
333
|
+
Processing by JwtAuth::GetTokenController#token as HTML
|
334
|
+
Completed 500 Internal Server Error in 795ms
|
335
|
+
|
336
|
+
|
337
|
+
|
338
|
+
NameError (uninitialized constant JwtAuth::User::JWT):
|
339
|
+
|
340
|
+
/Users/stas/jwt_auth/app/models/jwt_auth/user.rb:19:in `generate_token'
|
341
|
+
/Users/stas/jwt_auth/app/controllers/jwt_auth/get_token_controller.rb:5:in `token'
|
342
|
+
actionpack (5.1.1) lib/action_controller/metal/basic_implicit_render.rb:4:in `send_action'
|
343
|
+
actionpack (5.1.1) lib/abstract_controller/base.rb:186:in `process_action'
|
344
|
+
actionpack (5.1.1) lib/action_controller/metal/rendering.rb:30:in `process_action'
|
345
|
+
actionpack (5.1.1) lib/abstract_controller/callbacks.rb:20:in `block in process_action'
|
346
|
+
activesupport (5.1.1) lib/active_support/callbacks.rb:97:in `run_callbacks'
|
347
|
+
actionpack (5.1.1) lib/abstract_controller/callbacks.rb:19:in `process_action'
|
348
|
+
actionpack (5.1.1) lib/action_controller/metal/rescue.rb:20:in `process_action'
|
349
|
+
actionpack (5.1.1) lib/action_controller/metal/instrumentation.rb:32:in `block in process_action'
|
350
|
+
activesupport (5.1.1) lib/active_support/notifications.rb:166:in `block in instrument'
|
351
|
+
activesupport (5.1.1) lib/active_support/notifications/instrumenter.rb:21:in `instrument'
|
352
|
+
activesupport (5.1.1) lib/active_support/notifications.rb:166:in `instrument'
|
353
|
+
actionpack (5.1.1) lib/action_controller/metal/instrumentation.rb:30:in `process_action'
|
354
|
+
actionpack (5.1.1) lib/action_controller/metal/params_wrapper.rb:252:in `process_action'
|
355
|
+
activerecord (5.1.1) lib/active_record/railties/controller_runtime.rb:22:in `process_action'
|
356
|
+
actionpack (5.1.1) lib/abstract_controller/base.rb:124:in `process'
|
357
|
+
actionview (5.1.1) lib/action_view/rendering.rb:30:in `process'
|
358
|
+
actionpack (5.1.1) lib/action_controller/metal.rb:189:in `dispatch'
|
359
|
+
actionpack (5.1.1) lib/action_controller/metal.rb:253:in `dispatch'
|
360
|
+
actionpack (5.1.1) lib/action_dispatch/routing/route_set.rb:49:in `dispatch'
|
361
|
+
actionpack (5.1.1) lib/action_dispatch/routing/route_set.rb:31:in `serve'
|
362
|
+
actionpack (5.1.1) lib/action_dispatch/journey/router.rb:46:in `block in serve'
|
363
|
+
actionpack (5.1.1) lib/action_dispatch/journey/router.rb:33:in `each'
|
364
|
+
actionpack (5.1.1) lib/action_dispatch/journey/router.rb:33:in `serve'
|
365
|
+
actionpack (5.1.1) lib/action_dispatch/routing/route_set.rb:832:in `call'
|
366
|
+
railties (5.1.1) lib/rails/engine.rb:522:in `call'
|
367
|
+
railties (5.1.1) lib/rails/railtie.rb:185:in `public_send'
|
368
|
+
railties (5.1.1) lib/rails/railtie.rb:185:in `method_missing'
|
369
|
+
actionpack (5.1.1) lib/action_dispatch/routing/mapper.rb:17:in `block in <class:Constraints>'
|
370
|
+
actionpack (5.1.1) lib/action_dispatch/routing/mapper.rb:46:in `serve'
|
371
|
+
actionpack (5.1.1) lib/action_dispatch/journey/router.rb:46:in `block in serve'
|
372
|
+
actionpack (5.1.1) lib/action_dispatch/journey/router.rb:33:in `each'
|
373
|
+
actionpack (5.1.1) lib/action_dispatch/journey/router.rb:33:in `serve'
|
374
|
+
actionpack (5.1.1) lib/action_dispatch/routing/route_set.rb:832:in `call'
|
375
|
+
rack (2.0.3) lib/rack/etag.rb:25:in `call'
|
376
|
+
rack (2.0.3) lib/rack/conditional_get.rb:25:in `call'
|
377
|
+
rack (2.0.3) lib/rack/head.rb:12:in `call'
|
378
|
+
rack (2.0.3) lib/rack/session/abstract/id.rb:232:in `context'
|
379
|
+
rack (2.0.3) lib/rack/session/abstract/id.rb:226:in `call'
|
380
|
+
actionpack (5.1.1) lib/action_dispatch/middleware/cookies.rb:613:in `call'
|
381
|
+
activerecord (5.1.1) lib/active_record/migration.rb:556:in `call'
|
382
|
+
actionpack (5.1.1) lib/action_dispatch/middleware/callbacks.rb:26:in `block in call'
|
383
|
+
activesupport (5.1.1) lib/active_support/callbacks.rb:97:in `run_callbacks'
|
384
|
+
actionpack (5.1.1) lib/action_dispatch/middleware/callbacks.rb:24:in `call'
|
385
|
+
actionpack (5.1.1) lib/action_dispatch/middleware/executor.rb:12:in `call'
|
386
|
+
actionpack (5.1.1) lib/action_dispatch/middleware/debug_exceptions.rb:59:in `call'
|
387
|
+
actionpack (5.1.1) lib/action_dispatch/middleware/show_exceptions.rb:31:in `call'
|
388
|
+
railties (5.1.1) lib/rails/rack/logger.rb:36:in `call_app'
|
389
|
+
railties (5.1.1) lib/rails/rack/logger.rb:24:in `block in call'
|
390
|
+
activesupport (5.1.1) lib/active_support/tagged_logging.rb:69:in `block in tagged'
|
391
|
+
activesupport (5.1.1) lib/active_support/tagged_logging.rb:26:in `tagged'
|
392
|
+
activesupport (5.1.1) lib/active_support/tagged_logging.rb:69:in `tagged'
|
393
|
+
railties (5.1.1) lib/rails/rack/logger.rb:24:in `call'
|
394
|
+
actionpack (5.1.1) lib/action_dispatch/middleware/remote_ip.rb:79:in `call'
|
395
|
+
actionpack (5.1.1) lib/action_dispatch/middleware/request_id.rb:25:in `call'
|
396
|
+
rack (2.0.3) lib/rack/method_override.rb:22:in `call'
|
397
|
+
rack (2.0.3) lib/rack/runtime.rb:22:in `call'
|
398
|
+
activesupport (5.1.1) lib/active_support/cache/strategy/local_cache_middleware.rb:27:in `call'
|
399
|
+
actionpack (5.1.1) lib/action_dispatch/middleware/executor.rb:12:in `call'
|
400
|
+
actionpack (5.1.1) lib/action_dispatch/middleware/static.rb:125:in `call'
|
401
|
+
rack (2.0.3) lib/rack/sendfile.rb:111:in `call'
|
402
|
+
railties (5.1.1) lib/rails/engine.rb:522:in `call'
|
403
|
+
rack (2.0.3) lib/rack/handler/webrick.rb:86:in `service'
|
404
|
+
/Users/stas/.rvm/rubies/ruby-2.4.1/lib/ruby/2.4.0/webrick/httpserver.rb:140:in `service'
|
405
|
+
/Users/stas/.rvm/rubies/ruby-2.4.1/lib/ruby/2.4.0/webrick/httpserver.rb:96:in `run'
|
406
|
+
/Users/stas/.rvm/rubies/ruby-2.4.1/lib/ruby/2.4.0/webrick/server.rb:290:in `block in start_thread'
|
407
|
+
Started GET "/token" for ::1 at 2017-06-01 11:58:51 +0300
|
408
|
+
|
409
|
+
ActionController::RoutingError (No route matches [GET] "/token"):
|
410
|
+
|
411
|
+
actionpack (5.1.1) lib/action_dispatch/middleware/debug_exceptions.rb:63:in `call'
|
412
|
+
actionpack (5.1.1) lib/action_dispatch/middleware/show_exceptions.rb:31:in `call'
|
413
|
+
railties (5.1.1) lib/rails/rack/logger.rb:36:in `call_app'
|
414
|
+
railties (5.1.1) lib/rails/rack/logger.rb:24:in `block in call'
|
415
|
+
activesupport (5.1.1) lib/active_support/tagged_logging.rb:69:in `block in tagged'
|
416
|
+
activesupport (5.1.1) lib/active_support/tagged_logging.rb:26:in `tagged'
|
417
|
+
activesupport (5.1.1) lib/active_support/tagged_logging.rb:69:in `tagged'
|
418
|
+
railties (5.1.1) lib/rails/rack/logger.rb:24:in `call'
|
419
|
+
actionpack (5.1.1) lib/action_dispatch/middleware/remote_ip.rb:79:in `call'
|
420
|
+
actionpack (5.1.1) lib/action_dispatch/middleware/request_id.rb:25:in `call'
|
421
|
+
rack (2.0.3) lib/rack/method_override.rb:22:in `call'
|
422
|
+
rack (2.0.3) lib/rack/runtime.rb:22:in `call'
|
423
|
+
activesupport (5.1.1) lib/active_support/cache/strategy/local_cache_middleware.rb:27:in `call'
|
424
|
+
actionpack (5.1.1) lib/action_dispatch/middleware/executor.rb:12:in `call'
|
425
|
+
actionpack (5.1.1) lib/action_dispatch/middleware/static.rb:125:in `call'
|
426
|
+
rack (2.0.3) lib/rack/sendfile.rb:111:in `call'
|
427
|
+
railties (5.1.1) lib/rails/engine.rb:522:in `call'
|
428
|
+
rack (2.0.3) lib/rack/handler/webrick.rb:86:in `service'
|
429
|
+
/Users/stas/.rvm/rubies/ruby-2.4.1/lib/ruby/2.4.0/webrick/httpserver.rb:140:in `service'
|
430
|
+
/Users/stas/.rvm/rubies/ruby-2.4.1/lib/ruby/2.4.0/webrick/httpserver.rb:96:in `run'
|
431
|
+
/Users/stas/.rvm/rubies/ruby-2.4.1/lib/ruby/2.4.0/webrick/server.rb:290:in `block in start_thread'
|
432
|
+
Started GET "/jwt_auth" for ::1 at 2017-06-01 11:59:09 +0300
|
433
|
+
Started GET "/token" for ::1 at 2017-06-01 12:06:55 +0300
|
434
|
+
|
435
|
+
ActionController::RoutingError (No route matches [GET] "/token"):
|
436
|
+
|
437
|
+
actionpack (5.1.1) lib/action_dispatch/middleware/debug_exceptions.rb:63:in `call'
|
438
|
+
actionpack (5.1.1) lib/action_dispatch/middleware/show_exceptions.rb:31:in `call'
|
439
|
+
railties (5.1.1) lib/rails/rack/logger.rb:36:in `call_app'
|
440
|
+
railties (5.1.1) lib/rails/rack/logger.rb:24:in `block in call'
|
441
|
+
activesupport (5.1.1) lib/active_support/tagged_logging.rb:69:in `block in tagged'
|
442
|
+
activesupport (5.1.1) lib/active_support/tagged_logging.rb:26:in `tagged'
|
443
|
+
activesupport (5.1.1) lib/active_support/tagged_logging.rb:69:in `tagged'
|
444
|
+
railties (5.1.1) lib/rails/rack/logger.rb:24:in `call'
|
445
|
+
actionpack (5.1.1) lib/action_dispatch/middleware/remote_ip.rb:79:in `call'
|
446
|
+
actionpack (5.1.1) lib/action_dispatch/middleware/request_id.rb:25:in `call'
|
447
|
+
rack (2.0.3) lib/rack/method_override.rb:22:in `call'
|
448
|
+
rack (2.0.3) lib/rack/runtime.rb:22:in `call'
|
449
|
+
activesupport (5.1.1) lib/active_support/cache/strategy/local_cache_middleware.rb:27:in `call'
|
450
|
+
actionpack (5.1.1) lib/action_dispatch/middleware/executor.rb:12:in `call'
|
451
|
+
actionpack (5.1.1) lib/action_dispatch/middleware/static.rb:125:in `call'
|
452
|
+
rack (2.0.3) lib/rack/sendfile.rb:111:in `call'
|
453
|
+
railties (5.1.1) lib/rails/engine.rb:522:in `call'
|
454
|
+
rack (2.0.3) lib/rack/handler/webrick.rb:86:in `service'
|
455
|
+
/Users/stas/.rvm/rubies/ruby-2.4.1/lib/ruby/2.4.0/webrick/httpserver.rb:140:in `service'
|
456
|
+
/Users/stas/.rvm/rubies/ruby-2.4.1/lib/ruby/2.4.0/webrick/httpserver.rb:96:in `run'
|
457
|
+
/Users/stas/.rvm/rubies/ruby-2.4.1/lib/ruby/2.4.0/webrick/server.rb:290:in `block in start_thread'
|
458
|
+
Started GET "/token" for ::1 at 2017-06-01 12:09:03 +0300
|
459
|
+
Started GET "/token" for ::1 at 2017-06-01 12:12:22 +0300
|
460
|
+
|
461
|
+
ActionController::RoutingError - uninitialized constant GetTokenController:
|
462
|
+
actionpack (5.1.1) lib/action_dispatch/routing/route_set.rb:45:in `rescue in controller'
|
463
|
+
actionpack (5.1.1) lib/action_dispatch/routing/route_set.rb:43:in `controller'
|
464
|
+
actionpack (5.1.1) lib/action_dispatch/routing/route_set.rb:29:in `serve'
|
465
|
+
actionpack (5.1.1) lib/action_dispatch/journey/router.rb:46:in `block in serve'
|
466
|
+
actionpack (5.1.1) lib/action_dispatch/journey/router.rb:33:in `serve'
|
467
|
+
actionpack (5.1.1) lib/action_dispatch/routing/route_set.rb:832:in `call'
|
468
|
+
rack (2.0.3) lib/rack/etag.rb:25:in `call'
|
469
|
+
rack (2.0.3) lib/rack/conditional_get.rb:25:in `call'
|
470
|
+
rack (2.0.3) lib/rack/head.rb:12:in `call'
|
471
|
+
rack (2.0.3) lib/rack/session/abstract/id.rb:232:in `context'
|
472
|
+
rack (2.0.3) lib/rack/session/abstract/id.rb:226:in `call'
|
473
|
+
actionpack (5.1.1) lib/action_dispatch/middleware/cookies.rb:613:in `call'
|
474
|
+
activerecord (5.1.1) lib/active_record/migration.rb:556:in `call'
|
475
|
+
actionpack (5.1.1) lib/action_dispatch/middleware/callbacks.rb:26:in `block in call'
|
476
|
+
activesupport (5.1.1) lib/active_support/callbacks.rb:97:in `run_callbacks'
|
477
|
+
actionpack (5.1.1) lib/action_dispatch/middleware/callbacks.rb:24:in `call'
|
478
|
+
actionpack (5.1.1) lib/action_dispatch/middleware/executor.rb:12:in `call'
|
479
|
+
better_errors (2.1.1) lib/better_errors/middleware.rb:84:in `protected_app_call'
|
480
|
+
better_errors (2.1.1) lib/better_errors/middleware.rb:79:in `better_errors_call'
|
481
|
+
better_errors (2.1.1) lib/better_errors/middleware.rb:57:in `call'
|
482
|
+
actionpack (5.1.1) lib/action_dispatch/middleware/debug_exceptions.rb:59:in `call'
|
483
|
+
actionpack (5.1.1) lib/action_dispatch/middleware/show_exceptions.rb:31:in `call'
|
484
|
+
railties (5.1.1) lib/rails/rack/logger.rb:36:in `call_app'
|
485
|
+
railties (5.1.1) lib/rails/rack/logger.rb:24:in `block in call'
|
486
|
+
activesupport (5.1.1) lib/active_support/tagged_logging.rb:69:in `block in tagged'
|
487
|
+
activesupport (5.1.1) lib/active_support/tagged_logging.rb:26:in `tagged'
|
488
|
+
activesupport (5.1.1) lib/active_support/tagged_logging.rb:69:in `tagged'
|
489
|
+
railties (5.1.1) lib/rails/rack/logger.rb:24:in `call'
|
490
|
+
actionpack (5.1.1) lib/action_dispatch/middleware/remote_ip.rb:79:in `call'
|
491
|
+
actionpack (5.1.1) lib/action_dispatch/middleware/request_id.rb:25:in `call'
|
492
|
+
rack (2.0.3) lib/rack/method_override.rb:22:in `call'
|
493
|
+
rack (2.0.3) lib/rack/runtime.rb:22:in `call'
|
494
|
+
activesupport (5.1.1) lib/active_support/cache/strategy/local_cache_middleware.rb:27:in `call'
|
495
|
+
actionpack (5.1.1) lib/action_dispatch/middleware/executor.rb:12:in `call'
|
496
|
+
actionpack (5.1.1) lib/action_dispatch/middleware/static.rb:125:in `call'
|
497
|
+
rack (2.0.3) lib/rack/sendfile.rb:111:in `call'
|
498
|
+
railties (5.1.1) lib/rails/engine.rb:522:in `call'
|
499
|
+
rack (2.0.3) lib/rack/handler/webrick.rb:86:in `service'
|
500
|
+
/Users/stas/.rvm/rubies/ruby-2.4.1/lib/ruby/2.4.0/webrick/httpserver.rb:140:in `service'
|
501
|
+
/Users/stas/.rvm/rubies/ruby-2.4.1/lib/ruby/2.4.0/webrick/httpserver.rb:96:in `run'
|
502
|
+
/Users/stas/.rvm/rubies/ruby-2.4.1/lib/ruby/2.4.0/webrick/server.rb:290:in `block in start_thread'
|
503
|
+
|
504
|
+
Started POST "/__better_errors/272f1594b465faf9/variables" for ::1 at 2017-06-01 12:12:27 +0300
|
505
|
+
Started GET "/token" for ::1 at 2017-06-01 12:12:43 +0300
|
506
|
+
Processing by JwtAuth::GetTokenController#token as HTML
|
507
|
+
Completed 500 Internal Server Error in 772ms
|
508
|
+
|
509
|
+
|
510
|
+
|
511
|
+
NameError - uninitialized constant JwtAuth::User::JWT:
|
512
|
+
activesupport (5.1.1) lib/active_support/dependencies.rb:549:in `load_missing_constant'
|
513
|
+
activesupport (5.1.1) lib/active_support/dependencies.rb:202:in `const_missing'
|
514
|
+
/Users/stas/jwt_auth/app/models/jwt_auth/user.rb:19:in `generate_token'
|
515
|
+
/Users/stas/jwt_auth/app/controllers/jwt_auth/get_token_controller.rb:5:in `token'
|
516
|
+
actionpack (5.1.1) lib/action_controller/metal/basic_implicit_render.rb:4:in `send_action'
|
517
|
+
actionpack (5.1.1) lib/abstract_controller/base.rb:186:in `process_action'
|
518
|
+
actionpack (5.1.1) lib/action_controller/metal/rendering.rb:30:in `process_action'
|
519
|
+
actionpack (5.1.1) lib/abstract_controller/callbacks.rb:20:in `block in process_action'
|
520
|
+
activesupport (5.1.1) lib/active_support/callbacks.rb:97:in `run_callbacks'
|
521
|
+
actionpack (5.1.1) lib/abstract_controller/callbacks.rb:19:in `process_action'
|
522
|
+
actionpack (5.1.1) lib/action_controller/metal/rescue.rb:20:in `process_action'
|
523
|
+
actionpack (5.1.1) lib/action_controller/metal/instrumentation.rb:32:in `block in process_action'
|
524
|
+
activesupport (5.1.1) lib/active_support/notifications.rb:166:in `block in instrument'
|
525
|
+
activesupport (5.1.1) lib/active_support/notifications/instrumenter.rb:21:in `instrument'
|
526
|
+
activesupport (5.1.1) lib/active_support/notifications.rb:166:in `instrument'
|
527
|
+
actionpack (5.1.1) lib/action_controller/metal/instrumentation.rb:30:in `process_action'
|
528
|
+
actionpack (5.1.1) lib/action_controller/metal/params_wrapper.rb:252:in `process_action'
|
529
|
+
activerecord (5.1.1) lib/active_record/railties/controller_runtime.rb:22:in `process_action'
|
530
|
+
actionpack (5.1.1) lib/abstract_controller/base.rb:124:in `process'
|
531
|
+
actionview (5.1.1) lib/action_view/rendering.rb:30:in `process'
|
532
|
+
actionpack (5.1.1) lib/action_controller/metal.rb:189:in `dispatch'
|
533
|
+
actionpack (5.1.1) lib/action_controller/metal.rb:253:in `dispatch'
|
534
|
+
actionpack (5.1.1) lib/action_dispatch/routing/route_set.rb:49:in `dispatch'
|
535
|
+
actionpack (5.1.1) lib/action_dispatch/routing/route_set.rb:31:in `serve'
|
536
|
+
actionpack (5.1.1) lib/action_dispatch/journey/router.rb:46:in `block in serve'
|
537
|
+
actionpack (5.1.1) lib/action_dispatch/journey/router.rb:33:in `serve'
|
538
|
+
actionpack (5.1.1) lib/action_dispatch/routing/route_set.rb:832:in `call'
|
539
|
+
rack (2.0.3) lib/rack/etag.rb:25:in `call'
|
540
|
+
rack (2.0.3) lib/rack/conditional_get.rb:25:in `call'
|
541
|
+
rack (2.0.3) lib/rack/head.rb:12:in `call'
|
542
|
+
rack (2.0.3) lib/rack/session/abstract/id.rb:232:in `context'
|
543
|
+
rack (2.0.3) lib/rack/session/abstract/id.rb:226:in `call'
|
544
|
+
actionpack (5.1.1) lib/action_dispatch/middleware/cookies.rb:613:in `call'
|
545
|
+
activerecord (5.1.1) lib/active_record/migration.rb:556:in `call'
|
546
|
+
actionpack (5.1.1) lib/action_dispatch/middleware/callbacks.rb:26:in `block in call'
|
547
|
+
activesupport (5.1.1) lib/active_support/callbacks.rb:97:in `run_callbacks'
|
548
|
+
actionpack (5.1.1) lib/action_dispatch/middleware/callbacks.rb:24:in `call'
|
549
|
+
actionpack (5.1.1) lib/action_dispatch/middleware/executor.rb:12:in `call'
|
550
|
+
better_errors (2.1.1) lib/better_errors/middleware.rb:84:in `protected_app_call'
|
551
|
+
better_errors (2.1.1) lib/better_errors/middleware.rb:79:in `better_errors_call'
|
552
|
+
better_errors (2.1.1) lib/better_errors/middleware.rb:57:in `call'
|
553
|
+
actionpack (5.1.1) lib/action_dispatch/middleware/debug_exceptions.rb:59:in `call'
|
554
|
+
actionpack (5.1.1) lib/action_dispatch/middleware/show_exceptions.rb:31:in `call'
|
555
|
+
railties (5.1.1) lib/rails/rack/logger.rb:36:in `call_app'
|
556
|
+
railties (5.1.1) lib/rails/rack/logger.rb:24:in `block in call'
|
557
|
+
activesupport (5.1.1) lib/active_support/tagged_logging.rb:69:in `block in tagged'
|
558
|
+
activesupport (5.1.1) lib/active_support/tagged_logging.rb:26:in `tagged'
|
559
|
+
activesupport (5.1.1) lib/active_support/tagged_logging.rb:69:in `tagged'
|
560
|
+
railties (5.1.1) lib/rails/rack/logger.rb:24:in `call'
|
561
|
+
actionpack (5.1.1) lib/action_dispatch/middleware/remote_ip.rb:79:in `call'
|
562
|
+
actionpack (5.1.1) lib/action_dispatch/middleware/request_id.rb:25:in `call'
|
563
|
+
rack (2.0.3) lib/rack/method_override.rb:22:in `call'
|
564
|
+
rack (2.0.3) lib/rack/runtime.rb:22:in `call'
|
565
|
+
activesupport (5.1.1) lib/active_support/cache/strategy/local_cache_middleware.rb:27:in `call'
|
566
|
+
actionpack (5.1.1) lib/action_dispatch/middleware/executor.rb:12:in `call'
|
567
|
+
actionpack (5.1.1) lib/action_dispatch/middleware/static.rb:125:in `call'
|
568
|
+
rack (2.0.3) lib/rack/sendfile.rb:111:in `call'
|
569
|
+
railties (5.1.1) lib/rails/engine.rb:522:in `call'
|
570
|
+
rack (2.0.3) lib/rack/handler/webrick.rb:86:in `service'
|
571
|
+
/Users/stas/.rvm/rubies/ruby-2.4.1/lib/ruby/2.4.0/webrick/httpserver.rb:140:in `service'
|
572
|
+
/Users/stas/.rvm/rubies/ruby-2.4.1/lib/ruby/2.4.0/webrick/httpserver.rb:96:in `run'
|
573
|
+
/Users/stas/.rvm/rubies/ruby-2.4.1/lib/ruby/2.4.0/webrick/server.rb:290:in `block in start_thread'
|
574
|
+
|
575
|
+
Started POST "/__better_errors/c15d72f2868640d5/variables" for ::1 at 2017-06-01 12:12:44 +0300
|
576
|
+
Started POST "/__better_errors/c15d72f2868640d5/eval" for ::1 at 2017-06-01 12:12:55 +0300
|
577
|
+
Started POST "/__better_errors/c15d72f2868640d5/eval" for ::1 at 2017-06-01 12:13:00 +0300
|
578
|
+
Started GET "/token" for ::1 at 2017-06-01 12:13:30 +0300
|
579
|
+
Processing by JwtAuth::GetTokenController#token as HTML
|
580
|
+
Completed 500 Internal Server Error in 9ms
|
581
|
+
|
582
|
+
|
583
|
+
|
584
|
+
NoMethodError - undefined method `pry' for #<Binding:0x007ff90deadc48>
|
585
|
+
Did you mean? try:
|
586
|
+
/Users/stas/jwt_auth/app/models/jwt_auth/user.rb:19:in `generate_token'
|
587
|
+
/Users/stas/jwt_auth/app/controllers/jwt_auth/get_token_controller.rb:5:in `token'
|
588
|
+
actionpack (5.1.1) lib/action_controller/metal/basic_implicit_render.rb:4:in `send_action'
|
589
|
+
actionpack (5.1.1) lib/abstract_controller/base.rb:186:in `process_action'
|
590
|
+
actionpack (5.1.1) lib/action_controller/metal/rendering.rb:30:in `process_action'
|
591
|
+
actionpack (5.1.1) lib/abstract_controller/callbacks.rb:20:in `block in process_action'
|
592
|
+
activesupport (5.1.1) lib/active_support/callbacks.rb:97:in `run_callbacks'
|
593
|
+
actionpack (5.1.1) lib/abstract_controller/callbacks.rb:19:in `process_action'
|
594
|
+
actionpack (5.1.1) lib/action_controller/metal/rescue.rb:20:in `process_action'
|
595
|
+
actionpack (5.1.1) lib/action_controller/metal/instrumentation.rb:32:in `block in process_action'
|
596
|
+
activesupport (5.1.1) lib/active_support/notifications.rb:166:in `block in instrument'
|
597
|
+
activesupport (5.1.1) lib/active_support/notifications/instrumenter.rb:21:in `instrument'
|
598
|
+
activesupport (5.1.1) lib/active_support/notifications.rb:166:in `instrument'
|
599
|
+
actionpack (5.1.1) lib/action_controller/metal/instrumentation.rb:30:in `process_action'
|
600
|
+
actionpack (5.1.1) lib/action_controller/metal/params_wrapper.rb:252:in `process_action'
|
601
|
+
activerecord (5.1.1) lib/active_record/railties/controller_runtime.rb:22:in `process_action'
|
602
|
+
actionpack (5.1.1) lib/abstract_controller/base.rb:124:in `process'
|
603
|
+
actionview (5.1.1) lib/action_view/rendering.rb:30:in `process'
|
604
|
+
actionpack (5.1.1) lib/action_controller/metal.rb:189:in `dispatch'
|
605
|
+
actionpack (5.1.1) lib/action_controller/metal.rb:253:in `dispatch'
|
606
|
+
actionpack (5.1.1) lib/action_dispatch/routing/route_set.rb:49:in `dispatch'
|
607
|
+
actionpack (5.1.1) lib/action_dispatch/routing/route_set.rb:31:in `serve'
|
608
|
+
actionpack (5.1.1) lib/action_dispatch/journey/router.rb:46:in `block in serve'
|
609
|
+
actionpack (5.1.1) lib/action_dispatch/journey/router.rb:33:in `serve'
|
610
|
+
actionpack (5.1.1) lib/action_dispatch/routing/route_set.rb:832:in `call'
|
611
|
+
rack (2.0.3) lib/rack/etag.rb:25:in `call'
|
612
|
+
rack (2.0.3) lib/rack/conditional_get.rb:25:in `call'
|
613
|
+
rack (2.0.3) lib/rack/head.rb:12:in `call'
|
614
|
+
rack (2.0.3) lib/rack/session/abstract/id.rb:232:in `context'
|
615
|
+
rack (2.0.3) lib/rack/session/abstract/id.rb:226:in `call'
|
616
|
+
actionpack (5.1.1) lib/action_dispatch/middleware/cookies.rb:613:in `call'
|
617
|
+
activerecord (5.1.1) lib/active_record/migration.rb:556:in `call'
|
618
|
+
actionpack (5.1.1) lib/action_dispatch/middleware/callbacks.rb:26:in `block in call'
|
619
|
+
activesupport (5.1.1) lib/active_support/callbacks.rb:97:in `run_callbacks'
|
620
|
+
actionpack (5.1.1) lib/action_dispatch/middleware/callbacks.rb:24:in `call'
|
621
|
+
actionpack (5.1.1) lib/action_dispatch/middleware/executor.rb:12:in `call'
|
622
|
+
better_errors (2.1.1) lib/better_errors/middleware.rb:84:in `protected_app_call'
|
623
|
+
better_errors (2.1.1) lib/better_errors/middleware.rb:79:in `better_errors_call'
|
624
|
+
better_errors (2.1.1) lib/better_errors/middleware.rb:57:in `call'
|
625
|
+
actionpack (5.1.1) lib/action_dispatch/middleware/debug_exceptions.rb:59:in `call'
|
626
|
+
actionpack (5.1.1) lib/action_dispatch/middleware/show_exceptions.rb:31:in `call'
|
627
|
+
railties (5.1.1) lib/rails/rack/logger.rb:36:in `call_app'
|
628
|
+
railties (5.1.1) lib/rails/rack/logger.rb:24:in `block in call'
|
629
|
+
activesupport (5.1.1) lib/active_support/tagged_logging.rb:69:in `block in tagged'
|
630
|
+
activesupport (5.1.1) lib/active_support/tagged_logging.rb:26:in `tagged'
|
631
|
+
activesupport (5.1.1) lib/active_support/tagged_logging.rb:69:in `tagged'
|
632
|
+
railties (5.1.1) lib/rails/rack/logger.rb:24:in `call'
|
633
|
+
actionpack (5.1.1) lib/action_dispatch/middleware/remote_ip.rb:79:in `call'
|
634
|
+
actionpack (5.1.1) lib/action_dispatch/middleware/request_id.rb:25:in `call'
|
635
|
+
rack (2.0.3) lib/rack/method_override.rb:22:in `call'
|
636
|
+
rack (2.0.3) lib/rack/runtime.rb:22:in `call'
|
637
|
+
activesupport (5.1.1) lib/active_support/cache/strategy/local_cache_middleware.rb:27:in `call'
|
638
|
+
actionpack (5.1.1) lib/action_dispatch/middleware/executor.rb:12:in `call'
|
639
|
+
actionpack (5.1.1) lib/action_dispatch/middleware/static.rb:125:in `call'
|
640
|
+
rack (2.0.3) lib/rack/sendfile.rb:111:in `call'
|
641
|
+
railties (5.1.1) lib/rails/engine.rb:522:in `call'
|
642
|
+
rack (2.0.3) lib/rack/handler/webrick.rb:86:in `service'
|
643
|
+
/Users/stas/.rvm/rubies/ruby-2.4.1/lib/ruby/2.4.0/webrick/httpserver.rb:140:in `service'
|
644
|
+
/Users/stas/.rvm/rubies/ruby-2.4.1/lib/ruby/2.4.0/webrick/httpserver.rb:96:in `run'
|
645
|
+
/Users/stas/.rvm/rubies/ruby-2.4.1/lib/ruby/2.4.0/webrick/server.rb:290:in `block in start_thread'
|
646
|
+
|
647
|
+
Started POST "/__better_errors/4f2f9a15e3ef5d28/variables" for ::1 at 2017-06-01 12:13:31 +0300
|
648
|
+
Started POST "/__better_errors/4f2f9a15e3ef5d28/eval" for ::1 at 2017-06-01 12:13:40 +0300
|
649
|
+
Started POST "/__better_errors/4f2f9a15e3ef5d28/eval" for ::1 at 2017-06-01 12:13:44 +0300
|
650
|
+
Started GET "/token" for ::1 at 2017-06-01 12:14:48 +0300
|
651
|
+
Processing by JwtAuth::GetTokenController#token as HTML
|
652
|
+
Completed 500 Internal Server Error in 1027ms
|
653
|
+
|
654
|
+
|
655
|
+
|
656
|
+
NoMethodError - undefined method `pry' for #<Binding:0x007fe04a5af3e8>
|
657
|
+
Did you mean? try:
|
658
|
+
/Users/stas/jwt_auth/app/models/jwt_auth/user.rb:19:in `generate_token'
|
659
|
+
/Users/stas/jwt_auth/app/controllers/jwt_auth/get_token_controller.rb:5:in `token'
|
660
|
+
actionpack (5.1.1) lib/action_controller/metal/basic_implicit_render.rb:4:in `send_action'
|
661
|
+
actionpack (5.1.1) lib/abstract_controller/base.rb:186:in `process_action'
|
662
|
+
actionpack (5.1.1) lib/action_controller/metal/rendering.rb:30:in `process_action'
|
663
|
+
actionpack (5.1.1) lib/abstract_controller/callbacks.rb:20:in `block in process_action'
|
664
|
+
activesupport (5.1.1) lib/active_support/callbacks.rb:97:in `run_callbacks'
|
665
|
+
actionpack (5.1.1) lib/abstract_controller/callbacks.rb:19:in `process_action'
|
666
|
+
actionpack (5.1.1) lib/action_controller/metal/rescue.rb:20:in `process_action'
|
667
|
+
actionpack (5.1.1) lib/action_controller/metal/instrumentation.rb:32:in `block in process_action'
|
668
|
+
activesupport (5.1.1) lib/active_support/notifications.rb:166:in `block in instrument'
|
669
|
+
activesupport (5.1.1) lib/active_support/notifications/instrumenter.rb:21:in `instrument'
|
670
|
+
activesupport (5.1.1) lib/active_support/notifications.rb:166:in `instrument'
|
671
|
+
actionpack (5.1.1) lib/action_controller/metal/instrumentation.rb:30:in `process_action'
|
672
|
+
actionpack (5.1.1) lib/action_controller/metal/params_wrapper.rb:252:in `process_action'
|
673
|
+
activerecord (5.1.1) lib/active_record/railties/controller_runtime.rb:22:in `process_action'
|
674
|
+
actionpack (5.1.1) lib/abstract_controller/base.rb:124:in `process'
|
675
|
+
actionview (5.1.1) lib/action_view/rendering.rb:30:in `process'
|
676
|
+
actionpack (5.1.1) lib/action_controller/metal.rb:189:in `dispatch'
|
677
|
+
actionpack (5.1.1) lib/action_controller/metal.rb:253:in `dispatch'
|
678
|
+
actionpack (5.1.1) lib/action_dispatch/routing/route_set.rb:49:in `dispatch'
|
679
|
+
actionpack (5.1.1) lib/action_dispatch/routing/route_set.rb:31:in `serve'
|
680
|
+
actionpack (5.1.1) lib/action_dispatch/journey/router.rb:46:in `block in serve'
|
681
|
+
actionpack (5.1.1) lib/action_dispatch/journey/router.rb:33:in `serve'
|
682
|
+
actionpack (5.1.1) lib/action_dispatch/routing/route_set.rb:832:in `call'
|
683
|
+
rack (2.0.3) lib/rack/etag.rb:25:in `call'
|
684
|
+
rack (2.0.3) lib/rack/conditional_get.rb:25:in `call'
|
685
|
+
rack (2.0.3) lib/rack/head.rb:12:in `call'
|
686
|
+
rack (2.0.3) lib/rack/session/abstract/id.rb:232:in `context'
|
687
|
+
rack (2.0.3) lib/rack/session/abstract/id.rb:226:in `call'
|
688
|
+
actionpack (5.1.1) lib/action_dispatch/middleware/cookies.rb:613:in `call'
|
689
|
+
activerecord (5.1.1) lib/active_record/migration.rb:556:in `call'
|
690
|
+
actionpack (5.1.1) lib/action_dispatch/middleware/callbacks.rb:26:in `block in call'
|
691
|
+
activesupport (5.1.1) lib/active_support/callbacks.rb:97:in `run_callbacks'
|
692
|
+
actionpack (5.1.1) lib/action_dispatch/middleware/callbacks.rb:24:in `call'
|
693
|
+
actionpack (5.1.1) lib/action_dispatch/middleware/executor.rb:12:in `call'
|
694
|
+
better_errors (2.1.1) lib/better_errors/middleware.rb:84:in `protected_app_call'
|
695
|
+
better_errors (2.1.1) lib/better_errors/middleware.rb:79:in `better_errors_call'
|
696
|
+
better_errors (2.1.1) lib/better_errors/middleware.rb:57:in `call'
|
697
|
+
actionpack (5.1.1) lib/action_dispatch/middleware/debug_exceptions.rb:59:in `call'
|
698
|
+
actionpack (5.1.1) lib/action_dispatch/middleware/show_exceptions.rb:31:in `call'
|
699
|
+
railties (5.1.1) lib/rails/rack/logger.rb:36:in `call_app'
|
700
|
+
railties (5.1.1) lib/rails/rack/logger.rb:24:in `block in call'
|
701
|
+
activesupport (5.1.1) lib/active_support/tagged_logging.rb:69:in `block in tagged'
|
702
|
+
activesupport (5.1.1) lib/active_support/tagged_logging.rb:26:in `tagged'
|
703
|
+
activesupport (5.1.1) lib/active_support/tagged_logging.rb:69:in `tagged'
|
704
|
+
railties (5.1.1) lib/rails/rack/logger.rb:24:in `call'
|
705
|
+
actionpack (5.1.1) lib/action_dispatch/middleware/remote_ip.rb:79:in `call'
|
706
|
+
actionpack (5.1.1) lib/action_dispatch/middleware/request_id.rb:25:in `call'
|
707
|
+
rack (2.0.3) lib/rack/method_override.rb:22:in `call'
|
708
|
+
rack (2.0.3) lib/rack/runtime.rb:22:in `call'
|
709
|
+
activesupport (5.1.1) lib/active_support/cache/strategy/local_cache_middleware.rb:27:in `call'
|
710
|
+
actionpack (5.1.1) lib/action_dispatch/middleware/executor.rb:12:in `call'
|
711
|
+
actionpack (5.1.1) lib/action_dispatch/middleware/static.rb:125:in `call'
|
712
|
+
rack (2.0.3) lib/rack/sendfile.rb:111:in `call'
|
713
|
+
railties (5.1.1) lib/rails/engine.rb:522:in `call'
|
714
|
+
rack (2.0.3) lib/rack/handler/webrick.rb:86:in `service'
|
715
|
+
/Users/stas/.rvm/rubies/ruby-2.4.1/lib/ruby/2.4.0/webrick/httpserver.rb:140:in `service'
|
716
|
+
/Users/stas/.rvm/rubies/ruby-2.4.1/lib/ruby/2.4.0/webrick/httpserver.rb:96:in `run'
|
717
|
+
/Users/stas/.rvm/rubies/ruby-2.4.1/lib/ruby/2.4.0/webrick/server.rb:290:in `block in start_thread'
|
718
|
+
|
719
|
+
Started POST "/__better_errors/da7a64e44a6ba8bd/variables" for ::1 at 2017-06-01 12:14:54 +0300
|
720
|
+
Started GET "/token" for ::1 at 2017-06-01 12:15:18 +0300
|
721
|
+
Processing by JwtAuth::GetTokenController#token as HTML
|
722
|
+
Completed 200 OK in 3ms (Views: 0.2ms)
|
723
|
+
|
724
|
+
|
725
|
+
Started GET "/token" for ::1 at 2017-06-01 12:16:14 +0300
|
726
|
+
Processing by JwtAuth::GetTokenController#token as HTML
|
727
|
+
Completed 200 OK in 5ms (Views: 0.2ms)
|
728
|
+
|
729
|
+
|
730
|
+
Started GET "/token" for ::1 at 2017-06-01 12:16:15 +0300
|
731
|
+
Processing by JwtAuth::GetTokenController#token as HTML
|
732
|
+
Completed 200 OK in 1ms (Views: 0.2ms)
|
733
|
+
|
734
|
+
|
735
|
+
Started GET "/token" for ::1 at 2017-06-01 12:16:50 +0300
|
736
|
+
Processing by JwtAuth::GetTokenController#token as HTML
|
737
|
+
Completed 500 Internal Server Error in 861ms
|
738
|
+
|
739
|
+
|
740
|
+
|
741
|
+
NameError - undefined local variable or method `params' for #<Class:0x007f8be4c9dcc8>:
|
742
|
+
activerecord (5.1.1) lib/active_record/dynamic_matchers.rb:22:in `method_missing'
|
743
|
+
/Users/stas/jwt_auth/app/models/jwt_auth/user.rb:5:in `<class:User>'
|
744
|
+
/Users/stas/jwt_auth/app/models/jwt_auth/user.rb:2:in `<module:JwtAuth>'
|
745
|
+
/Users/stas/jwt_auth/app/models/jwt_auth/user.rb:1:in `<top (required)>'
|
746
|
+
activesupport (5.1.1) lib/active_support/dependencies.rb:476:in `block in load_file'
|
747
|
+
activesupport (5.1.1) lib/active_support/dependencies.rb:661:in `new_constants_in'
|
748
|
+
activesupport (5.1.1) lib/active_support/dependencies.rb:475:in `load_file'
|
749
|
+
activesupport (5.1.1) lib/active_support/dependencies.rb:374:in `block in require_or_load'
|
750
|
+
activesupport (5.1.1) lib/active_support/dependencies.rb:36:in `block in load_interlock'
|
751
|
+
activesupport (5.1.1) lib/active_support/dependencies/interlock.rb:12:in `block in loading'
|
752
|
+
activesupport (5.1.1) lib/active_support/concurrency/share_lock.rb:149:in `exclusive'
|
753
|
+
activesupport (5.1.1) lib/active_support/dependencies/interlock.rb:11:in `loading'
|
754
|
+
activesupport (5.1.1) lib/active_support/dependencies.rb:36:in `load_interlock'
|
755
|
+
activesupport (5.1.1) lib/active_support/dependencies.rb:357:in `require_or_load'
|
756
|
+
activesupport (5.1.1) lib/active_support/dependencies.rb:510:in `load_missing_constant'
|
757
|
+
activesupport (5.1.1) lib/active_support/dependencies.rb:202:in `const_missing'
|
758
|
+
activesupport (5.1.1) lib/active_support/dependencies.rb:542:in `load_missing_constant'
|
759
|
+
activesupport (5.1.1) lib/active_support/dependencies.rb:202:in `const_missing'
|
760
|
+
/Users/stas/jwt_auth/app/controllers/jwt_auth/get_token_controller.rb:5:in `token'
|
761
|
+
actionpack (5.1.1) lib/action_controller/metal/basic_implicit_render.rb:4:in `send_action'
|
762
|
+
actionpack (5.1.1) lib/abstract_controller/base.rb:186:in `process_action'
|
763
|
+
actionpack (5.1.1) lib/action_controller/metal/rendering.rb:30:in `process_action'
|
764
|
+
actionpack (5.1.1) lib/abstract_controller/callbacks.rb:20:in `block in process_action'
|
765
|
+
activesupport (5.1.1) lib/active_support/callbacks.rb:97:in `run_callbacks'
|
766
|
+
actionpack (5.1.1) lib/abstract_controller/callbacks.rb:19:in `process_action'
|
767
|
+
actionpack (5.1.1) lib/action_controller/metal/rescue.rb:20:in `process_action'
|
768
|
+
actionpack (5.1.1) lib/action_controller/metal/instrumentation.rb:32:in `block in process_action'
|
769
|
+
activesupport (5.1.1) lib/active_support/notifications.rb:166:in `block in instrument'
|
770
|
+
activesupport (5.1.1) lib/active_support/notifications/instrumenter.rb:21:in `instrument'
|
771
|
+
activesupport (5.1.1) lib/active_support/notifications.rb:166:in `instrument'
|
772
|
+
actionpack (5.1.1) lib/action_controller/metal/instrumentation.rb:30:in `process_action'
|
773
|
+
actionpack (5.1.1) lib/action_controller/metal/params_wrapper.rb:252:in `process_action'
|
774
|
+
activerecord (5.1.1) lib/active_record/railties/controller_runtime.rb:22:in `process_action'
|
775
|
+
actionpack (5.1.1) lib/abstract_controller/base.rb:124:in `process'
|
776
|
+
actionview (5.1.1) lib/action_view/rendering.rb:30:in `process'
|
777
|
+
actionpack (5.1.1) lib/action_controller/metal.rb:189:in `dispatch'
|
778
|
+
actionpack (5.1.1) lib/action_controller/metal.rb:253:in `dispatch'
|
779
|
+
actionpack (5.1.1) lib/action_dispatch/routing/route_set.rb:49:in `dispatch'
|
780
|
+
actionpack (5.1.1) lib/action_dispatch/routing/route_set.rb:31:in `serve'
|
781
|
+
actionpack (5.1.1) lib/action_dispatch/journey/router.rb:46:in `block in serve'
|
782
|
+
actionpack (5.1.1) lib/action_dispatch/journey/router.rb:33:in `serve'
|
783
|
+
actionpack (5.1.1) lib/action_dispatch/routing/route_set.rb:832:in `call'
|
784
|
+
rack (2.0.3) lib/rack/etag.rb:25:in `call'
|
785
|
+
rack (2.0.3) lib/rack/conditional_get.rb:25:in `call'
|
786
|
+
rack (2.0.3) lib/rack/head.rb:12:in `call'
|
787
|
+
rack (2.0.3) lib/rack/session/abstract/id.rb:232:in `context'
|
788
|
+
rack (2.0.3) lib/rack/session/abstract/id.rb:226:in `call'
|
789
|
+
actionpack (5.1.1) lib/action_dispatch/middleware/cookies.rb:613:in `call'
|
790
|
+
activerecord (5.1.1) lib/active_record/migration.rb:556:in `call'
|
791
|
+
actionpack (5.1.1) lib/action_dispatch/middleware/callbacks.rb:26:in `block in call'
|
792
|
+
activesupport (5.1.1) lib/active_support/callbacks.rb:97:in `run_callbacks'
|
793
|
+
actionpack (5.1.1) lib/action_dispatch/middleware/callbacks.rb:24:in `call'
|
794
|
+
actionpack (5.1.1) lib/action_dispatch/middleware/executor.rb:12:in `call'
|
795
|
+
better_errors (2.1.1) lib/better_errors/middleware.rb:84:in `protected_app_call'
|
796
|
+
better_errors (2.1.1) lib/better_errors/middleware.rb:79:in `better_errors_call'
|
797
|
+
better_errors (2.1.1) lib/better_errors/middleware.rb:57:in `call'
|
798
|
+
actionpack (5.1.1) lib/action_dispatch/middleware/debug_exceptions.rb:59:in `call'
|
799
|
+
actionpack (5.1.1) lib/action_dispatch/middleware/show_exceptions.rb:31:in `call'
|
800
|
+
railties (5.1.1) lib/rails/rack/logger.rb:36:in `call_app'
|
801
|
+
railties (5.1.1) lib/rails/rack/logger.rb:24:in `block in call'
|
802
|
+
activesupport (5.1.1) lib/active_support/tagged_logging.rb:69:in `block in tagged'
|
803
|
+
activesupport (5.1.1) lib/active_support/tagged_logging.rb:26:in `tagged'
|
804
|
+
activesupport (5.1.1) lib/active_support/tagged_logging.rb:69:in `tagged'
|
805
|
+
railties (5.1.1) lib/rails/rack/logger.rb:24:in `call'
|
806
|
+
actionpack (5.1.1) lib/action_dispatch/middleware/remote_ip.rb:79:in `call'
|
807
|
+
actionpack (5.1.1) lib/action_dispatch/middleware/request_id.rb:25:in `call'
|
808
|
+
rack (2.0.3) lib/rack/method_override.rb:22:in `call'
|
809
|
+
rack (2.0.3) lib/rack/runtime.rb:22:in `call'
|
810
|
+
activesupport (5.1.1) lib/active_support/cache/strategy/local_cache_middleware.rb:27:in `call'
|
811
|
+
actionpack (5.1.1) lib/action_dispatch/middleware/executor.rb:12:in `call'
|
812
|
+
actionpack (5.1.1) lib/action_dispatch/middleware/static.rb:125:in `call'
|
813
|
+
rack (2.0.3) lib/rack/sendfile.rb:111:in `call'
|
814
|
+
railties (5.1.1) lib/rails/engine.rb:522:in `call'
|
815
|
+
rack (2.0.3) lib/rack/handler/webrick.rb:86:in `service'
|
816
|
+
/Users/stas/.rvm/rubies/ruby-2.4.1/lib/ruby/2.4.0/webrick/httpserver.rb:140:in `service'
|
817
|
+
/Users/stas/.rvm/rubies/ruby-2.4.1/lib/ruby/2.4.0/webrick/httpserver.rb:96:in `run'
|
818
|
+
/Users/stas/.rvm/rubies/ruby-2.4.1/lib/ruby/2.4.0/webrick/server.rb:290:in `block in start_thread'
|
819
|
+
|
820
|
+
Started POST "/__better_errors/6ba9f0cf1195373c/variables" for ::1 at 2017-06-01 12:16:56 +0300
|
821
|
+
Started GET "/token" for ::1 at 2017-06-01 12:17:49 +0300
|
822
|
+
Processing by JwtAuth::GetTokenController#token as HTML
|
823
|
+
Completed 200 OK in 3ms (Views: 0.2ms)
|
824
|
+
|
825
|
+
|
826
|
+
Started GET "/token?name=1&email=2" for ::1 at 2017-06-01 12:18:10 +0300
|
827
|
+
Processing by JwtAuth::GetTokenController#token as HTML
|
828
|
+
Parameters: {"name"=>"1", "email"=>"2"}
|
829
|
+
Completed 200 OK in 0ms (Views: 0.1ms)
|
830
|
+
|
831
|
+
|
832
|
+
Started GET "/token?name=1&email=22" for ::1 at 2017-06-01 12:18:15 +0300
|
833
|
+
Processing by JwtAuth::GetTokenController#token as HTML
|
834
|
+
Parameters: {"name"=>"1", "email"=>"22"}
|
835
|
+
Completed 200 OK in 0ms (Views: 0.1ms)
|
836
|
+
|
837
|
+
|