Delete redis and actioncable

This commit is contained in:
gregoirenovel 2017-10-11 17:46:51 +02:00
parent 8e6aa82095
commit b2f63f7f38
9 changed files with 0 additions and 28 deletions

View file

@ -2,9 +2,6 @@ source 'https://rubygems.org'
gem 'rails', '5.0.0.1'
gem 'actioncable', '5.0.0.1'
gem 'redis'
# Use SCSS for stylesheets
gem 'sass-rails', '~> 5.0'
# Use Uglifier as compressor for JavaScript assets

View file

@ -499,7 +499,6 @@ GEM
nokogiri (~> 1.5)
trollop (~> 2.1)
rdoc (4.3.0)
redis (3.3.3)
ref (2.0.0)
request_store (1.3.1)
responders (2.3.0)
@ -672,7 +671,6 @@ PLATFORMS
ruby
DEPENDENCIES
actioncable (= 5.0.0.1)
active_model_serializers
apipie-rails
bootstrap-datepicker-rails
@ -728,7 +726,6 @@ DEPENDENCIES
rack-mini-profiler
rails (= 5.0.0.1)
rails-controller-testing
redis
rest-client
rgeo-geojson
rspec-rails (~> 3.0)

View file

@ -1,5 +0,0 @@
# Be sure to restart your server when you modify this file. Action Cable runs in a loop that does not support auto reloading.
module ApplicationCable
class Channel < ActionCable::Channel::Base
end
end

View file

@ -1,5 +0,0 @@
# Be sure to restart your server when you modify this file. Action Cable runs in a loop that does not support auto reloading.
module ApplicationCable
class Connection < ActionCable::Connection::Base
end
end

View file

@ -1,5 +0,0 @@
class NotificationsChannel < ApplicationCable::Channel
def subscribed
stream_from 'notifications'
end
end

View file

@ -15,7 +15,6 @@
= javascript_include_tag 'application', 'data-turbolinks-track' => true
= csrf_meta_tags
= action_cable_meta_tag
%body
= render partial: 'layouts/support_navigator_banner'
#beta{ class: (Rails.env == 'production' ? '' : 'beta-staging') }

View file

@ -5,7 +5,6 @@
%meta{ name: "turbolinks-cache-control", content: "no-cache" }
%meta{ name: "viewport", content: "width=device-width, initial-scale=1" }
= csrf_meta_tags
= action_cable_meta_tag
%title
= t("dynamics.page_title")

View file

@ -2,7 +2,4 @@
require ::File.expand_path('../config/environment', __FILE__)
# Action Cable requires that all classes are loaded in advance
Rails.application.eager_load!
run Rails.application

View file

@ -57,6 +57,4 @@ Rails.application.configure do
# Raises error for missing translations
# config.action_view.raise_on_missing_translations = true
config.action_cable.url = "ws://localhost:3000/cable"
end