upgraded gems

This commit is contained in:
Dan Elbert 2019-08-05 18:54:49 -05:00
parent 6115afca50
commit f4fb33c6c3
6 changed files with 1465 additions and 1258 deletions

17
Gemfile
View File

@ -1,19 +1,18 @@
source 'https://rubygems.org' source 'https://rubygems.org'
gem 'rails', '5.2.2.1' gem 'rails', '5.2.3'
gem 'pg', '~> 1.1.4' gem 'pg', '~> 1.1.4'
gem 'webpacker', '4.0.2' gem 'webpacker', '4.0.7'
gem 'bootsnap', '>= 1.1.0', require: false gem 'bootsnap', '>= 1.1.0', require: false
gem 'jbuilder', '~> 2.8' gem 'jbuilder', '~> 2.9'
#gem 'jbuilder', git: 'https://github.com/rails/jbuilder', branch: 'master'
gem 'oj', '~> 3.7.11' gem 'oj', '~> 3.8.1'
gem 'kaminari', '~> 1.1.1' gem 'kaminari', '~> 1.1.1'
gem 'unitwise', '~> 2.2.0' gem 'unitwise', '~> 2.2.0'
gem 'redcarpet', '~> 3.4.0' gem 'redcarpet', '~> 3.5.0'
gem 'dalli', '~> 2.7.10' gem 'dalli', '~> 2.7.10'
@ -24,14 +23,14 @@ gem 'tzinfo-data'
group :development, :test do group :development, :test do
gem 'puma', '~> 3.12' gem 'puma', '~> 4.0.1'
gem 'sqlite3', '~> 1.3.13' gem 'sqlite3', '~> 1.4.1'
gem 'guard', '~> 2.15.0' gem 'guard', '~> 2.15.0'
gem 'guard-rspec', require: false gem 'guard-rspec', require: false
gem 'rspec-rails', '~> 3.8.0' gem 'rspec-rails', '~> 3.8.0'
gem 'rails-controller-testing' gem 'rails-controller-testing'
gem 'factory_bot_rails', '~> 4.11.1' gem 'factory_bot_rails', '~> 5.0.2'
gem 'database_cleaner', '~> 1.7.0' gem 'database_cleaner', '~> 1.7.0'
end end

View File

