atzorvas/ccradio

View on GitHub

Showing 218 of 218 total issues

Line is too long. [87/80]
Open

format.html { redirect_to @stream, notice: 'Stream was successfully updated.' }

Line exceeds maximum allowed length
Open

$(this).jPlayer("setMedia", stream).jPlayer "play" if ready and event.jPlayer.error.type is $.jPlayer.error.URL_NOT_SET

Prefer single-quoted strings when you don't need string interpolation or special symbols.
Open

@user = User.from_omniauth(request.env["omniauth.auth"])

Line is too long. [90/80]
Open

# for example lib/tasks/capistrano.rake, and they will automatically be available to Rake.
Severity: Minor
Found in Rakefile by rubocop

Prefer single-quoted strings when you don't need string interpolation or special symbols.
Open

assert_equal bootstrap_class_for("alert"), "alert-warning"

Gems should be sorted in an alphabetical order within their section of the Gemfile. Gem jbuilder should appear before jquery-rails.
Open

gem 'jbuilder', '~> 2.0'
Severity: Minor
Found in Gemfile by rubocop

Prefer single-quoted strings when you don't need string interpolation or special symbols.
Open

flash[:notice] = I18n.t "devise.omniauth_callbacks.success", :kind => "Wordpress Hosted"

Prefer single-quoted strings when you don't need string interpolation or special symbols.
Open

flash[:notice] = I18n.t "devise.omniauth_callbacks.success", :kind => "Wordpress Hosted"

Gems should be sorted in an alphabetical order within their section of the Gemfile. Gem omniauth-wordpress_hosted should appear before tubesock.
Open

gem 'omniauth-wordpress_hosted', github: 'atzorvas/omniauth-wordpress-oauth2-plugin'
Severity: Minor
Found in Gemfile by rubocop

Missing top-level class documentation comment.
Open

class Users::OmniauthCallbacksController < Devise::OmniauthCallbacksController

Prefer single-quoted strings when you don't need string interpolation or special symbols.
Open

mount: "/newmount0"
Severity: Minor
Found in test/models/stream_test.rb by rubocop

Prefer single-quoted strings when you don't need string interpolation or special symbols.
Open

assert_equal bootstrap_class_for("success"), "alert-success"

Prefer single-quoted strings when you don't need string interpolation or special symbols.
Open

assert_equal bootstrap_class_for("error"), "alert-danger"

Line is too long. [117/80]
Open

patch :update, id: streams(:rock), stream: { mount: @stream.mount, server: @stream.server, title: @stream.title }

Line is too long. [82/80]
Open

format.json { render json: @stream.errors, status: :unprocessable_entity }

Prefer single-quoted strings when you don't need string interpolation or special symbols.
Open

Redis.new.subscribe "songs" do |on|

Prefer single-quoted strings when you don't need string interpolation or special symbols.
Open

assert_select "#error_explanation ul li", 2

Gems should be sorted in an alphabetical order within their section of the Gemfile. Gem devise should appear before nokogiri.
Open

gem 'devise'
Severity: Minor
Found in Gemfile by rubocop

Line is too long. [102/80]
Open

sign_in_and_redirect @user, :event => :authentication #this will throw if @user is not activated

Use the new Ruby 1.9 hash syntax.
Open

flash[:notice] = I18n.t "devise.omniauth_callbacks.success", :kind => "Wordpress Hosted"
Severity
Category
Status
Source
Language