Commit e0678f7b authored by Samuel E. Giddins's avatar Samuel E. Giddins

[RuboCop] Lower the LineLength maximum

parent 70fc758a
# This configuration was generated by `rubocop --auto-gen-config`
# on 2014-08-22 22:27:57 +0200 using RuboCop version 0.25.0.
# on 2015-03-15 18:04:06 -0700 using RuboCop version 0.29.1.
# The point is for the user to remove these configuration records
# one by one as the offenses are removed from the code base.
# Note that changes in the inspected code, or installation of new
......@@ -9,15 +9,11 @@
Lint/UselessAccessModifier:
Enabled: false
# Offense count: 12
Metrics/CyclomaticComplexity:
Max: 9
# Offense count: 961
# Configuration parameters: AllowURI.
# Offense count: 1278
# Configuration parameters: AllowURI, URISchemes.
Metrics/LineLength:
Max: 1060
Max: 292
# Offense count: 12
# Offense count: 19
Metrics/PerceivedComplexity:
Max: 10
......@@ -125,10 +125,9 @@ GEM
netrc (0.7.8)
notify (0.5.2)
open4 (1.3.4)
parser (2.2.0.1)
parser (2.2.0.3)
ast (>= 1.1, < 3.0)
slop (~> 3.4, >= 3.4.5)
powerpack (0.0.9)
powerpack (0.1.0)
prettybacon (0.0.2)
bacon (~> 1.2)
rainbow (2.0.0)
......@@ -138,16 +137,15 @@ GEM
ffi (>= 0.5.0)
rb-kqueue (0.2.3)
ffi (>= 0.5.0)
rubocop (0.28.0)
rubocop (0.29.1)
astrolabe (~> 1.3)
parser (>= 2.2.0.pre.7, < 3.0)
powerpack (~> 0.0.6)
parser (>= 2.2.0.1, < 3.0)
powerpack (~> 0.1)
rainbow (>= 1.99.1, < 3.0)
ruby-progressbar (~> 1.4)
ruby-prof (0.15.2)
ruby-progressbar (1.7.1)
safe_yaml (1.0.4)
slop (3.6.0)
thread_safe (0.3.5)
tzinfo (1.2.2)
thread_safe (~> 0.1)
......
......@@ -43,7 +43,6 @@ require 'spec_helper/fixture' # Provides access to the fixtures and unpa
require 'spec_helper/temporary_repos' # Allows to create and modify temporary spec repositories.
require 'spec_helper/user_interface' # Redirects UI to UI.output & UI.warnings.
require 'spec_helper/pre_flight' # Cleans the temporary directory, the config & the UI.output before every test.
require 'spec_helper/github' # Stubs Github API to return always the values (watchers).
#-----------------------------------------------------------------------------#
......
# # require 'octokit'
#
# module SpecHelper
# module Github
# def expect_github_repo_request(data = nil)
# data ||= {
# "clone_url" => "https://github.com/lukeredpath/libPusher.git",
# "created_at" => "2010-03-22T17:06:16Z",
# "description" => "An Objective-C interface to Pusher (pusherapp.com)",
# "fork" => false,
# "forks" => 22,
# "git_url" => "git://github.com/lukeredpath/libPusher.git",
# "has_downloads" => true,
# "has_issues" => true,
# "has_wiki" => true,
# "homepage" => "",
# "html_url" => "https://github.com/lukeredpath/libPusher",
# "id" => 574304,
# "language" => "C",
# "mirror_url" => nil,
# "name" => "libPusher",
# "open_issues" => 2,
# "owner" => {
# "avatar_url" => "https://secure.gravatar.com/avatar/bdd4d23d1a822b2d68b53e7c51d69a39?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png",
# "gravatar_id" => "bdd4d23d1a822b2d68b53e7c51d69a39",
# "id" => 613,
# "login" => "lukeredpath",
# "url" => "https://api.github.com/users/lukeredpath"
# },
# "private" => false,
# "pushed_at" => "2012-04-10T13:16:49Z",
# "size" => 3654,
# "ssh_url" => "git@github.com:lukeredpath/libPusher.git",
# "svn_url" => "https://github.com/lukeredpath/libPusher",
# "updated_at" => "2012-04-16T23:01:00Z",
# "url" => "https://api.github.com/repos/lukeredpath/libPusher",
# "watchers" => 143
# }
# Octokit.expects(:repo).with('lukeredpath/libPusher').returns(data)
# end
#
# def expect_github_tags_request(data = nil)
# data ||= [
# {
# "commit" => {
# "sha" => "ea47899b65db8e9fd77b3a236f602771f15ca28f",
# "url" => "https://api.github.com/repos/lukeredpath/libPusher/commits/ea47899b65db8e9fd77b3a236f602771f15ca28f"
# },
# "name" => "v1.2",
# "tarball_url" => "https://github.com/lukeredpath/libPusher/tarball/v1.2",
# "zipball_url" => "https://github.com/lukeredpath/libPusher/zipball/v1.2"
# },
# {
# "commit" => {
# "sha" => "788468bc173e1bb57646a3ff8ace551df10a4249",
# "url" => "https://api.github.com/repos/lukeredpath/libPusher/commits/788468bc173e1bb57646a3ff8ace551df10a4249"
# },
# "name" => "v1.0.1",
# "tarball_url" => "https://github.com/lukeredpath/libPusher/tarball/v1.0.1",
# "zipball_url" => "https://github.com/lukeredpath/libPusher/zipball/v1.0.1"
# },
# {
# "commit" => {
# "sha" => "d4d51f86dc460c389b9d19c9453541f7daf7076b",
# "url" => "https://api.github.com/repos/lukeredpath/libPusher/commits/d4d51f86dc460c389b9d19c9453541f7daf7076b"
# },
# "name" => "v1.3",
# "tarball_url" => "https://github.com/lukeredpath/libPusher/tarball/v1.3",
# "zipball_url" => "https://github.com/lukeredpath/libPusher/zipball/v1.3"
# },
# {
# "commit" => {
# "sha" => "c4ed3712ad2bee5c9e754339f1860f15daf788f4",
# "url" => "https://api.github.com/repos/lukeredpath/libPusher/commits/c4ed3712ad2bee5c9e754339f1860f15daf788f4"
# },
# "name" => "v1.0",
# "tarball_url" => "https://github.com/lukeredpath/libPusher/tarball/v1.0",
# "zipball_url" => "https://github.com/lukeredpath/libPusher/zipball/v1.0"
# },
# {
# "commit" => {
# "sha" => "77523befd5509f91b8cbe03f45d30e6ce8ab96f4",
# "url" => "https://api.github.com/repos/lukeredpath/libPusher/commits/77523befd5509f91b8cbe03f45d30e6ce8ab96f4"
# },
# "name" => "v1.1",
# "tarball_url" => "https://github.com/lukeredpath/libPusher/tarball/v1.1",
# "zipball_url" => "https://github.com/lukeredpath/libPusher/zipball/v1.1"
# }
# ]
# Octokit.expects(:tags).with(:username => 'lukeredpath', :repo => 'libPusher').returns(data)
# end
#
# def expect_github_branches_request(data = nil)
# data ||= [
# {
# "commit" => {
# "sha" => "d7aac34e846e2fe9b9da54978abfada8f9aa69a8",
# "url" => "https://api.github.com/repos/lukeredpath/libPusher/commits/d7aac34e846e2fe9b9da54978abfada8f9aa69a8"
# },
# "name" => "use-socketrocket-backend"
# },
# {
# "commit" => {
# "sha" => "daa4ba9398af4b532bfbca610065057e709cc877",
# "url" => "https://api.github.com/repos/lukeredpath/libPusher/commits/daa4ba9398af4b532bfbca610065057e709cc877"
# },
# "name" => "gh-pages"
# },
# {
# "commit" => {
# "sha" => "5f482b0693ac2ac1ad85d1aabc27ec7547cc0bc7",
# "url" => "https://api.github.com/repos/lukeredpath/libPusher/commits/5f482b0693ac2ac1ad85d1aabc27ec7547cc0bc7"
# },
# "name" => "master"
# }
# ]
# Octokit.expects(:branches).with(:username => 'lukeredpath', :repo => 'libPusher').returns(data)
# end
#
# def expect_github_user_request(data = nil)
# data ||= {
# "avatar_url" => "https://secure.gravatar.com/avatar/bdd4d23d1a822b2d68b53e7c51d69a39?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png",
# "bio" => "I\342\200\231m a Ruby on Rails and iPhone developer based in London, UK. I\342\200\231ve been writing web apps for almost ten years and in late 2008, I released my first iPhone application.\r\n\r\nSince early 2009, I have worked on a freelance/contract basis, having previously worked at Reevoo as part of one of the best Rails development teams in the country.\r\n\r\nI\342\200\231m also a big fan of open-source software which I both use and contribute to whenever possible. I have contributed to many open-source projects over the years, including Rails, RSpec and more recently, Gemcutter, as well as starting many of my own, including Clickatell, a library for interfacing with the Clickatell SMS gateway and SimpleConfig, a declarative application configuration Rails plugin which was developed whilst working at Reevoo.\r\n\r\nI was the technical reviewer for the SitePoint book \342\200\234Build Your Own Ruby on Rails Applications\342\200\235 and also contributed a recipe to \342\200\234Rails Recipes\342\200\235 by Chad Fowler.",
# "blog" => "http://lukeredpath.co.uk",
# "company" => "LJR Software Limited",
# "created_at" => "2008-02-22T14:36:59Z",
# "email" => "luke@lukeredpath.co.uk",
# "followers" => 195,
# "following" => 10,
# "gravatar_id" => "bdd4d23d1a822b2d68b53e7c51d69a39",
# "hireable" => true,
# "html_url" => "https://github.com/lukeredpath",
# "id" => 613,
# "location" => "London, UK",
# "login" => "lukeredpath",
# "name" => "Luke Redpath",
# "public_gists" => 122,
# "public_repos" => 68,
# "type" => "User",
# "url" => "https://api.github.com/users/lukeredpath"
# }
# Octokit.expects(:user).with('lukeredpath').returns(data)
# end
# end
# end
#
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment