Skip to content

Commit 7c577c8

Browse files
committed
Resolve merge conflicts with hotfix and drop multi_json dependency
1 parent 09ed8be commit 7c577c8

2 files changed

Lines changed: 0 additions & 7 deletions

File tree

grape-entity.gemspec

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,6 @@ Gem::Specification.new do |s|
2525
s.required_ruby_version = '>= 3.0'
2626

2727
s.add_dependency 'activesupport', '>= 3.0.0'
28-
s.add_dependency 'multi_json', '>= 1.0'
2928

3029
s.files = Dir['lib/**/*.rb', 'CHANGELOG.md', 'LICENSE', 'README.md']
3130
s.require_paths = ['lib']

lib/grape_entity/entity.rb

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -592,13 +592,7 @@ def is_defined_in_entity?(attribute)
592592

593593
def to_json(options = {})
594594
options = options.to_h if options&.respond_to?(:to_h)
595-
<<<<<<< HEAD
596-
MultiJson.dump(serializable_hash(options))
597-
||||||| parent of 374a021 (Fix Time serialization regression introduced by dropping MultiJson)
598-
Grape::Entity::Json.dump(serializable_hash(options))
599-
=======
600595
serializable_hash(options).to_json
601-
>>>>>>> 374a021 (Fix Time serialization regression introduced by dropping MultiJson)
602596
end
603597

604598
def to_xml(options = {})

0 commit comments

Comments
 (0)