-
Notifications
You must be signed in to change notification settings - Fork 22
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore: Replaced rubocop w/ StandardRb
- Loading branch information
Showing
55 changed files
with
472 additions
and
525 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
# For available configuration options, see: | ||
# https://github.com/standardrb/standard | ||
ruby_version: 2.7 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,20 +1,20 @@ | ||
# frozen_string_literal: true | ||
|
||
source 'http://rubygems.org' | ||
source "http://rubygems.org" | ||
|
||
gemspec | ||
|
||
group :development do | ||
gem 'rubocop' | ||
|
||
gem 'delayed_job' | ||
gem 'delayed_job_active_record' | ||
gem 'rails' | ||
gem 'resque' | ||
gem 'sidekiq' | ||
gem 'sucker_punch' | ||
gem "delayed_job" | ||
gem "delayed_job_active_record" | ||
gem "rails" | ||
gem "resque" | ||
gem "rubocop" | ||
gem "sidekiq" | ||
gem "sucker_punch" | ||
gem "standard" | ||
end | ||
|
||
group :test do | ||
gem 'rspec' | ||
gem "rspec" | ||
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
#!/usr/bin/env bash | ||
set -euo pipefail | ||
IFS=$'\n\t' | ||
set -vx | ||
|
||
bundle install |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,55 +1,55 @@ | ||
# frozen_string_literal: true | ||
|
||
require 'rest-client' | ||
require 'vero/utility/ext' | ||
require "rest-client" | ||
require "vero/utility/ext" | ||
|
||
module Vero | ||
autoload :Config, 'vero/config' | ||
autoload :App, 'vero/app' | ||
autoload :Context, 'vero/context' | ||
autoload :APIContext, 'vero/context/api' | ||
autoload :Trackable, 'vero/trackable' | ||
autoload :DSL, 'vero/dsl' | ||
autoload :Sender, 'vero/sender' | ||
autoload :SuckerPunchWorker, 'vero/senders/sucker_punch' | ||
autoload :ResqueWorker, 'vero/senders/resque' | ||
autoload :SidekiqWorker, 'vero/senders/sidekiq' | ||
autoload :Config, "vero/config" | ||
autoload :App, "vero/app" | ||
autoload :Context, "vero/context" | ||
autoload :APIContext, "vero/context/api" | ||
autoload :Trackable, "vero/trackable" | ||
autoload :DSL, "vero/dsl" | ||
autoload :Sender, "vero/sender" | ||
autoload :SuckerPunchWorker, "vero/senders/sucker_punch" | ||
autoload :ResqueWorker, "vero/senders/resque" | ||
autoload :SidekiqWorker, "vero/senders/sidekiq" | ||
|
||
module Api | ||
module Workers | ||
autoload :BaseAPI, 'vero/api/base_api' | ||
autoload :BaseAPI, "vero/api/base_api" | ||
|
||
module Events | ||
autoload :TrackAPI, 'vero/api/events/track_api' | ||
autoload :TrackAPI, "vero/api/events/track_api" | ||
end | ||
|
||
module Users | ||
autoload :TrackAPI, 'vero/api/users/track_api' | ||
autoload :EditAPI, 'vero/api/users/edit_api' | ||
autoload :EditTagsAPI, 'vero/api/users/edit_tags_api' | ||
autoload :UnsubscribeAPI, 'vero/api/users/unsubscribe_api' | ||
autoload :ResubscribeAPI, 'vero/api/users/resubscribe_api' | ||
autoload :ReidentifyAPI, 'vero/api/users/reidentify_api' | ||
autoload :DeleteAPI, 'vero/api/users/delete_api' | ||
autoload :TrackAPI, "vero/api/users/track_api" | ||
autoload :EditAPI, "vero/api/users/edit_api" | ||
autoload :EditTagsAPI, "vero/api/users/edit_tags_api" | ||
autoload :UnsubscribeAPI, "vero/api/users/unsubscribe_api" | ||
autoload :ResubscribeAPI, "vero/api/users/resubscribe_api" | ||
autoload :ReidentifyAPI, "vero/api/users/reidentify_api" | ||
autoload :DeleteAPI, "vero/api/users/delete_api" | ||
end | ||
end | ||
|
||
autoload :Events, 'vero/api' | ||
autoload :Users, 'vero/api' | ||
autoload :Events, "vero/api" | ||
autoload :Users, "vero/api" | ||
end | ||
|
||
module Senders | ||
autoload :Base, 'vero/senders/base' | ||
autoload :DelayedJob, 'vero/senders/delayed_job' | ||
autoload :Resque, 'vero/senders/resque' | ||
autoload :Sidekiq, 'vero/senders/sidekiq' | ||
autoload :Invalid, 'vero/senders/invalid' | ||
autoload :SuckerPunch, 'vero/senders/sucker_punch' | ||
autoload :Base, "vero/senders/base" | ||
autoload :DelayedJob, "vero/senders/delayed_job" | ||
autoload :Resque, "vero/senders/resque" | ||
autoload :Sidekiq, "vero/senders/sidekiq" | ||
autoload :Invalid, "vero/senders/invalid" | ||
autoload :SuckerPunch, "vero/senders/sucker_punch" | ||
end | ||
|
||
module Utility | ||
autoload :Logger, 'vero/utility/logger' | ||
autoload :Logger, "vero/utility/logger" | ||
end | ||
end | ||
|
||
require 'vero/railtie' if defined?(Rails) | ||
require "vero/railtie" if defined?(Rails) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.