-
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 b026f53
Showing
10 changed files
with
500 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,234 @@ | ||
GEM | ||
remote: https://rubygems.org/ | ||
specs: | ||
actioncable (7.0.4.2) | ||
actionpack (= 7.0.4.2) | ||
activesupport (= 7.0.4.2) | ||
nio4r (~> 2.0) | ||
websocket-driver (>= 0.6.1) | ||
actionmailbox (7.0.4.2) | ||
actionpack (= 7.0.4.2) | ||
activejob (= 7.0.4.2) | ||
activerecord (= 7.0.4.2) | ||
activestorage (= 7.0.4.2) | ||
activesupport (= 7.0.4.2) | ||
mail (>= 2.7.1) | ||
net-imap | ||
net-pop | ||
net-smtp | ||
actionmailer (7.0.4.2) | ||
actionpack (= 7.0.4.2) | ||
actionview (= 7.0.4.2) | ||
activejob (= 7.0.4.2) | ||
activesupport (= 7.0.4.2) | ||
mail (~> 2.5, >= 2.5.4) | ||
net-imap | ||
net-pop | ||
net-smtp | ||
rails-dom-testing (~> 2.0) | ||
actionpack (7.0.4.2) | ||
actionview (= 7.0.4.2) | ||
activesupport (= 7.0.4.2) | ||
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.4.2) | ||
actionpack (= 7.0.4.2) | ||
activerecord (= 7.0.4.2) | ||
activestorage (= 7.0.4.2) | ||
activesupport (= 7.0.4.2) | ||
globalid (>= 0.6.0) | ||
nokogiri (>= 1.8.5) | ||
actionview (7.0.4.2) | ||
activesupport (= 7.0.4.2) | ||
builder (~> 3.1) | ||
erubi (~> 1.4) | ||
rails-dom-testing (~> 2.0) | ||
rails-html-sanitizer (~> 1.1, >= 1.2.0) | ||
activejob (7.0.4.2) | ||
activesupport (= 7.0.4.2) | ||
globalid (>= 0.3.6) | ||
activemodel (7.0.4.2) | ||
activesupport (= 7.0.4.2) | ||
activerecord (7.0.4.2) | ||
activemodel (= 7.0.4.2) | ||
activesupport (= 7.0.4.2) | ||
activestorage (7.0.4.2) | ||
actionpack (= 7.0.4.2) | ||
activejob (= 7.0.4.2) | ||
activerecord (= 7.0.4.2) | ||
activesupport (= 7.0.4.2) | ||
marcel (~> 1.0) | ||
mini_mime (>= 1.1.0) | ||
activesupport (7.0.4.2) | ||
concurrent-ruby (~> 1.0, >= 1.0.2) | ||
i18n (>= 1.6, < 2) | ||
minitest (>= 5.1) | ||
tzinfo (~> 2.0) | ||
addressable (2.8.1) | ||
public_suffix (>= 2.0.2, < 6.0) | ||
bindex (0.8.1) | ||
bootsnap (1.16.0) | ||
msgpack (~> 1.2) | ||
builder (3.2.4) | ||
capybara (3.38.0) | ||
addressable | ||
matrix | ||
mini_mime (>= 0.1.3) | ||
nokogiri (~> 1.8) | ||
rack (>= 1.6.0) | ||
rack-test (>= 0.6.3) | ||
regexp_parser (>= 1.5, < 3.0) | ||
xpath (~> 3.2) | ||
concurrent-ruby (1.2.0) | ||
crass (1.0.6) | ||
date (3.3.3) | ||
debug (1.7.1) | ||
irb (>= 1.5.0) | ||
reline (>= 0.3.1) | ||
erubi (1.12.0) | ||
globalid (1.1.0) | ||
activesupport (>= 5.0) | ||
i18n (1.12.0) | ||
concurrent-ruby (~> 1.0) | ||
importmap-rails (1.1.5) | ||
actionpack (>= 6.0.0) | ||
railties (>= 6.0.0) | ||
io-console (0.6.0) | ||
irb (1.6.2) | ||
reline (>= 0.3.0) | ||
jbuilder (2.11.5) | ||
actionview (>= 5.0.0) | ||
activesupport (>= 5.0.0) | ||
loofah (2.19.1) | ||
crass (~> 1.0.2) | ||
nokogiri (>= 1.5.9) | ||
mail (2.8.0.1) | ||
mini_mime (>= 0.1.1) | ||
net-imap | ||
net-pop | ||
net-smtp | ||
marcel (1.0.2) | ||
matrix (0.4.2) | ||
method_source (1.0.0) | ||
mini_mime (1.1.2) | ||
minitest (5.17.0) | ||
msgpack (1.6.0) | ||
net-imap (0.3.4) | ||
date | ||
net-protocol | ||
net-pop (0.1.2) | ||
net-protocol | ||
net-protocol (0.2.1) | ||
timeout | ||
net-smtp (0.3.3) | ||
net-protocol | ||
nio4r (2.5.8) | ||
nokogiri (1.14.1-x64-mingw-ucrt) | ||
racc (~> 1.4) | ||
public_suffix (5.0.1) | ||
puma (5.6.5) | ||
nio4r (~> 2.0) | ||
racc (1.6.2) | ||
rack (2.2.6.2) | ||
rack-test (2.0.2) | ||
rack (>= 1.3) | ||
rails (7.0.4.2) | ||
actioncable (= 7.0.4.2) | ||
actionmailbox (= 7.0.4.2) | ||
actionmailer (= 7.0.4.2) | ||
actionpack (= 7.0.4.2) | ||
actiontext (= 7.0.4.2) | ||
actionview (= 7.0.4.2) | ||
activejob (= 7.0.4.2) | ||
activemodel (= 7.0.4.2) | ||
activerecord (= 7.0.4.2) | ||
activestorage (= 7.0.4.2) | ||
activesupport (= 7.0.4.2) | ||
bundler (>= 1.15.0) | ||
railties (= 7.0.4.2) | ||
rails-dom-testing (2.0.3) | ||
activesupport (>= 4.2.0) | ||
nokogiri (>= 1.6) | ||
rails-html-sanitizer (1.5.0) | ||
loofah (~> 2.19, >= 2.19.1) | ||
railties (7.0.4.2) | ||
actionpack (= 7.0.4.2) | ||
activesupport (= 7.0.4.2) | ||
method_source | ||
rake (>= 12.2) | ||
thor (~> 1.0) | ||
zeitwerk (~> 2.5) | ||
rake (13.0.6) | ||
regexp_parser (2.6.2) | ||
reline (0.3.2) | ||
io-console (~> 0.5) | ||
rexml (3.2.5) | ||
rubyzip (2.3.2) | ||
selenium-webdriver (4.8.0) | ||
rexml (~> 3.2, >= 3.2.5) | ||
rubyzip (>= 1.2.2, < 3.0) | ||
websocket (~> 1.0) | ||
sprockets (4.2.0) | ||
concurrent-ruby (~> 1.0) | ||
rack (>= 2.2.4, < 4) | ||
sprockets-rails (3.4.2) | ||
actionpack (>= 5.2) | ||
activesupport (>= 5.2) | ||
sprockets (>= 3.0.0) | ||
sqlite3 (1.6.0-x64-mingw-ucrt) | ||
stimulus-rails (1.2.1) | ||
railties (>= 6.0.0) | ||
thor (1.2.1) | ||
timeout (0.3.1) | ||
turbo-rails (1.3.3) | ||
actionpack (>= 6.0.0) | ||
activejob (>= 6.0.0) | ||
railties (>= 6.0.0) | ||
tzinfo (2.0.6) | ||
concurrent-ruby (~> 1.0) | ||
tzinfo-data (1.2022.7) | ||
tzinfo (>= 1.0.0) | ||
web-console (4.2.0) | ||
actionview (>= 6.0.0) | ||
activemodel (>= 6.0.0) | ||
bindex (>= 0.4.0) | ||
railties (>= 6.0.0) | ||
webdrivers (5.2.0) | ||
nokogiri (~> 1.6) | ||
rubyzip (>= 1.3.0) | ||
selenium-webdriver (~> 4.0) | ||
websocket (1.2.9) | ||
websocket-driver (0.7.5) | ||
websocket-extensions (>= 0.1.0) | ||
websocket-extensions (0.1.5) | ||
xpath (3.2.0) | ||
nokogiri (~> 1.8) | ||
zeitwerk (2.6.6) | ||
|
||
PLATFORMS | ||
x64-mingw-ucrt | ||
|
||
DEPENDENCIES | ||
bootsnap | ||
capybara | ||
debug | ||
importmap-rails | ||
jbuilder | ||
puma (~> 5.0) | ||
rails (~> 7.0.4, >= 7.0.4.2) | ||
selenium-webdriver | ||
sprockets-rails | ||
sqlite3 (~> 1.4) | ||
stimulus-rails | ||
turbo-rails | ||
tzinfo-data | ||
web-console | ||
webdrivers | ||
|
||
RUBY VERSION | ||
ruby 3.1.3p185 | ||
|
||
BUNDLED WITH | ||
2.3.26 |
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 @@ | ||
// Configure your import map in config/importmap.rb. Read more: https://github.com/rails/importmap-rails |
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,9 @@ | ||
import { Application } from "@hotwired/stimulus" | ||
|
||
const application = Application.start() | ||
|
||
// Configure Stimulus development experience | ||
application.debug = false | ||
window.Stimulus = application | ||
|
||
export { application } |
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 @@ | ||
import { Controller } from "@hotwired/stimulus" | ||
|
||
export default class extends Controller { | ||
connect() { | ||
this.element.textContent = "Hello World!" | ||
} | ||
} |
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 @@ | ||
// Import and register all your controllers from the importmap under controllers/* | ||
|
||
import { application } from "controllers/application" | ||
|
||
// Eager load all controllers defined in the import map under controllers/**/*_controller | ||
import { eagerLoadControllersFrom } from "@hotwired/stimulus-loading" | ||
eagerLoadControllersFrom("controllers", application) | ||
|
||
// Lazy load controllers as they appear in the DOM (remember not to preload controllers in import map!) | ||
// import { lazyLoadControllersFrom } from "@hotwired/stimulus-loading" | ||
// lazyLoadControllersFrom("controllers", application) |
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,114 @@ | ||
#!/usr/bin/env ruby | ||
# frozen_string_literal: true | ||
|
||
# | ||
# This file was generated by Bundler. | ||
# | ||
# The application 'bundle' is installed as part of a gem, and | ||
# this file is here to facilitate running it. | ||
# | ||
|
||
require "rubygems" | ||
|
||
m = Module.new do | ||
module_function | ||
|
||
def invoked_as_script? | ||
File.expand_path($0) == File.expand_path(__FILE__) | ||
end | ||
|
||
def env_var_version | ||
ENV["BUNDLER_VERSION"] | ||
end | ||
|
||
def cli_arg_version | ||
return unless invoked_as_script? # don't want to hijack other binstubs | ||
return unless "update".start_with?(ARGV.first || " ") # must be running `bundle update` | ||
bundler_version = nil | ||
update_index = nil | ||
ARGV.each_with_index do |a, i| | ||
if update_index && update_index.succ == i && a =~ Gem::Version::ANCHORED_VERSION_PATTERN | ||
bundler_version = a | ||
end | ||
next unless a =~ /\A--bundler(?:[= ](#{Gem::Version::VERSION_PATTERN}))?\z/ | ||
bundler_version = $1 | ||
update_index = i | ||
end | ||
bundler_version | ||
end | ||
|
||
def gemfile | ||
gemfile = ENV["BUNDLE_GEMFILE"] | ||
return gemfile if gemfile && !gemfile.empty? | ||
|
||
File.expand_path("../Gemfile", __dir__) | ||
end | ||
|
||
def lockfile | ||
lockfile = | ||
case File.basename(gemfile) | ||
when "gems.rb" then gemfile.sub(/\.rb$/, gemfile) | ||
else "#{gemfile}.lock" | ||
end | ||
File.expand_path(lockfile) | ||
end | ||
|
||
def lockfile_version | ||
return unless File.file?(lockfile) | ||
lockfile_contents = File.read(lockfile) | ||
return unless lockfile_contents =~ /\n\nBUNDLED WITH\n\s{2,}(#{Gem::Version::VERSION_PATTERN})\n/ | ||
Regexp.last_match(1) | ||
end | ||
|
||
def bundler_requirement | ||
@bundler_requirement ||= | ||
env_var_version || cli_arg_version || | ||
bundler_requirement_for(lockfile_version) | ||
end | ||
|
||
def bundler_requirement_for(version) | ||
return "#{Gem::Requirement.default}.a" unless version | ||
|
||
bundler_gem_version = Gem::Version.new(version) | ||
|
||
requirement = bundler_gem_version.approximate_recommendation | ||
|
||
return requirement unless Gem.rubygems_version < Gem::Version.new("2.7.0") | ||
|
||
requirement += ".a" if bundler_gem_version.prerelease? | ||
|
||
requirement | ||
end | ||
|
||
def load_bundler! | ||
ENV["BUNDLE_GEMFILE"] ||= gemfile | ||
|
||
activate_bundler | ||
end | ||
|
||
def activate_bundler | ||
gem_error = activation_error_handling do | ||
gem "bundler", bundler_requirement | ||
end | ||
return if gem_error.nil? | ||
require_error = activation_error_handling do | ||
require "bundler/version" | ||
end | ||
return if require_error.nil? && Gem::Requirement.new(bundler_requirement).satisfied_by?(Gem::Version.new(Bundler::VERSION)) | ||
warn "Activating bundler (#{bundler_requirement}) failed:\n#{gem_error.message}\n\nTo install the version of bundler this project requires, run `gem install bundler -v '#{bundler_requirement}'`" | ||
exit 42 | ||
end | ||
|
||
def activation_error_handling | ||
yield | ||
nil | ||
rescue StandardError, LoadError => e | ||
e | ||
end | ||
end | ||
|
||
m.load_bundler! | ||
|
||
if m.invoked_as_script? | ||
load Gem.bin_path("bundler", "bundle") | ||
end |
Oops, something went wrong.