-
- Downloads
Upgrade Grape v1.1.0 to v1.3.2
This brings in Ruby 2.7 suport and a number of fixes: https://github.com/ruby-grape/grape/blob/master/CHANGELOG.md 1. Move all inherited Grape::API -> Grape::API::Instance 2. Remove use of Virtus since this has been removed from Grape. 3. Extract Rack::Response from API error 4. Grape v1.2.3 pulled in a fix used in SafeFile: https://github.com/ruby-grape/grape/pull/1844, so we no longer need to maintain our custom type. 5. Adapt WorkhorseFile with the latest changes to make custom types work with Grape and dry-types. 6. Ensure Array[String] is coerced properly. The change from Virtus to dry-types now requires all strings to be coerced to arrays. Before this was done within Virtus. 7. Coerce Array[Integer] types to arrays of integers The change from Virtus to dry-types now requires all strings to be coerced to arrays of integers. Before this was done within Virtus.
Showing
- Gemfile 2 additions, 2 deletionsGemfile
- Gemfile.lock 33 additions, 22 deletionsGemfile.lock
- changelogs/unreleased/sh-update-grape-gem.yml 5 additions, 0 deletionschangelogs/unreleased/sh-update-grape-gem.yml
- doc/development/api_styleguide.md 8 additions, 0 deletionsdoc/development/api_styleguide.md
- doc/development/ee_features.md 6 additions, 6 deletionsdoc/development/ee_features.md
- ee/lib/api/analytics/code_review_analytics.rb 1 addition, 1 deletionee/lib/api/analytics/code_review_analytics.rb
- ee/lib/api/analytics/group_activity_analytics.rb 1 addition, 1 deletionee/lib/api/analytics/group_activity_analytics.rb
- ee/lib/api/audit_events.rb 1 addition, 1 deletionee/lib/api/audit_events.rb
- ee/lib/api/composer_packages.rb 1 addition, 1 deletionee/lib/api/composer_packages.rb
- ee/lib/api/conan_packages.rb 1 addition, 1 deletionee/lib/api/conan_packages.rb
- ee/lib/api/dependencies.rb 2 additions, 1 deletionee/lib/api/dependencies.rb
- ee/lib/api/dependency_proxy.rb 1 addition, 1 deletionee/lib/api/dependency_proxy.rb
- ee/lib/api/elasticsearch_indexed_namespaces.rb 1 addition, 1 deletionee/lib/api/elasticsearch_indexed_namespaces.rb
- ee/lib/api/epic_issues.rb 1 addition, 1 deletionee/lib/api/epic_issues.rb
- ee/lib/api/epic_links.rb 1 addition, 1 deletionee/lib/api/epic_links.rb
- ee/lib/api/epics.rb 4 additions, 4 deletionsee/lib/api/epics.rb
- ee/lib/api/feature_flag_scopes.rb 1 addition, 1 deletionee/lib/api/feature_flag_scopes.rb
- ee/lib/api/feature_flags.rb 1 addition, 1 deletionee/lib/api/feature_flags.rb
- ee/lib/api/feature_flags_user_lists.rb 1 addition, 1 deletionee/lib/api/feature_flags_user_lists.rb
- ee/lib/api/geo.rb 1 addition, 1 deletionee/lib/api/geo.rb
Loading
| Loading
| @@ -19,7 +19,7 @@ gem 'default_value_for', '~> 3.3.0' |
gem 'pg', '~> 1.1' | ||
gem 'rugged', '~> 0.28' | ||
gem 'grape-path-helpers', '~> 1.2' | ||
gem 'grape-path-helpers', '~> 1.3' | ||
gem 'faraday', '~> 0.12' | ||
gem 'marginalia', '~> 1.8.0' | ||
Loading
| Loading
| @@ -82,7 +82,7 @@ gem 'gitlab_omniauth-ldap', '~> 2.1.1', require: 'omniauth-ldap' |
gem 'net-ldap' | ||
# API | ||
gem 'grape', '~> 1.1.0' | ||
gem 'grape', '~> 1.3.2' | ||
gem 'grape-entity', '~> 0.7.1' | ||
gem 'rack-cors', '~> 1.0.6', require: 'rack/cors' | ||
Loading
| Loading
|
Please register or sign in to comment