Skip to content

Commit

Permalink
release preparation
Browse files Browse the repository at this point in the history
  • Loading branch information
igorkasyanchuk committed Oct 5, 2022
1 parent c439869 commit b8f26fe
Show file tree
Hide file tree
Showing 12 changed files with 55 additions and 207 deletions.
12 changes: 1 addition & 11 deletions .github/workflows/minitest.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,13 +6,11 @@ jobs:
fail-fast: false
matrix:
ruby:
- 2.5
- 2.6
- 2.7
- '3.0'
- 3.0
- 3.1
gemfile:
- rails_5_2
- rails_6_0
- rails_6_1
- rails_7_0
Expand All @@ -22,25 +20,17 @@ jobs:
- mini_magick
exclude:
# ruby 3.1 only supports rails 7.0+
- ruby: 3.1
gemfile: rails_5_2
- ruby: 3.1
gemfile: rails_6_0
- ruby: 3.1
gemfile: rails_6_1
# ruby 3 only supports rails 6.1+
- ruby: '3.0'
gemfile: rails_5_2
- ruby: '3.0'
gemfile: rails_6_0
# rails 7.0 only supports ruby 2.7+
- ruby: 2.5
gemfile: rails_7_0
- ruby: 2.6
gemfile: rails_7_0
# rails next only supports ruby 2.7+
- ruby: 2.5
gemfile: rails_next
- ruby: 2.6
gemfile: rails_next
runs-on: ubuntu-latest
Expand Down
11 changes: 8 additions & 3 deletions CHANGES.md
Original file line number Diff line number Diff line change
@@ -1,15 +1,20 @@
- master
- ....
...

- 1.0.0
- allow Procs as an input for validation options https://github.com/igorkasyanchuk/active_storage_validations/pull/135/files
- new translation zh-CN https://github.com/igorkasyanchuk/active_storage_validations/pull/162
- drop support of Rails 5.2 (in tests, but in reality it should work, just check PR in this version)

- 0.9.8
- Fix a file extension issue in Metadata#read_image https://github.com/igorkasyanchuk/active_storage_validations/pull/148/files
- Dynamic exception class https://github.com/igorkasyanchuk/active_storage_validations/pull/150
- Display All Validation Errors https://github.com/igorkasyanchuk/active_storage_validations/pull/152

- 0.9.7
- tests for Rails 7 and Ruby 3.1 https://github.com/igorkasyanchuk/active_storage_validations/pull/143
- tests for Rails 7 and Ruby 3.1 https://github.com/igorkasyanchuk/active_storage_validations/pull/143
- Fix pt-BR translations https://github.com/igorkasyanchuk/active_storage_validations/pull/132
- Remove references to image/jpg content type https://github.com/igorkasyanchuk/active_storage_validations/pull/144
- Remove references to image/jpg content type https://github.com/igorkasyanchuk/active_storage_validations/pull/144
- missing relationship in dummy app https://github.com/igorkasyanchuk/active_storage_validations/pull/142
- References Marcel::TYPES only for Rails < 6.1 https://github.com/igorkasyanchuk/active_storage_validations/pull/138
- better clarify how to define between size https://github.com/igorkasyanchuk/active_storage_validations/pull/133
Expand Down
7 changes: 2 additions & 5 deletions Gemfile.lock
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
PATH
remote: .
specs:
active_storage_validations (0.9.8)
active_storage_validations (1.0.0)
activejob (>= 5.2.0)
activemodel (>= 5.2.0)
activestorage (>= 5.2.0)
Expand Down Expand Up @@ -74,10 +74,6 @@ GEM
nokogiri (1.11.3)
mini_portile2 (~> 2.5.0)
racc (~> 1.4)
nokogiri (1.11.3-x86_64-darwin)
racc (~> 1.4)
nokogiri (1.11.3-x86_64-linux)
racc (~> 1.4)
parallel (1.20.1)
parser (3.0.0.0)
ast (~> 2.4.1)
Expand Down Expand Up @@ -132,6 +128,7 @@ PLATFORMS
DEPENDENCIES
active_storage_validations!
combustion (~> 1.3)
globalid
marcel
mini_magick (>= 4.9.5)
pry
Expand Down
5 changes: 3 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -319,12 +319,10 @@ To run tests in root folder of gem:
Snippet to run in console:

