Skip to content

Commit

Permalink
Release version 0.2.1
Browse files Browse the repository at this point in the history
Changes:

* [#573] [FEATURE] Render custom javascripts and stylesheets to the page
  by registering them with Administrate in an initializer.
  For example, you can create `config/initializers/administrate.rb`
  with the contents:
    ```
    Administrate::Engine.add_javascript "my_plugin/script"
    Administrate::Engine.add_stylesheet "my_plugin/styles"
    ```
* [#567] [FEATURE] Add a partial for rendering HTML links to stylesheets.
  This is useful for plugin developers,
  as well as people who want to add custom stylesheets on a page-by-page basis
  using `content_for(:stylesheet)`.
* [#492] [FEATURE] Translate attribute labels on show and index pages.
  To customize an attribute label, add translations according to the structure:
    ```
    en:
      helpers:
        label:
          customer:
            name: Full Name
    ```
  • Loading branch information
c-lliope committed May 18, 2016
1 parent e4cc092 commit 932ee1f
Show file tree
Hide file tree
Showing 4 changed files with 13 additions and 3 deletions.
10 changes: 10 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,16 @@

### Upcoming Release

### 0.2.1 (May 18, 2016)

* [#573] [FEATURE] Render custom javascripts and stylesheets to the page
by registering them with Administrate in an initializer.
For example, you can create `config/initializers/administrate.rb`
with the contents:
```
Administrate::Engine.add_javascript "my_plugin/script"
Administrate::Engine.add_stylesheet "my_plugin/styles"
```
* [#567] [FEATURE] Add a partial for rendering HTML links to stylesheets.
This is useful for plugin developers,
as well as people who want to add custom stylesheets on a page-by-page basis
Expand Down
2 changes: 1 addition & 1 deletion Gemfile.lock
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
PATH
remote: .
specs:
administrate (0.2.0)
administrate (0.2.1)
autoprefixer-rails (~> 6.0)
datetime_picker_rails (~> 0.0.7)
jquery-rails (~> 4.0)
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ Add Administrate to your Gemfile:

```ruby
# Gemfile
gem "administrate", "~> 0.2.0"
gem "administrate", "~> 0.2.1"
```

Re-bundle, then run the installer:
Expand Down
2 changes: 1 addition & 1 deletion lib/administrate/version.rb
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
module Administrate
VERSION = "0.2.0".freeze
VERSION = "0.2.1".freeze
end

0 comments on commit 932ee1f

Please sign in to comment.