molecule 1.2.6 → 1.3.1

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: 0cc41bb85a8fa83ea865f61f09c62efda5169d58f336286d7a28e41dfc324a4a
4
- data.tar.gz: f9a30f6ff39ef4ea2787cb5a96f74492659da4f2cfec5da9eebc690353310bb8
3
+ metadata.gz: 93257030acaaf702de003ba4d080868439851a42d3a684d5a7e802515c08d850
4
+ data.tar.gz: 88dfab9b04dc6111527063eb6e776880c3ca2e8f991db4031f904815005371cd
5
5
  SHA512:
6
- metadata.gz: 439d3adbcf3e8d6080637806ff201b1637060870c0a4040ffafdc4fda5706e17946c6290edbbe22fdac14ddf40338b67034b22766541e380a99ba1ae2637be9b
7
- data.tar.gz: 3a12a9e4acf57f2180e02215eb2184acfa6a33166b57a4c9f647b52d6e499a421a12d4aa869853d8a4b230a8c643c02d7987c74d293c751fd8a9b55e31fb3539
6
+ metadata.gz: b518ac5eeb4fc2e5a06faec265d59ddc26effe2cf53a786d25ab82aa75b09a03cf6bce191c224b41c776e67efb27d9805ef9c3cb0daeb3cd82c075dd99d1bf1b
7
+ data.tar.gz: 4ecd283fa4b26508d79ee7526b5bbf5635b97868cb73b64d37c82661681a5898f9396065a057c39c9b24aea47edcc4e4b8ac8092d0fa6f011768bd4bacbabf5b
@@ -43,7 +43,7 @@ module Molecule
43
43
  end
44
44
 
45
45
  def molecule_inline_sprite molecule_name = default_molecule_name
46
- manifest_path = Rails.root.join('public', 'manifests', "#{molecule_name}/icons-inline.json")
46
+ manifest_path = Rails.root.join('public', 'manifests', "#{molecule_name}/icons.json")
47
47
 
48
48
  unless ::File.exists?(manifest_path)
49
49
  Rails.logger.warn("asset manifest not found: '#{manifest_path}'")
@@ -6,6 +6,7 @@ module Molecule
6
6
 
7
7
  def render(context, options)
8
8
  if options.key?(:molecule)
9
+ options[:molecule] = options[:molecule].to_s
9
10
  ::Molecule::Renderer.new(@lookup_context, options).render(context)
10
11
  else
11
12
  super
@@ -1,3 +1,3 @@
1
1
  module Molecule
2
- VERSION = '1.2.6'
2
+ VERSION = '1.3.1'
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: molecule
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.2.6
4
+ version: 1.3.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Dirk Gustke
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2021-01-27 00:00:00.000000000 Z
11
+ date: 2022-01-30 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails
@@ -75,7 +75,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
75
75
  - !ruby/object:Gem::Version
76
76
  version: '0'
77
77
  requirements: []
78
- rubygems_version: 3.1.2
78
+ rubygems_version: 3.2.22
79
79
  signing_key:
80
80
  specification_version: 4
81
81
  summary: provide and use template and assets in a self-contained way