reactionview 0.2.0 → 0.2.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.
@@ -40,9 +40,7 @@ module ReActionView
40
40
  def local_template?(template)
41
41
  return true unless template.respond_to?(:identifier) && template.identifier
42
42
 
43
- ActionController::Base.view_paths
44
- .select { |view_path| view_path.path.start_with?(Rails.root.to_s) }
45
- .any? { |view_path| template.identifier.start_with?(view_path.path) }
43
+ template.identifier.start_with?(Rails.root.to_s)
46
44
  end
47
45
 
48
46
  def active_support_editor
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module ReActionView
4
- VERSION = "0.2.0"
4
+ VERSION = "0.2.2"
5
5
  end
data/reactionview.gemspec CHANGED
@@ -36,5 +36,5 @@ Gem::Specification.new do |spec|
36
36
  spec.require_paths = ["lib"]
37
37
 
38
38
  spec.add_dependency "actionview", ">= 7.0"
39
- spec.add_dependency "herb", ">= 0.8.0", "< 1.0.0"
39
+ spec.add_dependency "herb", ">= 0.8.0", "< 0.9.0"
40
40
  end
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: reactionview
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.0
4
+ version: 0.2.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Marco Roth
8
8
  bindir: exe
9
9
  cert_chain: []
10
- date: 2025-12-04 00:00:00.000000000 Z
10
+ date: 2026-03-16 00:00:00.000000000 Z
11
11
  dependencies:
12
12
  - !ruby/object:Gem::Dependency
13
13
  name: actionview
@@ -32,7 +32,7 @@ dependencies:
32
32
  version: 0.8.0
33
33
  - - "<"
34
34
  - !ruby/object:Gem::Version
35
- version: 1.0.0
35
+ version: 0.9.0
36
36
  type: :runtime
37
37
  prerelease: false
38
38
  version_requirements: !ruby/object:Gem::Requirement
@@ -42,7 +42,7 @@ dependencies:
42
42
  version: 0.8.0
43
43
  - - "<"
44
44
  - !ruby/object:Gem::Version
45
- version: 1.0.0
45
+ version: 0.9.0
46
46
  description: An ActionView-compatible ERB engine with modern DX - re-imagined with
47
47
  Herb.
48
48
  email: