diff --git a/Gemfile b/Gemfile index a7d3b66d..ec099b95 100644 --- a/Gemfile +++ b/Gemfile @@ -11,7 +11,9 @@ gemspec # Git. Remember to move these dependencies to your gemspec before releasing # your gem to rubygems.org. -gem 'rails', '7.0.1' +gem 'rails', '~> 7.0.1' + +gem 'turbo-rails' group :development, :test do gem 'rspec-rails', '~> 4.0.2' diff --git a/Gemfile.lock b/Gemfile.lock index f8d5427d..1d03b7e6 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -1,73 +1,73 @@ PATH remote: . specs: - matestack-ui-core (3.0.0.rc1) + matestack-ui-core (3.0.0) rails (>= 5.2) GEM remote: https://rubygems.org/ specs: - actioncable (7.0.1) - actionpack (= 7.0.1) - activesupport (= 7.0.1) + actioncable (7.0.2.4) + actionpack (= 7.0.2.4) + activesupport (= 7.0.2.4) nio4r (~> 2.0) websocket-driver (>= 0.6.1) - actionmailbox (7.0.1) - actionpack (= 7.0.1) - activejob (= 7.0.1) - activerecord (= 7.0.1) - activestorage (= 7.0.1) - activesupport (= 7.0.1) + actionmailbox (7.0.2.4) + actionpack (= 7.0.2.4) + activejob (= 7.0.2.4) + activerecord (= 7.0.2.4) + activestorage (= 7.0.2.4) + activesupport (= 7.0.2.4) mail (>= 2.7.1) net-imap net-pop net-smtp - actionmailer (7.0.1) - actionpack (= 7.0.1) - actionview (= 7.0.1) - activejob (= 7.0.1) - activesupport (= 7.0.1) + actionmailer (7.0.2.4) + actionpack (= 7.0.2.4) + actionview (= 7.0.2.4) + activejob (= 7.0.2.4) + activesupport (= 7.0.2.4) mail (~> 2.5, >= 2.5.4) net-imap net-pop net-smtp rails-dom-testing (~> 2.0) - actionpack (7.0.1) - actionview (= 7.0.1) - activesupport (= 7.0.1) + actionpack (7.0.2.4) + actionview (= 7.0.2.4) + activesupport (= 7.0.2.4) rack (~> 2.0, >= 2.2.0) rack-test (>= 0.6.3) rails-dom-testing (~> 2.0) rails-html-sanitizer (~> 1.0, >= 1.2.0) - actiontext (7.0.1) - actionpack (= 7.0.1) - activerecord (= 7.0.1) - activestorage (= 7.0.1) - activesupport (= 7.0.1) + actiontext (7.0.2.4) + actionpack (= 7.0.2.4) + activerecord (= 7.0.2.4) + activestorage (= 7.0.2.4) + activesupport (= 7.0.2.4) globalid (>= 0.6.0) nokogiri (>= 1.8.5) - actionview (7.0.1) - activesupport (= 7.0.1) + actionview (7.0.2.4) + activesupport (= 7.0.2.4) builder (~> 3.1) erubi (~> 1.4) rails-dom-testing (~> 2.0) rails-html-sanitizer (~> 1.1, >= 1.2.0) - activejob (7.0.1) - activesupport (= 7.0.1) + activejob (7.0.2.4) + activesupport (= 7.0.2.4) globalid (>= 0.3.6) - activemodel (7.0.1) - activesupport (= 7.0.1) - activerecord (7.0.1) - activemodel (= 7.0.1) - activesupport (= 7.0.1) - activestorage (7.0.1) - actionpack (= 7.0.1) - activejob (= 7.0.1) - activerecord (= 7.0.1) - activesupport (= 7.0.1) + activemodel (7.0.2.4) + activesupport (= 7.0.2.4) + activerecord (7.0.2.4) + activemodel (= 7.0.2.4) + activesupport (= 7.0.2.4) + activestorage (7.0.2.4) + actionpack (= 7.0.2.4) + activejob (= 7.0.2.4) + activerecord (= 7.0.2.4) + activesupport (= 7.0.2.4) marcel (~> 1.0) mini_mime (>= 1.1.0) - activesupport (7.0.1) + activesupport (7.0.2.4) concurrent-ruby (~> 1.0, >= 1.0.2) i18n (>= 1.6, < 2) minitest (>= 5.1) @@ -86,7 +86,7 @@ GEM xpath (~> 3.2) childprocess (3.0.0) coderay (1.1.3) - concurrent-ruby (1.1.9) + concurrent-ruby (1.1.10) crack (0.4.5) rexml crass (1.0.6) @@ -100,10 +100,9 @@ GEM globalid (1.0.0) activesupport (>= 5.0) hashdiff (1.0.1) - i18n (1.9.1) + i18n (1.10.0) concurrent-ruby (~> 1.0) - io-wait (0.2.1) - loofah (2.13.0) + loofah (2.17.0) crass (~> 1.0.2) nokogiri (>= 1.5.9) mail (2.7.1) @@ -111,7 +110,7 @@ GEM marcel (1.0.2) method_source (1.0.0) mini_mime (1.1.2) - mini_portile2 (2.7.1) + mini_portile2 (2.8.0) minitest (5.15.0) net-imap (0.2.3) digest @@ -121,16 +120,15 @@ GEM digest net-protocol timeout - net-protocol (0.1.2) - io-wait + net-protocol (0.1.3) timeout net-smtp (0.3.1) digest net-protocol timeout nio4r (2.5.8) - nokogiri (1.13.1) - mini_portile2 (~> 2.7.0) + nokogiri (1.13.4) + mini_portile2 (~> 2.8.0) racc (~> 1.4) pg (1.2.3) pry (0.13.1) @@ -150,28 +148,28 @@ GEM rack rack-test (1.1.0) rack (>= 1.0, < 3) - rails (7.0.1) - actioncable (= 7.0.1) - actionmailbox (= 7.0.1) - actionmailer (= 7.0.1) - actionpack (= 7.0.1) - actiontext (= 7.0.1) - actionview (= 7.0.1) - activejob (= 7.0.1) - activemodel (= 7.0.1) - activerecord (= 7.0.1) - activestorage (= 7.0.1) - activesupport (= 7.0.1) + rails (7.0.2.4) + actioncable (= 7.0.2.4) + actionmailbox (= 7.0.2.4) + actionmailer (= 7.0.2.4) + actionpack (= 7.0.2.4) + actiontext (= 7.0.2.4) + actionview (= 7.0.2.4) + activejob (= 7.0.2.4) + activemodel (= 7.0.2.4) + activerecord (= 7.0.2.4) + activestorage (= 7.0.2.4) + activesupport (= 7.0.2.4) bundler (>= 1.15.0) - railties (= 7.0.1) + railties (= 7.0.2.4) rails-dom-testing (2.0.3) activesupport (>= 4.2.0) nokogiri (>= 1.6) rails-html-sanitizer (1.4.2) loofah (~> 2.3) - railties (7.0.1) - actionpack (= 7.0.1) - activesupport (= 7.0.1) + railties (7.0.2.4) + actionpack (= 7.0.2.4) + activesupport (= 7.0.2.4) method_source rake (>= 12.2) thor (~> 1.0) @@ -210,6 +208,9 @@ GEM strscan (3.0.1) thor (1.2.1) timeout (0.2.0) + turbo-rails (1.0.1) + actionpack (>= 6.0.0) + railties (>= 6.0.0) tzinfo (2.0.4) concurrent-ruby (~> 1.0) webmock (3.13.0) @@ -240,10 +241,11 @@ DEPENDENCIES pry-byebug pry-rails puma - rails (= 7.0.1) + rails (~> 7.0.1) rspec-rails (~> 4.0.2) selenium-webdriver simplecov + turbo-rails webmock webpacker (~> 5.0) diff --git a/spec/dummy/package-lock.json b/spec/dummy/package-lock.json index 9b829bf9..79b55f31 100644 --- a/spec/dummy/package-lock.json +++ b/spec/dummy/package-lock.json @@ -1007,6 +1007,27 @@ "resolved": "https://registry.npmjs.org/@gar/promisify/-/promisify-1.1.2.tgz", "integrity": "sha512-82cpyJyKRoQoRi+14ibCeGPu0CwypgtBAdBhq1WfvagpCZNKqwXbKwXllYSMG91DhmG4jt9gN8eP6lGOtozuaw==" }, + "@hotwired/turbo": { + "version": "7.1.0", + "resolved": "https://registry.npmjs.org/@hotwired/turbo/-/turbo-7.1.0.tgz", + "integrity": "sha512-Q8kGjqwPqER+CtpQudbH+3Zgs2X4zb6pBAlr6NsKTXadg45pAOvxI9i4QpuHbwSzR2+x87HUm+rot9F/Pe8rxA==" + }, + "@hotwired/turbo-rails": { + "version": "7.1.1", + "resolved": "https://registry.npmjs.org/@hotwired/turbo-rails/-/turbo-rails-7.1.1.tgz", + "integrity": "sha512-ZXpxUjCfkdbuXfoGrsFK80qsVzACs8xCfie9rt2jMTSN6o1olXVA0Nrk8u02yNEwSiVJm/4QSOa8cUcMj6VQjg==", + "requires": { + "@hotwired/turbo": "^7.1.0", + "@rails/actioncable": "^7.0" + }, + "dependencies": { + "@rails/actioncable": { + "version": "7.0.2", + "resolved": "https://registry.npmjs.org/@rails/actioncable/-/actioncable-7.0.2.tgz", + "integrity": "sha512-G26maXW1Kx0LxQdmNNuNjQlRO/QlXNr3QfuwKiOKb5FZQGYe2OwtHTGXBAjSoiu4dW36XYMT/+L1Wo1Yov4ZXA==" + } + } + }, "@npmcli/fs": { "version": "1.1.0", "resolved": "https://registry.npmjs.org/@npmcli/fs/-/fs-1.1.0.tgz", @@ -4759,159 +4780,6 @@ "object-visit": "^1.0.0" } }, - "matestack-ui-vue_js": { - "version": "file:../..", - "requires": { - "@vue/compat": "^3.2.26", - "axios": "^0.21.1", - "mitt": "^3.0.0", - "vue": "^3.2.26" - }, - "dependencies": { - "@babel/parser": { - "version": "7.16.6" - }, - "@vue/compat": { - "version": "3.2.27" - }, - "@vue/compiler-core": { - "version": "3.2.27", - "requires": { - "@babel/parser": "^7.16.4", - "@vue/shared": "3.2.27", - "estree-walker": "^2.0.2", - "source-map": "^0.6.1" - } - }, - "@vue/compiler-dom": { - "version": "3.2.27", - "requires": { - "@vue/compiler-core": "3.2.27", - "@vue/shared": "3.2.27" - } - }, - "@vue/compiler-sfc": { - "version": "3.2.27", - "requires": { - "@babel/parser": "^7.16.4", - "@vue/compiler-core": "3.2.27", - "@vue/compiler-dom": "3.2.27", - "@vue/compiler-ssr": "3.2.27", - "@vue/reactivity-transform": "3.2.27", - "@vue/shared": "3.2.27", - "estree-walker": "^2.0.2", - "magic-string": "^0.25.7", - "postcss": "^8.1.10", - "source-map": "^0.6.1" - } - }, - "@vue/compiler-ssr": { - "version": "3.2.27", - "requires": { - "@vue/compiler-dom": "3.2.27", - "@vue/shared": "3.2.27" - } - }, - "@vue/reactivity": { - "version": "3.2.27", - "requires": { - "@vue/shared": "3.2.27" - } - }, - "@vue/reactivity-transform": { - "version": "3.2.27", - "requires": { - "@babel/parser": "^7.16.4", - "@vue/compiler-core": "3.2.27", - "@vue/shared": "3.2.27", - "estree-walker": "^2.0.2", - "magic-string": "^0.25.7" - } - }, - "@vue/runtime-core": { - "version": "3.2.27", - "requires": { - "@vue/reactivity": "3.2.27", - "@vue/shared": "3.2.27" - } - }, - "@vue/runtime-dom": { - "version": "3.2.27", - "requires": { - "@vue/runtime-core": "3.2.27", - "@vue/shared": "3.2.27", - "csstype": "^2.6.8" - } - }, - "@vue/server-renderer": { - "version": "3.2.27", - "requires": { - "@vue/compiler-ssr": "3.2.27", - "@vue/shared": "3.2.27" - } - }, - "@vue/shared": { - "version": "3.2.27" - }, - "axios": { - "version": "0.21.1", - "requires": { - "follow-redirects": "^1.10.0" - } - }, - "csstype": { - "version": "2.6.19" - }, - "estree-walker": { - "version": "2.0.2" - }, - "follow-redirects": { - "version": "1.13.3" - }, - "magic-string": { - "version": "0.25.7", - "requires": { - "sourcemap-codec": "^1.4.4" - } - }, - "mitt": { - "version": "3.0.0" - }, - "nanoid": { - "version": "3.1.30" - }, - "picocolors": { - "version": "1.0.0" - }, - "postcss": { - "version": "8.4.5", - "requires": { - "nanoid": "^3.1.30", - "picocolors": "^1.0.0", - "source-map-js": "^1.0.1" - } - }, - "source-map": { - "version": "0.6.1" - }, - "source-map-js": { - "version": "1.0.1" - }, - "sourcemap-codec": { - "version": "1.4.8" - }, - "vue": { - "version": "3.2.27", - "requires": { - "@vue/compiler-dom": "3.2.27", - "@vue/compiler-sfc": "3.2.27", - "@vue/runtime-dom": "3.2.27", - "@vue/server-renderer": "3.2.27", - "@vue/shared": "3.2.27" - } - } - } - }, "md5.js": { "version": "1.3.5", "resolved": "https://registry.npmjs.org/md5.js/-/md5.js-1.3.5.tgz", diff --git a/spec/dummy/package.json b/spec/dummy/package.json index 11031830..e85bbd91 100644 --- a/spec/dummy/package.json +++ b/spec/dummy/package.json @@ -3,6 +3,7 @@ "private": true, "dependencies": { "@babel/preset-env": "^7.16.7", + "@hotwired/turbo-rails": "^7.1.1", "@rails/actioncable": "^6.0.0", "@rails/ujs": "^6.0.0", "@rails/webpacker": "^5.0.0"