stimulus-rails 0.3.10 → 0.3.11

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: 1b9a454bafba03c004e0cbc92869b1708b554069a88b7c51ef97acb48e7e2eb1
4
- data.tar.gz: 50bf087f9212b422530dd641ef39d6654e967a5b98223e78fc12bcf27b255d2a
3
+ metadata.gz: 64761f6c52233208ab99ba06ecc3d99a4df3ec15a43bdda8e9059714a5e1a6ee
4
+ data.tar.gz: 8a7416e6f82f089575a87b27fa7706cd0aa1f5ea01786aa0754cfce51e0c9d7c
5
5
  SHA512:
6
- metadata.gz: e8caf91bc8807bce9ba01f28da7ffd5905a333d242c1e9b39491aaff1f85f5038f3e5812ff901efc40d3fe93eb793dff76d9a0f9974c4992814c7f3e271e93d8
7
- data.tar.gz: 9234d62fa5c5060e27659474bfdad76007b04e66b29aaca48141dcc7cb95a0c0064a17eb09b8f258a90a331f24db5e242f37e33f05829d432511c42620aa5b6a
6
+ metadata.gz: 929c0266cf1ed01dee781af2d228481b3e4f4164bdc09c3c9e1505ced0a40c4223fa54849ace773806d2be3df300103ed8099867735fbefa35e5288110ba799f
7
+ data.tar.gz: 02d4931af10963beef58c26379499486326b355e325078e24649c6ab92e0351bfbabb936fc72202df31bb10de8c9a477bf698d27df10476260fd6604ae0e192d
@@ -16,10 +16,9 @@ copy_file "#{__dir__}/app/javascript/controllers/hello_controller.js", APP_JS_RO
16
16
 
17
17
  if IMPORTMAP_PATH.exist?
18
18
  say "Pin @hotwired/stimulus and @hotwired/stimulus-importmap-autoloader in config/importmap.rb"
19
- insert_into_file \
19
+ append_to_file \
20
20
  IMPORTMAP_PATH.to_s,
21
- %( pin "@hotwired/stimulus", to: "stimulus.js"\n pin "@hotwired/stimulus-importmap-autoloader", to: "stimulus-importmap-autoloader.js"\n pin_all_from "app/javascript/controllers", under: "controllers"\n\n),
22
- after: "Rails.application.config.importmap.draw do\n"
21
+ %(pin "@hotwired/stimulus", to: "stimulus.js"\npin "@hotwired/stimulus-importmap-autoloader", to: "stimulus-importmap-autoloader.js"\npin_all_from "app/javascript/controllers", under: "controllers"\n)
23
22
  else
24
23
  say <<~INSTRUCTIONS, :red
25
24
  You must add @hotwired/stimulus and @hotwired/stimulus-importmap-autoloader to your importmap to reference them via ESM.
@@ -1,3 +1,3 @@
1
1
  module Stimulus
2
- VERSION = "0.3.10"
2
+ VERSION = "0.3.11"
3
3
  end
metadata CHANGED
@@ -1,16 +1,16 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: stimulus-rails
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.10
4
+ version: 0.3.11
5
5
  platform: ruby
6
6
  authors:
7
7
  - Sam Stephenson
8
8
  - Javan Mahkmali
9
9
  - David Heinemeier Hansson
10
- autorequire:
10
+ autorequire:
11
11
  bindir: bin
12
12
  cert_chain: []
13
- date: 2021-08-30 00:00:00.000000000 Z
13
+ date: 2021-08-31 00:00:00.000000000 Z
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
16
  name: rails
@@ -26,7 +26,7 @@ dependencies:
26
26
  - - ">="
27
27
  - !ruby/object:Gem::Version
28
28
  version: 6.0.0
29
- description:
29
+ description:
30
30
  email: david@loudthinking.com
31
31
  executables: []
32
32
  extensions: []
@@ -54,7 +54,7 @@ licenses:
54
54
  metadata:
55
55
  homepage_uri: https://stimulus.hotwired.dev
56
56
  source_code_uri: https://github.com/hotwired/stimulus-rails
57
- post_install_message:
57
+ post_install_message:
58
58
  rdoc_options: []
59
59
  require_paths:
60
60
  - lib
@@ -70,7 +70,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
70
70
  version: '0'
71
71
  requirements: []
72
72
  rubygems_version: 3.1.4
73
- signing_key:
73
+ signing_key:
74
74
  specification_version: 4
75
75
  summary: A modest JavaScript framework for the HTML you already have.
76
76
  test_files: []