From 62d7990b9bb30cf33ed87017c5c633d1cccc75c2 Mon Sep 17 00:00:00 2001 From: Toon Claes Date: Thu, 28 Feb 2019 19:57:34 +0100 Subject: Ran standardrb --fix on the whole codebase Inspired by https://twitter.com/searls/status/1101137953743613952 I decided to try https://github.com/testdouble/standard on our codebase. It's opinionated, but at least it's a _standard_. --- lib/flowdock/git.rb | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'lib/flowdock/git.rb') diff --git a/lib/flowdock/git.rb b/lib/flowdock/git.rb index f165ecfc1fa..be36f4c662f 100644 --- a/lib/flowdock/git.rb +++ b/lib/flowdock/git.rb @@ -1,13 +1,14 @@ # frozen_string_literal: true -require 'flowdock' -require 'flowdock/git/builder' + +require "flowdock" +require "flowdock/git/builder" module Flowdock class Git TokenError = Class.new(StandardError) DEFAULT_PERMANENT_REFS = [ - Regexp.new('refs/heads/master') + Regexp.new("refs/heads/master"), ].freeze class << self @@ -55,8 +56,7 @@ module Flowdock repo_url: @repo_url, repo_name: @repo_name, permanent_refs: @permanent_refs, - tags: tags - ).to_hashes + tags: tags).to_hashes end # Flowdock tags attached to the push notification -- cgit v1.2.1