Skip to content

Commit 0920730

Browse files
committed
initial commit
1 parent 68a4967 commit 0920730

File tree

94 files changed

+12250
-129
lines changed

Some content is hidden

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

94 files changed

+12250
-129
lines changed

.browserslistrc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
defaults

.eslintrc.yml

Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
extends: ['eslint:recommended', 'plugin:vue/recommended']
2+
env:
3+
amd: true
4+
browser: true
5+
es6: true
6+
jquery: true
7+
node: true
8+
globals:
9+
module: true
10+
Bloodhound: true
11+
parserOptions:
12+
ecmaVersion: 6
13+
sourceType: 'module'
14+
ecmaFeatures:
15+
experimentalObjectRestSpread: true
16+
rules:
17+
# the leading number is the warn level (1 = warn, 2 = error)
18+
semi: [1, "always"]
19+
max-len: [1, { "code": 80 }]
20+
quotes: [1, "single"]
21+
comma-dangle: [1, "always-multiline"]
22+
no-unused-vars: 1
23+
vue/html-quotes: [1, "double"]
24+
vue/max-attributes-per-line: [1, {
25+
"singleline": 1,
26+
"multiline": {
27+
"max": 1,
28+
"allowFirstLine": true
29+
}
30+
}]
31+
vue/html-self-closing: "never"
32+
vue/attribute-hyphenation: "never"

.gitignore

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,3 +29,10 @@
2929

3030
# Ignore master key for decrypting credentials and more.
3131
/config/master.key
32+
33+
/public/packs
34+
/public/packs-test
35+
/node_modules
36+
/yarn-error.log
37+
yarn-debug.log*
38+
.yarn-integrity

.nvmrc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
12.4.0

.rspec

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
--require spec_helper

.rubocop.yml

Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
inherit_gem:
2+
jcop:
3+
- .rubocop.yml
4+
5+
AllCops:
6+
Exclude:
7+
- ./db/schema.rb
8+
9+
Metrics/BlockLength:
10+
Exclude:
11+
- ./**/*_spec*.rb
12+
- config/routes.rb
13+
14+
Metrics/MethodLength:
15+
Exclude:
16+
- db/migrate/*.rb
17+
18+
Metrics/AbcSize:
19+
Exclude:
20+
- db/migrate/*.rb
21+
22+
Rails/LexicallyScopedActionFilter:
23+
Exclude:
24+
- app/controllers/application_controller.rb
25+
26+
Layout/MultilineMethodCallIndentation:
27+
EnforcedStyle: indented
28+
29+
Rails/DynamicFindBy:
30+
Whitelist:
31+
- find_by_gql_id
32+
- find_by_gql_ids

.ruby-version

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
2.6.1
1+
2.6.3

Gemfile

Lines changed: 33 additions & 54 deletions
Original file line numberDiff line numberDiff line change
@@ -1,62 +1,41 @@
1-
source 'https://rubygems.org'
2-
git_source(:github) { |repo| "https://github.com/#{repo}.git" }
3-
4-
ruby '2.6.1'
5-
6-
# Bundle edge Rails instead: gem 'rails', github: 'rails/rails'
7-
gem 'rails', '~> 5.2.3'
8-
# Use sqlite3 as the database for Active Record
9-
gem 'sqlite3'
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'
1+
# frozen_string_literal: true
322

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
3+
source "https://rubygems.org"
4+
git_source(:github) { |repo| "https://github.com/#{repo}.git" }
385

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
6+
ruby File.read("./.ruby-version").strip
7+
8+
gem "bootsnap", ">= 1.1.0", require: false
9+
gem "bootstrap", ">= 4.3.1"
10+
gem "coffee-rails", "~> 4.2"
11+
gem "devise"
12+
gem "devise-token_authenticatable"
13+
gem "foreman"
14+
gem "graphql"
15+
gem "jbuilder", "~> 2.5"
16+
gem "pg"
17+
gem "puma", "~> 3.11"
18+
gem "rails", "5.2.3"
19+
gem "sass-rails", "~> 5.0"
20+
gem "sprockets", "~> 3.7.2" # version 3.7.1 has a known vulnerability
21+
gem "turbolinks", "~> 5"
22+
gem "uglifier", ">= 1.3.0"
23+
gem "webpacker", "~> 4.0.7"
4324

4425
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'
26+
gem "graphiql-rails"
27+
gem "jcop", "~> 0.2.4", git: "https://github.com/kleinjm/jcop"
28+
gem "listen", ">= 3.0.5", "< 3.2"
29+
gem "pry"
30+
gem "pry-nav"
31+
gem "spring"
32+
gem "spring-watcher-listen", "~> 2.0.0"
33+
gem "web-console", ">= 3.3.0"
5134
end
5235

5336
group :test do
54-
# Adds support for Capybara system testing and selenium driver
55-
gem 'capybara', '>= 2.15'
56-
gem 'selenium-webdriver'
57-
# Easy installation and use of chromedriver to run system tests with Chrome
58-
gem 'chromedriver-helper'
37+
gem "capybara", ">= 2.15"
38+
gem "factory_bot_rails"
39+
gem "rspec-rails"
40+
gem "selenium-webdriver"
5941
end
60-
61-
# Windows does not include zoneinfo files, so bundle the tzinfo-data gem
62-
gem 'tzinfo-data', platforms: [:mingw, :mswin, :x64_mingw, :jruby]

0 commit comments

Comments
 (0)