-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
c5a608c
commit 17acf76
Showing
19 changed files
with
199 additions
and
202 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,29 +1,29 @@ | ||
# frozen_string_literal: true | ||
|
||
appraise "rails_7.0.8" do | ||
gem "rails", "7.0.8" | ||
appraise 'rails_7.0.8' do | ||
gem 'rails', '7.0.8' | ||
|
||
# Fix: LoadError: cannot load such file -- base64 | ||
install_if '-> { Gem::Version.new(RUBY_VERSION) >= Gem::Version.new("3.3.0") }' do | ||
gem "base64" | ||
gem "bigdecimal" | ||
gem "mutex_m" | ||
gem "drb" | ||
gem "logger" | ||
gem 'base64' | ||
gem 'bigdecimal' | ||
gem 'mutex_m' | ||
gem 'drb' | ||
gem 'logger' | ||
end | ||
end | ||
|
||
appraise "rails_7.1.3" do | ||
gem "rails", "7.1.3" | ||
appraise 'rails_7.1.3' do | ||
gem 'rails', '7.1.3' | ||
|
||
# Fix: | ||
# warning: logger was loaded from the standard library, but will no longer be part of the default gems since Ruby 3.5.0. | ||
# Add logger to your Gemfile or gemspec. | ||
install_if '-> { Gem::Version.new(RUBY_VERSION) >= Gem::Version.new("3.4.0") }' do | ||
gem "logger" | ||
gem 'logger' | ||
end | ||
end | ||
|
||
appraise "rails_7.2.0" do | ||
gem "rails", "7.2.0" | ||
appraise 'rails_7.2.0' do | ||
gem 'rails', '7.2.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,28 +1,28 @@ | ||
# frozen_string_literal: true | ||
|
||
source "https://rubygems.org" | ||
source 'https://rubygems.org' | ||
|
||
gemspec | ||
|
||
gem "appraisal", git: "https://github.com/n-rodriguez/appraisal.git", branch: "wip/combustion" | ||
gem 'appraisal', git: 'https://github.com/n-rodriguez/appraisal.git', branch: 'wip/combustion' | ||
|
||
gem "capybara" | ||
gem "cuprite" | ||
gem "database_cleaner" | ||
gem "factory_bot" | ||
gem "faker" | ||
gem "guard-rspec" | ||
gem "puma" | ||
gem "rake" | ||
gem "rspec-rails" | ||
gem "rspec-retry" | ||
gem "rubocop" | ||
gem "rubocop-capybara" | ||
gem "rubocop-factory_bot" | ||
gem "rubocop-performance" | ||
gem "rubocop-rake" | ||
gem "rubocop-rspec" | ||
gem "rubocop-rspec_rails" | ||
gem "simplecov" | ||
gem "sprockets-rails" | ||
gem "sqlite3", "~> 1.5.0" | ||
gem 'capybara' | ||
gem 'cuprite' | ||
gem 'database_cleaner' | ||
gem 'factory_bot' | ||
gem 'faker' | ||
gem 'guard-rspec' | ||
gem 'puma' | ||
gem 'rake' | ||
gem 'rspec-rails' | ||
gem 'rspec-retry' | ||
gem 'rubocop' | ||
gem 'rubocop-capybara' | ||
gem 'rubocop-factory_bot' | ||
gem 'rubocop-performance' | ||
gem 'rubocop-rake' | ||
gem 'rubocop-rspec' | ||
gem 'rubocop-rspec_rails' | ||
gem 'simplecov' | ||
gem 'sprockets-rails' | ||
gem 'sqlite3', '~> 1.5.0' |
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,7 +1,7 @@ | ||
# frozen_string_literal: true | ||
|
||
require "bundler/gem_tasks" | ||
require "rspec/core/rake_task" | ||
require 'bundler/gem_tasks' | ||
require 'rspec/core/rake_task' | ||
|
||
RSpec::Core::RakeTask.new(:spec) | ||
task default: :spec |
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,23 +1,23 @@ | ||
# frozen_string_literal: true | ||
|
||
require_relative "lib/draper/version" | ||
require_relative 'lib/draper/version' | ||
|
||
Gem::Specification.new do |s| | ||
s.name = "draper" | ||
s.name = 'draper' | ||
s.version = Draper::VERSION::STRING | ||
s.platform = Gem::Platform::RUBY | ||
s.authors = ["Nicolas Rodriguez"] | ||
s.email = ["nico@nicoladmin.fr"] | ||
s.homepage = "http://github.com/jbox-web/draper" | ||
s.summary = "View Models for Rails" | ||
s.description = "Draper adds an object-oriented layer of presentation logic to your Rails apps." | ||
s.license = "MIT" | ||
s.authors = ['Nicolas Rodriguez'] | ||
s.email = ['nico@nicoladmin.fr'] | ||
s.homepage = 'http://github.com/jbox-web/draper' | ||
s.summary = 'View Models for Rails' | ||
s.description = 'Draper adds an object-oriented layer of presentation logic to your Rails apps.' | ||
s.license = 'MIT' | ||
|
||
s.required_ruby_version = ">= 3.1.0" | ||
s.required_ruby_version = '>= 3.1.0' | ||
|
||
s.files = `git ls-files`.split("\n") | ||
|
||
s.add_dependency "rails", ">= 7.0" | ||
s.add_dependency "request_store", ">= 1.0" | ||
s.add_dependency "zeitwerk" | ||
s.add_dependency 'rails', '>= 7.0' | ||
s.add_dependency 'request_store', '>= 1.0' | ||
s.add_dependency 'zeitwerk' | ||
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,11 @@ | ||
# frozen_string_literal: true | ||
|
||
task stats: "draper:statsetup" # rubocop:disable Rake/Desc | ||
task stats: 'draper:statsetup' # rubocop:disable Rake/Desc | ||
|
||
namespace :draper do | ||
task statsetup: :environment do # rubocop:disable Rake/Desc | ||
require "rails/code_statistics" | ||
require 'rails/code_statistics' | ||
|
||
::STATS_DIRECTORIES << ["Decorators", "app/decorators"] # rubocop:disable Style/RedundantConstantBase | ||
::STATS_DIRECTORIES << ['Decorators', 'app/decorators'] # rubocop:disable Style/RedundantConstantBase | ||
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
Oops, something went wrong.