stimulus-rails 0.3.0 → 0.3.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/install/stimulus_with_webpacker.rb +3 -0
- data/lib/stimulus/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 19ab1007269aa440db2fb6a93b7ace6b4a3998e4dd6cb52e5a90b839df9a9902
|
4
|
+
data.tar.gz: c3ea9e2693c48c103b2dea61b80f6ba9ec3ce54c25be65dd1305876e8149284e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 01c93b2f7cc12890a42be77fea0d6e044392d5c144933bcbf5cfe31b6c7311141a4859ffbb7dd192d980089f18242c3e27963dc40b0fd1d89a5e808b80f05364
|
7
|
+
data.tar.gz: 7cae42a9c82935007b292f524720e080805a076dde248e533f6fb1600421c192ebcf6050a3ec7843a348f593a4efbea1b5b89ff045d0be28d5ece53fff8fbcaa
|
@@ -4,5 +4,8 @@ append_to_file "#{Webpacker.config.source_entry_path}/application.js", %(\nimpor
|
|
4
4
|
say "Creating controllers directory"
|
5
5
|
directory "#{__dir__}/app/assets/javascripts/controllers", "#{Webpacker.config.source_path}/controllers"
|
6
6
|
|
7
|
+
say "Using Stimulus NPM package"
|
8
|
+
gsub_file "#{Webpacker.config.source_path}/controllers/hello_controller.js", /@hotwired\//, ''
|
9
|
+
|
7
10
|
say "Installing all Stimulus dependencies"
|
8
11
|
run "yarn add stimulus"
|
data/lib/stimulus/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: stimulus-rails
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.3.
|
4
|
+
version: 0.3.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Sam Stephenson
|
@@ -10,7 +10,7 @@ authors:
|
|
10
10
|
autorequire:
|
11
11
|
bindir: bin
|
12
12
|
cert_chain: []
|
13
|
-
date: 2021-08-
|
13
|
+
date: 2021-08-12 00:00:00.000000000 Z
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|
16
16
|
name: rails
|