lib/leancloud-ruby-client.rb in leancloud-ruby-client-0.1.1 vs lib/leancloud-ruby-client.rb in leancloud-ruby-client-0.2.0
- old
+ new
@@ -9,26 +9,26 @@
require 'rubygems'
require 'bundler/setup'
require 'faraday'
require 'faraday_middleware'
-require 'faraday/better_retry'
-require 'faraday/extended_parse_json'
-require 'faraday/get_method_override'
+require_relative 'faraday/better_retry'
+require_relative 'faraday/extended_parse_json'
+require_relative 'faraday/get_method_override'
require 'date'
require 'cgi'
cwd = Pathname(__FILE__).dirname
$:.unshift(cwd.to_s) unless $:.include?(cwd.to_s) || $:.include?(cwd.expand_path.to_s)
-require 'leancloud/object'
-require 'leancloud/query'
-require 'leancloud/datatypes'
-require 'leancloud/util'
-require 'leancloud/protocol'
-require 'leancloud/user'
-require "leancloud/installation"
-require 'leancloud/push'
-require 'leancloud/cloud'
-require 'leancloud/model'
-require 'leancloud/batch'
-require 'leancloud/application'
+require_relative 'leancloud/object'
+require_relative 'leancloud/query'
+require_relative 'leancloud/datatypes'
+require_relative 'leancloud/util'
+require_relative 'leancloud/protocol'
+require_relative 'leancloud/user'
+require_relative "leancloud/installation"
+require_relative 'leancloud/push'
+require_relative 'leancloud/cloud'
+require_relative 'leancloud/model'
+require_relative 'leancloud/batch'
+require_relative 'leancloud/application'