Add sorbet typing information to all the files

This commit is contained in:
Matt Rogers 2019-12-18 09:49:57 -06:00
parent 8b8db1ef7c
commit cabe2f80ed
No known key found for this signature in database
GPG key ID: 605D017C07EB4316
263 changed files with 264 additions and 1 deletions

View file

@ -1,3 +1,4 @@
# typed: false
require_relative 'boot'
require 'rails/all'

View file

@ -1,3 +1,4 @@
# typed: strong
ENV['BUNDLE_GEMFILE'] ||= File.expand_path('../Gemfile', __dir__)
require 'bundler/setup' # Set up gems listed in the Gemfile.

View file

@ -1,3 +1,4 @@
# typed: strict
# Load the Rails application.
require_relative 'application'

View file

@ -1,3 +1,4 @@
# typed: false
Rails.application.configure do
# Settings specified here will take precedence over those in config/application.rb.

View file

@ -1,3 +1,4 @@
# typed: false
Rails.application.configure do
# Settings specified here will take precedence over those in config/application.rb.

View file

@ -1,3 +1,4 @@
# typed: false
Rails.application.configure do
# Settings specified here will take precedence over those in config/application.rb.

View file

@ -1,3 +1,4 @@
# typed: strong
# Be sure to restart your server when you modify this file.
# ActiveSupport::Reloader.to_prepare do

View file

@ -1,3 +1,4 @@
# typed: false
# Be sure to restart your server when you modify this file.
# Version of your assets, change this if you want to expire all your assets.

View file

@ -1,3 +1,4 @@
# typed: strong
# Be sure to restart your server when you modify this file.
# You can add backtrace silencers for libraries that you're using but don't wish to see in your backtraces.

View file

@ -1,3 +1,4 @@
# typed: strong
# config for bullet gem
if defined? Bullet

View file

@ -1,3 +1,4 @@
# typed: strong
# Be sure to restart your server when you modify this file.
# Define an application-wide content security policy

View file

@ -1,3 +1,4 @@
# typed: false
# Be sure to restart your server when you modify this file.
# Specify a serializer for the signed and encrypted cookie jars.

View file

@ -1,3 +1,4 @@
# typed: false
# Be sure to restart your server when you modify this file.
# Configure sensitive parameters which will be filtered from the log file.

View file

@ -1,3 +1,4 @@
# typed: false
module I18n::Backend::Pluralization
# rules taken from : http://www.gnu.org/software/hello/manual/gettext/Plural-forms.html
def pluralize(locale, entry, n)

View file

@ -1,3 +1,4 @@
# typed: strong
# Be sure to restart your server when you modify this file.
# Add new inflection rules using the following format. Inflections

View file

@ -1,3 +1,4 @@
# typed: strict
# Be sure to restart your server when you modify this file.
# Add new mime types for use in respond_to blocks:

View file

@ -1,3 +1,4 @@
# typed: false
# Be sure to restart your server when you modify this file.
#
# This file contains migration options to ease your Rails 5.0 upgrade.

View file

@ -1,3 +1,4 @@
# typed: false
# Be sure to restart your server when you modify this file.
#
# This file contains migration options to ease your Rails 5.1 upgrade.

View file

@ -1,3 +1,4 @@
# typed: strong
# Be sure to restart your server when you modify this file.
#
# This file contains migration options to ease your Rails 5.2 upgrade.

View file

@ -1,3 +1,4 @@
# typed: true
#config/initilizers/paperclip.rb
require 'paperclip/media_type_spoof_detector'

View file

@ -1,2 +1,3 @@
# typed: strict
# Have Mini Profiler show up on the right
Rack::MiniProfiler.config.position = 'bottom-left' if defined?(Rack::MiniProfiler)

View file

@ -1 +1,2 @@
# typed: strict
Loofah::HTML5::WhiteList::ALLOWED_PROTOCOLS.merge(%w(message onenote))

View file

@ -1,3 +1,4 @@
# typed: false
# Be sure to restart your server when you modify this file.
Rails.application.config.session_store :cookie_store, key: '_tracksapp_session'

View file

@ -1,3 +1,4 @@
# typed: strict
# encoding: utf-8
# Tolk config file. Generated on July 18, 2012 13:01

View file

@ -1,3 +1,4 @@
# typed: true
tracks_version='2.4.1'
# comment out next two lines if you do not want (or can not) the date of the
# last git commit in the footer

View file

@ -1,3 +1,4 @@
# typed: strict
# Be sure to restart your server when you modify this file.
# This file contains settings for ActionController::ParamsWrapper which

View file

@ -1,3 +1,4 @@
# typed: false
# Puma can serve each request in a thread from an internal thread pool.
# The `threads` method setting takes two numbers: a minimum and maximum.
# Any libraries that use thread pools should be configured to match

View file

@ -1,3 +1,4 @@
# typed: strict
Rails.application.routes.draw do
mount Tolk::Engine => '/tolk', :as => 'tolk' if Rails.env=='development'

View file

@ -1,3 +1,4 @@
# typed: false
%w(
.ruby-version
.rbenv-vars