Skip to content

Commit

Permalink
Ready for 5.1.5 (#87)
Browse files Browse the repository at this point in the history
* get ready for 5.1.5

* update gem file

* update the travis as well
  • Loading branch information
Tian Chen committed Mar 6, 2018
1 parent 026c277 commit e940b77
Show file tree
Hide file tree
Showing 8 changed files with 23 additions and 9 deletions.
2 changes: 1 addition & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ rvm:
gemfile:
- gemfiles/Gemfile.rails-5.0.6
- gemfiles/Gemfile.rails-5.1.4
- gemfiles/Gemfile.rails-edge
- gemfiles/Gemfile.rails-5.2-stable
env:
global:
- DB=postgresql
Expand Down
11 changes: 10 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
# TODOs

- Localization support: to be able to use localization for all the model labels
- Add support for pundit
- Add support for her ORM
- Localization support: to be able to use localization for all the model labels
- Add lint check for stylesheet (maybe..)
- Data audit (use papertrail) (maybe..)
- Batch data action (maybe..)
Expand All @@ -13,6 +13,15 @@ N/A

# History:

## 5.1.5

1. [Chore] Simplify 'resources/show/_image.html.erb' ([issue 80](#80))
2. [Chore] Add more information to the type validation message ([issue 81](#81))
3. [Feature] Be able to customize hint in form view ([issue 82](#82))
4. [Fix] Link of Strong Parameters ([issue 84](#84))
5. [Fix] Restrict font-awesome-sass version to 5 and below ([issue 85](#85))
6. [Chore] Reload should be triggered in `to_prepare` instead of `ResourcesRouter` ([issue 86](#86))

## 5.1.4

1. Chore: Only use resource_params for create and update action ([issue 73](#73))
Expand Down
6 changes: 3 additions & 3 deletions Gemfile.lock
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
PATH
remote: .
specs:
wallaby (5.1.4)
wallaby (5.1.5)
bootstrap-sass
bootstrap3-datetimepicker-rails
cancancan
Expand Down Expand Up @@ -61,7 +61,7 @@ GEM
tzinfo (~> 1.1)
arel (8.0.0)
ast (2.3.0)
autoprefixer-rails (8.0.0)
autoprefixer-rails (8.1.0)
execjs
bcrypt (3.1.11)
better_errors (2.4.0)
Expand Down Expand Up @@ -225,7 +225,7 @@ GEM
rainbow (2.2.2)
rake
rake (12.3.0)
rb-fsevent (0.10.2)
rb-fsevent (0.10.3)
rb-inotify (0.9.10)
ffi (>= 0.5.0, < 2)
require_all (1.4.0)
Expand Down
2 changes: 1 addition & 1 deletion gemfiles/Gemfile.rails-5.0.6
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ group :development, :test do
gem 'rails-controller-testing'
gem 'rails_best_practices'
gem 'rspec-rails'
gem 'rubocop'
gem 'rubocop', '0.52.0'
gem 'simplecov'
gem 'sqlite3'
end
2 changes: 1 addition & 1 deletion gemfiles/Gemfile.rails-5.1.4
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ group :development, :test do
gem 'rails-controller-testing'
gem 'rails_best_practices'
gem 'rspec-rails'
gem 'rubocop'
gem 'rubocop', '0.52.0'
gem 'simplecov'
gem 'sqlite3'
end
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ group :development, :test do
gem 'rails-controller-testing'
gem 'rails_best_practices'
gem 'rspec-rails'
gem 'rubocop'
gem 'rubocop', '0.52.0'
gem 'simplecov'
gem 'sqlite3'
end
5 changes: 5 additions & 0 deletions lib/helpers/wallaby/form_helper.rb
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,11 @@ def polymorphic_options(metadata, wildcard = 'QUERY', select_options = {})
options_for_select options, select_options
end

# To fetch the hints from the following keys:
# - hints.#{type}_html
# - hints.#{type}
# @param metadata [Hash]
# @return [String, nil] HTML
def hint_of(metadata)
type = metadata[:type]
hint = metadata[:hint]
Expand Down
2 changes: 1 addition & 1 deletion lib/wallaby/version.rb
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
module Wallaby
VERSION = '5.1.4'.freeze
VERSION = '5.1.5'.freeze
end

0 comments on commit e940b77

Please sign in to comment.