We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 190d1b3 commit 17772ceCopy full SHA for 17772ce
.github/workflows/tests.yml
@@ -25,6 +25,8 @@ jobs:
25
exclude:
26
- ruby: 2.7.2
27
rails: 5.0.7.2
28
+ - ruby: 2.6.6
29
+ rails: 5.0.7.2
30
31
rails: 4.2.11
32
- ruby: 2.6.6
@@ -41,4 +43,4 @@ jobs:
41
43
- name: Install dependencies
42
44
run: bundle install --jobs 4 --retry 3
45
- name: Run tests
- run: bundle exec rake test
46
+ run: bundle exec rake test
lib/jsonapi/error.rb
@@ -15,7 +15,7 @@ def initialize(options = {})
15
@source = options[:source]
16
@links = options[:links]
17
18
- @status = Rack::Utils::SYMBOL_TO_STATUS_CODE[options[:status]].to_s
+ @status = Rack::Utils.status_code(options[:status]).to_s
19
@meta = options[:meta]
20
end
21
0 commit comments