Skip to content

Commit

Permalink
Bump to version 1.1.0
Browse files Browse the repository at this point in the history
  • Loading branch information
Mattia Roccoberton committed Mar 4, 2022
1 parent ad92932 commit 9455ea7
Show file tree
Hide file tree
Showing 9 changed files with 31 additions and 18 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@

[![gem version](https://badge.fury.io/rb/active_storage_db.svg)](https://badge.fury.io/rb/active_storage_db)
[![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)
[![specs - Postgres](https://github.com/blocknotes/active_storage_db/actions/workflows/specs_postgres_rails7.yml/badge.svg)](https://github.com/blocknotes/active_storage_db/actions/workflows/specs_postgres_rails7.yml)
[![specs - MySQL](https://github.com/blocknotes/active_storage_db/actions/workflows/specs_mysql_rails7.yml/badge.svg)](https://github.com/blocknotes/active_storage_db/actions/workflows/specs_mysql_rails7.yml)
[![specs Postgres](https://github.com/blocknotes/active_storage_db/actions/workflows/specs_postgres_70.yml/badge.svg)](https://github.com/blocknotes/active_storage_db/actions/workflows/specs_postgres_70.yml)
[![Specs MySQL](https://github.com/blocknotes/active_storage_db/actions/workflows/specs_mysql_70.yml/badge.svg)](https://github.com/blocknotes/active_storage_db/actions/workflows/specs_mysql_70.yml)

An Active Storage service upload/download plugin that stores files in a PostgreSQL or MySQL database.

Expand Down
19 changes: 16 additions & 3 deletions extra/README.md
Original file line number Diff line number Diff line change
@@ -1,17 +1,30 @@
# Development

## Releases

```sh
# Update lib/active_storage_db/version.rb with the new version
# Update the gemfiles:
bin/appraisal
```

## Local tests

```sh
# Running tests on Rails 6.0:
DB_TEST=postgres RAILS=6.0 bin/appraisal rails-6_0-postgres rails db:drop db:create db:migrate
DB_TEST=postgres RAILS=6.0 bin/appraisal rails-6_0-postgres rails db:test:prepare
DB_TEST=postgres RAILS=6.0 bin/appraisal rails-6_0-postgres rspec

# Running tests on Rails 6.1:
DB_TEST=postgres RAILS=6.1 bin/appraisal rails-6_1-postgres rails db:drop db:create db:migrate
DB_TEST=postgres RAILS=6.1 bin/appraisal rails-6_1-postgres rails db:test:prepare
DB_TEST=postgres RAILS=6.1 bin/appraisal rails-6_1-postgres rspec

# Running tests on Rails 7.0:
DB_TEST=postgres RAILS=7.0 bin/appraisal rails-7_0-postgres rails db:drop db:create db:migrate
DB_TEST=postgres RAILS=7.0 bin/appraisal rails-7_0-postgres rails db:test:prepare
DB_TEST=postgres RAILS=7.0 bin/appraisal rails-7_0-postgres rspec

# Eventually recreate the DB:
DB_TEST=postgres RAILS=7.0 bin/appraisal rails-7_0-postgres rails db:drop db:create db:migrate
```

## Tests using Docker
Expand Down
4 changes: 2 additions & 2 deletions gemfiles/rails_6_0_mysql.gemfile.lock
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
PATH
remote: ..
specs:
active_storage_db (1.0.0)
active_storage_db (1.1.0)
activestorage (>= 6.0)
rails (>= 6.0)

Expand Down Expand Up @@ -266,4 +266,4 @@ DEPENDENCIES
simplecov

BUNDLED WITH
2.2.33
2.3.8
4 changes: 2 additions & 2 deletions gemfiles/rails_6_0_postgres.gemfile.lock
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
PATH
remote: ..
specs:
active_storage_db (1.0.0)
active_storage_db (1.1.0)
activestorage (>= 6.0)
rails (>= 6.0)

Expand Down Expand Up @@ -266,4 +266,4 @@ DEPENDENCIES
simplecov

BUNDLED WITH
2.2.33
2.3.8
4 changes: 2 additions & 2 deletions gemfiles/rails_6_1_mysql.gemfile.lock
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
PATH
remote: ..
specs:
active_storage_db (1.0.0)
active_storage_db (1.1.0)
activestorage (>= 6.0)
rails (>= 6.0)

Expand Down Expand Up @@ -269,4 +269,4 @@ DEPENDENCIES
simplecov

BUNDLED WITH
2.2.33
2.3.8
4 changes: 2 additions & 2 deletions gemfiles/rails_6_1_postgres.gemfile.lock
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
PATH
remote: ..
specs:
active_storage_db (1.0.0)
active_storage_db (1.1.0)
activestorage (>= 6.0)
rails (>= 6.0)

Expand Down Expand Up @@ -269,4 +269,4 @@ DEPENDENCIES
simplecov

BUNDLED WITH
2.2.33
2.3.8
4 changes: 2 additions & 2 deletions gemfiles/rails_7_0_mysql.gemfile.lock
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
PATH
remote: ..
specs:
active_storage_db (1.0.0)
active_storage_db (1.1.0)
activestorage (>= 6.0)
rails (>= 6.0)

Expand Down Expand Up @@ -287,4 +287,4 @@ DEPENDENCIES
simplecov

BUNDLED WITH
2.2.33
2.3.8
4 changes: 2 additions & 2 deletions gemfiles/rails_7_0_postgres.gemfile.lock
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
PATH
remote: ..
specs:
active_storage_db (1.0.0)
active_storage_db (1.1.0)
activestorage (>= 6.0)
rails (>= 6.0)

Expand Down Expand Up @@ -287,4 +287,4 @@ DEPENDENCIES
simplecov

BUNDLED WITH
2.2.33
2.3.8
2 changes: 1 addition & 1 deletion lib/active_storage_db/version.rb
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# frozen_string_literal: true

module ActiveStorageDB
VERSION = '1.0.0'
VERSION = '1.1.0'
end

0 comments on commit 9455ea7

Please sign in to comment.