apipie-rails 1.1.0 → 1.2.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 +12 -48
- data/.github/workflows/rubocop-challenger.yml +2 -2
- data/.github/workflows/rubocop.yml +2 -4
- data/.rubocop.yml +38 -37
- data/.rubocop_todo.yml +45 -64
- data/.vscode/settings.json +3 -0
- data/CHANGELOG.md +11 -2
- data/Gemfile +20 -0
- data/README.rst +6 -6
- data/app/controllers/apipie/apipies_controller.rb +3 -17
- data/gemfiles/Gemfile.tools +9 -0
- data/lib/apipie/application.rb +18 -7
- data/lib/apipie/dsl_definition.rb +1 -1
- data/lib/apipie/extractor/collector.rb +1 -1
- data/lib/apipie/extractor/recorder.rb +1 -1
- data/lib/apipie/generator/swagger/warning.rb +1 -1
- data/lib/apipie/resource_description.rb +28 -3
- data/lib/apipie/version.rb +1 -1
- data/spec/controllers/api/v2/architectures_controller_spec.rb +10 -3
- data/spec/controllers/api/v2/empty_middle_controller_spec.rb +23 -0
- data/spec/controllers/api/v2/nested/resources_controller_spec.rb +16 -0
- data/spec/controllers/api/v2/sub/footguns_controller_spec.rb +19 -0
- data/spec/dummy/app/controllers/api/v2/base_controller.rb +6 -0
- data/spec/dummy/app/controllers/api/v2/empty_middle_controller.rb +14 -0
- data/spec/dummy/app/controllers/api/v2/nested/resources_controller.rb +2 -2
- data/spec/dummy/app/controllers/api/v2/sub/footguns_controller.rb +30 -0
- data/spec/lib/apipie/apipies_controller_spec.rb +63 -19
- data/spec/lib/apipie/extractor/collector_spec.rb +57 -0
- metadata +11 -9
- data/gemfiles/Gemfile.rails50 +0 -10
- data/gemfiles/Gemfile.rails51 +0 -10
- data/gemfiles/Gemfile.rails52 +0 -10
- data/gemfiles/Gemfile.rails60 +0 -17
- data/gemfiles/Gemfile.rails61 +0 -17
- data/gemfiles/Gemfile.rails70 +0 -17
data/gemfiles/Gemfile.rails51
DELETED
@@ -1,10 +0,0 @@
|
|
1
|
-
source "https://rubygems.org"
|
2
|
-
|
3
|
-
gemspec path: '..'
|
4
|
-
|
5
|
-
gem 'actionpack', '~> 5.1.0'
|
6
|
-
gem 'activesupport', '~> 5.1.0'
|
7
|
-
gem 'mime-types', '~> 2.99.3'
|
8
|
-
gem 'rails-controller-testing'
|
9
|
-
|
10
|
-
gem 'test_engine', path: '../spec/dummy/components/test_engine', group: :test
|
data/gemfiles/Gemfile.rails52
DELETED
@@ -1,10 +0,0 @@
|
|
1
|
-
source "https://rubygems.org"
|
2
|
-
|
3
|
-
gemspec path: '..'
|
4
|
-
|
5
|
-
gem 'actionpack', '~> 5.2.6'
|
6
|
-
gem 'activesupport', '~> 5.2.6'
|
7
|
-
gem 'mime-types', '~> 2.99.3'
|
8
|
-
gem 'rails-controller-testing'
|
9
|
-
|
10
|
-
gem 'test_engine', path: '../spec/dummy/components/test_engine', group: :test
|
data/gemfiles/Gemfile.rails60
DELETED
@@ -1,17 +0,0 @@
|
|
1
|
-
source "https://rubygems.org"
|
2
|
-
|
3
|
-
gemspec path: '..'
|
4
|
-
|
5
|
-
gem 'actionpack', '~> 6.0.4'
|
6
|
-
gem 'activesupport', '~> 6.0.4'
|
7
|
-
gem 'mime-types', '~> 3.0'
|
8
|
-
gem 'rails-controller-testing'
|
9
|
-
gem 'rspec-rails', '~> 5.0'
|
10
|
-
|
11
|
-
# net-smtp not included by default in Ruby 3.1
|
12
|
-
# Will be fixed by https://github.com/mikel/mail/pull/1439
|
13
|
-
if Gem.ruby_version >= Gem::Version.new("3.1.0")
|
14
|
-
gem 'net-smtp', require: false
|
15
|
-
end
|
16
|
-
|
17
|
-
gem 'test_engine', path: '../spec/dummy/components/test_engine', group: :test
|
data/gemfiles/Gemfile.rails61
DELETED
@@ -1,17 +0,0 @@
|
|
1
|
-
source "https://rubygems.org"
|
2
|
-
|
3
|
-
gemspec path: '..'
|
4
|
-
|
5
|
-
gem 'actionpack', '~> 6.1.5'
|
6
|
-
gem 'activesupport', '~> 6.1.5'
|
7
|
-
gem 'mime-types', '~> 3.0'
|
8
|
-
gem 'rails-controller-testing'
|
9
|
-
gem 'rspec-rails', '~> 5.0'
|
10
|
-
|
11
|
-
# net-smtp not included by default in Ruby 3.1
|
12
|
-
# Will be fixed by https://github.com/mikel/mail/pull/1439
|
13
|
-
if Gem.ruby_version >= Gem::Version.new("3.1.0")
|
14
|
-
gem 'net-smtp', require: false
|
15
|
-
end
|
16
|
-
|
17
|
-
gem 'test_engine', path: '../spec/dummy/components/test_engine', group: :test
|
data/gemfiles/Gemfile.rails70
DELETED
@@ -1,17 +0,0 @@
|
|
1
|
-
source "https://rubygems.org"
|
2
|
-
|
3
|
-
gemspec path: '..'
|
4
|
-
|
5
|
-
gem 'actionpack', '~> 7.0.2'
|
6
|
-
gem 'activesupport', '~> 7.0.2'
|
7
|
-
gem 'mime-types', '~> 3.0'
|
8
|
-
gem 'rails-controller-testing'
|
9
|
-
gem 'rspec-rails', '~> 5.0'
|
10
|
-
|
11
|
-
# net-smtp not included by default in Ruby 3.1
|
12
|
-
# Will be fixed by https://github.com/mikel/mail/pull/1439
|
13
|
-
if Gem.ruby_version >= Gem::Version.new("3.1.0")
|
14
|
-
gem 'net-smtp', require: false
|
15
|
-
end
|
16
|
-
|
17
|
-
gem 'test_engine', path: '../spec/dummy/components/test_engine', group: :test
|