Tags: Knack/administrate
Tags
Release version 0.2.2 ``` * [thoughtbot#560] [BUGFIX] Fix LoadError for apps that don't use images ```
Release version 0.2.1 Changes: * [thoughtbot#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" ``` * [thoughtbot#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)`. * [thoughtbot#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 ```
Add release notes & release v `0.2.0` Problem: This repository contains both the administrate gem and the demo application. The demo application uses the image field, which means that its Gemfile will be dependent on the new administrate-field-image gem. In turn, the administrate-field-image gem is dependent on the administrate gem in this repository. This creates a little bit of a chicken-and-egg problem for publishing both of those gems. Solution: Our release plan is as follows: - Release this branch as a new version of the administrate gem, as version `0.2.0.rc1` - Make administrate-field-image dependent on `"administrate", "0.2.0.rc1", "~> 0.2.0"` - Release administrate-field-image v `0.0.1` - Make the demo app's Gemfile dependent on `"administrate-field-image", "~> 0.0"` - Re-push this branch to Github to run CircleCI suite. All of the gems would be available on rubygems.org, so the suite should pass. - Update and release this branch as version `0.2.0` - Merge branch
PreviousNext