Skip to content

Commit c3ea348

Browse files
author
Mattia Roccoberton
committed
Minor improvements
1 parent 3409875 commit c3ea348

4 files changed

Lines changed: 8 additions & 21 deletions

File tree

.rubocop.yml

Lines changed: 0 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -10,22 +10,3 @@ AllCops:
1010
- spec/dummy/**/*
1111
- vendor/**/*
1212
NewCops: enable
13-
14-
Gemspec/RequiredRubyVersion:
15-
Enabled: false
16-
17-
Naming/FileName:
18-
Enabled: false
19-
20-
Layout/LineLength:
21-
Enabled: true
22-
Max: 120
23-
24-
Style/HashEachMethods:
25-
Enabled: true
26-
27-
Style/HashTransformKeys:
28-
Enabled: true
29-
30-
Style/HashTransformValues:
31-
Enabled: true

LICENSE.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
Copyright (c) 2020 Mattia Roccoberton
1+
Copyright (c) 2020-2022 Mattia Roccoberton
22

33
MIT License
44

README.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,9 @@
22
[![gem version](https://badge.fury.io/rb/activeadmin_blaze_theme.svg)](https://badge.fury.io/rb/activeadmin_blaze_theme)
33
[![gem downloads](https://badgen.net/rubygems/dt/activeadmin_blaze_theme)](https://rubygems.org/gems/activeadmin_blaze_theme)
44
[![linters](https://github.com/blocknotes/activeadmin_blaze_theme/actions/workflows/linters.yml/badge.svg)](https://github.com/blocknotes/activeadmin_blaze_theme/actions/workflows/linters.yml)
5-
[![specs](https://github.com/blocknotes/activeadmin_blaze_theme/actions/workflows/specs.yml/badge.svg)](https://github.com/blocknotes/activeadmin_blaze_theme/actions/workflows/specs.yml)
5+
[![specs Rails 6.0](https://github.com/blocknotes/activeadmin_blaze_theme/actions/workflows/specs_rails6.0.yml/badge.svg)](https://github.com/blocknotes/activeadmin_blaze_theme/actions/workflows/specs_rails6.0.yml)
6+
[![specs Rails 6.1](https://github.com/blocknotes/activeadmin_blaze_theme/actions/workflows/specs_rails6.1.yml/badge.svg)](https://github.com/blocknotes/activeadmin_blaze_theme/actions/workflows/specs_rails6.1.yml)
7+
[![specs Rails 7.0](https://github.com/blocknotes/activeadmin_blaze_theme/actions/workflows/specs_rails7.0.yml/badge.svg)](https://github.com/blocknotes/activeadmin_blaze_theme/actions/workflows/specs_rails7.0.yml)
68

79
A theme for Active Admin based on [Blaze CSS](http://blazecss.com) 3.x
810

spec/dummy/config/application.rb

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,5 +13,9 @@ class Application < Rails::Application
1313
# Application configuration can go into files in config/initializers
1414
# -- all .rb files in that directory are automatically loaded after loading
1515
# the framework and any gems in your application.
16+
17+
###
18+
19+
config.active_record.legacy_connection_handling = false if Rails::VERSION::MAJOR > 6
1620
end
1721
end

0 commit comments

Comments
 (0)