rails-pg-extras 5.4.1 → 5.4.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.github/workflows/ci.yml +1 -27
- data/app/views/layouts/rails_pg_extras/web/application.html.erb +2 -2
- data/assets/pg-extras-rails-ujs.js +630 -0
- data/assets/pg-extras-tailwind.min.css +1 -0
- data/lib/rails_pg_extras/version.rb +1 -1
- data/lib/rails_pg_extras/web/engine.rb +3 -1
- metadata +6 -4
@@ -3,7 +3,9 @@ require "rails"
|
|
3
3
|
module RailsPgExtras::Web
|
4
4
|
class Engine < ::Rails::Engine
|
5
5
|
isolate_namespace RailsPgExtras::Web
|
6
|
-
|
7
6
|
config.middleware.use ActionDispatch::Flash
|
7
|
+
initializer "static assets" do |app|
|
8
|
+
app.middleware.insert_before(::ActionDispatch::Static, ::ActionDispatch::Static, "#{RailsPgExtras::Web::Engine.root}/assets")
|
9
|
+
end
|
8
10
|
end
|
9
11
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: rails-pg-extras
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 5.4.
|
4
|
+
version: 5.4.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- pawurb
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2024-
|
11
|
+
date: 2024-11-21 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: ruby-pg-extras
|
@@ -16,14 +16,14 @@ dependencies:
|
|
16
16
|
requirements:
|
17
17
|
- - '='
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version: 5.4.
|
19
|
+
version: 5.4.3
|
20
20
|
type: :runtime
|
21
21
|
prerelease: false
|
22
22
|
version_requirements: !ruby/object:Gem::Requirement
|
23
23
|
requirements:
|
24
24
|
- - '='
|
25
25
|
- !ruby/object:Gem::Version
|
26
|
-
version: 5.4.
|
26
|
+
version: 5.4.3
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
28
|
name: rails
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|
@@ -105,6 +105,8 @@ files:
|
|
105
105
|
- app/views/rails_pg_extras/web/queries/index.html.erb
|
106
106
|
- app/views/rails_pg_extras/web/queries/show.html.erb
|
107
107
|
- app/views/rails_pg_extras/web/shared/_queries_selector.html.erb
|
108
|
+
- assets/pg-extras-rails-ujs.js
|
109
|
+
- assets/pg-extras-tailwind.min.css
|
108
110
|
- config/routes.rb
|
109
111
|
- docker-compose.yml.sample
|
110
112
|
- lib/rails-pg-extras.rb
|