@ -1,43 +1,43 @@
GEM GEM
remote: https://rubygems.org/ remote: https://rubygems.org/
specs: specs:
actioncable (5.2.2.1) actioncable (5.2.3)
actionpack (= 5.2.2.1) actionpack (= 5.2.3)
nio4r (~> 2.0) nio4r (~> 2.0)
websocket-driver (>= 0.6.1) websocket-driver (>= 0.6.1)
actionmailer (5.2.2.1) actionmailer (5.2.3)
actionpack (= 5.2.2.1) actionpack (= 5.2.3)
actionview (= 5.2.2.1) actionview (= 5.2.3)
activejob (= 5.2.2.1) activejob (= 5.2.3)
mail (~> 2.5, >= 2.5.4) mail (~> 2.5, >= 2.5.4)
rails-dom-testing (~> 2.0) rails-dom-testing (~> 2.0)
actionpack (5.2.2.1) actionpack (5.2.3)
actionview (= 5.2.2.1) actionview (= 5.2.3)
activesupport (= 5.2.2.1) activesupport (= 5.2.3)
rack (~> 2.0) rack (~> 2.0)
rack-test (>= 0.6.3) rack-test (>= 0.6.3)
rails-dom-testing (~> 2.0) rails-dom-testing (~> 2.0)
rails-html-sanitizer (~> 1.0, >= 1.0.2) rails-html-sanitizer (~> 1.0, >= 1.0.2)
actionview (5.2.2.1) actionview (5.2.3)
activesupport (= 5.2.2.1) activesupport (= 5.2.3)
builder (~> 3.1) builder (~> 3.1)
erubi (~> 1.4) erubi (~> 1.4)
rails-dom-testing (~> 2.0) rails-dom-testing (~> 2.0)
rails-html-sanitizer (~> 1.0, >= 1.0.3) rails-html-sanitizer (~> 1.0, >= 1.0.3)
activejob (5.2.2.1) activejob (5.2.3)
activesupport (= 5.2.2.1) activesupport (= 5.2.3)
globalid (>= 0.3.6) globalid (>= 0.3.6)
activemodel (5.2.2.1) activemodel (5.2.3)
activesupport (= 5.2.2.1) activesupport (= 5.2.3)
activerecord (5.2.2.1) activerecord (5.2.3)
activemodel (= 5.2.2.1) activemodel (= 5.2.3)
activesupport (= 5.2.2.1) activesupport (= 5.2.3)
arel (>= 9.0) arel (>= 9.0)
activestorage (5.2.2.1) activestorage (5.2.3)
actionpack (= 5.2.2.1) actionpack (= 5.2.3)
activerecord (= 5.2.2.1) activerecord (= 5.2.3)
marcel (~> 0.3.1) marcel (~> 0.3.1)
activesupport (5.2.2.1) activesupport (5.2.3)
concurrent-ruby (~> 1.0, >= 1.0.2) concurrent-ruby (~> 1.0, >= 1.0.2)
i18n (>= 0.7, < 2) i18n (>= 0.7, < 2)
minitest (~> 5.1) minitest (~> 5.1)
@ -54,11 +54,11 @@ GEM
database_cleaner (1.7.0) database_cleaner (1.7.0)
diff-lcs (1.3) diff-lcs (1.3)
erubi (1.8.0) erubi (1.8.0)
factory_bot (4.11.1) factory_bot (5.0.2)
activesupport (>= 3.0.0) activesupport (>= 4.2.0)
factory_bot_rails (4.11.1) factory_bot_rails (5.0.2)
factory_bot (~> 4.11.1) factory_bot (~> 5.0.2)
railties (>= 3.0.0) railties (>= 4.2.0)
ffi (1.11.1) ffi (1.11.1)
formatador (0.2.5) formatador (0.2.5)
globalid (0.4.2) globalid (0.4.2)
@ -110,41 +110,42 @@ GEM
thread_safe (~> 0.3, >= 0.3.1) thread_safe (~> 0.3, >= 0.3.1)
method_source (0.9.2) method_source (0.9.2)
mimemagic (0.3.3) mimemagic (0.3.3)
mini_mime (1.0.1) mini_mime (1.0.2)
mini_portile2 (2.4.0) mini_portile2 (2.4.0)
minitest (5.11.3) minitest (5.11.3)
msgpack (1.2.10) msgpack (1.3.1)
nenv (0.3.0) nenv (0.3.0)
nio4r (2.3.1) nio4r (2.4.0)
nokogiri (1.10.3) nokogiri (1.10.3)
mini_portile2 (~> 2.4.0) mini_portile2 (~> 2.4.0)
notiffany (0.1.1) notiffany (0.1.3)
nenv (~> 0.1) nenv (~> 0.1)
shellany (~> 0.0) shellany (~> 0.0)
oj (3.7.12) oj (3.8.1)
parslet (1.8.2) parslet (1.8.2)
pg (1.1.4) pg (1.1.4)
pry (0.12.2) pry (0.12.2)
coderay (~> 1.1.0) coderay (~> 1.1.0)
method_source (~> 0.9.0) method_source (~> 0.9.0)
puma (3.12.1) puma (4.0.1)
nio4r (~> 2.0)
rack (2.0.7) rack (2.0.7)
rack-proxy (0.6.5) rack-proxy (0.6.5)
rack rack
rack-test (1.1.0) rack-test (1.1.0)
rack (>= 1.0, < 3) rack (>= 1.0, < 3)
rails (5.2.2.1) rails (5.2.3)
actioncable (= 5.2.2.1) actioncable (= 5.2.3)
actionmailer (= 5.2.2.1) actionmailer (= 5.2.3)
actionpack (= 5.2.2.1) actionpack (= 5.2.3)
actionview (= 5.2.2.1) actionview (= 5.2.3)
activejob (= 5.2.2.1) activejob (= 5.2.3)
activemodel (= 5.2.2.1) activemodel (= 5.2.3)
activerecord (= 5.2.2.1) activerecord (= 5.2.3)
activestorage (= 5.2.2.1) activestorage (= 5.2.3)
activesupport (= 5.2.2.1) activesupport (= 5.2.3)
bundler (>= 1.3.0) bundler (>= 1.3.0)
railties (= 5.2.2.1) railties (= 5.2.3)
sprockets-rails (>= 2.0.0) sprockets-rails (>= 2.0.0)
rails-controller-testing (1.0.4) rails-controller-testing (1.0.4)
actionpack (>= 5.0.1.x) actionpack (>= 5.0.1.x)
@ -153,29 +154,29 @@ GEM
rails-dom-testing (2.0.3) rails-dom-testing (2.0.3)
activesupport (>= 4.2.0) activesupport (>= 4.2.0)
nokogiri (>= 1.6) nokogiri (>= 1.6)
rails-html-sanitizer (1.0.4) rails-html-sanitizer (1.1.0)
loofah (~> 2.2, >= 2.2.2) loofah (~> 2.2, >= 2.2.2)
railties (5.2.2.1) railties (5.2.3)
actionpack (= 5.2.2.1) actionpack (= 5.2.3)
activesupport (= 5.2.2.1) activesupport (= 5.2.3)
method_source method_source
rake (>= 0.8.7) rake (>= 0.8.7)
thor (>= 0.19.0, < 2.0) thor (>= 0.19.0, < 2.0)
rake (12.3.2) rake (12.3.3)
rb-fsevent (0.10.3) rb-fsevent (0.10.3)
rb-inotify (0.10.0) rb-inotify (0.10.0)
ffi (~> 1.0) ffi (~> 1.0)
redcarpet (3.4.0) redcarpet (3.5.0)
rspec (3.8.0) rspec (3.8.0)
rspec-core (~> 3.8.0) rspec-core (~> 3.8.0)
rspec-expectations (~> 3.8.0) rspec-expectations (~> 3.8.0)
rspec-mocks (~> 3.8.0) rspec-mocks (~> 3.8.0)
rspec-core (3.8.0) rspec-core (3.8.2)
rspec-support (~> 3.8.0) rspec-support (~> 3.8.0)
rspec-expectations (3.8.3) rspec-expectations (3.8.4)
diff-lcs (>= 1.2.0, < 2.0) diff-lcs (>= 1.2.0, < 2.0)
rspec-support (~> 3.8.0) rspec-support (~> 3.8.0)
rspec-mocks (3.8.0) rspec-mocks (3.8.1)
diff-lcs (>= 1.2.0, < 2.0) diff-lcs (>= 1.2.0, < 2.0)
rspec-support (~> 3.8.0) rspec-support (~> 3.8.0)
rspec-rails (3.8.2) rspec-rails (3.8.2)
@ -186,7 +187,7 @@ GEM
rspec-expectations (~> 3.8.0) rspec-expectations (~> 3.8.0)
rspec-mocks (~> 3.8.0) rspec-mocks (~> 3.8.0)
rspec-support (~> 3.8.0) rspec-support (~> 3.8.0)
rspec-support (3.8.0) rspec-support (3.8.2)
ruby_dep (1.5.0) ruby_dep (1.5.0)
shellany (0.0.1) shellany (0.0.1)
signed_multiset (0.2.1) signed_multiset (0.2.1)
@ -197,25 +198,25 @@ GEM
actionpack (>= 4.0) actionpack (>= 4.0)
activesupport (>= 4.0) activesupport (>= 4.0)
sprockets (>= 3.0.0) sprockets (>= 3.0.0)
sqlite3 (1.3.13) sqlite3 (1.4.1)
thor (0.20.3) thor (0.20.3)
thread_safe (0.3.6) thread_safe (0.3.6)
tzinfo (1.2.5) tzinfo (1.2.5)
thread_safe (~> 0.1) thread_safe (~> 0.1)
tzinfo-data (1.2019.1) tzinfo-data (1.2019.2)
tzinfo (>= 1.0.0) tzinfo (>= 1.0.0)
unitwise (2.2.0) unitwise (2.2.0)
liner (~> 0.2) liner (~> 0.2)
memoizable (~> 0.4) memoizable (~> 0.4)
parslet (~> 1.5) parslet (~> 1.5)
signed_multiset (~> 0.2) signed_multiset (~> 0.2)
webpacker (4.0.2) webpacker (4.0.7)
activesupport (>= 4.2) activesupport (>= 4.2)
rack-proxy (>= 0.6.1) rack-proxy (>= 0.6.1)
railties (>= 4.2) railties (>= 4.2)
websocket-driver (0.7.0) websocket-driver (0.7.1)
websocket-extensions (>= 0.1.0) websocket-extensions (>= 0.1.0)
websocket-extensions (0.1.3) websocket-extensions (0.1.4)
PLATFORMS PLATFORMS
ruby ruby
@ -225,22 +226,22 @@ DEPENDENCIES
bootsnap (>= 1.1.0) bootsnap (>= 1.1.0)
dalli (~> 2.7.10) dalli (~> 2.7.10)
database_cleaner (~> 1.7.0) database_cleaner (~> 1.7.0)
factory_bot_rails (~> 4.11.1) factory_bot_rails (~> 5.0.2)
guard (~> 2.15.0) guard (~> 2.15.0)
guard-rspec guard-rspec
jbuilder (~> 2.8) jbuilder (~> 2.9)
kaminari (~> 1.1.1) kaminari (~> 1.1.1)
oj (~> 3.7.11) oj (~> 3.8.1)
pg (~> 1.1.4) pg (~> 1.1.4)
puma (~> 3.12) puma (~> 4.0.1)
rails (= 5.2.2.1) rails (= 5.2.3)
rails-controller-testing rails-controller-testing
redcarpet (~> 3.4.0) redcarpet (~> 3.5.0)
rspec-rails (~> 3.8.0) rspec-rails (~> 3.8.0)
sqlite3 (~> 1.3.13) sqlite3 (~> 1.4.1)
tzinfo-data tzinfo-data
unitwise (~> 2.2.0) unitwise (~> 2.2.0)
webpacker (= 4.0.2) webpacker (= 4.0.7)
BUNDLED WITH BUNDLED WITH
2.0.1 2.0.1

