lib/ncmb.rb in ncmb-ruby-client-0.1.3 vs lib/ncmb.rb in ncmb-ruby-client-0.1.4
- old
+ new
@@ -1,26 +1,28 @@
-$:.unshift(File.join(File.dirname(__FILE__), '..', 'lib'))
-$:.unshift(File.dirname(__FILE__))
+# frozen_string_literal: true
+$LOAD_PATH.unshift(File.join(File.dirname(__FILE__), '..', 'lib'))
+$LOAD_PATH.unshift(File.dirname(__FILE__))
+
require 'time'
require 'openssl'
require 'base64'
-require "net/http"
-require "uri"
-require "erb"
-require "json"
+require 'net/http'
+require 'uri'
+require 'erb'
+require 'json'
require 'securerandom'
-require "ncmb/version"
-require "ncmb/client"
-require "ncmb/query"
-require "ncmb/data_store"
-require "ncmb/object"
-require "ncmb/file"
-require "ncmb/user"
-require "ncmb/push"
-require "ncmb/geo_point"
-require "ncmb/increment"
-require "ncmb/acl"
-require "ncmb/role"
-require "ncmb/relation"
-require "ncmb/error"
+require 'ncmb/version'
+require 'ncmb/client'
+require 'ncmb/query'
+require 'ncmb/data_store'
+require 'ncmb/object'
+require 'ncmb/file'
+require 'ncmb/user'
+require 'ncmb/push'
+require 'ncmb/geo_point'
+require 'ncmb/increment'
+require 'ncmb/acl'
+require 'ncmb/role'
+require 'ncmb/relation'
+require 'ncmb/error'