Skip to content

Commit

Permalink
Bump to version 0.9.0
Browse files Browse the repository at this point in the history
  • Loading branch information
blocknotes committed May 16, 2023
1 parent 75508f9 commit 36bb4b9
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 2 deletions.
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,12 @@

A compact and composable dashboard component for Ruby

## 0.9.0

- feat: expose pagination total count
- feat: handle params in pages
- feat: support a setup method for pages

## 0.8.0

- feat: new label_for support method (useful for translations)
Expand Down
6 changes: 5 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ Please ⭐ if you like it.

## Install

- Add to your Gemfile: `gem 'tiny_admin', '~> 0.8'`
- Add to your Gemfile: `gem 'tiny_admin', '~> 0.9'`
- Mount the app in a route (check some examples with: Hanami, Rails, Roda and standalone in [extra](extra))
+ in Rails, update _config/routes.rb_: `mount TinyAdmin::Router => '/admin'`
- Configure the dashboard using `TinyAdmin.configure` and/or `TinyAdmin.configure_from_file` with a YAML config file (see [configuration](#configuration) below):
Expand Down Expand Up @@ -218,6 +218,8 @@ model: Post

#### Resource index options

> 📚 [Wiki Resource index page](https://github.com/blocknotes/tiny_admin/wiki/Resource-index) available

The Index hash supports the following options:

- `attributes` (Array): fields to expose in the resource list page;
Expand Down Expand Up @@ -257,6 +259,8 @@ Example:

#### Resource show options

> 📚 [Wiki Resource show page](https://github.com/blocknotes/tiny_admin/wiki/Resource-show) available

The Show hash supports the following options:

- `attributes` (Array): fields to expose in the resource details page.
Expand Down
2 changes: 1 addition & 1 deletion lib/tiny_admin/version.rb
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# frozen_string_literal: true

module TinyAdmin
VERSION = '0.8.0'
VERSION = '0.9.0'
end

0 comments on commit 36bb4b9

Please sign in to comment.