Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Keep gem in fit #65

Closed
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/danger.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ jobs:
- name: Set up Ruby
uses: ruby/setup-ruby@v1
with:
ruby-version: 2.7
ruby-version: 3.0
bundler-cache: true
rubygems: latest
- name: Run Danger
Expand Down
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
#### Fixes

* Your contribution here.
* [#65](https://github.com/ruby-grape/grape-swagger-entity/pull/65): Bump ruby version required for danger workflow - [@numbata](https://github.com/numbata).

### 0.5.2 (2023/07/07)

Expand Down
2 changes: 1 addition & 1 deletion lib/grape-swagger/entity/attribute_parser.rb
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ def ambiguous_model_type?(type)

def data_type_from(documentation)
documented_type = documentation[:type]
documented_type ||= (documentation[:documentation] && documentation[:documentation][:type])
documented_type ||= documentation[:documentation] && documentation[:documentation][:type]

data_type = GrapeSwagger::DocMethods::DataType.call(documented_type)

Expand Down
Loading