apipie-rails 1.3.0 → 1.4.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/.github/workflows/build.yml +4 -3
- data/.github/workflows/rubocop-challenger.yml +1 -3
- data/.github/workflows/rubocop.yml +1 -1
- data/CHANGELOG.md +13 -0
- data/Gemfile +2 -3
- data/README.md +2088 -0
- data/apipie-rails.gemspec +7 -1
- data/app/views/apipie/apipies/_method_detail.erb +2 -0
- data/app/views/apipie/apipies/_params.html.erb +1 -0
- data/app/views/apipie/apipies/_params_plain.html.erb +1 -0
- data/config/locales/en.yml +1 -0
- data/config/locales/ko.yml +1 -0
- data/lib/apipie/application.rb +1 -1
- data/lib/apipie/dsl_definition.rb +3 -3
- data/lib/apipie/extractor/writer.rb +1 -1
- data/lib/apipie/generator/swagger/method_description/response_service.rb +14 -1
- data/lib/apipie/param_description.rb +1 -1
- data/lib/apipie/response_description.rb +34 -9
- data/lib/apipie/response_description_adapter.rb +1 -1
- data/lib/apipie/routes_formatter.rb +1 -1
- data/lib/apipie/version.rb +1 -1
- data/rel-eng/gem_release.ipynb +5 -5
- data/spec/controllers/users_controller_spec.rb +1 -1
- data/spec/dummy/app/controllers/api/v2/empty_middle_controller.rb +1 -1
- data/spec/dummy/app/controllers/pets_controller.rb +1 -1
- data/spec/dummy/app/controllers/twitter_example_controller.rb +3 -3
- data/spec/lib/apipie/apipies_controller_spec.rb +1 -1
- data/spec/lib/apipie/file_handler_spec.rb +1 -1
- data/spec/lib/apipie/generator/swagger/method_description/response_service_spec.rb +62 -0
- data/spec/lib/apipie/generator/swagger/param_description/builder_spec.rb +2 -2
- data/spec/lib/apipie/param_description_spec.rb +1 -1
- data/spec/lib/apipie/response_description/response_object_spec.rb +22 -0
- data/spec/lib/apipie/response_description_spec.rb +56 -0
- data/spec/lib/swagger/swagger_dsl_spec.rb +1 -1
- metadata +12 -6
- data/README.rst +0 -1968
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: ad4ac03f9bd83b8517dacdc1827c821bf9413649984eb84dee775ce7972a9e7d
|
4
|
+
data.tar.gz: 4dfa2be9dcc9ac7aab06b930164beb1eede84351c1f9a0eef23aef6e224985cb
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 98af0fe369f7b730c7dbf5a40d8c63e67ae2ca0f5b201ad4510827090a634cb30965dd5c737b46c26bd1e2084153481671e606ee970a814c859277a3eacadd2c
|
7
|
+
data.tar.gz: 5db3aef55422e20fc2b5bcafd2df97daf2ee10a0c09947b77791f614665615d8a607e393a76a72bdbb5f718ff879b048ab49fb49edebd70376fe284d5cb2967a
|
data/.github/workflows/build.yml
CHANGED
@@ -9,8 +9,10 @@ jobs:
|
|
9
9
|
fail-fast: false
|
10
10
|
matrix:
|
11
11
|
rails: ["7.1", "7.0", "6.1", "6.0"]
|
12
|
-
ruby: ["3.
|
12
|
+
ruby: ["3.3", "3.2", "3.1", "3.0", "2.7"]
|
13
13
|
include:
|
14
|
+
- rails: "7.1"
|
15
|
+
ruby: "3.4.0-preview1"
|
14
16
|
- rails: "5.2"
|
15
17
|
ruby: "2.7.8"
|
16
18
|
- rails: "5.1"
|
@@ -19,11 +21,10 @@ jobs:
|
|
19
21
|
ruby: "2.6.10"
|
20
22
|
|
21
23
|
env:
|
22
|
-
RUBY_VERSION: ${{ matrix.ruby }}
|
23
24
|
RAILS_VERSION: ${{ matrix.rails }}
|
24
25
|
|
25
26
|
steps:
|
26
|
-
- uses: actions/checkout@
|
27
|
+
- uses: actions/checkout@v4
|
27
28
|
- uses: ruby/setup-ruby@v1
|
28
29
|
with:
|
29
30
|
ruby-version: ${{ matrix.ruby }}
|
@@ -8,10 +8,8 @@ jobs:
|
|
8
8
|
create-pr:
|
9
9
|
name: Create Pull Request
|
10
10
|
runs-on: ubuntu-latest
|
11
|
-
env:
|
12
|
-
BUNDLE_GEMFILE: gemfiles/Gemfile.rails50
|
13
11
|
steps:
|
14
|
-
- uses: actions/checkout@
|
12
|
+
- uses: actions/checkout@v4
|
15
13
|
- name: Set up Ruby 3.2
|
16
14
|
uses: ruby/setup-ruby@v1
|
17
15
|
with:
|
data/CHANGELOG.md
CHANGED
@@ -1,6 +1,19 @@
|
|
1
1
|
Changelog
|
2
2
|
===========
|
3
3
|
|
4
|
+
## [v1.4.0](https://github.com/Apipie/apipie-rails/tree/v1.4.0) (2024-05-30)
|
5
|
+
[Full Changelog](https://github.com/Apipie/apipie-rails/compare/v1.3.0...v1.4.0)
|
6
|
+
* Add Ruby 3.3.0 to CI build matrix (#906) Masato Nakamura
|
7
|
+
* Fix rubocop CI (#910) (Masato Nakamura)
|
8
|
+
* Add metadata for rubygems.org and use https URLs (#909) (Masato Nakamura)
|
9
|
+
* Bump GHA actions/checkout to be on node20 by default (#911) (Masato Nakamura)
|
10
|
+
* Convert readme to markdown (#920) (Panos Dalitsouris)
|
11
|
+
* Fix typos, Found via `codespell` (#921) (Kian-Meng Ang)
|
12
|
+
* Bump ruby versions on test jobs (#927) (Masato Nakamura)
|
13
|
+
* Support for Ruby 3.4.0-preview1 (#929) (Masato Nakamura)
|
14
|
+
* Add "blank allowed" message to api doc (#926) (Peko)
|
15
|
+
* Custom headers responses (#924) (Panos Dalitsouris)
|
16
|
+
|
4
17
|
## [v1.3.0](https://github.com/Apipie/apipie-rails/tree/v1.3.0) (2023-12-19)
|
5
18
|
[Full Changelog](https://github.com/Apipie/apipie-rails/compare/v1.2.3...v1.3.0)
|
6
19
|
* rubocop fixes ([#897](https://github.com/Apipie/apipie-rails/pull/897)) (Mathieu Jobin)
|
data/Gemfile
CHANGED
@@ -5,9 +5,8 @@ source 'https://rubygems.org'
|
|
5
5
|
gemspec path: '.'
|
6
6
|
|
7
7
|
# use ENV vars, with default value as fallback for local setup
|
8
|
-
|
9
|
-
gem '
|
10
|
-
gem 'activesupport', "~> #{ENV['RAILS_VERSION'] || '7.0'}.0"
|
8
|
+
gem 'actionpack', "~> #{ENV['RAILS_VERSION'] || '7.1'}.0"
|
9
|
+
gem 'activesupport', "~> #{ENV['RAILS_VERSION'] || '7.1'}.0"
|
11
10
|
|
12
11
|
gem 'mime-types' # , '~> 3.0'
|
13
12
|
gem 'rails-controller-testing'
|