Skip to content

Commit 9a31f8e

Browse files
committed
Initial commit
Simply bootstraps a new rails application by running the following command: rails new cypress-store -d postgresql -T
0 parents  commit 9a31f8e

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

70 files changed

+1278
-0
lines changed

Diff for: .gitignore

+27
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
# See https://help.github.com/articles/ignoring-files for more about ignoring files.
2+
#
3+
# If you find yourself ignoring temporary files generated by your text editor
4+
# or operating system, you probably want to add a global ignore instead:
5+
# git config --global core.excludesfile '~/.gitignore_global'
6+
7+
# Ignore bundler config.
8+
/.bundle
9+
10+
# Ignore all logfiles and tempfiles.
11+
/log/*
12+
/tmp/*
13+
!/log/.keep
14+
!/tmp/.keep
15+
16+
# Ignore uploaded files in development
17+
/storage/*
18+
!/storage/.keep
19+
20+
/node_modules
21+
/yarn-error.log
22+
23+
/public/assets
24+
.byebug_history
25+
26+
# Ignore master key for decrypting credentials and more.
27+
/config/master.key

Diff for: .ruby-version

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
2.6.3

Diff for: Gemfile

+55
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,55 @@
1+
source 'https://rubygems.org'
2+
git_source(:github) { |repo| "https://github.com/#{repo}.git" }
3+
4+
ruby '2.6.3'
5+
6+
# Bundle edge Rails instead: gem 'rails', github: 'rails/rails'
7+
gem 'rails', '~> 5.2.3'
8+
# Use postgresql as the database for Active Record
9+
gem 'pg', '>= 0.18', '< 2.0'
10+
# Use Puma as the app server
11+
gem 'puma', '~> 3.11'
12+
# Use SCSS for stylesheets
13+
gem 'sass-rails', '~> 5.0'
14+
# Use Uglifier as compressor for JavaScript assets
15+
gem 'uglifier', '>= 1.3.0'
16+
# See https://github.com/rails/execjs#readme for more supported runtimes
17+
# gem 'mini_racer', platforms: :ruby
18+
19+
# Use CoffeeScript for .coffee assets and views
20+
gem 'coffee-rails', '~> 4.2'
21+
# Turbolinks makes navigating your web application faster. Read more: https://github.com/turbolinks/turbolinks
22+
gem 'turbolinks', '~> 5'
23+
# Build JSON APIs with ease. Read more: https://github.com/rails/jbuilder
24+
gem 'jbuilder', '~> 2.5'
25+
# Use Redis adapter to run Action Cable in production
26+
# gem 'redis', '~> 4.0'
27+
# Use ActiveModel has_secure_password
28+
# gem 'bcrypt', '~> 3.1.7'
29+
30+
# Use ActiveStorage variant
31+
# gem 'mini_magick', '~> 4.8'
32+
33+
# Use Capistrano for deployment
34+
# gem 'capistrano-rails', group: :development
35+
36+
# Reduces boot times through caching; required in config/boot.rb
37+
gem 'bootsnap', '>= 1.1.0', require: false
38+
39+
group :development, :test do
40+
# Call 'byebug' anywhere in the code to stop execution and get a debugger console
41+
gem 'byebug', platforms: [:mri, :mingw, :x64_mingw]
42+
end
43+
44+
group :development do
45+
# Access an interactive console on exception pages or by calling 'console' anywhere in the code.
46+
gem 'web-console', '>= 3.3.0'
47+
gem 'listen', '>= 3.0.5', '< 3.2'
48+
# Spring speeds up development by keeping your application running in the background. Read more: https://github.com/rails/spring
49+
gem 'spring'
50+
gem 'spring-watcher-listen', '~> 2.0.0'
51+
end
52+
53+
54+
# Windows does not include zoneinfo files, so bundle the tzinfo-data gem
55+
gem 'tzinfo-data', platforms: [:mingw, :mswin, :x64_mingw, :jruby]

Diff for: Gemfile.lock

+188
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,188 @@
1+
GEM
2+
remote: https://rubygems.org/
3+
specs:
4+
actioncable (5.2.3)
5+
actionpack (= 5.2.3)
6+
nio4r (~> 2.0)
7+
websocket-driver (>= 0.6.1)
8+
actionmailer (5.2.3)
9+
actionpack (= 5.2.3)
10+
actionview (= 5.2.3)
11+
activejob (= 5.2.3)
12+
mail (~> 2.5, >= 2.5.4)
13+
rails-dom-testing (~> 2.0)
14+
actionpack (5.2.3)
15+
actionview (= 5.2.3)
16+
activesupport (= 5.2.3)
17+
rack (~> 2.0)
18+
rack-test (>= 0.6.3)
19+
rails-dom-testing (~> 2.0)
20+
rails-html-sanitizer (~> 1.0, >= 1.0.2)
21+
actionview (5.2.3)
22+
activesupport (= 5.2.3)
23+
builder (~> 3.1)
24+
erubi (~> 1.4)
25+
rails-dom-testing (~> 2.0)
26+
rails-html-sanitizer (~> 1.0, >= 1.0.3)
27+
activejob (5.2.3)
28+
activesupport (= 5.2.3)
29+
globalid (>= 0.3.6)
30+
activemodel (5.2.3)
31+
activesupport (= 5.2.3)
32+
activerecord (5.2.3)
33+
activemodel (= 5.2.3)
34+
activesupport (= 5.2.3)
35+
arel (>= 9.0)
36+
activestorage (5.2.3)
37+
actionpack (= 5.2.3)
38+
activerecord (= 5.2.3)
39+
marcel (~> 0.3.1)
40+
activesupport (5.2.3)
41+
concurrent-ruby (~> 1.0, >= 1.0.2)
42+
i18n (>= 0.7, < 2)
43+
minitest (~> 5.1)
44+
tzinfo (~> 1.1)
45+
arel (9.0.0)
46+
bindex (0.8.1)
47+
bootsnap (1.4.4)
48+
msgpack (~> 1.0)
49+
builder (3.2.3)
50+
byebug (11.0.1)
51+
coffee-rails (4.2.2)
52+
coffee-script (>= 2.2.0)
53+
railties (>= 4.0.0)
54+
coffee-script (2.4.1)
55+
coffee-script-source
56+
execjs
57+
coffee-script-source (1.12.2)
58+
concurrent-ruby (1.1.5)
59+
crass (1.0.4)
60+
erubi (1.8.0)
61+
execjs (2.7.0)
62+
ffi (1.11.1)
63+
globalid (0.4.2)
64+
activesupport (>= 4.2.0)
65+
i18n (1.6.0)
66+
concurrent-ruby (~> 1.0)
67+
jbuilder (2.9.1)
68+
activesupport (>= 4.2.0)
69+
listen (3.1.5)
70+
rb-fsevent (~> 0.9, >= 0.9.4)
71+
rb-inotify (~> 0.9, >= 0.9.7)
72+
ruby_dep (~> 1.2)
73+
loofah (2.2.3)
74+
crass (~> 1.0.2)
75+
nokogiri (>= 1.5.9)
76+
mail (2.7.1)
77+
mini_mime (>= 0.1.1)
78+
marcel (0.3.3)
79+
mimemagic (~> 0.3.2)
80+
method_source (0.9.2)
81+
mimemagic (0.3.3)
82+
mini_mime (1.0.2)
83+
mini_portile2 (2.4.0)
84+
minitest (5.11.3)
85+
msgpack (1.3.1)
86+
nio4r (2.4.0)
87+
nokogiri (1.10.4)
88+
mini_portile2 (~> 2.4.0)
89+
pg (1.1.4)
90+
puma (3.12.1)
91+
rack (2.0.7)
92+
rack-test (1.1.0)
93+
rack (>= 1.0, < 3)
94+
rails (5.2.3)
95+
actioncable (= 5.2.3)
96+
actionmailer (= 5.2.3)
97+
actionpack (= 5.2.3)
98+
actionview (= 5.2.3)
99+
activejob (= 5.2.3)
100+
activemodel (= 5.2.3)
101+
activerecord (= 5.2.3)
102+
activestorage (= 5.2.3)
103+
activesupport (= 5.2.3)
104+
bundler (>= 1.3.0)
105+
railties (= 5.2.3)
106+
sprockets-rails (>= 2.0.0)
107+
rails-dom-testing (2.0.3)
108+
activesupport (>= 4.2.0)
109+
nokogiri (>= 1.6)
110+
rails-html-sanitizer (1.2.0)
111+
loofah (~> 2.2, >= 2.2.2)
112+
railties (5.2.3)
113+
actionpack (= 5.2.3)
114+
activesupport (= 5.2.3)
115+
method_source
116+
rake (>= 0.8.7)
117+
thor (>= 0.19.0, < 2.0)
118+
rake (12.3.3)
119+
rb-fsevent (0.10.3)
120+
rb-inotify (0.10.0)
121+
ffi (~> 1.0)
122+
ruby_dep (1.5.0)
123+
sass (3.7.4)
124+
sass-listen (~> 4.0.0)
125+
sass-listen (4.0.0)
126+
rb-fsevent (~> 0.9, >= 0.9.4)
127+
rb-inotify (~> 0.9, >= 0.9.7)
128+
sass-rails (5.1.0)
129+
railties (>= 5.2.0)
130+
sass (~> 3.1)
131+
sprockets (>= 2.8, < 4.0)
132+
sprockets-rails (>= 2.0, < 4.0)
133+
tilt (>= 1.1, < 3)
134+
spring (2.1.0)
135+
spring-watcher-listen (2.0.1)
136+
listen (>= 2.7, < 4.0)
137+
spring (>= 1.2, < 3.0)
138+
sprockets (3.7.2)
139+
concurrent-ruby (~> 1.0)
140+
rack (> 1, < 3)
141+
sprockets-rails (3.2.1)
142+
actionpack (>= 4.0)
143+
activesupport (>= 4.0)
144+
sprockets (>= 3.0.0)
145+
thor (0.20.3)
146+
thread_safe (0.3.6)
147+
tilt (2.0.9)
148+
turbolinks (5.2.0)
149+
turbolinks-source (~> 5.2)
150+
turbolinks-source (5.2.0)
151+
tzinfo (1.2.5)
152+
thread_safe (~> 0.1)
153+
uglifier (4.1.20)
154+
execjs (>= 0.3.0, < 3)
155+
web-console (3.7.0)
156+
actionview (>= 5.0)
157+
activemodel (>= 5.0)
158+
bindex (>= 0.4.0)
159+
railties (>= 5.0)
160+
websocket-driver (0.7.1)
161+
websocket-extensions (>= 0.1.0)
162+
websocket-extensions (0.1.4)
163+
164+
PLATFORMS
165+
ruby
166+
167+
DEPENDENCIES
168+
bootsnap (>= 1.1.0)
169+
byebug
170+
coffee-rails (~> 4.2)
171+
jbuilder (~> 2.5)
172+
listen (>= 3.0.5, < 3.2)
173+
pg (>= 0.18, < 2.0)
174+
puma (~> 3.11)
175+
rails (~> 5.2.3)
176+
sass-rails (~> 5.0)
177+
spring
178+
spring-watcher-listen (~> 2.0.0)
179+
turbolinks (~> 5)
180+
tzinfo-data
181+
uglifier (>= 1.3.0)
182+
web-console (>= 3.3.0)
183+
184+
RUBY VERSION
185+
ruby 2.6.3p62
186+
187+
BUNDLED WITH
188+
2.0.2

Diff for: README.md

+24
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
# README
2+
3+
This README would normally document whatever steps are necessary to get the
4+
application up and running.
5+
6+
Things you may want to cover:
7+
8+
* Ruby version
9+
10+
* System dependencies
11+
12+
* Configuration
13+
14+
* Database creation
15+
16+
* Database initialization
17+
18+
* How to run the test suite
19+
20+
* Services (job queues, cache servers, search engines, etc.)
21+
22+
* Deployment instructions
23+
24+
* ...

Diff for: Rakefile

+6
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
# Add your own tasks in files placed in lib/tasks ending in .rake,
2+
# for example lib/tasks/capistrano.rake, and they will automatically be available to Rake.
3+
4+
require_relative 'config/application'
5+
6+
Rails.application.load_tasks

Diff for: app/assets/config/manifest.js

+3
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
//= link_tree ../images
2+
//= link_directory ../javascripts .js
3+
//= link_directory ../stylesheets .css

Diff for: app/assets/images/.keep

Whitespace-only changes.

Diff for: app/assets/javascripts/application.js

+16
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
// This is a manifest file that'll be compiled into application.js, which will include all the files
2+
// listed below.
3+
//
4+
// Any JavaScript/Coffee file within this directory, lib/assets/javascripts, or any plugin's
5+
// vendor/assets/javascripts directory can be referenced here using a relative path.
6+
//
7+
// It's not advisable to add code directly here, but if you do, it'll appear at the bottom of the
8+
// compiled file. JavaScript code in this file should be added after the last require_* statement.
9+
//
10+
// Read Sprockets README (https://github.com/rails/sprockets#sprockets-directives) for details
11+
// about supported directives.
12+
//
13+
//= require rails-ujs
14+
//= require activestorage
15+
//= require turbolinks
16+
//= require_tree .

Diff for: app/assets/javascripts/cable.js

+13
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
// 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.
3+
//
4+
//= require action_cable
5+
//= require_self
6+
//= require_tree ./channels
7+
8+
(function() {
9+
this.App || (this.App = {});
10+
11+
App.cable = ActionCable.createConsumer();
12+
13+
}).call(this);

Diff for: app/assets/javascripts/channels/.keep

Whitespace-only changes.

Diff for: app/assets/stylesheets/application.css

+15
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
/*
2+
* This is a manifest file that'll be compiled into application.css, which will include all the files
3+
* listed below.
4+
*
5+
* Any CSS and SCSS file within this directory, lib/assets/stylesheets, or any plugin's
6+
* vendor/assets/stylesheets directory can be referenced here using a relative path.
7+
*
8+
* You're free to add application-wide styles to this file and they'll appear at the bottom of the
9+
* compiled file so the styles you add here take precedence over styles defined in any other CSS/SCSS
10+
* files in this directory. Styles in this file should be added after the last require_* statement.
11+
* It is generally better to create a new file per style scope.
12+
*
13+
*= require_tree .
14+
*= require_self
15+
*/

Diff for: app/channels/application_cable/channel.rb

+4
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
module ApplicationCable
2+
class Channel < ActionCable::Channel::Base
3+
end
4+
end

Diff for: app/channels/application_cable/connection.rb

+4
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
module ApplicationCable
2+
class Connection < ActionCable::Connection::Base
3+
end
4+
end

Diff for: app/controllers/application_controller.rb

+2
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
class ApplicationController < ActionController::Base
2+
end

Diff for: app/controllers/concerns/.keep

Whitespace-only changes.

Diff for: app/helpers/application_helper.rb

+2
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
module ApplicationHelper
2+
end

Diff for: app/jobs/application_job.rb

+2
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
class ApplicationJob < ActiveJob::Base
2+
end

Diff for: app/mailers/application_mailer.rb

+4
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
class ApplicationMailer < ActionMailer::Base
2+
default from: '[email protected]'
3+
layout 'mailer'
4+
end

Diff for: app/models/application_record.rb

+3
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
class ApplicationRecord < ActiveRecord::Base
2+
self.abstract_class = true
3+
end

Diff for: app/models/concerns/.keep

Whitespace-only changes.

0 commit comments

Comments
 (0)