haile 0.4.0 → 0.4.1

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 34e96756dc75b2ef9a5c9b9e543774571ed8e5fb
4
- data.tar.gz: b379a6c252dda1fead8179c923ae10733294ef70
3
+ metadata.gz: 65fa52606172bb2090064408249ffb3b65db240b
4
+ data.tar.gz: bd72fc208d85733aab7d53e21006c48efb901ca5
5
5
  SHA512:
6
- metadata.gz: c82ef99476bf387e6d77804ef41880c38151cd73344ddb9b9705ca48f0df883e534f57907b731ede634b593705cc1666aca80bda5f5d7a1a2eb8528699be6502
7
- data.tar.gz: 65018902d2629d32fd3afd2a5f56c031dc3303be18121c4ca6ecbf663370903c5bf37099f0954ad5d3aa97fee38165aabe80cba78cca92bb777f9f2929c60d62
6
+ metadata.gz: 42546ed77e8c7c5f9ede98ba8d16cfeea1df6bdbf6b8f1d879215d9e075085e047d86864e489ed6e1858901e5fe3888ee8d229da5fbc904fd63ccd204d24f45d
7
+ data.tar.gz: 67850647d89be5dfef201a5464b5b0f22ff3a50b1555e4a375a659f56ba7d4bf6e2922e38cfa89dfe61f0904c9a3bccf70f036d719fe12d6a8f6425b47f84d99
@@ -115,14 +115,8 @@ module Haile
115
115
 
116
116
  def wrap_request(method, url, options = {})
117
117
  options = @default_options.merge(options)
118
- if method == :get
119
- puts "GET"
120
- http = self.class.send(method, @host + url, options)
121
- return Haile::Response.new(http)
122
- else
123
- puts "#{method} #{@host + url} #{options}"
124
- return
125
- end
118
+ http = self.class.send(method, @host + url, options)
119
+ Haile::Response.new(http)
126
120
  rescue => e
127
121
  Haile::Response.error(e.message)
128
122
  end
@@ -1,3 +1,3 @@
1
1
  module Haile
2
- VERSION = "0.4.0"
2
+ VERSION = "0.4.1"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: haile
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.4.0
4
+ version: 0.4.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Tobi Knaup