actionview-svelte-handler 0.5.0 → 0.5.5

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: 5c9116b1048a2590e52cae9e647b184d5892fc96f8a888170022620c9d68a08f
4
- data.tar.gz: 50a787e09043f28ee9ad6bbb50fb283944cbc13512cd71afed51ff274cb8d6d2
3
+ metadata.gz: 97206777a02770810bd34a7ae25fc086fd957a70b5e16c9daa3ec7ce4db66fd1
4
+ data.tar.gz: 9c30b773a3d63d31adecb966b32b411849000e11aed787212263c08893364de9
5
5
  SHA512:
6
- metadata.gz: 24fb49a029ef567cfe21f8495d6b46ae5b270873f155a4e3a1ce7653a5f235716fe3c22d433e90c14c4149129bd57d116b5351c0fc4afae5ba334b9003037137
7
- data.tar.gz: 80b48d562be7b12e1cfc194b05122615241b1e623e92fd8234ca1347bba73ca4a1e54a8cd061d0598c98913745c7b40e4a162e8ec7b3a45c7e5ba08721f38be6
6
+ metadata.gz: c40dc6a7d81e65235970b8a63c53b72cf56df6a56e3cc4fbde48d29f11cd8eb8eb29118a94252518f6ecc2440cb1497c5caba80417ab1d0c81e0a0aaa77f8385
7
+ data.tar.gz: '08ca1b675e5357ca1ce8b12331933b70147588995a712e0edd977b3e65abe1ecb96a5cb7653adb2fa97ff01b3801383d20d5c8b346265efbaf95af8fdc0f0f3e'
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- actionview-svelte-handler (0.5.0)
4
+ actionview-svelte-handler (0.5.5)
5
5
  rails (>= 7.0)
6
6
 
7
7
  GEM
@@ -1,13 +1,15 @@
1
- class Svelte::InstallGenerator < Rails::Generators::Base
2
- desc "This generator installs actionview-svelte-handler"
3
-
4
- source_root File.expand_path("templates/install", __dir__)
5
-
6
- def install
7
- copy_file "initializer.rb", "config/initializers/svelte.rb"
8
- insert_into_file "app/views/layouts/application.html.erb",
9
- "\n <%= svelte_tags %>",
10
- after: "<head>"
11
- `npm install #{Svelte.gem_dir} --install-links --save=false`
1
+ module Svelte
2
+ class InstallGenerator < Rails::Generators::Base
3
+ desc "This generator installs actionview-svelte-handler"
4
+
5
+ source_root File.expand_path("templates/install", __dir__)
6
+
7
+ def install
8
+ copy_file "initializer.rb", "config/initializers/svelte.rb"
9
+ insert_into_file "app/views/layouts/application.html.erb",
10
+ "\n <%= svelte_tags %>",
11
+ after: "<head>"
12
+ `npm install #{Gem::Specification.find_by_name("actionview-svelte-handler").gem_dir} --install-links --save=false`
13
+ end
12
14
  end
13
- end
15
+ end
@@ -1,3 +1,3 @@
1
1
  module Svelte
2
- VERSION = "0.5.0"
2
+ VERSION = "0.5.5"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: actionview-svelte-handler
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.5.0
4
+ version: 0.5.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - reesericci