geoloqi 0.9.22 → 0.9.23

Sign up to get free protection for your applications and to get access to all the features.
@@ -10,7 +10,7 @@ module Geoloqi
10
10
  self.auth[:access_token] = opts[:access_token] if opts[:access_token]
11
11
 
12
12
  @connection = Faraday.new(:url => Geoloqi.api_url) do |builder|
13
- builder.response :logger if @config.enable_logging
13
+ # builder.response :logger if @config.enable_logging
14
14
  builder.adapter @config.adapter || :net_http
15
15
  end
16
16
  end
@@ -72,6 +72,7 @@ module Geoloqi
72
72
  meth == :get ? req.params = query : req.body = query.to_json
73
73
  end
74
74
  end
75
+ puts "Geoloqi::Session - #{meth} #{path}?#{Rack::Utils.build_query query} :\n#{raw.status}\n#{raw.headers}\n#{raw.body}" if @config.enable_logging
75
76
  Response.new raw.status, raw.headers, raw.body
76
77
  end
77
78
 
@@ -1,5 +1,5 @@
1
1
  module Geoloqi
2
2
  def self.version
3
- '0.9.22'
3
+ '0.9.23'
4
4
  end
5
5
  end
metadata CHANGED
@@ -2,7 +2,7 @@
2
2
  name: geoloqi
3
3
  version: !ruby/object:Gem::Version
4
4
  prerelease:
5
- version: 0.9.22
5
+ version: 0.9.23
6
6
  platform: ruby
7
7
  authors:
8
8
  - Kyle Drake
@@ -11,7 +11,7 @@ autorequire:
11
11
  bindir: bin
12
12
  cert_chain: []
13
13
 
14
- date: 2011-08-24 00:00:00 -07:00
14
+ date: 2011-08-29 00:00:00 -07:00
15
15
  default_executable:
16
16
  dependencies:
17
17
  - !ruby/object:Gem::Dependency