Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add attractor #1301

Merged
merged 3 commits into from
Jul 31, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@

# Test files
/coverage/
/attractor_output/

# Ignore master key for decrypting credentials and more.
/config/master.key
Expand Down
3 changes: 3 additions & 0 deletions Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,9 @@ group :development, :test do
end

group :development do
gem 'attractor'
gem 'attractor-javascript'
gem 'attractor-ruby'
gem 'htmlbeautifier'
gem 'i18n-debug'
gem 'letter_opener', '~> 1.8'
Expand Down
54 changes: 54 additions & 0 deletions Gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -92,8 +92,23 @@ GEM
airbrake-ruby (6.2.1)
rbtree3 (~> 0.6)
amazing_print (1.5.0)
arrayfields (4.9.2)
ast (2.4.2)
attr_required (1.0.1)
attractor (2.6.0)
churn (>= 1.0.4)
descriptive_statistics
flog (~> 4.0)
launchy
listen (~> 3.0)
rack-livereload
sinatra
thor
tilt
attractor-javascript (0.3.0)
attractor (~> 2.0)
attractor-ruby (0.3.0)
attractor (~> 2.0)
base64 (0.2.0)
bcrypt (3.1.19)
bindata (2.5.0)
Expand All @@ -116,6 +131,13 @@ GEM
regexp_parser (>= 1.5, < 3.0)
xpath (~> 3.2)
chartkick (5.0.2)
chronic (0.10.2)
churn (1.0.8)
chronic (>= 0.2.3)
hirb
main
ruby_parser (~> 3.0)
sexp_processor (~> 4.1)
coderay (1.1.3)
concurrent-ruby (1.2.3)
connection_pool (2.4.1)
Expand All @@ -136,6 +158,7 @@ GEM
delayed_job_active_record (4.1.7)
activerecord (>= 3.0, < 8.0)
delayed_job (>= 3.0, < 5)
descriptive_statistics (2.5.1)
devise (4.9.2)
bcrypt (~> 3.0)
orm_adapter (~> 0.1)
Expand All @@ -157,6 +180,7 @@ GEM
multipart-post (~> 2)
faraday-net_http (3.1.0)
net-http
fattr (2.4.0)
ferrum (0.13)
addressable (~> 2.5)
concurrent-ruby (~> 1.1)
Expand All @@ -166,12 +190,17 @@ GEM
ffi-compiler (1.0.1)
ffi (>= 1.0.0)
rake
flog (4.8.0)
path_expander (~> 1.0)
ruby_parser (~> 3.1, > 3.1.0)
sexp_processor (~> 4.8)
freezolite (0.3.0)
require-hooks (~> 0.1)
globalid (1.1.0)
activesupport (>= 5.0)
hashdiff (1.0.1)
hashie (5.0.0)
hirb (0.7.3)
hkdf (0.3.0)
hotwire-rails (0.1.3)
rails (>= 6.0.0)
Expand Down Expand Up @@ -234,6 +263,12 @@ GEM
net-imap
net-pop
net-smtp
main (6.3.0)
arrayfields (~> 4.9, >= 4.9.2)
chronic (~> 0.10, >= 0.10.2)
fattr (~> 2.4, >= 2.4.0)
map (~> 6.6, >= 6.6.0)
map (6.6.0)
marcel (1.0.4)
matrix (0.4.2)
method_source (1.0.0)
Expand All @@ -246,6 +281,8 @@ GEM
i18n (>= 0.6.4, <= 2)
msgpack (1.7.1)
multipart-post (2.4.1)
mustermann (3.0.0)
ruby2_keywords (~> 0.0.1)
net-http (0.4.1)
uri
net-imap (0.4.10)
Expand Down Expand Up @@ -290,6 +327,7 @@ GEM
parser (3.3.3.0)
ast (~> 2.4.1)
racc
path_expander (1.1.2)
pdfkit (0.8.7.3)
pg (1.5.3)
pg_search (2.3.6)
Expand All @@ -309,6 +347,8 @@ GEM
nio4r (~> 2.0)
racc (1.7.3)
rack (2.2.8.1)
rack-livereload (0.5.2)
rack (< 3)
rack-oauth2 (1.21.3)
activesupport
attr_required
Expand Down Expand Up @@ -404,9 +444,14 @@ GEM
faraday (>= 1)
faraday-multipart (>= 1)
ruby-progressbar (1.13.0)
ruby2_keywords (0.0.5)
ruby_parser (3.21.1)
racc (~> 1.5)
sexp_processor (~> 4.16)
scenic (1.7.0)
activerecord (>= 4.0.0)
railties (>= 4.0.0)
sexp_processor (4.17.2)
simplecov (0.22.0)
docile (~> 1.1)
simplecov-html (~> 0.11)
Expand All @@ -415,6 +460,11 @@ GEM
simplecov_json_formatter (0.1.4)
simpleidn (0.2.1)
unf (~> 0.1.4)
sinatra (3.0.6)
mustermann (~> 3.0)
rack (~> 2.2, >= 2.2.4)
rack-protection (= 3.0.6)
tilt (~> 2.0)
sorbet-runtime (0.5.11164)
spy (1.0.5)
stimulus-rails (1.2.1)
Expand All @@ -426,6 +476,7 @@ GEM
syntax_tree (6.2.0)
prettier_print (>= 1.2.0)
thor (1.2.2)
tilt (2.4.0)
timeout (0.4.0)
turbo-rails (1.4.0)
actionpack (>= 6.0.0)
Expand Down Expand Up @@ -483,6 +534,9 @@ PLATFORMS
DEPENDENCIES
airbrake
amazing_print
attractor
attractor-javascript
attractor-ruby
bootsnap (>= 1.1.0)
bullet
byebug
Expand Down
Binary file added attractor_output/images/attractor_favicon.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
15 changes: 15 additions & 0 deletions attractor_output/images/attractor_logo.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
23 changes: 23 additions & 0 deletions attractor_output/index.js.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
<html>
<head>
<link href="https://fonts.googleapis.com/css?family=Red+Hat+Display|Red+Hat+Text&display=swap" rel="stylesheet">
<link href="stylesheets/main.css" rel="stylesheet" />
<title>Attractor Output</title>
<link rel="icon" type="image/png" href="images/attractor_favicon.png">
<script type="text/javascript">
window.types = {"js":"JavaScript","rb":"Ruby"}
</script>
<script src="javascripts/index.pack.js"></script>
<script src="javascripts/index.js.js"></script>
</head>
<body class="d-flex flex-column h-100">
<div id="react-root"></div>
<footer class="footer mt-auto py-3 fixed-bottom">
<div class="container d-flex justify-content-end">
<span class="mx-3"><a target="_blank" href="https://www.patreon.com/user?u=24747270">Patreon</a></span>
<span class="mx-3"><a target="_blank" href="https://github.com/julianrubisch/attractor">Github</a></span>
<span class="mx-3"><a target="_blank" href="https://twitter.com/AttractorGem">Twitter</a></span>
</div>
</footer>
</body>
</html>
23 changes: 23 additions & 0 deletions attractor_output/index.rb.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
<html>
<head>
<link href="https://fonts.googleapis.com/css?family=Red+Hat+Display|Red+Hat+Text&display=swap" rel="stylesheet">
<link href="stylesheets/main.css" rel="stylesheet" />
<title>Attractor Output</title>
<link rel="icon" type="image/png" href="images/attractor_favicon.png">
<script type="text/javascript">
window.types = {"js":"JavaScript","rb":"Ruby"}
</script>
<script src="javascripts/index.pack.js"></script>
<script src="javascripts/index.rb.js"></script>
</head>
<body class="d-flex flex-column h-100">
<div id="react-root"></div>
<footer class="footer mt-auto py-3 fixed-bottom">
<div class="container d-flex justify-content-end">
<span class="mx-3"><a target="_blank" href="https://www.patreon.com/user?u=24747270">Patreon</a></span>
<span class="mx-3"><a target="_blank" href="https://github.com/julianrubisch/attractor">Github</a></span>
<span class="mx-3"><a target="_blank" href="https://twitter.com/AttractorGem">Twitter</a></span>
</div>
</footer>
</body>
</html>
4 changes: 4 additions & 0 deletions attractor_output/javascripts/index.js.js

Large diffs are not rendered by default.

38 changes: 38 additions & 0 deletions attractor_output/javascripts/index.pack.js

Large diffs are not rendered by default.

4 changes: 4 additions & 0 deletions attractor_output/javascripts/index.rb.js

Large diffs are not rendered by default.

6 changes: 6 additions & 0 deletions attractor_output/stylesheets/main.css

Large diffs are not rendered by default.

Loading