lib/json_path.rb in json-path-builder-0.1.0 vs lib/json_path.rb in json-path-builder-0.1.1
- old
+ new
@@ -1,15 +1,11 @@
# frozen_string_literal: true
require 'rordash'
-%w[
- version
- default_data_wrapper
- path_context
- path_context_collection
- builder
-].each do |filename|
- require File.expand_path("../json-path/#{filename}", Pathname.new(__FILE__).realpath)
-end
+require 'json-path/version'
+require 'json-path/default_data_wrapper'
+require 'json-path/path_context'
+require 'json-path/path_context_collection'
+require 'json-path/builder'
module JsonPath; end