achilles 0.1.1 → 0.1.2

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: e92d1d954f146d150efea4dee095e2d16bf6fb2a4ad2bad651815e555f2582ab
4
- data.tar.gz: fafa70f86061ed96e1231acbfb53dac24715f208c95613f61bddb1f557c8b0a2
3
+ metadata.gz: e608754044dbae7232ab87fd3a22fa03442f981eee6f049e2837cca1688db921
4
+ data.tar.gz: 536cf192f098d9fb27b40da3173b43229fc5f214d029707aae59bf5bef711e58
5
5
  SHA512:
6
- metadata.gz: 118ced0a30c3a50de43808fe76ff7af1f56fc7ddc72fadb8b262191fcca41aebc8ae293e351609705e489a6af1ddafadab287887e310744624738d192b3bd7d3
7
- data.tar.gz: c837e85a9473fed9a77c358798c1e74f9b8764189c2c90ddea1d85a3226cd59ce9ec4a9757b7c296c6d645d16246254bca1f541857bc40dad6b28982de5e4a05
6
+ metadata.gz: 5add5c1de1c4979cd42ed1718e72e635894b356b695901ad3e51b9577b37b557f78de7b0aebc5d74375ecb2c061afc37849466c5eecbcfe4ad21460cc9049828
7
+ data.tar.gz: 568fc4e820541696e7a42be31f4a2874eff8cccb76b82502aa4ccce4a5fd7c6f6bc15213a21cdaceae59174f799e305ebae4d6c7fc56aeba32212a534eedb3f9
@@ -1,2 +1,2 @@
1
- /* Javascripts */
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).one("turbo:load", () => {
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
- this._setupCallback();
27
- });
28
-
29
- $(document).on("turbo:before-render", () => {
30
- this._teardownCallback();
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
 
@@ -1,3 +1,3 @@
1
1
  module Achilles
2
- VERSION = "0.1.1"
2
+ VERSION = "0.1.2"
3
3
  end
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.1
4
+ version: 0.1.2
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-06-16 00:00:00.000000000 Z
11
+ date: 2024-11-03 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails
@@ -81,7 +81,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
81
81
  - !ruby/object:Gem::Version
82
82
  version: '0'
83
83
  requirements: []
84
- rubygems_version: 3.2.3
84
+ rubygems_version: 3.3.7
85
85
  signing_key:
86
86
  specification_version: 4
87
87
  summary: Js library as an alternative to stimulus