Skip to content

Commit 9455ea7

Browse files
author
Mattia Roccoberton
committed
Bump to version 1.1.0
1 parent ad92932 commit 9455ea7

9 files changed

Lines changed: 31 additions & 18 deletions

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@
22

33
[![gem version](https://badge.fury.io/rb/active_storage_db.svg)](https://badge.fury.io/rb/active_storage_db)
44
[![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)
5-
[![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)
6-
[![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)
5+
[![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)
6+
[![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)
77

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

extra/README.md

Lines changed: 16 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,30 @@
11
# Development
22

3+
## Releases
4+
5+
```sh
6+
# Update lib/active_storage_db/version.rb with the new version
7+
# Update the gemfiles:
8+
bin/appraisal
9+
```
10+
11+
## Local tests
12+
313
```sh
414
# Running tests on Rails 6.0:
5-
DB_TEST=postgres RAILS=6.0 bin/appraisal rails-6_0-postgres rails db:drop db:create db:migrate
15+
DB_TEST=postgres RAILS=6.0 bin/appraisal rails-6_0-postgres rails db:test:prepare
616
DB_TEST=postgres RAILS=6.0 bin/appraisal rails-6_0-postgres rspec
717

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

1222
# Running tests on Rails 7.0:
13-
DB_TEST=postgres RAILS=7.0 bin/appraisal rails-7_0-postgres rails db:drop db:create db:migrate
23+
DB_TEST=postgres RAILS=7.0 bin/appraisal rails-7_0-postgres rails db:test:prepare
1424
DB_TEST=postgres RAILS=7.0 bin/appraisal rails-7_0-postgres rspec
25+
26+
# Eventually recreate the DB:
27+
DB_TEST=postgres RAILS=7.0 bin/appraisal rails-7_0-postgres rails db:drop db:create db:migrate
1528
```
1629

1730
## Tests using Docker

gemfiles/rails_6_0_mysql.gemfile.lock

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
PATH
22
remote: ..
33
specs:
4-
active_storage_db (1.0.0)
4+
active_storage_db (1.1.0)
55
activestorage (>= 6.0)
66
rails (>= 6.0)
77

@@ -266,4 +266,4 @@ DEPENDENCIES
266266
simplecov
267267

268268
BUNDLED WITH
269-
2.2.33
269+
2.3.8

gemfiles/rails_6_0_postgres.gemfile.lock

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
PATH
22
remote: ..
33
specs:
4-
active_storage_db (1.0.0)
4+
active_storage_db (1.1.0)
55
activestorage (>= 6.0)
66
rails (>= 6.0)
77

@@ -266,4 +266,4 @@ DEPENDENCIES
266266
simplecov
267267

268268
BUNDLED WITH
269-
2.2.33
269+
2.3.8

gemfiles/rails_6_1_mysql.gemfile.lock

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
PATH
22
remote: ..
33
specs:
4-
active_storage_db (1.0.0)
4+
active_storage_db (1.1.0)
55
activestorage (>= 6.0)
66
rails (>= 6.0)
77

@@ -269,4 +269,4 @@ DEPENDENCIES
269269
simplecov
270270

271271
BUNDLED WITH
272-
2.2.33
272+
2.3.8

gemfiles/rails_6_1_postgres.gemfile.lock

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
PATH
22
remote: ..
33
specs:
4-
active_storage_db (1.0.0)
4+
active_storage_db (1.1.0)
55
activestorage (>= 6.0)
66
rails (>= 6.0)
77

@@ -269,4 +269,4 @@ DEPENDENCIES
269269
simplecov
270270

271271
BUNDLED WITH
272-
2.2.33
272+
2.3.8

gemfiles/rails_7_0_mysql.gemfile.lock

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
PATH
22
remote: ..
33
specs:
4-
active_storage_db (1.0.0)
4+
active_storage_db (1.1.0)
55
activestorage (>= 6.0)
66
rails (>= 6.0)
77

@@ -287,4 +287,4 @@ DEPENDENCIES
287287
simplecov
288288

289289
BUNDLED WITH
290-
2.2.33
290+
2.3.8

gemfiles/rails_7_0_postgres.gemfile.lock

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
PATH
22
remote: ..
33
specs:
4-
active_storage_db (1.0.0)
4+
active_storage_db (1.1.0)
55
activestorage (>= 6.0)
66
rails (>= 6.0)
77

@@ -287,4 +287,4 @@ DEPENDENCIES
287287
simplecov
288288

289289
BUNDLED WITH
290-
2.2.33
290+
2.3.8

lib/active_storage_db/version.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# frozen_string_literal: true
22

33
module ActiveStorageDB
4-
VERSION = '1.0.0'
4+
VERSION = '1.1.0'
55
end

0 commit comments

Comments
 (0)