-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Remove
rails
dependency, slim down the dummy app, and upgrade depen…
…dencies (#21) This gem currently depends on `rails`, which means it depends on gems like `actiontext`, `activestorage`, `actioncable`. That's a mistake. This gem only depends on Active Record and Railties (for generators). I also: * Upgrade all dependencies * Removed unnecessary stuff from `spec/dummy` * Fixed `bin/rails` * Removed `sprockets` dev dependency * Removed `mime-types` dev dependency
- Loading branch information
Showing
53 changed files
with
251 additions
and
1,187 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 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,9 +1,11 @@ | ||
# frozen_string_literal: true | ||
|
||
appraise 'rails-7-0' do | ||
gem 'rails', '~> 7.0.0' | ||
gem 'activerecord', '~> 7.0.0' | ||
gem 'railties', '~> 7.0.0' | ||
end | ||
|
||
appraise 'rails-7-1' do | ||
gem 'rails', '~> 7.1.0' | ||
gem 'activerecord', '~> 7.1.0' | ||
gem 'railties', '~> 7.1.0' | ||
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,3 +1,5 @@ | ||
# frozen_string_literal: true | ||
|
||
source 'https://rubygems.org' | ||
|
||
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,12 @@ | ||
#!/usr/bin/env ruby | ||
# This command will automatically be run when you run "rails" with Rails 4 gems installed from the root of your application. | ||
# frozen_string_literal: true | ||
|
||
ENGINE_ROOT = File.expand_path('../..', __FILE__) | ||
ENGINE_PATH = File.expand_path('../../lib/with_transactional_lock/engine', __FILE__) | ||
# This command will automatically be run when you run "rails" with Rails 4 gems installed from the root of your application. | ||
|
||
# Set up gems listed in the Gemfile. | ||
ENV['BUNDLE_GEMFILE'] ||= File.expand_path('../../Gemfile', __FILE__) | ||
require 'bundler/setup' if File.exist?(ENV['BUNDLE_GEMFILE']) | ||
ENGINE_ROOT = File.expand_path('..', __dir__) | ||
ENGINE_PATH = File.expand_path('../lib/with_transactional_lock/engine', __dir__) | ||
APP_PATH = File.expand_path('../spec/dummy/config/application', __dir__) | ||
|
||
require 'bundler/setup' | ||
require 'rails/all' | ||
require 'rails/engine/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,9 +1,8 @@ | ||
# frozen_string_literal: true | ||
|
||
# This file was generated by Appraisal | ||
|
||
source "https://rubygems.org" | ||
|
||
gem "rails", "~> 7.0.0" | ||
gem "activerecord", "~> 7.0.0" | ||
gem "railties", "~> 7.0.0" | ||
|
||
gemspec path: "../" |
Oops, something went wrong.