-
Notifications
You must be signed in to change notification settings - Fork 26
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Co-authored-by: Ashley Willard <ashley.willard@gusto.com> Co-authored-by: Ivy Evans <ivy.evans@gusto.com>
- Loading branch information
1 parent
8322c2c
commit a61bd8b
Showing
53 changed files
with
219 additions
and
207 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
source "https://rubygems.org" | ||
source 'https://rubygems.org' | ||
|
||
# Specify your gem's dependencies in packs-rails.gemspec | ||
gemspec |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,11 @@ | ||
require "active_support" | ||
require 'active_support' | ||
|
||
module Packs | ||
module Rails | ||
module Integrations | ||
autoload :FactoryBot, "packs/rails/integrations/factory_bot" | ||
autoload :Rails, "packs/rails/integrations/rails" | ||
autoload :RSpec, "packs/rails/integrations/rspec" | ||
autoload :FactoryBot, 'packs/rails/integrations/factory_bot' | ||
autoload :Rails, 'packs/rails/integrations/rails' | ||
autoload :RSpec, 'packs/rails/integrations/rspec' | ||
end | ||
end | ||
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
require "packs-rails" | ||
require 'packs-rails' | ||
|
||
Packs::Rails::Integrations::RSpec.new |
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,5 +1,5 @@ | ||
module Packs | ||
module Rails | ||
VERSION = "0.0.5".freeze | ||
VERSION = '0.0.5'.freeze | ||
end | ||
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 |
---|---|---|
@@ -1,6 +1,6 @@ | ||
# Add your own tasks in files placed in lib/tasks ending in .rake, | ||
# for example lib/tasks/capistrano.rake, and they will automatically be available to Rake. | ||
|
||
require_relative "config/application" | ||
require_relative 'config/application' | ||
|
||
Rails.application.load_tasks |
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,5 +1,5 @@ | ||
#!/usr/bin/env ruby | ||
load File.expand_path("spring", __dir__) | ||
load File.expand_path('spring', __dir__) | ||
APP_PATH = File.expand_path('../config/application', __dir__) | ||
require_relative "../config/boot" | ||
require "rails/commands" | ||
require_relative '../config/boot' | ||
require 'rails/commands' |
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,5 +1,5 @@ | ||
#!/usr/bin/env ruby | ||
load File.expand_path("spring", __dir__) | ||
require_relative "../config/boot" | ||
require "rake" | ||
load File.expand_path('spring', __dir__) | ||
require_relative '../config/boot' | ||
require 'rake' | ||
Rake.application.run |
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,10 +1,10 @@ | ||
#!/usr/bin/env ruby | ||
if !defined?(Spring) && [nil, "development", "test"].include?(ENV["RAILS_ENV"]) | ||
if !defined?(Spring) && [nil, 'development', 'test'].include?(ENV.fetch('RAILS_ENV', nil)) | ||
# Load Spring without loading other gems in the Gemfile, for speed. | ||
require "bundler" | ||
Bundler.locked_gems.specs.find { |spec| spec.name == "spring" }&.tap do |spring| | ||
require 'bundler' | ||
Bundler.locked_gems.specs.find { |spec| spec.name == 'spring' }&.tap do |spring| | ||
Gem.use_paths Gem.dir, Bundler.bundle_path.to_s, *Gem.path | ||
gem "spring", spring.version | ||
require "spring/binstub" | ||
gem 'spring', spring.version | ||
require 'spring/binstub' | ||
end | ||
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 |
---|---|---|
@@ -1,18 +1,18 @@ | ||
#!/usr/bin/env ruby | ||
|
||
ENV["RAILS_ENV"] ||= ENV["RACK_ENV"] || "development" | ||
ENV["NODE_ENV"] ||= "development" | ||
ENV['RAILS_ENV'] ||= ENV['RACK_ENV'] || 'development' | ||
ENV['NODE_ENV'] ||= 'development' | ||
|
||
require "pathname" | ||
ENV["BUNDLE_GEMFILE"] ||= File.expand_path("../../Gemfile", | ||
require 'pathname' | ||
ENV['BUNDLE_GEMFILE'] ||= File.expand_path('../../Gemfile', | ||
Pathname.new(__FILE__).realpath) | ||
|
||
require "bundler/setup" | ||
require 'bundler/setup' | ||
|
||
require "webpacker" | ||
require "webpacker/webpack_runner" | ||
require 'webpacker' | ||
require 'webpacker/webpack_runner' | ||
|
||
APP_ROOT = File.expand_path("..", __dir__) | ||
APP_ROOT = File.expand_path('..', __dir__) | ||
Dir.chdir(APP_ROOT) do | ||
Webpacker::WebpackRunner.run(ARGV) | ||
end |
Oops, something went wrong.