-
Notifications
You must be signed in to change notification settings - Fork 5
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
Showing
34 changed files
with
353 additions
and
44 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
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
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 @@ | ||
@font-face { | ||
font-family: SomeFont; | ||
font-weight: 300; | ||
font-style: normal; | ||
font-display: swap; | ||
src: local("SomeFont"), url("/gem5/somefont.woff2") format("woff2"); | ||
} |
8 changes: 8 additions & 0 deletions
8
fixtures/dummy/vendor/bundle/ruby/3.3.0/bundler/gems/gem5/.gitignore
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,8 @@ | ||
/.bundle/ | ||
/.yardoc | ||
/_yardoc/ | ||
/coverage/ | ||
/doc/ | ||
/pkg/ | ||
/spec/reports/ | ||
/tmp/ |
6 changes: 6 additions & 0 deletions
6
fixtures/dummy/vendor/bundle/ruby/3.3.0/bundler/gems/gem5/Gemfile
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,6 @@ | ||
# frozen_string_literal: true | ||
|
||
source 'https://rubygems.org' | ||
|
||
# Specify your gem's dependencies in gem5.gemspec | ||
gemspec |
153 changes: 153 additions & 0 deletions
153
fixtures/dummy/vendor/bundle/ruby/3.3.0/bundler/gems/gem5/Gemfile.lock
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,153 @@ | ||
PATH | ||
remote: . | ||
specs: | ||
gem5 (0.1.0) | ||
rails (>= 7.0.4) | ||
|
||
GEM | ||
remote: https://rubygems.org/ | ||
specs: | ||
actioncable (7.0.4) | ||
actionpack (= 7.0.4) | ||
activesupport (= 7.0.4) | ||
nio4r (~> 2.0) | ||
websocket-driver (>= 0.6.1) | ||
actionmailbox (7.0.4) | ||
actionpack (= 7.0.4) | ||
activejob (= 7.0.4) | ||
activerecord (= 7.0.4) | ||
activestorage (= 7.0.4) | ||
activesupport (= 7.0.4) | ||
mail (>= 2.7.1) | ||
net-imap | ||
net-pop | ||
net-smtp | ||
actionmailer (7.0.4) | ||
actionpack (= 7.0.4) | ||
actionview (= 7.0.4) | ||
activejob (= 7.0.4) | ||
activesupport (= 7.0.4) | ||
mail (~> 2.5, >= 2.5.4) | ||
net-imap | ||
net-pop | ||
net-smtp | ||
rails-dom-testing (~> 2.0) | ||
actionpack (7.0.4) | ||
actionview (= 7.0.4) | ||
activesupport (= 7.0.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.4) | ||
actionpack (= 7.0.4) | ||
activerecord (= 7.0.4) | ||
activestorage (= 7.0.4) | ||
activesupport (= 7.0.4) | ||
globalid (>= 0.6.0) | ||
nokogiri (>= 1.8.5) | ||
actionview (7.0.4) | ||
activesupport (= 7.0.4) | ||
builder (~> 3.1) | ||
erubi (~> 1.4) | ||
rails-dom-testing (~> 2.0) | ||
rails-html-sanitizer (~> 1.1, >= 1.2.0) | ||
activejob (7.0.4) | ||
activesupport (= 7.0.4) | ||
globalid (>= 0.3.6) | ||
activemodel (7.0.4) | ||
activesupport (= 7.0.4) | ||
activerecord (7.0.4) | ||
activemodel (= 7.0.4) | ||
activesupport (= 7.0.4) | ||
activestorage (7.0.4) | ||
actionpack (= 7.0.4) | ||
activejob (= 7.0.4) | ||
activerecord (= 7.0.4) | ||
activesupport (= 7.0.4) | ||
marcel (~> 1.0) | ||
mini_mime (>= 1.1.0) | ||
activesupport (7.0.4) | ||
concurrent-ruby (~> 1.0, >= 1.0.2) | ||
i18n (>= 1.6, < 2) | ||
minitest (>= 5.1) | ||
tzinfo (~> 2.0) | ||
builder (3.2.4) | ||
concurrent-ruby (1.1.10) | ||
crass (1.0.6) | ||
erubi (1.11.0) | ||
globalid (1.0.0) | ||
activesupport (>= 5.0) | ||
i18n (1.12.0) | ||
concurrent-ruby (~> 1.0) | ||
loofah (2.19.0) | ||
crass (~> 1.0.2) | ||
nokogiri (>= 1.5.9) | ||
mail (2.8.0) | ||
mini_mime (>= 0.1.1) | ||
net-imap | ||
net-pop | ||
net-smtp | ||
marcel (1.0.2) | ||
method_source (1.0.0) | ||
mini_mime (1.1.2) | ||
minitest (5.16.3) | ||
net-imap (0.3.1) | ||
net-protocol | ||
net-pop (0.1.2) | ||
net-protocol | ||
net-protocol (0.2.0) | ||
timeout | ||
net-smtp (0.3.3) | ||
net-protocol | ||
nio4r (2.5.8) | ||
nokogiri (1.13.9-arm64-darwin) | ||
racc (~> 1.4) | ||
racc (1.6.1) | ||
rack (2.2.4) | ||
rack-test (2.0.2) | ||
rack (>= 1.3) | ||
rails (7.0.4) | ||
actioncable (= 7.0.4) | ||
actionmailbox (= 7.0.4) | ||
actionmailer (= 7.0.4) | ||
actionpack (= 7.0.4) | ||
actiontext (= 7.0.4) | ||
actionview (= 7.0.4) | ||
activejob (= 7.0.4) | ||
activemodel (= 7.0.4) | ||
activerecord (= 7.0.4) | ||
activestorage (= 7.0.4) | ||
activesupport (= 7.0.4) | ||
bundler (>= 1.15.0) | ||
railties (= 7.0.4) | ||
rails-dom-testing (2.0.3) | ||
activesupport (>= 4.2.0) | ||
nokogiri (>= 1.6) | ||
rails-html-sanitizer (1.4.3) | ||
loofah (~> 2.3) | ||
railties (7.0.4) | ||
actionpack (= 7.0.4) | ||
activesupport (= 7.0.4) | ||
method_source | ||
rake (>= 12.2) | ||
thor (~> 1.0) | ||
zeitwerk (~> 2.5) | ||
rake (13.0.6) | ||
thor (1.2.1) | ||
timeout (0.3.1) | ||
tzinfo (2.0.5) | ||
concurrent-ruby (~> 1.0) | ||
websocket-driver (0.7.5) | ||
websocket-extensions (>= 0.1.0) | ||
websocket-extensions (0.1.5) | ||
zeitwerk (2.6.6) | ||
|
||
PLATFORMS | ||
arm64-darwin-21 | ||
|
||
DEPENDENCIES | ||
gem5! | ||
|
||
BUNDLED WITH | ||
2.3.17 |
16 changes: 16 additions & 0 deletions
16
fixtures/dummy/vendor/bundle/ruby/3.3.0/bundler/gems/gem5/Rakefile
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,16 @@ | ||
# frozen_string_literal: true | ||
|
||
require 'bundler/gem_tasks' | ||
require 'rake/testtask' | ||
|
||
Rake::TestTask.new(:test) do |t| | ||
t.libs << 'test' | ||
t.libs << 'lib' | ||
t.test_files = FileList['test/**/test_*.rb'] | ||
end | ||
|
||
require 'rubocop/rake_task' | ||
|
||
RuboCop::RakeTask.new | ||
|
||
task default: %i[test rubocop] |
1 change: 1 addition & 0 deletions
1
fixtures/dummy/vendor/bundle/ruby/3.3.0/bundler/gems/gem5/app/components/flash/component.jsx
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 @@ | ||
console.log(1); |
4 changes: 4 additions & 0 deletions
4
fixtures/dummy/vendor/bundle/ruby/3.3.0/bundler/gems/gem5/app/components/flash/component.rb
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,4 @@ | ||
# frozen_string_literal: true | ||
|
||
class Gem5::Components::Flash::Component < Proscenium::Phlex::ReactComponent | ||
end |
1 change: 1 addition & 0 deletions
1
fixtures/dummy/vendor/bundle/ruby/3.3.0/bundler/gems/gem5/app/views/user.css
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 @@ | ||
@import 'open-props/shadows'; |
1 change: 1 addition & 0 deletions
1
fixtures/dummy/vendor/bundle/ruby/3.3.0/bundler/gems/gem5/app/views/user.js
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 @@ | ||
console.log("gem5/views/user"); |
9 changes: 9 additions & 0 deletions
9
fixtures/dummy/vendor/bundle/ruby/3.3.0/bundler/gems/gem5/app/views/user.rb
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 @@ | ||
# frozen_string_literal: true | ||
|
||
module Gem5::Views | ||
class User < Proscenium::Phlex | ||
def view_template | ||
h1 { 'Hello' } | ||
end | ||
end | ||
end |
17 changes: 17 additions & 0 deletions
17
fixtures/dummy/vendor/bundle/ruby/3.3.0/bundler/gems/gem5/gem5.gemspec
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 @@ | ||
# frozen_string_literal: true | ||
|
||
require_relative 'lib/gem5/version' | ||
|
||
Gem::Specification.new do |spec| | ||
spec.name = 'gem5' | ||
spec.version = Gem5::VERSION | ||
spec.authors = ['Joel Moss'] | ||
spec.email = ['[email protected]'] | ||
spec.required_ruby_version = '>= 2.7.0' | ||
spec.summary = 'Test gem 5' | ||
|
||
spec.require_paths = ['lib'] | ||
spec.metadata['rubygems_mfa_required'] = 'true' | ||
|
||
spec.add_dependency 'rails', '>= 7.0.4' | ||
end |
9 changes: 9 additions & 0 deletions
9
fixtures/dummy/vendor/bundle/ruby/3.3.0/bundler/gems/gem5/lib/gem5.rb
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 @@ | ||
# frozen_string_literal: true | ||
|
||
require_relative 'gem5/version' | ||
require_relative 'gem5/engine' | ||
|
||
module Gem5 | ||
class Error < StandardError; end | ||
module Components; end | ||
end |
3 changes: 3 additions & 0 deletions
3
fixtures/dummy/vendor/bundle/ruby/3.3.0/bundler/gems/gem5/lib/gem5/blue.css
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 @@ | ||
@define-mixin blue { | ||
color: blue; | ||
} |
1 change: 1 addition & 0 deletions
1
fixtures/dummy/vendor/bundle/ruby/3.3.0/bundler/gems/gem5/lib/gem5/console.js
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 @@ | ||
console.log("gem5"); |
21 changes: 21 additions & 0 deletions
21
fixtures/dummy/vendor/bundle/ruby/3.3.0/bundler/gems/gem5/lib/gem5/engine.rb
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 @@ | ||
# frozen_string_literal: true | ||
|
||
require 'proscenium' | ||
|
||
module Gem5 | ||
class Engine < ::Rails::Engine | ||
# isolate_namespace Gem5 | ||
engine_name 'gem5' | ||
|
||
config.proscenium.engines << self | ||
|
||
initializer 'gem5.autoload' do | ||
# ActiveSupport::Dependencies.autoload_paths << "#{root}/app" | ||
|
||
# Rails.autoloaders.main.push_dir(root.join('app'), namespace: Gem5) | ||
|
||
ActiveSupport::Dependencies.autoload_paths.delete("#{root}/app/components") | ||
Rails.autoloaders.main.push_dir("#{root}/app/components", namespace: Gem5::Components) | ||
end | ||
end | ||
end |
1 change: 1 addition & 0 deletions
1
fixtures/dummy/vendor/bundle/ruby/3.3.0/bundler/gems/gem5/lib/gem5/foo.js
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 @@ | ||
console.log("foo"); |
11 changes: 11 additions & 0 deletions
11
fixtures/dummy/vendor/bundle/ruby/3.3.0/bundler/gems/gem5/lib/gem5/gem5.js
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 { one } from "mypackage/treeshake"; | ||
import imported from "./imported"; | ||
import "/lib/foo.js"; // app | ||
import "./foo"; | ||
import "/gem5/lib/gem5/console.js"; | ||
import styles from "./styles.module.css"; | ||
|
||
console.log(styles); | ||
console.log("gem5"); | ||
imported(); | ||
one(); |
3 changes: 3 additions & 0 deletions
3
fixtures/dummy/vendor/bundle/ruby/3.3.0/bundler/gems/gem5/lib/gem5/imported.js
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 @@ | ||
export default () => { | ||
console.log("gem5/imported"); | ||
}; |
3 changes: 3 additions & 0 deletions
3
fixtures/dummy/vendor/bundle/ruby/3.3.0/bundler/gems/gem5/lib/gem5/red.css
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 @@ | ||
@define-mixin red { | ||
color: red; | ||
} |
6 changes: 6 additions & 0 deletions
6
fixtures/dummy/vendor/bundle/ruby/3.3.0/bundler/gems/gem5/lib/gem5/styles.module.css
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,6 @@ | ||
h1 { | ||
@mixin red from url("./red.css"); | ||
} | ||
h2 { | ||
@mixin blue from url("/gem5/lib/gem5/blue.css"); | ||
} |
5 changes: 5 additions & 0 deletions
5
fixtures/dummy/vendor/bundle/ruby/3.3.0/bundler/gems/gem5/lib/gem5/version.rb
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,5 @@ | ||
# frozen_string_literal: true | ||
|
||
module Gem5 | ||
VERSION = '0.1.0' | ||
end |
1 change: 1 addition & 0 deletions
1
fixtures/dummy/vendor/bundle/ruby/3.3.0/bundler/gems/gem5/public/gem5.js
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 @@ | ||
console.log("/public/gem5.js"); |
Empty file.
Empty file.
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
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
Oops, something went wrong.