grape-swagger-rails 2.0.1 → 2.0.3

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.
data/Gemfile CHANGED
@@ -30,7 +30,7 @@ gem 'json', ENV.fetch('JSON_VERSION') if ENV.key?('JSON_VERSION')
30
30
  group :development, :test do
31
31
  gem 'capybara'
32
32
  gem 'danger', require: false
33
- gem 'danger-changelog', require: false
33
+ gem 'danger-changelog', '~> 0.9.0', require: false
34
34
  gem 'danger-pr-comment', require: false
35
35
  gem 'danger-toc', require: false
36
36
  # Danger 9.6 reopens Git::Base as a class, which is incompatible with git 5.
@@ -44,11 +44,12 @@ group :development, :test do
44
44
  gem 'rack-cors'
45
45
  gem 'rake'
46
46
  gem 'rspec-rails'
47
- gem 'rubocop'
48
- gem 'rubocop-capybara'
47
+ gem 'rubocop', '~> 1.92'
48
+ gem 'rubocop-capybara', '~> 3.1'
49
49
  gem 'rubocop-rake'
50
50
  gem 'rubocop-rspec'
51
- gem 'rubocop-rspec_rails'
51
+ gem 'rubocop-rspec_rails', '~> 2.33'
52
+ gem 'sassc', '~> 2.4', require: false
52
53
  gem 'selenium-webdriver'
53
54
  gem 'sprockets', ENV.fetch('SPROCKETS_VERSION', '>= 4.0.0'), require: false
54
55
  gem 'sprockets-rails', require: false
data/README.md CHANGED
@@ -1,7 +1,8 @@
1
1
  # GrapeSwaggerRails
2
2
 
3
3
  [![Gem Version](https://badge.fury.io/rb/grape-swagger-rails.svg)](http://badge.fury.io/rb/grape-swagger-rails)
4
- [![Tests](https://github.com/ruby-grape/grape-swagger-rails/actions/workflows/test.yml/badge.svg)](https://github.com/ruby-grape/grape-swagger-rails/actions/workflows/test.yml)
4
+ [![Test](https://github.com/ruby-grape/grape-swagger-rails/actions/workflows/test.yml/badge.svg)](https://github.com/ruby-grape/grape-swagger-rails/actions/workflows/test.yml)
5
+ [![Lint](https://github.com/ruby-grape/grape-swagger-rails/actions/workflows/lint.yml/badge.svg)](https://github.com/ruby-grape/grape-swagger-rails/actions/workflows/lint.yml)
5
6
 
6
7
  Swagger UI as Rails Engine for grape-swagger gem.
7
8
 
@@ -44,9 +45,9 @@ Or install it yourself as:
44
45
 
45
46
  This gem is continuously tested against the following stack:
46
47
 
47
- | Ruby | Rails | JSON | Grape | grape-swagger | Swagger UI |
48
- |-----:|-------:|--------:|------:|--------------:|-----------:|
49
- | 3.2+ | 8.1.4–8.1.x | 2.x/3.x | 3.1.x | 2.1.4 | 5.33.0 |
48
+ | Ruby | Rails | JSON | Grape | grape-swagger | Swagger UI |
49
+ | ---: | ---: | ---: | ---: | ---: | ---: |
50
+ | 3.2/3.3/3.4/4.0 | 8.1.4–8.1.x | 2.x/3.x | 3.1.x | 2.1.4 | 5.35.0 |
50
51
 
51
52
  The dummy app and CI also exercise both supported Rails asset pipelines: Sprockets and Propshaft.
52
53
  Rails 8.1.4 is required for JSON 3 compatibility; older Rails versions remain supported by the 1.x gem releases.
data/RELEASING.md CHANGED
@@ -18,7 +18,7 @@ git diff --exit-code app/assets/javascripts/grape_swagger_rails/index.js
18
18
  bundle exec rake
19
19
  ```
20
20
 
21
- Check that the latest [GitHub Actions](https://github.com/ruby-grape/grape-swagger-rails/actions) runs succeeded for both `Tests` and `Frontend`.
21
+ Check that the latest [GitHub Actions](https://github.com/ruby-grape/grape-swagger-rails/actions) runs succeeded for `Test` and `Lint`.
22
22
 
23
23
  Increment the version, modify [lib/grape-swagger-rails/version.rb](lib/grape-swagger-rails/version.rb).
24
24
 
data/Rakefile CHANGED
@@ -19,4 +19,9 @@ RSpec::Core::RakeTask.new(:spec)
19
19
  require 'rubocop/rake_task'
20
20
  RuboCop::RakeTask.new(:rubocop)
21
21
 
22
- task default: %i[rubocop spec]
22
+ desc 'Lint Ruby and GitHub Actions workflows.'
23
+ task lint: :rubocop do
24
+ sh 'actionlint'
25
+ end
26
+
27
+ task default: %i[lint spec]