reactionview 0.6.1 → 0.6.2

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.
@@ -15,6 +15,8 @@ module ReActionView
15
15
  reactionview-dev-tools.umd.js
16
16
  ].freeze
17
17
 
18
+ SLOT_RELOAD_EXTENSIONS = %w[erb herb rb].freeze
19
+
18
20
  def self.gem_root
19
21
  Gem::Specification.find_by_name("reactionview").gem_dir
20
22
  end
@@ -103,7 +105,7 @@ module ReActionView
103
105
 
104
106
  next if views.empty?
105
107
 
106
- watcher = app.config.file_watcher.new([], views.index_with { %w[erb] }) do
108
+ watcher = app.config.file_watcher.new([], views.index_with { SLOT_RELOAD_EXTENSIONS }) do
107
109
  ReActionView::Slots.reset_dependencies!
108
110
  end
109
111
 
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module ReActionView
4
- VERSION = "0.6.1"
4
+ VERSION = "0.6.2"
5
5
  end
data/reactionview.gemspec CHANGED
@@ -37,6 +37,6 @@ Gem::Specification.new do |spec|
37
37
 
38
38
  spec.add_dependency "actionview", ">= 7.0"
39
39
  spec.add_dependency "cruise", ">= 0.3.0"
40
- spec.add_dependency "herb", ">= 0.11.2"
40
+ spec.add_dependency "herb", ">= 0.11.3"
41
41
  spec.add_dependency "websocket", "~> 1.2"
42
42
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: reactionview
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.6.1
4
+ version: 0.6.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Marco Roth
@@ -43,14 +43,14 @@ dependencies:
43
43
  requirements:
44
44
  - - ">="
45
45
  - !ruby/object:Gem::Version
46
- version: 0.11.2
46
+ version: 0.11.3
47
47
  type: :runtime
48
48
  prerelease: false
49
49
  version_requirements: !ruby/object:Gem::Requirement
50
50
  requirements:
51
51
  - - ">="
52
52
  - !ruby/object:Gem::Version
53
- version: 0.11.2
53
+ version: 0.11.3
54
54
  - !ruby/object:Gem::Dependency
55
55
  name: websocket
56
56
  requirement: !ruby/object:Gem::Requirement