View File

@ -8,17 +8,17 @@ module.exports = function(api) {
if (!validEnv.includes(currentEnv)) { if (!validEnv.includes(currentEnv)) {
throw new Error( throw new Error(
'Please specify a valid `NODE_ENV` or ' + 'Please specify a valid `NODE_ENV` or ' +
'`BABEL_ENV` environment variables. Valid values are "development", ' + '`BABEL_ENV` environment variables. Valid values are "development", ' +
'"test", and "production". Instead, received: ' + '"test", and "production". Instead, received: ' +
JSON.stringify(currentEnv) + JSON.stringify(currentEnv) +
'.' '.'
) )
} }
return { return {
presets: [ presets: [
isTestEnv && [ isTestEnv && [
require('@babel/preset-env').default, '@babel/preset-env',
{ {
targets: { targets: {
node: 'current' node: 'current'
@ -26,45 +26,47 @@ module.exports = function(api) {
} }
], ],
(isProductionEnv || isDevelopmentEnv) && [ (isProductionEnv || isDevelopmentEnv) && [
require('@babel/preset-env').default, '@babel/preset-env',
{ {
forceAllTransforms: true, forceAllTransforms: true,
useBuiltIns: 'entry', useBuiltIns: 'entry',
corejs: 3,
modules: false, modules: false,
exclude: ['transform-typeof-symbol'] exclude: ['transform-typeof-symbol']
} }
] ]
].filter(Boolean), ].filter(Boolean),
plugins: [ plugins: [
require('babel-plugin-macros'), 'babel-plugin-macros',
require('@babel/plugin-syntax-dynamic-import').default, '@babel/plugin-syntax-dynamic-import',
isTestEnv && require('babel-plugin-dynamic-import-node'), isTestEnv && 'babel-plugin-dynamic-import-node',
require('@babel/plugin-transform-destructuring').default, '@babel/plugin-transform-destructuring',
[ [
require('@babel/plugin-proposal-class-properties').default, '@babel/plugin-proposal-class-properties',
{ {
loose: true loose: true
} }
], ],
[ [
require('@babel/plugin-proposal-object-rest-spread').default, '@babel/plugin-proposal-object-rest-spread',
{ {
useBuiltIns: true useBuiltIns: true
} }
], ],
[ [
require('@babel/plugin-transform-runtime').default, '@babel/plugin-transform-runtime',
{ {
helpers: false, helpers: false,
regenerator: true regenerator: true,
corejs: false
} }
], ],
[ [
require('@babel/plugin-transform-regenerator').default, '@babel/plugin-transform-regenerator',
{ {
async: false async: false
} }
] ]
].filter(Boolean) ].filter(Boolean)
} }
} }

View File

@ -0,0 +1,2 @@
Oj.optimize_rails()

View File

@ -1,6 +1,6 @@
{ {
"dependencies": { "dependencies": {
"@rails/webpacker": "4.0.2", "@rails/webpacker": "4.0.7",
"@tweenjs/tween.js": "^17.2.0", "@tweenjs/tween.js": "^17.2.0",
"autosize": "^4.0.1", "autosize": "^4.0.1",
"bulma": "^0.7.2", "bulma": "^0.7.2",
@ -20,6 +20,7 @@
"webpack": "^4.28.1" "webpack": "^4.28.1"
}, },
"devDependencies": { "devDependencies": {
"webpack-cli": "^3.3.6",
"webpack-dev-server": "^3.1.14" "webpack-dev-server": "^3.1.14"
} }
} }

2532
yarn.lock

File diff suppressed because it is too large Load Diff