attractor-rails 0.1.1 → 0.1.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 4d741f35aa01cadef85314280cac84e400c9be31b1f5ef185e728471cecf1554
|
|
4
|
+
data.tar.gz: 47764a51fd24a0b3a8a11471d1ede308bb7de8625b72a90d7a1adf5c990a70ce
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: c73937407e21d58766c7b32a4e7551804318ddd416ef497df1557359482b8f740e2a9f8033f59c4338db7fab2f6950f261dfae92ca338f65791d01fb9fc2bc47
|
|
7
|
+
data.tar.gz: 2ad491522418c89d2be4368baa90d4fd85acdcfbcaec8902bdd1434964fa8740d19492655b5186ac7dd0d3c2e90bd43e78e4d94ff4c89a84bb35ade1361c8daf
|
data/README.md
CHANGED
|
@@ -77,7 +77,9 @@ Rails.application.routes.draw do
|
|
|
77
77
|
end
|
|
78
78
|
```
|
|
79
79
|
|
|
80
|
-
And that's it! Browse to http://localhost:3000/attractor and enjoy your code metrics!
|
|
80
|
+
And that's it! Browse to http://localhost:3000/attractor/ and enjoy your code metrics!
|
|
81
|
+
|
|
82
|
+
**NOTE: due to the forwarding of requests to the attractor gem in the background, the `/` at the end is important! Don't leave it out.**
|
|
81
83
|
|
|
82
84
|
## Configuration
|
|
83
85
|
|
|
@@ -1,2 +1,22 @@
|
|
|
1
|
-
<
|
|
2
|
-
<
|
|
1
|
+
<html>
|
|
2
|
+
<head>
|
|
3
|
+
<link href="https://fonts.googleapis.com/css?family=Red+Hat+Display|Red+Hat+Text&display=swap" rel="stylesheet">
|
|
4
|
+
<link href="stylesheets/main.css" rel="stylesheet" />
|
|
5
|
+
<title>Attractor Output</title>
|
|
6
|
+
<link rel="icon" type="image/png" href="images/attractor_favicon.png">
|
|
7
|
+
<script type="text/javascript">
|
|
8
|
+
window.types = <%= raw(@types.to_json) %>
|
|
9
|
+
</script>
|
|
10
|
+
<script src="javascripts/index.pack.js"></script>
|
|
11
|
+
</head>
|
|
12
|
+
<body class="d-flex flex-column h-100">
|
|
13
|
+
<div id="react-root"></div>
|
|
14
|
+
<footer class="footer mt-auto py-3 fixed-bottom">
|
|
15
|
+
<div class="container d-flex justify-content-end">
|
|
16
|
+
<span class="mx-3"><a target="_blank" href="https://www.patreon.com/user?u=24747270">Patreon</a></span>
|
|
17
|
+
<span class="mx-3"><a target="_blank" href="https://github.com/julianrubisch/attractor">Github</a></span>
|
|
18
|
+
<span class="mx-3"><a target="_blank" href="https://twitter.com/AttractorGem">Twitter</a></span>
|
|
19
|
+
</div>
|
|
20
|
+
</footer>
|
|
21
|
+
</body>
|
|
22
|
+
</html>
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
<!DOCTYPE html>
|
|
2
|
+
<html>
|
|
3
|
+
<head>
|
|
4
|
+
<title>Attractor rails</title>
|
|
5
|
+
<%= csrf_meta_tags %>
|
|
6
|
+
<%= csp_meta_tag %>
|
|
7
|
+
|
|
8
|
+
<%= stylesheet_link_tag "attractor/rails/application", media: "all" %>
|
|
9
|
+
</head>
|
|
10
|
+
<body>
|
|
11
|
+
|
|
12
|
+
<%= yield %>
|
|
13
|
+
|
|
14
|
+
</body>
|
|
15
|
+
</html>
|
metadata
CHANGED
|
@@ -1,27 +1,27 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: attractor-rails
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.1.
|
|
4
|
+
version: 0.1.2
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Julian Rubisch
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date:
|
|
11
|
+
date: 2021-04-09 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: rails
|
|
15
15
|
requirement: !ruby/object:Gem::Requirement
|
|
16
16
|
requirements:
|
|
17
|
-
- - "
|
|
17
|
+
- - ">="
|
|
18
18
|
- !ruby/object:Gem::Version
|
|
19
19
|
version: 6.0.3
|
|
20
20
|
type: :runtime
|
|
21
21
|
prerelease: false
|
|
22
22
|
version_requirements: !ruby/object:Gem::Requirement
|
|
23
23
|
requirements:
|
|
24
|
-
- - "
|
|
24
|
+
- - ">="
|
|
25
25
|
- !ruby/object:Gem::Version
|
|
26
26
|
version: 6.0.3
|
|
27
27
|
- !ruby/object:Gem::Dependency
|
|
@@ -125,6 +125,7 @@ files:
|
|
|
125
125
|
- app/views/attractor/rails/reporter/index.html.erb
|
|
126
126
|
- app/views/attractor/rails/reporter/index.html.erb~
|
|
127
127
|
- app/views/layouts/attractor/rails/application.html.erb
|
|
128
|
+
- app/views/layouts/attractor/rails/application.html.erb~
|
|
128
129
|
- config/routes.rb
|
|
129
130
|
- config/routes.rb~
|
|
130
131
|
- lib/attractor/rails.rb
|