reactionview 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: bfb490d9dcaf963d30c2f560593d4078b58e7ebd67b4c2852d8fe72433163ba3
4
- data.tar.gz: 6768dc56f49afd14610b43785dd9b020d159fbf6e4cf5f10bbb30daf124d3ec9
3
+ metadata.gz: 30a8db9a8e43befd419e8e4fa5797d970af5a5190142ccdf16cd2eaac4eeeaff
4
+ data.tar.gz: 169dfd6c7506bb22ecb386e4d1e78434da669a784e19595e8300767d78ab800f
5
5
  SHA512:
6
- metadata.gz: bc3f2b2498db0568d599d06ce0efdd35663634ae2809138f7e5a6483d940dbdc62cc9f925ccbfe10270bd54fa7fe556eb401675c40d081f2355aa619c0e1e559
7
- data.tar.gz: cb701d8cc9d5880add45a7fba7f7dc841956b9ab14d36540f873c972a6cffa64eef95877cd7a6a0e7a740a88b165baf895085728f1c7730a943729fcc4bb32da
6
+ metadata.gz: 1cc2ce478e563ecb7f72a898916efd8059740868defc73912088ff4505082b40ee110902b282ea527db7310f64b6051204613e8ca95868d87f3401619059e2f3
7
+ data.tar.gz: c61d3cd3ee547ec61d9e292473a175325afa20c5203910cfd4eef99067d18db1c4c13005955006885fe0a19e3345564c27d8a9cc32b6d91450f7d9f1638365ef
@@ -2,11 +2,24 @@
2
2
 
3
3
  module ReActionView
4
4
  class Railtie < Rails::Railtie
5
+ # If you don't want to precompile ReActionView's assets (eg. because you're using propshaft),
6
+ # you can do this in an initializer:
7
+ #
8
+ # config.after_initialize do
9
+ # config.assets.precompile -= ReActionView::Railtie::PRECOMPILE_ASSETS
10
+ # end
11
+ #
12
+ PRECOMPILE_ASSETS = %w[
13
+ reactionview-dev-tools.esm.js
14
+ reactionview-dev-tools.umd.js
15
+ ].freeze
16
+
5
17
  initializer "reactionview.assets" do |app|
6
18
  if ReActionView.config.development? && app.config.respond_to?(:assets)
7
19
  gem_root = Gem::Specification.find_by_name("reactionview").gem_dir
8
20
 
9
21
  app.config.assets.paths << File.join(gem_root, "app", "assets", "javascripts")
22
+ app.config.assets.precompile += PRECOMPILE_ASSETS
10
23
  end
11
24
  end
12
25
 
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module ReActionView
4
- VERSION = "0.1.1"
4
+ VERSION = "0.1.2"
5
5
  end
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: reactionview
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
  - Marco Roth
8
8
  bindir: exe
9
9
  cert_chain: []
10
- date: 2025-09-08 00:00:00.000000000 Z
10
+ date: 2025-09-09 00:00:00.000000000 Z
11
11
  dependencies:
12
12
  - !ruby/object:Gem::Dependency
13
13
  name: actionview