notable_web 0.1.0 → 0.1.1

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: ad2f229ad7304302d16581c3173f8889b97d834d4c3d53ce097614acbc9c0979
4
- data.tar.gz: fc90371c287986b808f5795efa88f504fd705a4871d34f4c3d89511d4025b771
3
+ metadata.gz: 06f7f35d20e1ddd65c7e23f32c020cfad761592c4bf43fabdc33b574426ad331
4
+ data.tar.gz: 64192bf25aa8dac121da8f6946ae56013096b09d5030bfea1320c5050e669282
5
5
  SHA512:
6
- metadata.gz: ed8840e9a6594790892aacc0f52c727bae2012b8a888213cc6da85805edefcce5f43bec64d092d9f0011f8da90e01c229f3280676f350b368979c2aea1104248
7
- data.tar.gz: 8383fc0ded9a02635378628f88c0b740cb8a8064081aa2c295b6cbad060f7d5b1d63595c6be75776c33a7d1be73325c3513d71d9be1e272ffc63eae495a68222
6
+ metadata.gz: 57aaa64c33a5fde0dc5dd582ba42cb952dfbd15774ed8e736bc0aea128ccb73f4e39402c54f2561516883f38309c2946adcfb8f4f2711474626b90df452910cc
7
+ data.tar.gz: 81db2475ebb56425ac0380fba3c354e7a3cd80d0bf6b54291be80f2e650bcbd2109a6c92c48cabc567cab3f4ce5aa1a3c4f5ec8e972a27c0d2a94498688e6388
@@ -1,3 +1,7 @@
1
+ ## 0.1.1
2
+
3
+ - Added support for Sprockets 4
4
+
1
5
  ## 0.1.0
2
6
 
3
7
  - Fixed errors with Rails 5 and 6
@@ -3,8 +3,12 @@ module NotableWeb
3
3
  isolate_namespace NotableWeb
4
4
 
5
5
  initializer "notable_web" do |app|
6
- # use a proc instead of a string
7
- app.config.assets.precompile << proc { |path| path == "notable_web.js" }
6
+ if defined?(Sprockets) && Sprockets::VERSION >= "4"
7
+ app.config.assets.precompile << "notable_web.js"
8
+ else
9
+ # use a proc instead of a string
10
+ app.config.assets.precompile << proc { |path| path == "notable_web.js" }
11
+ end
8
12
 
9
13
  NotableWeb.time_zone ||= Time.zone
10
14
  end
@@ -1,3 +1,3 @@
1
1
  module NotableWeb
2
- VERSION = "0.1.0"
2
+ VERSION = "0.1.1"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: notable_web
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.1.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: 2019-05-29 00:00:00.000000000 Z
11
+ date: 2019-10-28 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: railties