searchjoy 1.3.0 → 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: 57f6279802863f6f7c864a8aab34a758607dee4fab88674d54ac0453d1dcd666
4
- data.tar.gz: f7294740266f88e864b5e15311448e212a7886022a461b6f0fec5499b6d0325d
3
+ metadata.gz: c20617ffec8c9f2916412616d83d851daa746f044ece8006556776e98ae97c52
4
+ data.tar.gz: 78d0292a022bd11a1c9cdea629e21b743f6a75781d5487f57f8bfb5e00f6e078
5
5
  SHA512:
6
- metadata.gz: 110342d38c82b809447b33b7a104a9ef1c5c2b7e466df526fb8c0422279d2ff688f09d528f1de753b408b9b26a1c5aa79654c5f0c4af692ce81d1e1ee3551913
7
- data.tar.gz: 9f57e5cece3ef7843a6c36028618ffbe5072dc2a0328691712b52606ff59f3e3b959f88bd1c6f12c65a23deec59d23f29b76559847d4e5f81f147dea5d458597
6
+ metadata.gz: 3739bad0113aa56c52b695491c5ea4d337fecaa60d577e28cdee16db520fa2186ca4c356267e8f6bae64c779dca244c0bd9567b6bdf19f89a5c18506cf5fd464
7
+ data.tar.gz: d2e44ee64aa73296d200f8665577ad07f57fa4b6d4b71f7a09c0b90a265e83a87117f32b78e2ca5495300f892c27409b2242d8be10497e8dc3818015888d68a9
data/CHANGELOG.md CHANGED
@@ -1,3 +1,7 @@
1
+ ## 1.3.1 (2024-10-14)
2
+
3
+ - Fixed error when Propshaft is installed but not used
4
+
1
5
  ## 1.3.0 (2024-07-10)
2
6
 
3
7
  - Improved CSP support
@@ -307,7 +307,7 @@ div.litepicker {
307
307
  }
308
308
 
309
309
  .conversion-col {
310
- width: 30%;
310
+ width: 35%;
311
311
  color: #5cb85c;
312
312
  }
313
313
 
@@ -6,7 +6,7 @@
6
6
  <meta charset="utf-8" />
7
7
  <%= csp_meta_tag %>
8
8
 
9
- <% if defined?(Propshaft::Railtie) %>
9
+ <% if defined?(Propshaft::Railtie) && Rails.application.assets.is_a?(Propshaft::Assembly) %>
10
10
  <%= stylesheet_link_tag "searchjoy/application", "searchjoy/litepicker" %>
11
11
  <%= javascript_include_tag "chartkick", "Chart.bundle", "searchjoy/application", "searchjoy/litepicker", nonce: true %>
12
12
  <% else %>
@@ -3,8 +3,8 @@ module Searchjoy
3
3
  isolate_namespace Searchjoy
4
4
 
5
5
  initializer "searchjoy" do |app|
6
- if app.config.respond_to?(:assets)
7
- if defined?(Sprockets) && Sprockets::VERSION.to_i >= 4
6
+ if app.config.respond_to?(:assets) && defined?(Sprockets)
7
+ if Sprockets::VERSION.to_i >= 4
8
8
  app.config.assets.precompile << "searchjoy/application.js"
9
9
  app.config.assets.precompile << "searchjoy/application.css"
10
10
  else
@@ -1,3 +1,3 @@
1
1
  module Searchjoy
2
- VERSION = "1.3.0"
2
+ VERSION = "1.3.1"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: searchjoy
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.3.0
4
+ version: 1.3.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Andrew Kane
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2024-07-11 00:00:00.000000000 Z
11
+ date: 2024-10-15 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: chartkick
@@ -100,7 +100,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
100
100
  - !ruby/object:Gem::Version
101
101
  version: '0'
102
102
  requirements: []
103
- rubygems_version: 3.5.11
103
+ rubygems_version: 3.5.16
104
104
  signing_key:
105
105
  specification_version: 4
106
106
  summary: Search analytics made easy