achilles 0.1.1 → 0.1.3
Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 4cbab719a8dffd4e91d6370b1fab1cde027a5e17c6820b0e17cbadbbe02245cb
|
4
|
+
data.tar.gz: df285908359e36ea0f470d129f6c70da49ad8ebab163c92b989d0f1fbc571d61
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 4e5884c9db907811e249f93c9eef7bfc23a6ce6542d6a9a16f70b5199358d41d8d7fb6ba0a6e24e893311c9d543a9818bd8d39d14898e3e3078a6bf27785aa56
|
7
|
+
data.tar.gz: fd63d868a07e76b928af6bb67a51cb7a26c4880e24405b45c066962a4e88bd29780fc6054ab12a7d8c53a5ffb9a36276f79505e2b2c1e0c8445f9479b5cdfdb6
|
@@ -1,2 +1,2 @@
|
|
1
|
-
|
1
|
+
//= link_directory ../../stylesheets/achilles .css
|
2
2
|
//= link_tree ../../../javascript .js
|
@@ -17,18 +17,19 @@ class Turbo {
|
|
17
17
|
// Events registering
|
18
18
|
// Turbolinks lifecycle ref: https://sevos.io/2017/02/27/turbolinks-lifecycle-explained.html
|
19
19
|
// Render is not called on initial page load. So execute only once during page load
|
20
|
-
$(document).
|
20
|
+
$(document).on("turbo:load", () => {
|
21
|
+
console.log('[achilles] turbo load event')
|
21
22
|
this._setupCallback();
|
22
23
|
});
|
23
24
|
|
24
|
-
// Render is called before each page transition. But its not called on initial page load. That's why we need 'load'
|
25
|
-
$(document).on("turbo:render", () => {
|
26
|
-
|
27
|
-
});
|
28
|
-
|
29
|
-
$(document).on("turbo:before-render", () => {
|
30
|
-
|
31
|
-
});
|
25
|
+
// // Render is called before each page transition. But its not called on initial page load. That's why we need 'load'
|
26
|
+
// $(document).on("turbo:render", () => {
|
27
|
+
// this._setupCallback();
|
28
|
+
// });
|
29
|
+
//
|
30
|
+
// $(document).on("turbo:before-render", () => {
|
31
|
+
// this._teardownCallback();
|
32
|
+
// });
|
32
33
|
}
|
33
34
|
}
|
34
35
|
|
data/lib/achilles/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: achilles
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Jey Geethan
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2024-
|
11
|
+
date: 2024-11-03 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rails
|
@@ -24,6 +24,20 @@ dependencies:
|
|
24
24
|
- - ">="
|
25
25
|
- !ruby/object:Gem::Version
|
26
26
|
version: 7.0.2.3
|
27
|
+
- !ruby/object:Gem::Dependency
|
28
|
+
name: turbo-rails
|
29
|
+
requirement: !ruby/object:Gem::Requirement
|
30
|
+
requirements:
|
31
|
+
- - ">="
|
32
|
+
- !ruby/object:Gem::Version
|
33
|
+
version: 2.0.11
|
34
|
+
type: :runtime
|
35
|
+
prerelease: false
|
36
|
+
version_requirements: !ruby/object:Gem::Requirement
|
37
|
+
requirements:
|
38
|
+
- - ">="
|
39
|
+
- !ruby/object:Gem::Version
|
40
|
+
version: 2.0.11
|
27
41
|
description: A simple js library to make your turbo apps work better
|
28
42
|
email:
|
29
43
|
- jey@jeygeethan.com
|
@@ -81,7 +95,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
81
95
|
- !ruby/object:Gem::Version
|
82
96
|
version: '0'
|
83
97
|
requirements: []
|
84
|
-
rubygems_version: 3.
|
98
|
+
rubygems_version: 3.3.7
|
85
99
|
signing_key:
|
86
100
|
specification_version: 4
|
87
101
|
summary: Js library as an alternative to stimulus
|