polaris_view_components 0.13.2 → 0.13.3

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: 47a120cfa857b75ad8035272ddaed4195c44268feb5b85145dc9ee61a6db12a1
4
- data.tar.gz: 92d2148b91bd404487f323418e85898b768e159969b8d6c88e90ec9e7c7e08f4
3
+ metadata.gz: 4cbe2969821b1e97f67438c8b85d8b3a2a1e349364749bceb7e07036e635340d
4
+ data.tar.gz: a2c0dc705e81c64131df2a9b67963d08b0f4ef7609eaba8539921b739c5266b3
5
5
  SHA512:
6
- metadata.gz: 6473c8b183755bc59712a2a95fd7748deb0593bb8251571a781b2cfe335d0a80886cce78ba0cc89c571c13c56221bf5fb9f4c9d8b3cb9a3b8095162b177e939e
7
- data.tar.gz: bf1888e0198ea255ad8bdffb5bf6df9897bd1c8cfbe0487bd5601f6834ecf0d81dd03d2e47a33c436666fd25ad8dffe7e5a366c71dc4e43926325be39cb87e40
6
+ metadata.gz: 39d0334ca5d4cac8981bf046474a0bc86d399f2a74941edaf89624efd870724d2e9e7160abbb638093846017a7a6760bb3fdd41109ee85e31defae11aa749166
7
+ data.tar.gz: 2e330a644a4e71be69e5ecdc911c274162f8548f81e1d5d438b1a245c2506ecd78392a2f099f16dae235737f8bfee67d8f23cee42728268fd061be266a48c7b3
data/README.md CHANGED
@@ -26,10 +26,10 @@ Render Polaris ViewComponents:
26
26
 
27
27
  ## Installation
28
28
 
29
- Add to `Gemfile`:
29
+ Add `polaris_view_components` to your Gemfile:
30
30
 
31
- ```ruby
32
- gem "polaris_view_components"
31
+ ```bash
32
+ bundle add polaris_view_components
33
33
  ```
34
34
 
35
35
  Run installer:
@@ -30,7 +30,7 @@ if IMPORTMAP_BINSTUB.exist?
30
30
 
31
31
  say "Pin polaris_view_components"
32
32
  append_to_file IMPORTMAP_CONFIG_PATH do
33
- 'pin "polaris-view-components", to: "polaris_view_components.js"\n'
33
+ %(pin "polaris-view-components", to: "polaris_view_components.js"\n)
34
34
  end
35
35
  else
36
36
  package_json = File.read(Rails.root.join("package.json"))
@@ -36,7 +36,10 @@ module Polaris
36
36
 
37
37
  initializer "polaris_view_components.helpers" do
38
38
  ActiveSupport.on_load(:action_controller_base) do
39
+ require "polaris/view_helper"
39
40
  helper Polaris::ViewHelper
41
+
42
+ require "polaris/url_helper"
40
43
  helper Polaris::UrlHelper
41
44
  end
42
45
  end
@@ -1,5 +1,5 @@
1
1
  module Polaris
2
2
  module ViewComponents
3
- VERSION = "0.13.2"
3
+ VERSION = "0.13.3"
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: polaris_view_components
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.13.2
4
+ version: 0.13.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Dan Gamble
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2023-04-12 00:00:00.000000000 Z
12
+ date: 2023-04-23 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: rails