lib/datasift.rb in datasift-3.0.0.beta vs lib/datasift.rb in datasift-3.0.0.beta2
- old
+ new
@@ -17,10 +17,10 @@
require 'rbconfig'
module DataSift
#
IS_WINDOWS = (RbConfig::CONFIG['host_os'] =~ /mswin|mingw|cygwin/)
- VERSION = File.open('../VERSION').first
+ VERSION = File.open(File.dirname(__FILE__) + '/../VERSION').first
class Client < ApiResource
#+config+:: A hash containing configuration options for the client for e.g.
# {:username => 'some_user', :api_key => 'ds_api_key', :enable_ssl => true, :open_timeout => 30, :timeout => 30}
\ No newline at end of file