Skip to content

Commit 5291fb1

Browse files
committed
chore: Update README and gemspec
1 parent d92e9b8 commit 5291fb1

2 files changed

Lines changed: 21 additions & 21 deletions

File tree

README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,8 @@
55
[![maintainability](https://api.codeclimate.com/v1/badges/92e1e703c308744a0f66/maintainability)](https://codeclimate.com/github/blocknotes/active_storage_db/maintainability)
66

77
[![linters](https://github.com/blocknotes/active_storage_db/actions/workflows/linters.yml/badge.svg)](https://github.com/blocknotes/active_storage_db/actions/workflows/linters.yml)
8-
[![Specs Postgres Rails 8.0](https://github.com/blocknotes/active_storage_db/actions/workflows/specs_postgres_rails80.yml/badge.svg)](https://github.com/blocknotes/active_storage_db/actions/workflows/specs_postgres_rails80.yml)
9-
[![Specs MySQL Rails 8.0](https://github.com/blocknotes/active_storage_db/actions/workflows/specs_mysql_rails80.yml/badge.svg)](https://github.com/blocknotes/active_storage_db/actions/workflows/specs_mysql_rails80.yml)
8+
[![Specs Postgres Rails 8.1](https://github.com/blocknotes/active_storage_db/actions/workflows/specs_postgres_rails81.yml/badge.svg)](https://github.com/blocknotes/active_storage_db/actions/workflows/specs_postgres_rails81.yml)
9+
[![Specs MySQL Rails 8.1](https://github.com/blocknotes/active_storage_db/actions/workflows/specs_mysql_rails81.yml/badge.svg)](https://github.com/blocknotes/active_storage_db/actions/workflows/specs_mysql_rails81.yml)
1010

1111
An Active Storage service upload/download plugin that stores files in a PostgreSQL or MySQL database.
1212
Experimental support also for MSSQL and SQLite.
@@ -21,8 +21,8 @@ Useful also with platforms like Heroku (due to their ephemeral file system).
2121
- Add to your Gemfile `gem 'active_storage_db'` (and execute: `bundle`)
2222
- Install the gem migrations: `bin/rails active_storage_db:install:migrations` (and execute: `bin/rails db:migrate`)
2323
- Add to your `config/routes.rb`: `mount ActiveStorageDB::Engine => '/active_storage_db'`
24-
- Change Active Storage service in *config/environments/development.rb* to: `config.active_storage.service = :db`
25-
- Add to *config/storage.yml*:
24+
- Change Active Storage service in _config/environments/development.rb_ to: `config.active_storage.service = :db`
25+
- Add to _config/storage.yml_:
2626

2727
```yml
2828
db:

active_storage_db.gemspec

Lines changed: 17 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -1,29 +1,29 @@
11
# frozen_string_literal: true
22

3-
$:.push File.expand_path('lib', __dir__)
3+
$:.push File.expand_path("lib", __dir__)
44

55
# Maintain your gem's version:
6-
require 'active_storage_db/version'
6+
require "active_storage_db/version"
77

88
# Describe your gem and declare its dependencies:
99
Gem::Specification.new do |spec|
10-
spec.name = 'active_storage_db'
11-
spec.version = ActiveStorageDB::VERSION
12-
spec.authors = ['Mattia Roccoberton']
13-
spec.email = ['mat@blocknot.es']
14-
spec.homepage = 'https://github.com/blocknotes/active_storage_db'
15-
spec.summary = 'ActiveStorage DB Service'
16-
spec.description = 'An ActiveStorage service plugin to store files in database.'
17-
spec.license = 'MIT'
10+
spec.name = "active_storage_db"
11+
spec.version = ActiveStorageDB::VERSION
12+
spec.authors = ["Mattia Roccoberton"]
13+
spec.email = ["mat@blocknot.es"]
14+
spec.homepage = "https://github.com/blocknotes/active_storage_db"
15+
spec.summary = "ActiveStorage DB Service"
16+
spec.description = "An ActiveStorage service plugin to store files in database."
17+
spec.license = "MIT"
1818

19-
spec.required_ruby_version = '>= 2.7.0'
19+
spec.required_ruby_version = ">= 2.7.0"
2020

21-
spec.metadata['homepage_uri'] = spec.homepage
22-
spec.metadata['source_code_uri'] = spec.homepage
23-
spec.metadata['rubygems_mfa_required'] = 'true'
21+
spec.metadata["homepage_uri"] = spec.homepage
22+
spec.metadata["source_code_uri"] = spec.homepage
23+
spec.metadata["rubygems_mfa_required"] = "true"
2424

25-
spec.files = Dir["{app,config,db,lib}/**/*", 'MIT-LICENSE', 'Rakefile', 'README.md']
25+
spec.files = Dir["{app,config,db,lib}/**/*", "MIT-LICENSE", "Rakefile", "README.md"]
2626

27-
spec.add_dependency 'activestorage', '>= 6.0'
28-
spec.add_dependency 'rails', '>= 6.0'
27+
spec.add_dependency "activestorage", ">= 6.0"
28+
spec.add_dependency "rails", ">= 6.0"
2929
end

0 commit comments

Comments
 (0)