```
BUNDLE_GEMFILE=gemfiles/rails_5_2.gemfile bundle
BUNDLE_GEMFILE=gemfiles/rails_6_0.gemfile bundle
BUNDLE_GEMFILE=gemfiles/rails_6_1.gemfile bundle
BUNDLE_GEMFILE=gemfiles/rails_7_0.gemfile bundle
BUNDLE_GEMFILE=gemfiles/rails_next.gemfile bundle
BUNDLE_GEMFILE=gemfiles/rails_5_2.gemfile bundle exec rake test
BUNDLE_GEMFILE=gemfiles/rails_6_0.gemfile bundle exec rake test
BUNDLE_GEMFILE=gemfiles/rails_6_1.gemfile bundle exec rake test
BUNDLE_GEMFILE=gemfiles/rails_7_0.gemfile bundle exec rake test
Expand Down Expand Up @@ -394,6 +392,9 @@ You are welcome to contribute.
- https://github.com/stephensolis
- https://github.com/kwent
= https://github.com/Animesh-Ghosh
= https://github.com/gr8bit
= https://github.com/codegeek319
= https://github.com/clwy-cn

## License

Expand Down
1 change: 1 addition & 0 deletions active_storage_validations.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -26,4 +26,5 @@ Gem::Specification.new do |s|
s.add_development_dependency 'rubocop'
s.add_development_dependency 'sqlite3'
s.add_development_dependency 'marcel'
s.add_development_dependency 'globalid'
end
5 changes: 0 additions & 5 deletions gemfiles/rails_5_2.gemfile

This file was deleted.

145 changes: 0 additions & 145 deletions gemfiles/rails_5_2.gemfile.lock

This file was deleted.

29 changes: 15 additions & 14 deletions gemfiles/rails_6_0.gemfile.lock
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
PATH
remote: ..
specs:
active_storage_validations (0.9.8)
active_storage_validations (1.0.0)
activejob (>= 5.2.0)
activemodel (>= 5.2.0)
activestorage (>= 5.2.0)
Expand Down Expand Up @@ -49,13 +49,13 @@ GEM
activesupport (>= 3.0.0)
railties (>= 3.0.0)
thor (>= 0.14.6)
concurrent-ruby (1.1.7)
concurrent-ruby (1.1.10)
crass (1.0.6)
erubi (1.10.0)
ffi (1.15.5)
globalid (0.4.2)
activesupport (>= 4.2.0)
i18n (1.8.7)
globalid (1.0.0)
activesupport (>= 5.0)
i18n (1.12.0)
concurrent-ruby (~> 1.0)
loofah (2.8.0)
crass (~> 1.0.2)
Expand All @@ -67,22 +67,22 @@ GEM
nokogiri (~> 1)
rake
mini_magick (4.11.0)
mini_portile2 (2.5.0)
minitest (5.14.3)
nokogiri (1.11.1)
mini_portile2 (~> 2.5.0)
mini_portile2 (2.8.0)
minitest (5.16.3)
nokogiri (1.13.8)
mini_portile2 (~> 2.8.0)
racc (~> 1.4)
nokogiri (1.11.1-x86_64-darwin)
nokogiri (1.13.8-x86_64-darwin)
racc (~> 1.4)
nokogiri (1.11.1-x86_64-linux)
nokogiri (1.13.8-x86_64-linux)
racc (~> 1.4)
parallel (1.20.1)
parser (3.0.0.0)
ast (~> 2.4.1)
pry (0.13.1)
coderay (~> 1.1)
method_source (~> 1.0)
racc (1.5.2)
racc (1.6.0)
rack (2.2.3)
rack-test (1.1.0)
rack (>= 1.0, < 3)
Expand Down Expand Up @@ -118,10 +118,10 @@ GEM
sqlite3 (1.4.2)
thor (1.0.1)
thread_safe (0.3.6)
tzinfo (1.2.9)
tzinfo (1.2.10)
thread_safe (~> 0.1)
unicode-display_width (2.0.0)
zeitwerk (2.4.2)
zeitwerk (2.6.1)

PLATFORMS
ruby
Expand All @@ -135,6 +135,7 @@ DEPENDENCIES
activestorage (~> 6.0.0)
activesupport (~> 6.0.0)
combustion (~> 1.3)
globalid
marcel
mini_magick (>= 4.9.5)
pry
Expand Down
Loading

0 comments on commit b8f26fe

Please sign in to comment.