tiny_admin 0.10.0 → 0.10.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +1 -1
- data/lib/tiny_admin/version.rb +1 -1
- data/lib/tiny_admin/views/actions/index.rb +1 -1
- data/lib/tiny_admin/views/actions/show.rb +1 -1
- data/lib/tiny_admin/views/components/field_value.rb +1 -1
- data/lib/tiny_admin/views/components/filters_form.rb +1 -1
- data/lib/tiny_admin/views/components/flash.rb +1 -1
- data/lib/tiny_admin/views/components/head.rb +1 -1
- data/lib/tiny_admin/views/components/navbar.rb +1 -1
- data/lib/tiny_admin/views/components/pagination.rb +1 -1
- data/lib/tiny_admin/views/components/widgets.rb +1 -1
- data/lib/tiny_admin/views/default_layout.rb +1 -1
- data/lib/tiny_admin/views/pages/content.rb +1 -1
- data/lib/tiny_admin/views/pages/page_not_allowed.rb +1 -1
- data/lib/tiny_admin/views/pages/page_not_found.rb +1 -1
- data/lib/tiny_admin/views/pages/record_not_found.rb +1 -1
- data/lib/tiny_admin/views/pages/root.rb +1 -1
- data/lib/tiny_admin/views/pages/simple_auth_login.rb +1 -1
- metadata +9 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 78ceeba34bc5a1b4fffa887569b3ac5100a0465c5acad499a0c6ffd2c400694b
|
4
|
+
data.tar.gz: dc60d171c117f7f480895838e4b70b89439d7ab650c15ed27425c08468f92f79
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 2d1c6fd794ae0e1662cfc6dbe8a5d2c6881213681755fabccc52a88b74ac8109c74d72db5bb172e22f530523f2ec151c998f628c2c53d59163c429fde83af9ee
|
7
|
+
data.tar.gz: 0f3fb8db4c1dda2cac93f3bda4fa2cbbac3fa0b8ee4b7b31cd09b2ce0ccbe8ed25f8d2e55315673973a9d6e8fc25571ad30eba70bfbdc13aff51f41ed12d981e
|
data/README.md
CHANGED
@@ -3,7 +3,7 @@
|
|
3
3
|
[![Gem Version](https://badge.fury.io/rb/tiny_admin.svg)](https://badge.fury.io/rb/tiny_admin)
|
4
4
|
[![Gem Downloads](https://badgen.net/rubygems/dt/tiny_admin)](https://rubygems.org/gems/tiny_admin)
|
5
5
|
[![Linters](https://github.com/blocknotes/tiny_admin/actions/workflows/linters.yml/badge.svg)](https://github.com/blocknotes/tiny_admin/actions/workflows/linters.yml)
|
6
|
-
[![Specs](https://github.com/blocknotes/tiny_admin/actions/workflows/
|
6
|
+
[![Specs](https://github.com/blocknotes/tiny_admin/actions/workflows/tests.yml/badge.svg)](https://github.com/blocknotes/tiny_admin/actions/workflows/tests.yml)
|
7
7
|
|
8
8
|
A compact and composable dashboard component for Ruby.
|
9
9
|
|
data/lib/tiny_admin/version.rb
CHANGED
@@ -6,7 +6,7 @@ module TinyAdmin
|
|
6
6
|
class Navbar < BasicComponent
|
7
7
|
attr_accessor :current_slug, :items, :root_path, :root_title
|
8
8
|
|
9
|
-
def
|
9
|
+
def view_template
|
10
10
|
nav(class: 'navbar navbar-expand-lg') {
|
11
11
|
div(class: 'container') {
|
12
12
|
a(class: 'navbar-brand', href: root_path) { root_title }
|
@@ -5,7 +5,7 @@ module TinyAdmin
|
|
5
5
|
class DefaultLayout < BasicLayout
|
6
6
|
attr_accessor :flash_component, :head_component, :messages, :navbar_component, :options, :title
|
7
7
|
|
8
|
-
def
|
8
|
+
def view_template(&block)
|
9
9
|
extra_styles = TinyAdmin.settings.extra_styles
|
10
10
|
flash_component&.messages = messages
|
11
11
|
head_component&.update_attributes(page_title: title, style_links: style_links, extra_styles: extra_styles)
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: tiny_admin
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.10.
|
4
|
+
version: 0.10.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Mattia Roccoberton
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2024-04-20 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: phlex
|
@@ -17,6 +17,9 @@ dependencies:
|
|
17
17
|
- - "~>"
|
18
18
|
- !ruby/object:Gem::Version
|
19
19
|
version: '1'
|
20
|
+
- - ">="
|
21
|
+
- !ruby/object:Gem::Version
|
22
|
+
version: 1.10.0
|
20
23
|
type: :runtime
|
21
24
|
prerelease: false
|
22
25
|
version_requirements: !ruby/object:Gem::Requirement
|
@@ -24,6 +27,9 @@ dependencies:
|
|
24
27
|
- - "~>"
|
25
28
|
- !ruby/object:Gem::Version
|
26
29
|
version: '1'
|
30
|
+
- - ">="
|
31
|
+
- !ruby/object:Gem::Version
|
32
|
+
version: 1.10.0
|
27
33
|
- !ruby/object:Gem::Dependency
|
28
34
|
name: roda
|
29
35
|
requirement: !ruby/object:Gem::Requirement
|
@@ -136,7 +142,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
136
142
|
- !ruby/object:Gem::Version
|
137
143
|
version: '0'
|
138
144
|
requirements: []
|
139
|
-
rubygems_version: 3.4.
|
145
|
+
rubygems_version: 3.4.19
|
140
146
|
signing_key:
|
141
147
|
specification_version: 4
|
142
148
|
summary: Tiny Admin
|