katalyst-kpop 3.1.3 → 3.2.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/katalyst/kpop/engine.rb +11 -6
- data/lib/katalyst/kpop/matchers/base.rb +1 -1
- data/lib/katalyst/kpop/matchers/capybara_matcher.rb +0 -2
- data/lib/katalyst/kpop/matchers/capybara_parser.rb +0 -2
- data/lib/katalyst/kpop/matchers/chained_matcher.rb +0 -2
- data/lib/katalyst/kpop/matchers/frame_matcher.rb +0 -2
- data/lib/katalyst/kpop/matchers/modal_matcher.rb +0 -2
- data/lib/katalyst/kpop/matchers/redirect_matcher.rb +0 -2
- data/lib/katalyst/kpop/matchers/response_matcher.rb +0 -2
- data/lib/katalyst/kpop/matchers/stream_matcher.rb +0 -2
- data/lib/katalyst/kpop/matchers/title_finder.rb +0 -2
- data/lib/katalyst/kpop/matchers/title_matcher.rb +0 -2
- data/lib/katalyst/kpop/matchers.rb +0 -17
- data/lib/katalyst/kpop/turbo.rb +0 -2
- data/lib/katalyst/kpop.rb +2 -4
- metadata +2 -3
- data/config/routes.rb +0 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: c852e3f43261b621b91b0b3690526302181bab2bc35b390d7f8ce9257378e911
|
4
|
+
data.tar.gz: ee1b3f12f3a12c05ae911124e1798a82cc7c5a7ba21861b0366c6900f17d9762
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: '08f84e0ede4f722b45275a0156dfd4f03bfad25e883f330d05614abfeed6a56b43d1ef81977f0ebfe403b08dd891f011de103be2e9736661294e9668d2110fea'
|
7
|
+
data.tar.gz: b32ac86aa2f6734b7e13b26cad8b28943218546dc72ff5892e64331f5810eae46e122260a24143e5376be3bc0e56db2019795bd8860f252e63ae3821a2aef395
|
data/lib/katalyst/kpop/engine.rb
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
# frozen_string_literal: true
|
2
2
|
|
3
|
-
require "rails"
|
3
|
+
require "rails/railtie"
|
4
4
|
require "turbo-rails"
|
5
5
|
|
6
6
|
module Katalyst
|
@@ -8,11 +8,7 @@ module Katalyst
|
|
8
8
|
class Engine < ::Rails::Engine
|
9
9
|
isolate_namespace Katalyst::Kpop
|
10
10
|
config.eager_load_namespaces << Katalyst::Kpop
|
11
|
-
config.
|
12
|
-
#{root}/app/helpers
|
13
|
-
#{root}/app/controllers
|
14
|
-
#{root}/app/controllers/concerns
|
15
|
-
)
|
11
|
+
config.paths.add("lib", autoload_once: true)
|
16
12
|
|
17
13
|
initializer "kpop.assets" do
|
18
14
|
config.after_initialize do |app|
|
@@ -39,6 +35,15 @@ module Katalyst
|
|
39
35
|
app.config.importmap.cache_sweepers << root.join("app/assets/builds")
|
40
36
|
end
|
41
37
|
end
|
38
|
+
|
39
|
+
initializer "kpop.rspec" do
|
40
|
+
next unless defined?(RSpec) && RSpec.respond_to?(:configure)
|
41
|
+
|
42
|
+
RSpec.configure do |config|
|
43
|
+
config.include Katalyst::Kpop::Matchers, type: :component
|
44
|
+
config.include Katalyst::Kpop::Matchers, type: :request
|
45
|
+
end
|
46
|
+
end
|
42
47
|
end
|
43
48
|
end
|
44
49
|
end
|
@@ -1,17 +1,5 @@
|
|
1
1
|
# frozen_string_literal: true
|
2
2
|
|
3
|
-
require "katalyst/kpop/matchers/base"
|
4
|
-
require "katalyst/kpop/matchers/capybara_matcher"
|
5
|
-
require "katalyst/kpop/matchers/capybara_parser"
|
6
|
-
require "katalyst/kpop/matchers/chained_matcher"
|
7
|
-
require "katalyst/kpop/matchers/frame_matcher"
|
8
|
-
require "katalyst/kpop/matchers/modal_matcher"
|
9
|
-
require "katalyst/kpop/matchers/redirect_matcher"
|
10
|
-
require "katalyst/kpop/matchers/response_matcher"
|
11
|
-
require "katalyst/kpop/matchers/stream_matcher"
|
12
|
-
require "katalyst/kpop/matchers/title_finder"
|
13
|
-
require "katalyst/kpop/matchers/title_matcher"
|
14
|
-
|
15
3
|
module Katalyst
|
16
4
|
module Kpop
|
17
5
|
module Matchers
|
@@ -72,8 +60,3 @@ module Katalyst
|
|
72
60
|
end
|
73
61
|
end
|
74
62
|
end
|
75
|
-
|
76
|
-
RSpec.configure do |config|
|
77
|
-
config.include Katalyst::Kpop::Matchers, type: :component
|
78
|
-
config.include Katalyst::Kpop::Matchers, type: :request
|
79
|
-
end
|
data/lib/katalyst/kpop/turbo.rb
CHANGED
data/lib/katalyst/kpop.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: katalyst-kpop
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 3.
|
4
|
+
version: 3.2.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Katalyst Interactive
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2024-
|
11
|
+
date: 2024-07-12 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: katalyst-html-attributes
|
@@ -95,7 +95,6 @@ files:
|
|
95
95
|
- app/javascript/kpop/utils/stream_renderer.js
|
96
96
|
- app/views/layouts/kpop/frame.html.erb
|
97
97
|
- config/importmap.rb
|
98
|
-
- config/routes.rb
|
99
98
|
- lib/katalyst/kpop.rb
|
100
99
|
- lib/katalyst/kpop/engine.rb
|
101
100
|
- lib/katalyst/kpop/matchers.rb
|
data/config/routes.rb
DELETED