Skip to content

Commit 5959da7

Browse files
author
Mattia Roccoberton
committed
Remove Sassc runtime dependency
The SASS/SCSS library to use must be handled by the user application.
1 parent 0f4718a commit 5959da7

3 files changed

Lines changed: 18 additions & 12 deletions

File tree

Gemfile

Lines changed: 13 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -6,21 +6,24 @@ gemspec
66

77
group :development, :test do
88
gem 'activestorage', '~> 6.0'
9-
gem 'capybara', '~> 3.33'
109
gem 'puma', '~> 4.3'
11-
gem 'rspec_junit_formatter', '~> 0.4'
12-
gem 'rspec-rails'
13-
gem 'selenium-webdriver', '~> 3.142'
10+
gem 'sassc', '~> 2.4'
1411
gem 'sprockets-rails', '~> 3.2'
1512
gem 'sqlite3', '~> 1.4'
1613

14+
# Testing
15+
gem 'capybara', '~> 3.33'
16+
gem 'rspec_junit_formatter', '~> 0.4'
17+
gem 'rspec-rails', '~> 5.1'
18+
gem 'selenium-webdriver', '~> 3.142'
19+
1720
# Linters
18-
gem 'fasterer'
19-
gem 'rubocop'
20-
gem 'rubocop-packaging'
21-
gem 'rubocop-performance'
22-
gem 'rubocop-rails'
23-
gem 'rubocop-rspec'
21+
gem 'fasterer', '~> 0.9'
22+
gem 'rubocop', '~> 1.25'
23+
gem 'rubocop-packaging', '~> 0.5'
24+
gem 'rubocop-performance', '~> 1.13'
25+
gem 'rubocop-rails', '~> 2.13'
26+
gem 'rubocop-rspec', '~> 2.8'
2427

2528
# Tools
2629
gem 'pry-rails'

README.md

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,8 @@
11
# Active Admin Blaze Theme
2-
[![gem version](https://badge.fury.io/rb/activeadmin_blaze_theme.svg)](https://badge.fury.io/rb/activeadmin_blaze_theme) [![gem downloads](https://badgen.net/rubygems/dt/activeadmin_blaze_theme)](https://rubygems.org/gems/activeadmin_blaze_theme) [![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) [![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)
2+
[![gem version](https://badge.fury.io/rb/activeadmin_blaze_theme.svg)](https://badge.fury.io/rb/activeadmin_blaze_theme)
3+
[![gem downloads](https://badgen.net/rubygems/dt/activeadmin_blaze_theme)](https://rubygems.org/gems/activeadmin_blaze_theme)
4+
[![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)
36

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

@@ -21,6 +24,7 @@ First, add to your Gemfile: `gem 'activeadmin_blaze_theme'` (and execute `bundle
2124

2225
Then, if you installed Active Admin **without Webpacker** support (so using Sprockets):
2326

27+
- Add a SASS/SCSS gem to your Gemfile (ex. `gem 'sassc'`)
2428
- Add at the end of your Active Admin styles (_app/assets/stylesheets/active_admin.scss_):
2529

2630
```scss

activeadmin_blaze_theme.gemspec

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,5 +19,4 @@ Gem::Specification.new do |spec|
1919
spec.metadata = { "rubygems_mfa_required" => "true" }
2020

2121
spec.add_runtime_dependency 'activeadmin', '~> 2.0'
22-
spec.add_runtime_dependency 'sassc', '~> 2.4'
2322
end

0 commit comments

Comments
 (0)