File tree Expand file tree Collapse file tree 4 files changed +2
-9
lines changed Expand file tree Collapse file tree 4 files changed +2
-9
lines changed Original file line number Diff line number Diff line change 11source 'https://rubygems.org'
22
3- gem 'oj' , '~> 3.16'
43gem 'rails' , '~> 7.2.0'
54gem 'redis' , '~> 5.0'
65gem 'tzinfo-data'
Original file line number Diff line number Diff line change 137137 irb (1.14.1 )
138138 rdoc (>= 4.0.0 )
139139 reline (>= 0.4.2 )
140- json (2.7.2 )
140+ json (2.8.1 )
141141 kgio (2.11.4 )
142142 localhost (1.3.1 )
143143 logger (1.6.1 )
172172 racc (~> 1.4 )
173173 nokogiri (1.16.7-x86_64-linux )
174174 racc (~> 1.4 )
175- oj (3.16.6 )
176- bigdecimal (>= 3.0 )
177- ostruct (>= 0.2 )
178175 openssl (3.2.0 )
179- ostruct (0.6.0 )
180176 pg (1.5.8 )
181177 process-metrics (0.3.0 )
182178 console (~> 1.8 )
@@ -275,7 +271,6 @@ PLATFORMS
275271DEPENDENCIES
276272 agoo
277273 falcon (~> 0.47 )
278- oj (~> 3.16 )
279274 pg (~> 1.5 )
280275 puma (~> 6.4 )
281276 rackup
Original file line number Diff line number Diff line change @@ -4,6 +4,6 @@ class JsonController < ApplicationControllerMetal
44 def index
55 add_headers
66 self . content_type = 'application/json'
7- self . response_body = Oj . dump ( { 'message' => 'Hello, World!' } )
7+ self . response_body = { 'message' => 'Hello, World!' } . to_json
88 end
99end
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments