-
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
0 parents
commit 2a0d43f
Showing
51 changed files
with
7,052 additions
and
0 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
{ | ||
"presets": [ | ||
["env", { | ||
"modules": false, | ||
"targets": { | ||
"browsers": "> 1%", | ||
"uglify": true | ||
}, | ||
"useBuiltIns": true | ||
}] | ||
], | ||
|
||
"plugins": [ | ||
"syntax-dynamic-import", | ||
"transform-object-rest-spread", | ||
["transform-class-properties", { "spec": true }] | ||
] | ||
} |
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 |
---|---|---|
@@ -0,0 +1,3 @@ | ||
# Example .env, meant to be updated. | ||
# Variables in here are available and shared across all environments: development, production, etc. | ||
SECRET_KEY_BASE=9947d14fae6387430068ae1a86c77b360cbe1ed401beb1b92239701b48bb1af7566589435725bee110b14da360a5138f1ba66b62c894cdc6f840b29fca8b6763 |
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 |
---|---|---|
@@ -0,0 +1,3 @@ | ||
# Example .env.development, meant to be updated. | ||
ENV_DEVELOPMENT_KEY=example1 | ||
# DATABASE_URL=mysql2://dbuser:dbpass@localhost/demo_development?pool=5 |
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 |
---|---|---|
@@ -0,0 +1,3 @@ | ||
# Example .env.test, meant to be updated. | ||
env_key1=env_value1 | ||
env_key2=env_value2 |
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 |
---|---|---|
@@ -0,0 +1,17 @@ | ||
*.gem | ||
.bundle | ||
.byebug_history | ||
.DS_Store | ||
.env.*.remote | ||
.env.production | ||
.env.staging | ||
/node_modules | ||
/public/packs | ||
/public/packs-test | ||
bundled | ||
coverage | ||
pkg | ||
tmp | ||
/public/packs | ||
/public/packs-test | ||
/node_modules |
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 |
---|---|---|
@@ -0,0 +1 @@ | ||
pack |
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 |
---|---|---|
@@ -0,0 +1,3 @@ | ||
plugins: | ||
postcss-import: {} | ||
postcss-cssnext: {} |
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 |
---|---|---|
@@ -0,0 +1,3 @@ | ||
--color | ||
--format documentation | ||
--require spec_helper |
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 |
---|---|---|
@@ -0,0 +1,23 @@ | ||
source "https://rubygems.org" | ||
|
||
gem "jets" | ||
|
||
# Include webpacker if you are you are building html pages | ||
gem "webpacker", git: "https://github.com/tongueroo/webpacker.git", branch: "jets" | ||
|
||
# Include mysql2 gem if you are using ActiveRecord, remove if you are not | ||
gem "mysql2", "~> 0.5.2" | ||
|
||
|
||
group :development, :test do | ||
# Call 'byebug' anywhere in the code to stop execution and get a debugger console | ||
gem 'byebug', platforms: [:mri, :mingw, :x64_mingw] | ||
gem 'shotgun' | ||
gem 'rack' | ||
end | ||
|
||
group :test do | ||
gem 'rspec' # rspec test group only or we get the "irb: warn: can't alias context from irb_context warning" when starting jets console | ||
gem 'launchy' | ||
gem 'capybara' | ||
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 |
---|---|---|
@@ -0,0 +1,195 @@ | ||
GIT | ||
remote: https://github.com/tongueroo/webpacker.git | ||
revision: a8c46614c6757fab65e4d0c47d8203014e7b4ef9 | ||
branch: jets | ||
specs: | ||
webpacker (3.2.0) | ||
activesupport (>= 4.2) | ||
rack-proxy (>= 0.6.1) | ||
railties (>= 4.2) | ||
|
||
GEM | ||
remote: https://rubygems.org/ | ||
specs: | ||
actionpack (5.2.2) | ||
actionview (= 5.2.2) | ||
activesupport (= 5.2.2) | ||
rack (~> 2.0) | ||
rack-test (>= 0.6.3) | ||
rails-dom-testing (~> 2.0) | ||
rails-html-sanitizer (~> 1.0, >= 1.0.2) | ||
actionview (5.2.2) | ||
activesupport (= 5.2.2) | ||
builder (~> 3.1) | ||
erubi (~> 1.4) | ||
rails-dom-testing (~> 2.0) | ||
rails-html-sanitizer (~> 1.0, >= 1.0.3) | ||
activemodel (5.2.2) | ||
activesupport (= 5.2.2) | ||
activerecord (5.2.2) | ||
activemodel (= 5.2.2) | ||
activesupport (= 5.2.2) | ||
arel (>= 9.0) | ||
activesupport (5.2.2) | ||
concurrent-ruby (~> 1.0, >= 1.0.2) | ||
i18n (>= 0.7, < 2) | ||
minitest (~> 5.1) | ||
tzinfo (~> 1.1) | ||
addressable (2.5.2) | ||
public_suffix (>= 2.0.2, < 4.0) | ||
arel (9.0.0) | ||
aws-eventstream (1.0.1) | ||
aws-partitions (1.123.0) | ||
aws-sdk-apigateway (1.23.0) | ||
aws-sdk-core (~> 3, >= 3.39.0) | ||
aws-sigv4 (~> 1.0) | ||
aws-sdk-cloudformation (1.13.0) | ||
aws-sdk-core (~> 3, >= 3.39.0) | ||
aws-sigv4 (~> 1.0) | ||
aws-sdk-cloudwatchlogs (1.12.0) | ||
aws-sdk-core (~> 3, >= 3.39.0) | ||
aws-sigv4 (~> 1.0) | ||
aws-sdk-core (3.44.0) | ||
aws-eventstream (~> 1.0) | ||
aws-partitions (~> 1.0) | ||
aws-sigv4 (~> 1.0) | ||
jmespath (~> 1.0) | ||
aws-sdk-dynamodb (1.18.0) | ||
aws-sdk-core (~> 3, >= 3.39.0) | ||
aws-sigv4 (~> 1.0) | ||
aws-sdk-kms (1.13.0) | ||
aws-sdk-core (~> 3, >= 3.39.0) | ||
aws-sigv4 (~> 1.0) | ||
aws-sdk-lambda (1.16.0) | ||
aws-sdk-core (~> 3, >= 3.39.0) | ||
aws-sigv4 (~> 1.0) | ||
aws-sdk-s3 (1.30.0) | ||
aws-sdk-core (~> 3, >= 3.39.0) | ||
aws-sdk-kms (~> 1) | ||
aws-sigv4 (~> 1.0) | ||
aws-sdk-sns (1.9.0) | ||
aws-sdk-core (~> 3, >= 3.39.0) | ||
aws-sigv4 (~> 1.0) | ||
aws-sigv4 (1.0.3) | ||
builder (3.2.3) | ||
byebug (10.0.2) | ||
capybara (3.12.0) | ||
addressable | ||
mini_mime (>= 0.1.3) | ||
nokogiri (~> 1.8) | ||
rack (>= 1.6.0) | ||
rack-test (>= 0.6.3) | ||
regexp_parser (~> 1.2) | ||
xpath (~> 3.2) | ||
colorize (0.8.1) | ||
concurrent-ruby (1.1.3) | ||
crass (1.0.4) | ||
diff-lcs (1.3) | ||
dotenv (2.5.0) | ||
erubi (1.7.1) | ||
gems (1.1.1) | ||
json | ||
hashie (3.6.0) | ||
i18n (1.2.0) | ||
concurrent-ruby (~> 1.0) | ||
jets (1.3.0) | ||
actionpack (>= 5.2.1) | ||
actionview (>= 5.2.1) | ||
activerecord (>= 5.2.1) | ||
activesupport (>= 5.2.1) | ||
aws-sdk-apigateway | ||
aws-sdk-cloudformation | ||
aws-sdk-cloudwatchlogs | ||
aws-sdk-dynamodb | ||
aws-sdk-lambda | ||
aws-sdk-s3 | ||
aws-sdk-sns | ||
colorize | ||
dotenv | ||
gems | ||
hashie | ||
json | ||
kramdown | ||
memoist | ||
mimemagic | ||
rack | ||
railties (>= 5.2.1) | ||
recursive-open-struct | ||
text-table | ||
thor | ||
jmespath (1.4.0) | ||
json (2.1.0) | ||
kramdown (1.17.0) | ||
launchy (2.4.3) | ||
addressable (~> 2.3) | ||
loofah (2.2.3) | ||
crass (~> 1.0.2) | ||
nokogiri (>= 1.5.9) | ||
memoist (0.16.0) | ||
method_source (0.9.2) | ||
mimemagic (0.3.2) | ||
mini_mime (1.0.1) | ||
mini_portile2 (2.3.0) | ||
minitest (5.11.3) | ||
mysql2 (0.5.2) | ||
nokogiri (1.8.5) | ||
mini_portile2 (~> 2.3.0) | ||
public_suffix (3.0.3) | ||
rack (2.0.6) | ||
rack-proxy (0.6.5) | ||
rack | ||
rack-test (1.1.0) | ||
rack (>= 1.0, < 3) | ||
rails-dom-testing (2.0.3) | ||
activesupport (>= 4.2.0) | ||
nokogiri (>= 1.6) | ||
rails-html-sanitizer (1.0.4) | ||
loofah (~> 2.2, >= 2.2.2) | ||
railties (5.2.2) | ||
actionpack (= 5.2.2) | ||
activesupport (= 5.2.2) | ||
method_source | ||
rake (>= 0.8.7) | ||
thor (>= 0.19.0, < 2.0) | ||
rake (12.3.2) | ||
recursive-open-struct (1.1.0) | ||
regexp_parser (1.3.0) | ||
rspec (3.8.0) | ||
rspec-core (~> 3.8.0) | ||
rspec-expectations (~> 3.8.0) | ||
rspec-mocks (~> 3.8.0) | ||
rspec-core (3.8.0) | ||
rspec-support (~> 3.8.0) | ||
rspec-expectations (3.8.2) | ||
diff-lcs (>= 1.2.0, < 2.0) | ||
rspec-support (~> 3.8.0) | ||
rspec-mocks (3.8.0) | ||
diff-lcs (>= 1.2.0, < 2.0) | ||
rspec-support (~> 3.8.0) | ||
rspec-support (3.8.0) | ||
shotgun (0.9.2) | ||
rack (>= 1.0) | ||
text-table (1.2.4) | ||
thor (0.20.3) | ||
thread_safe (0.3.6) | ||
tzinfo (1.2.5) | ||
thread_safe (~> 0.1) | ||
xpath (3.2.0) | ||
nokogiri (~> 1.8) | ||
|
||
PLATFORMS | ||
ruby | ||
|
||
DEPENDENCIES | ||
byebug | ||
capybara | ||
jets | ||
launchy | ||
mysql2 (~> 0.5.2) | ||
rack | ||
rspec | ||
shotgun | ||
webpacker! | ||
|
||
BUNDLED WITH | ||
1.17.1 |
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 |
---|---|---|
@@ -0,0 +1,7 @@ | ||
local: dynamodb-local # port 8000 | ||
admin: env AWS_ACCESS_KEY_ID=$DYNAMODB_ADMIN_AWS_ACCESS_KEY_ID PORT=8001 dynamodb-admin # port 8001 | ||
# web: jets server # port 8888 | ||
|
||
# Using Procfile to just start local dynamodb services for now. | ||
# To start jets server for now use: | ||
# jets server |
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 |
---|---|---|
@@ -0,0 +1,11 @@ | ||
# Jets Project | ||
|
||
This README would normally document whatever steps are necessary to get the application up and running. | ||
|
||
Things you might want to cover: | ||
|
||
* Dependencies | ||
* Configuration | ||
* Database setup | ||
* How to run the test suite | ||
* Deployment instructions |
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 |
---|---|---|
@@ -0,0 +1,2 @@ | ||
require 'jets' | ||
Jets.load_tasks |
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 |
---|---|---|
@@ -0,0 +1,2 @@ | ||
class ApplicationController < Jets::Controller::Base | ||
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 |
---|---|---|
@@ -0,0 +1,2 @@ | ||
module ApplicationHelper | ||
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 |
---|---|---|
@@ -0,0 +1,11 @@ | ||
/* eslint no-console:0 */ | ||
// This file is automatically compiled by Webpack and Jets, along with any other files | ||
// present in this directory. You're encouraged to place your actual application logic in | ||
// a relevant structure within app/javascript and only use these pack files to reference | ||
// that code so it'll be compiled. | ||
// | ||
// To reference this file, add <%= javascript_pack_tag 'application' %> to the appropriate | ||
// layout file, like app/views/layouts/application.html.erb | ||
|
||
import '../src/jets/crud' | ||
console.log('Hello World from Webpacker') |
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 |
---|---|---|
@@ -0,0 +1,21 @@ | ||
// This file is automatically generated by Jets. It is meant to be modified | ||
// for your needs. | ||
|
||
// Simple starter css generated by Jets, meant to be overriden | ||
.starter { | ||
padding: 20px; | ||
|
||
td:first-child { | ||
min-width: 300px; | ||
} | ||
td { | ||
padding-left: 6px; | ||
} | ||
|
||
label { | ||
min-width: 200px; | ||
} | ||
input { | ||
padding: 5px; | ||
} | ||
} |
Oops, something went wrong.