Skip to content

Commit

Permalink
Fatal error solved (when oj is installed)
Browse files Browse the repository at this point in the history
  • Loading branch information
lmrodriguezr committed Apr 1, 2024
1 parent 5d36c3c commit be0a10e
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion lib/miga/json.rb
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
require 'json'
begin
require 'oj'
OJ.mimic_JSON()
Oj.mimic_JSON()
rescue LoadError
# Do nothing if not available
end
Expand Down
4 changes: 2 additions & 2 deletions lib/miga/version.rb
Original file line number Diff line number Diff line change
Expand Up @@ -12,15 +12,15 @@ module MiGA
# - String indicating release status:
# - rc* release candidate, not released as gem
# - [0-9]+ stable release, released as gem
VERSION = [1.3, 13, 8].freeze
VERSION = [1.3, 13, 9].freeze

##
# Nickname for the current major.minor version.
VERSION_NAME = 'mezzotint'

##
# Date of the current gem relese.
VERSION_DATE = Date.new(2024, 3, 23)
VERSION_DATE = Date.new(2024, 3, 31)

##
# References of MiGA
Expand Down

0 comments on commit be0a10e

Please sign in to comment.