Skip to content

Commit 67d5202

Browse files
committed
Creates project
0 parents  commit 67d5202

Some content is hidden

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

69 files changed

+1215
-0
lines changed

.gitignore

Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
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 .ruby-version
8+
/.ruby-version
9+
10+
# Ignore bundler config.
11+
/.bundle
12+
13+
# Ignore the default SQLite database.
14+
/db/*.sqlite3
15+
/db/*.sqlite3-journal
16+
17+
# Ignore all logfiles and tempfiles.
18+
/log/*
19+
/tmp/*
20+
!/log/.keep
21+
!/tmp/.keep
22+
23+
# Ignore uploaded files in development
24+
/storage/*
25+
!/storage/.keep
26+
27+
/node_modules
28+
/yarn-error.log
29+
30+
/public/assets
31+
.byebug_history
32+
33+
# Ignore master key for decrypting credentials and more.
34+
/config/master.key

Gemfile

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
source 'https://rubygems.org'
2+
git_source(:github) { |repo| "https://github.com/#{repo}.git" }
3+
4+
ruby '2.6.1'
5+
6+
gem 'rails', '~> 5.2.3'
7+
gem 'sqlite3'
8+
gem 'puma', '~> 3.11'
9+
gem 'sass-rails', '~> 5.0'
10+
gem 'uglifier', '>= 1.3.0'
11+
gem 'coffee-rails', '~> 4.2'
12+
gem 'turbolinks', '~> 5'
13+
gem 'jbuilder', '~> 2.5'
14+
gem 'bootsnap', '>= 1.1.0', require: false
15+
gem 'tzinfo-data', platforms: [:mingw, :mswin, :x64_mingw, :jruby]
16+
17+
group :development, :test do
18+
gem 'pry-byebug'
19+
gem 'rspec-rails', '~> 3.8'
20+
gem 'simplecov'
21+
end
22+
23+
group :development do
24+
gem 'web-console', '>= 3.3.0'
25+
gem 'listen', '>= 3.0.5', '< 3.2'
26+
gem 'spring'
27+
gem 'spring-watcher-listen', '~> 2.0.0'
28+
end
29+
30+

Gemfile.lock

Lines changed: 225 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,225 @@
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.7.0)
47+
bootsnap (1.4.3)
48+
msgpack (~> 1.0)
49+
builder (3.2.3)
50+
byebug (11.0.1)
51+
coderay (1.1.2)
52+
coffee-rails (4.2.2)
53+
coffee-script (>= 2.2.0)
54+
railties (>= 4.0.0)
55+
coffee-script (2.4.1)
56+
coffee-script-source
57+
execjs
58+
coffee-script-source (1.12.2)
59+
concurrent-ruby (1.1.5)
60+
crass (1.0.4)
61+
diff-lcs (1.3)
62+
docile (1.3.1)
63+
erubi (1.8.0)
64+
execjs (2.7.0)
65+
ffi (1.10.0)
66+
globalid (0.4.2)
67+
activesupport (>= 4.2.0)
68+
i18n (1.6.0)
69+
concurrent-ruby (~> 1.0)
70+
jbuilder (2.8.0)
71+
activesupport (>= 4.2.0)
72+
multi_json (>= 1.2)
73+
json (2.2.0)
74+
listen (3.1.5)
75+
rb-fsevent (~> 0.9, >= 0.9.4)
76+
rb-inotify (~> 0.9, >= 0.9.7)
77+
ruby_dep (~> 1.2)
78+
loofah (2.2.3)
79+
crass (~> 1.0.2)
80+
nokogiri (>= 1.5.9)
81+
mail (2.7.1)
82+
mini_mime (>= 0.1.1)
83+
marcel (0.3.3)
84+
mimemagic (~> 0.3.2)
85+
method_source (0.9.2)
86+
mimemagic (0.3.3)
87+
mini_mime (1.0.1)
88+
mini_portile2 (2.4.0)
89+
minitest (5.11.3)
90+
msgpack (1.2.9)
91+
multi_json (1.13.1)
92+
nio4r (2.3.1)
93+
nokogiri (1.10.2)
94+
mini_portile2 (~> 2.4.0)
95+
pry (0.12.2)
96+
coderay (~> 1.1.0)
97+
method_source (~> 0.9.0)
98+
pry-byebug (3.7.0)
99+
byebug (~> 11.0)
100+
pry (~> 0.10)
101+
puma (3.12.1)
102+
rack (2.0.7)
103+
rack-test (1.1.0)
104+
rack (>= 1.0, < 3)
105+
rails (5.2.3)
106+
actioncable (= 5.2.3)
107+
actionmailer (= 5.2.3)
108+
actionpack (= 5.2.3)
109+
actionview (= 5.2.3)
110+
activejob (= 5.2.3)
111+
activemodel (= 5.2.3)
112+
activerecord (= 5.2.3)
113+
activestorage (= 5.2.3)
114+
activesupport (= 5.2.3)
115+
bundler (>= 1.3.0)
116+
railties (= 5.2.3)
117+
sprockets-rails (>= 2.0.0)
118+
rails-dom-testing (2.0.3)
119+
activesupport (>= 4.2.0)
120+
nokogiri (>= 1.6)
121+
rails-html-sanitizer (1.0.4)
122+
loofah (~> 2.2, >= 2.2.2)
123+
railties (5.2.3)
124+
actionpack (= 5.2.3)
125+
activesupport (= 5.2.3)
126+
method_source
127+
rake (>= 0.8.7)
128+
thor (>= 0.19.0, < 2.0)
129+
rake (12.3.2)
130+
rb-fsevent (0.10.3)
131+
rb-inotify (0.10.0)
132+
ffi (~> 1.0)
133+
rspec-core (3.8.0)
134+
rspec-support (~> 3.8.0)
135+
rspec-expectations (3.8.2)
136+
diff-lcs (>= 1.2.0, < 2.0)
137+
rspec-support (~> 3.8.0)
138+
rspec-mocks (3.8.0)
139+
diff-lcs (>= 1.2.0, < 2.0)
140+
rspec-support (~> 3.8.0)
141+
rspec-rails (3.8.2)
142+
actionpack (>= 3.0)
143+
activesupport (>= 3.0)
144+
railties (>= 3.0)
145+
rspec-core (~> 3.8.0)
146+
rspec-expectations (~> 3.8.0)
147+
rspec-mocks (~> 3.8.0)
148+
rspec-support (~> 3.8.0)
149+
rspec-support (3.8.0)
150+
ruby_dep (1.5.0)
151+
sass (3.7.4)
152+
sass-listen (~> 4.0.0)
153+
sass-listen (4.0.0)
154+
rb-fsevent (~> 0.9, >= 0.9.4)
155+
rb-inotify (~> 0.9, >= 0.9.7)
156+
sass-rails (5.0.7)
157+
railties (>= 4.0.0, < 6)
158+
sass (~> 3.1)
159+
sprockets (>= 2.8, < 4.0)
160+
sprockets-rails (>= 2.0, < 4.0)
161+
tilt (>= 1.1, < 3)
162+
simplecov (0.16.1)
163+
docile (~> 1.1)
164+
json (>= 1.8, < 3)
165+
simplecov-html (~> 0.10.0)
166+
simplecov-html (0.10.2)
167+
spring (2.0.2)
168+
activesupport (>= 4.2)
169+
spring-watcher-listen (2.0.1)
170+
listen (>= 2.7, < 4.0)
171+
spring (>= 1.2, < 3.0)
172+
sprockets (3.7.2)
173+
concurrent-ruby (~> 1.0)
174+
rack (> 1, < 3)
175+
sprockets-rails (3.2.1)
176+
actionpack (>= 4.0)
177+
activesupport (>= 4.0)
178+
sprockets (>= 3.0.0)
179+
sqlite3 (1.4.0)
180+
thor (0.20.3)
181+
thread_safe (0.3.6)
182+
tilt (2.0.9)
183+
turbolinks (5.2.0)
184+
turbolinks-source (~> 5.2)
185+
turbolinks-source (5.2.0)
186+
tzinfo (1.2.5)
187+
thread_safe (~> 0.1)
188+
uglifier (4.1.20)
189+
execjs (>= 0.3.0, < 3)
190+
web-console (3.7.0)
191+
actionview (>= 5.0)
192+
activemodel (>= 5.0)
193+
bindex (>= 0.4.0)
194+
railties (>= 5.0)
195+
websocket-driver (0.7.0)
196+
websocket-extensions (>= 0.1.0)
197+
websocket-extensions (0.1.3)
198+
199+
PLATFORMS
200+
ruby
201+
202+
DEPENDENCIES
203+
bootsnap (>= 1.1.0)
204+
coffee-rails (~> 4.2)
205+
jbuilder (~> 2.5)
206+
listen (>= 3.0.5, < 3.2)
207+
pry-byebug
208+
puma (~> 3.11)
209+
rails (~> 5.2.3)
210+
rspec-rails (~> 3.8)
211+
sass-rails (~> 5.0)
212+
simplecov
213+
spring
214+
spring-watcher-listen (~> 2.0.0)
215+
sqlite3
216+
turbolinks (~> 5)
217+
tzinfo-data
218+
uglifier (>= 1.3.0)
219+
web-console (>= 3.3.0)
220+
221+
RUBY VERSION
222+
ruby 2.6.1p33
223+
224+
BUNDLED WITH
225+
1.17.2

README.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
# Todo - Hug Pay
2+
3+
* ...

Rakefile

Lines changed: 6 additions & 0 deletions
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

app/assets/config/manifest.js

Lines changed: 3 additions & 0 deletions
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

app/assets/images/.keep

Whitespace-only changes.

app/assets/javascripts/application.js

Lines changed: 16 additions & 0 deletions
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 .

app/assets/javascripts/cable.js

Lines changed: 13 additions & 0 deletions
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);

app/assets/javascripts/channels/.keep

Whitespace-only changes.
Lines changed: 15 additions & 0 deletions
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+
*/
Lines changed: 4 additions & 0 deletions
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
Lines changed: 4 additions & 0 deletions
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
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
class ApplicationController < ActionController::Base
2+
end

app/controllers/concerns/.keep

Whitespace-only changes.

app/helpers/application_helper.rb

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
module ApplicationHelper
2+
end

app/jobs/application_job.rb

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
class ApplicationJob < ActiveJob::Base
2+
end

app/mailers/application_mailer.rb

Lines changed: 4 additions & 0 deletions
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

app/models/application_record.rb

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

app/models/concerns/.keep

Whitespace-only changes.
Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
<!DOCTYPE html>
2+
<html>
3+
<head>
4+
<title>TodoHp</title>
5+
<%= csrf_meta_tags %>
6+
<%= csp_meta_tag %>
7+
8+
<%= stylesheet_link_tag 'application', media: 'all', 'data-turbolinks-track': 'reload' %>
9+
<%= javascript_include_tag 'application', 'data-turbolinks-track': 'reload' %>
10+
</head>
11+
12+
<body>
13+
<%= yield %>
14+
</body>
15+
</html>

0 commit comments

Comments
 (0)