Skip to content

Commit e9f39f9

Browse files
committed
Use Rails 4.1 JSON parsing
activesupport-json_encoder is no longer compatible with Rails 5. This switches back to Rails' default JSON parsing facilities, which may choke on more edge cases. See 4.7.2 of http://guides.rubyonrails.org/upgrading_ruby_on_rails.html
1 parent edcce1f commit e9f39f9

File tree

2 files changed

+0
-4
lines changed

2 files changed

+0
-4
lines changed

Gemfile

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -56,9 +56,6 @@ gem 'git_diff_parser'
5656
# Boolean expression grammar parsing
5757
gem 'citrus'
5858

59-
# Use this to_json method to avoid encoding errors
60-
# gem 'activesupport-json_encoder'
61-
6259
gem 'sinatra', '>= 2.0.0.beta2', require: nil
6360

6461
group :development, :test do

app/workers/commit_auditor.rb

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,6 @@
1515
=end
1616

1717
require 'git_diff_parser'
18-
require 'activesupport/json_encoder'
1918

2019
require_relative "#{Rails.root}/lib/audit_results_builder"
2120
require_relative "#{Rails.root}/lib/github_api"

0 commit comments

Comments
 (0)