time_table 0.1.0 → 0.1.1

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: 1bda0c68f374019f10bea2b170b92f2d42798b36c179f1d8491a8d681d0c63fa
4
- data.tar.gz: e810ab3a44df984f542063ff739e565a2c8bc1d5f5e8e26b5d7d9f900b233058
3
+ metadata.gz: dd1ccb8ad29b617f478b96713b818b7f1bd047087f804a9035ae7559622ecc48
4
+ data.tar.gz: a0bd9756ad4acf416a0c2db150113e8ec659f0af8ac0d60dc0e6e9d590530100
5
5
  SHA512:
6
- metadata.gz: f24d3b0708b9acf2cc94d019ca5cf5242375684d887051d8fa553264a2afe7470ec51e9d02f44f0792f02b0f537037d1b77cefd26b3994712e7161cbef96faaf
7
- data.tar.gz: de30aaf777b89dbb3d5ade451f2a364102d72e7140cf2940b170a79a4bda0a2844a636a90f92210b96ef6edc1e0f7e7e02d471bd9dbd4200a5ba149c48c98ccc
6
+ metadata.gz: 9aec3289c49eec9a790d2f12313649a0c7ab0b81ecc2ea8b5e09a859b687ea00534147704bfe77d0a0999fc36f9805ad1baa33c6685770f403bea18c3a23f9b1
7
+ data.tar.gz: 7206f6beb6d27e8a33925104906504c2ff0d8564a7690ce6a1061b628ed4e5c54cb85f1c3952e3331fedf2226a667210df5bd72a8a65e914512328f6669b49fb
@@ -1,3 +1,3 @@
1
1
  // Configure your import map in config/importmap.rb. Read more: https://github.com/rails/importmap-rails
2
2
  import "@hotwired/turbo-rails"
3
- import "./controllers/index.js"
3
+ import "./controllers/index"
@@ -6,4 +6,4 @@ const application = Application.start()
6
6
  application.debug = false
7
7
  window.Stimulus = application
8
8
 
9
- export { application }
9
+ export { application }
@@ -6,8 +6,6 @@ import { application } from "./application"
6
6
  // import EngineController from "./engine_controller"
7
7
  // application.register("engine", EngineController)
8
8
 
9
- // const controllers = ["editable_text", "search", "panel", "panel_manager", "resource_collection", "switch"];
10
-
11
9
  const controllers = ["time_table"];
12
10
 
13
11
  controllers.forEach((controller) => {
@@ -9,5 +9,14 @@ module TimeTable
9
9
  end
10
10
  end
11
11
  end
12
+
13
+ initializer "time_table.importmap", before: "importmap" do |app|
14
+ app.config.importmap.paths << root.join("config/importmap.rb")
15
+ app.config.importmap.cache_sweepers << root.join("app/assets/javascripts")
16
+ end
17
+
18
+ initializer "time_table.assets" do |app|
19
+ app.config.assets.precompile += %w[time_table_manifest]
20
+ end
12
21
  end
13
22
  end
@@ -1,3 +1,3 @@
1
1
  module TimeTable
2
- VERSION = "0.1.0"
2
+ VERSION = "0.1.1"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: time_table
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.1.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Joshua Hadik
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2025-04-27 00:00:00.000000000 Z
11
+ date: 2025-04-28 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails
@@ -35,10 +35,10 @@ files:
35
35
  - README.md
36
36
  - Rakefile
37
37
  - app/assets/config/time_table_manifest.js
38
- - app/assets/javascript/application.js
39
- - app/assets/javascript/controllers/application.js
40
- - app/assets/javascript/controllers/index.js
41
- - app/assets/javascript/controllers/time_table_controller.js
38
+ - app/assets/javascript/time_table/application.js
39
+ - app/assets/javascript/time_table/controllers/application.js
40
+ - app/assets/javascript/time_table/controllers/index.js
41
+ - app/assets/javascript/time_table/controllers/time_table_controller.js
42
42
  - app/assets/stylesheets/time_table/application.css
43
43
  - app/assets/stylesheets/time_table/time_table.css
44
44
  - app/controllers/time_table/application_controller.rb