added token based authentication, switch to api-only mode
Showing
with
225 additions
and
40 deletions
... | ... | @@ -34,6 +34,8 @@ gem 'sdoc', '~> 0.4.0', group: :doc |
gem 'httparty' | ||
gem 'rack-cors' | ||
gem 'devise_token_auth' | ||
gem 'omniauth' | ||
group :development, :test do | ||
# Call 'byebug' anywhere in the code to stop execution and get a debugger console | ||
... | ... | @@ -48,9 +50,6 @@ group :development, :test do |
gem 'cucumber-rails', require: false | ||
gem 'database_cleaner' | ||
gem 'tzinfo-data' | ||
end | ||
group :development, :test do | ||
gem 'guard' | ||
gem 'guard-rspec' | ||
gem 'spring-commands-rspec' | ||
... | ... | @@ -58,18 +57,16 @@ group :development, :test do |
gem 'terminal-notifier' | ||
end | ||
group :development do | ||
gem 'guard-rubocop' | ||
end | ||
group :test do | ||
gem 'simplecov', :require => false | ||
end | ||
# NOTE: install mailcatcher for development | ||
group :development do | ||
gem 'guard-rubocop' | ||
# Access an IRB console on exception pages or by using <%= console %> in views | ||
gem 'web-console', '~> 2.0' | ||
# Spring speeds up development by keeping your application running in the background. Read more: https://github.com/rails/spring | ||
gem 'spring' | ||
end | ||
group :test do | ||
gem 'simplecov', :require => false | ||
end |
app/models/user.rb
0 → 100644
config/initializers/devise.rb
0 → 100644
config/initializers/devise_token_auth.rb
0 → 100644
Please
register
or
sign in
to comment