rack-mini-profiler 2.0.3 → 2.0.4

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: 15ea5fda4e557abe1cf4415087762e907f1ab3d1f80c900e1616e3d7c9e8d0aa
4
- data.tar.gz: 4863e737b3441b208689ab8f2ba0c624af976c0ab3210030d91c4cbfd93d5e55
3
+ metadata.gz: 2e54608bc4885796e11d6e4fac9cc56fe478f60c5cd43d53637451ef3524f086
4
+ data.tar.gz: 6a87a58c7821a279ce08b66432de9a199a6f775f897610e03e12d497eb7ccc46
5
5
  SHA512:
6
- metadata.gz: 22e9207e79c9bdeb0d7de0646f05fd52a3c70420b47c1498f37bfca6257e395e636d39f2745c27d4dc7272edd13a9983f5ddaf6205f4b22ce79af4e4638c9d44
7
- data.tar.gz: f47ed39a7ba3fe823e57cea88e20b130644961924aedcb8e35a30d649b41eb2003bc36017dc42615486767d6b370b4630037f0da769d3c698681969eed03b89e
6
+ metadata.gz: 3730c9e4610fd90cc0fac86c1cddcf6181e15cef5932ba86f8f8cbca1df77c02ba7847c2e1868b48e51299b6c51224fe533818c3cc245dd02a2da11b2298569c
7
+ data.tar.gz: 98f54eed006f7f13840481b777dbe4add5f9983c5ed367f8046a942a584a5ad3eb4ea5ae6e3aef7e4aa0760b37c78ac5dd6ee5bcd45e42091a943dfabdb343b1
@@ -1,5 +1,9 @@
1
1
  # CHANGELOG
2
2
 
3
+ ## 2.0.4 - 2020-08-04
4
+
5
+ - [FIX] webpacker may exist with no config, allow for that
6
+
3
7
  ## 2.0.3 - 2020-07-29
4
8
 
5
9
  - [FIX] support for deprecation free Redis 4.2
@@ -2,6 +2,6 @@
2
2
 
3
3
  module Rack
4
4
  class MiniProfiler
5
- VERSION = '2.0.3'
5
+ VERSION = '2.0.4'
6
6
  end
7
7
  end
@@ -52,7 +52,7 @@ module Rack::MiniProfilerRailsMethods
52
52
  end
53
53
 
54
54
  def get_webpacker_assets_path
55
- if defined?(Webpacker)
55
+ if defined?(Webpacker) && Webpacker.config.config_path.exist?
56
56
  Webpacker.config.public_output_path.to_s.gsub(Webpacker.config.public_path.to_s, "")
57
57
  end
58
58
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rack-mini-profiler
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.0.3
4
+ version: 2.0.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Sam Saffron
@@ -10,7 +10,7 @@ authors:
10
10
  autorequire:
11
11
  bindir: bin
12
12
  cert_chain: []
13
- date: 2020-07-29 00:00:00.000000000 Z
13
+ date: 2020-08-03 00:00:00.000000000 Z
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
16
  name: rack