diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 6a9e6942..2c13c293 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -21,19 +21,12 @@ jobs: - '3.0' - 3.1 gemfile: - - Gemfile.rails42 - Gemfile.rails50 - Gemfile.rails51 - Gemfile.rails52 # Min ruby 2.2.2 - Gemfile.rails60 # Min ruby 2.5.0 - Gemfile.rails61 # Min ruby 2.5.0 exclude: - - gemfile: Gemfile.rails42 - ruby: 2.7 - - gemfile: Gemfile.rails42 - ruby: '3.0' - - gemfile: Gemfile.rails42 - ruby: 3.1 - gemfile: Gemfile.rails50 ruby: 2.7 - gemfile: Gemfile.rails50 diff --git a/CHANGELOG.md b/CHANGELOG.md index 8d40123d..b1280a94 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,6 +1,13 @@ Changelog =========== +## [v0.7.0](https://github.com/Apipie/apipie-rails/tree/v0.7.0) (2022-03-30) +[Full Changelog](https://github.com/Apipie/apipie-rails/compare/v0.6.0...v0.7.0) +* ArgumentError (invalid byte sequence in UTF-8) [#746](https://github.com/Apipie/apipie-rails/pull/746) (David Milanese) +* Fix allow_blank does not work [#733](https://github.com/Apipie/apipie-rails/pull/733) (CHEN Song) +* Fix schema generation for param descriptions using the array validator in option [#732](https://github.com/Apipie/apipie-rails/pull/732) (Frank Hock) +* Remove support for Rails 4 and Ruby <= 2.5 [#747](https://github.com/Apipie/apipie-rails/pull/747) (Mathieu Jobin) + ## [v0.6.0](https://github.com/Apipie/apipie-rails/tree/v0.6.0) (2022-03-29) [Full Changelog](https://github.com/Apipie/apipie-rails/compare/v0.5.20...v0.6.0) * Ruby 3.0 fixes [#716](https://github.com/Apipie/apipie-rails/pull/716) (hank-spokeo) diff --git a/apipie-rails.gemspec b/apipie-rails.gemspec index e3f6ceda..69e33678 100644 --- a/apipie-rails.gemspec +++ b/apipie-rails.gemspec @@ -10,14 +10,14 @@ Gem::Specification.new do |s| s.homepage = "http://github.com/Apipie/apipie-rails" s.summary = %q{Rails REST API documentation tool} s.description = %q{Rails REST API documentation tool} - s.required_ruby_version = '>= 2.0.0' + s.required_ruby_version = '>= 2.6.0' s.files = `git ls-files`.split("\n") s.test_files = `git ls-files -- {test,spec,features}/*`.split("\n") s.require_paths = ["lib"] - s.add_dependency "actionpack", ">= 4.1" - s.add_dependency "activesupport", ">= 4.1" + s.add_dependency "actionpack", ">= 5.0" + s.add_dependency "activesupport", ">= 5.0" s.add_development_dependency "rspec-rails", "~> 3.0" s.add_development_dependency "sqlite3" s.add_development_dependency "minitest" diff --git a/gemfiles/Gemfile.rails42 b/gemfiles/Gemfile.rails42 deleted file mode 100644 index 23ef228d..00000000 --- a/gemfiles/Gemfile.rails42 +++ /dev/null @@ -1,15 +0,0 @@ -source "https://rubygems.org" - -gemspec path: '..' - -gem 'actionpack', '~> 4.2.5' -gem 'activesupport', '~> 4.2.5' -gem 'mime-types', '~> 2.99.3' -gem 'sqlite3', '~> 1.3.6' - -if Gem::Version.new(RUBY_VERSION) < Gem::Version.new('2.1.0') - gem 'nokogiri', '~> 1.6.8' - gem 'rdoc', '~> 4.2.2' -end - -gem 'test_engine', path: '../spec/dummy/components/test_engine', group: :test diff --git a/gemfiles/Gemfile.rails42.lock b/gemfiles/Gemfile.rails42.lock deleted file mode 100644 index 37727cb4..00000000 --- a/gemfiles/Gemfile.rails42.lock +++ /dev/null @@ -1,122 +0,0 @@ -PATH - remote: ../spec/dummy/components/test_engine - specs: - test_engine (0.0.1) - -PATH - remote: .. - specs: - apipie-rails (0.6.0) - actionpack (>= 4.1) - activesupport (>= 4.1) - -GEM - remote: https://rubygems.org/ - specs: - RedCloth (4.3.2) - actionpack (4.2.11.3) - actionview (= 4.2.11.3) - activesupport (= 4.2.11.3) - rack (~> 1.6) - rack-test (~> 0.6.2) - rails-dom-testing (~> 1.0, >= 1.0.5) - rails-html-sanitizer (~> 1.0, >= 1.0.2) - actionview (4.2.11.3) - activesupport (= 4.2.11.3) - builder (~> 3.1) - erubis (~> 2.7.0) - rails-dom-testing (~> 1.0, >= 1.0.5) - rails-html-sanitizer (~> 1.0, >= 1.0.3) - activesupport (4.2.11.3) - i18n (~> 0.7) - minitest (~> 5.1) - thread_safe (~> 0.3, >= 0.3.4) - tzinfo (~> 1.1) - addressable (2.8.0) - public_suffix (>= 2.0.2, < 5.0) - builder (3.2.4) - concurrent-ruby (1.1.10) - crass (1.0.6) - diff-lcs (1.5.0) - erubis (2.7.0) - i18n (0.9.5) - concurrent-ruby (~> 1.0) - json-schema (2.8.1) - addressable (>= 2.4) - loofah (2.15.0) - crass (~> 1.0.2) - nokogiri (>= 1.5.9) - maruku (0.7.3) - mime-types (2.99.3) - mini_portile2 (2.6.1) - minitest (5.15.0) - nokogiri (1.12.5) - mini_portile2 (~> 2.6.1) - racc (~> 1.4) - psych (4.0.3) - stringio - public_suffix (4.0.6) - racc (1.6.0) - rack (1.6.13) - rack-test (0.6.3) - rack (>= 1.0) - rails-deprecated_sanitizer (1.0.4) - activesupport (>= 4.2.0.alpha) - rails-dom-testing (1.0.9) - activesupport (>= 4.2.0, < 5.0) - nokogiri (~> 1.6) - rails-deprecated_sanitizer (>= 1.0.1) - rails-html-sanitizer (1.4.2) - loofah (~> 2.3) - railties (4.2.11.3) - actionpack (= 4.2.11.3) - activesupport (= 4.2.11.3) - rake (>= 0.8.7) - thor (>= 0.18.1, < 2.0) - rake (13.0.6) - rdoc (6.4.0) - psych (>= 4.0.0) - rspec-core (3.9.3) - rspec-support (~> 3.9.3) - rspec-expectations (3.9.4) - diff-lcs (>= 1.2.0, < 2.0) - rspec-support (~> 3.9.0) - rspec-mocks (3.9.1) - diff-lcs (>= 1.2.0, < 2.0) - rspec-support (~> 3.9.0) - rspec-rails (3.9.1) - actionpack (>= 3.0) - activesupport (>= 3.0) - railties (>= 3.0) - rspec-core (~> 3.9.0) - rspec-expectations (~> 3.9.0) - rspec-mocks (~> 3.9.0) - rspec-support (~> 3.9.0) - rspec-support (3.9.4) - sqlite3 (1.3.13) - stringio (3.0.1) - thor (1.2.1) - thread_safe (0.3.6) - tzinfo (1.2.9) - thread_safe (~> 0.1) - -PLATFORMS - ruby - -DEPENDENCIES - RedCloth - actionpack (~> 4.2.5) - activesupport (~> 4.2.5) - apipie-rails! - json-schema (~> 2.8) - maruku - mime-types (~> 2.99.3) - minitest - rake - rdoc - rspec-rails (~> 3.0) - sqlite3 (~> 1.3.6) - test_engine! - -BUNDLED WITH - 1.17.3 diff --git a/lib/apipie/version.rb b/lib/apipie/version.rb index 5935dfb4..50654ea1 100644 --- a/lib/apipie/version.rb +++ b/lib/apipie/version.rb @@ -1,3 +1,3 @@ module Apipie - VERSION = "0.6.0" + VERSION = "0.7.0" end