Skip to content

Commit 6d93656

Browse files
committed
6.1.0.rc1
1 parent 60054c5 commit 6d93656

26 files changed

+126
-53
lines changed

.gitattributes

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
# See https://git-scm.com/docs/gitattributes for more about git attribute files.
2+
3+
# Mark the database schema as having been generated.
4+
db/schema.rb linguist-generated
5+
6+
# Mark the yarn lockfile as having been generated.
7+
yarn.lock linguist-generated
8+
9+
# Mark any vendored files as having been vendored.
10+
vendor/* linguist-vendored

.gitignore

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,6 @@
99

1010
# Ignore the default SQLite database.
1111
/db/*.sqlite3
12-
/db/*.sqlite3-journal
1312
/db/*.sqlite3-*
1413

1514
# Ignore all logfiles and tempfiles.

Gemfile

Lines changed: 10 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -3,16 +3,16 @@ git_source(:github) { |repo| "https://github.com/#{repo}.git" }
33

44
ruby 'your-ruby-version'
55

6-
# Bundle edge Rails instead: gem 'rails', github: 'rails/rails', branch: 'main'
7-
gem 'rails', '~> 6.0.6', '>= 6.0.6.1'
6+
# Bundle edge Rails instead: gem 'rails', github: 'rails/rails'
7+
gem 'rails', '~> 6.1.0.rc1'
88
# Use sqlite3 as the database for Active Record
99
gem 'sqlite3', '~> 1.4'
1010
# Use Puma as the app server
11-
gem 'puma', '~> 4.1'
11+
gem 'puma', '~> 5.0'
1212
# Use SCSS for stylesheets
1313
gem 'sass-rails', '>= 6'
1414
# Transpile app-like JavaScript. Read more: https://github.com/rails/webpacker
15-
gem 'webpacker', '~> 4.0'
15+
gem 'webpacker', '~> 5.0'
1616
# Turbolinks makes navigating your web application faster. Read more: https://github.com/turbolinks/turbolinks
1717
gem 'turbolinks', '~> 5'
1818
# Build JSON APIs with ease. Read more: https://github.com/rails/jbuilder
@@ -26,7 +26,7 @@ gem 'jbuilder', '~> 2.7'
2626
# gem 'image_processing', '~> 1.2'
2727

2828
# Reduces boot times through caching; required in config/boot.rb
29-
gem 'bootsnap', '>= 1.4.2', require: false
29+
gem 'bootsnap', '>= 1.4.4', require: false
3030

3131
group :development, :test do
3232
# Call 'byebug' anywhere in the code to stop execution and get a debugger console
@@ -35,16 +35,18 @@ end
3535

3636
group :development do
3737
# Access an interactive console on exception pages or by calling 'console' anywhere in the code.
38-
gem 'web-console', '>= 3.3.0'
38+
gem 'web-console', '>= 4.0.3'
39+
# Display performance information such as SQL time and flame graphs for each request in your browser.
40+
# Can be configured to work on production as well see: https://github.com/MiniProfiler/rack-mini-profiler/blob/master/README.md
41+
gem 'rack-mini-profiler', '~> 2.0'
3942
gem 'listen', '~> 3.2'
4043
# Spring speeds up development by keeping your application running in the background. Read more: https://github.com/rails/spring
4144
gem 'spring'
42-
gem 'spring-watcher-listen', '~> 2.0.0'
4345
end
4446

4547
group :test do
4648
# Adds support for Capybara system testing and selenium driver
47-
gem 'capybara', '>= 2.15'
49+
gem 'capybara', '>= 3.26'
4850
gem 'selenium-webdriver'
4951
# Easy installation and use of web drivers to run system tests with browsers
5052
gem 'webdrivers'

Rakefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# Add your own tasks in files placed in lib/tasks ending in .rake,
22
# for example lib/tasks/capistrano.rake, and they will automatically be available to Rake.
33

4-
require_relative 'config/application'
4+
require_relative "config/application"
55

66
Rails.application.load_tasks

app/javascript/channels/consumer.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
// Action Cable provides the framework to deal with WebSockets in Rails.
2-
// You can generate new channels where WebSocket features live using the `rails generate channel` command.
2+
// You can generate new channels where WebSocket features live using the `bin/rails generate channel` command.
33

44
import { createConsumer } from "@rails/actioncable"
55

app/javascript/packs/application.js

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,11 +3,14 @@
33
// a relevant structure within app/javascript and only use these pack files to reference
44
// that code so it'll be compiled.
55

6-
require("@rails/ujs").start()
7-
require("turbolinks").start()
8-
require("@rails/activestorage").start()
9-
require("channels")
6+
import Rails from "@rails/ujs"
7+
import Turbolinks from "turbolinks"
8+
import * as ActiveStorage from "@rails/activestorage"
9+
import "channels"
1010

11+
Rails.start()
12+
Turbolinks.start()
13+
ActiveStorage.start()
1114

1215
// Uncomment to copy all static images under ../images to the output folder and reference
1316
// them with the image_pack_tag helper in views (e.g <%= image_pack_tag 'rails.png' %>)

app/views/layouts/application.html.erb

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
<html>
33
<head>
44
<title>Railsdiff</title>
5+
<meta name="viewport" content="width=device-width,initial-scale=1">
56
<%= csrf_meta_tags %>
67
<%= csp_meta_tag %>
78

bin/rails

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
#!/usr/bin/env ruby
22
APP_PATH = File.expand_path('../config/application', __dir__)
3-
require_relative '../config/boot'
4-
require 'rails/commands'
3+
require_relative "../config/boot"
4+
require "rails/commands"

bin/rake

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
#!/usr/bin/env ruby
2-
require_relative '../config/boot'
3-
require 'rake'
2+
require_relative "../config/boot"
3+
require "rake"
44
Rake.application.run

bin/setup

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
#!/usr/bin/env ruby
2-
require 'fileutils'
2+
require "fileutils"
33

44
# path to your application root.
55
APP_ROOT = File.expand_path('..', __dir__)
@@ -9,16 +9,16 @@ def system!(*args)
99
end
1010

1111
FileUtils.chdir APP_ROOT do
12-
# This script is a way to setup or update your development environment automatically.
13-
# This script is idempotent, so that you can run it at anytime and get an expectable outcome.
12+
# This script is a way to set up or update your development environment automatically.
13+
# This script is idempotent, so that you can run it at any time and get an expectable outcome.
1414
# Add necessary setup steps to this file.
1515

1616
puts '== Installing dependencies =='
1717
system! 'gem install bundler --conservative'
1818
system('bundle check') || system!('bundle install')
1919

2020
# Install JavaScript dependencies
21-
# system('bin/yarn')
21+
system! 'bin/yarn'
2222

2323
# puts "\n== Copying sample files =="
2424
# unless File.exist?('config/database.yml')

0 commit comments

Comments
 (0)