harpy 0.5.1 → 0.5.2

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: 3e3843732f21eda33ff734e0b29080b46966f8a1
4
- data.tar.gz: 4f9791350c1eea3709ef45871a320f459ccf39f4
3
+ metadata.gz: 8bed557927030aa14a6eac4c5d8e57c110890a7b
4
+ data.tar.gz: 35672a4b3c545ea9d151cd264ab5e7adf2f14ffe
5
5
  SHA512:
6
- metadata.gz: 97eaf62cd6abb978d4bdfe39026c5fa7d3dcb35546bfcc8af7302c9409cc8575bf38fba93394a09b50c02fce283f5a85148a3ea46125c4b0121b32de34b132e8
7
- data.tar.gz: b74f0001b93618e0c740a7294ad5a1b55b4ddcd576a0fecd0a58c17fc2b2e7925e38938d11948db909ff342fb9528a670ae616a3b7882615bf5b4050a966c38b
6
+ metadata.gz: 5a7079b71f44a55f79f0b6fd61e8a88f0f54afd406cd7c3bdd45e8c6b0e17e9b774a0cd0936be7c2abd3fc68ff51973d26ebc53a302d6c58bdd192f071c25541
7
+ data.tar.gz: 0f126afe342c5d29755983e178b2b389eed65ce5cf121a0a0a4b3d176a4594bf344f676f5193ac0637d5c14a938bfaa23f28befc03772a96552c01bcee18aa3c
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- harpy (0.5.1)
4
+ harpy (0.5.2)
5
5
  activemodel (>= 3.1.0)
6
6
  activesupport (>= 3.1.0)
7
7
  hash-deep-merge (~> 0.1.1)
@@ -3,7 +3,7 @@ $:.push File.expand_path("../lib", __FILE__)
3
3
 
4
4
  Gem::Specification.new do |s|
5
5
  s.name = "harpy"
6
- s.version = "0.5.1"
6
+ s.version = "0.5.2"
7
7
  s.platform = Gem::Platform::RUBY
8
8
  s.authors = ["Joseph HALTER", "Jonathan TRON"]
9
9
  s.email = ["joseph.halter@thetalentbox.com", "jonathan.tron@thetalentbox.com"]
@@ -43,7 +43,7 @@ module Harpy
43
43
  if response.timed_out?
44
44
  raise ClientTimeout
45
45
  elsif response.code.zero?
46
- raise ClientError, response.curl_error_message
46
+ raise ClientError, response.return_message
47
47
  else
48
48
  raise InvalidResponseCode, response.code.to_s
49
49
  end
@@ -84,7 +84,7 @@ describe Harpy::Client do
84
84
  end
85
85
  it "raises Harpy::ClientError on code 0" do
86
86
  lambda {
87
- subject.invalid_code double("Response", :timed_out? => false, :code => 0, :curl_error_message => "Could not connect to server")
87
+ subject.invalid_code double("Response", :timed_out? => false, :code => 0, :return_message => "Could not connect to server")
88
88
  }.should raise_error Harpy::ClientError, "Could not connect to server"
89
89
  end
90
90
  it "raises Harpy::InvalidResponseCode with code otherwise" do
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: harpy
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.5.1
4
+ version: 0.5.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Joseph HALTER
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2013-11-07 00:00:00.000000000 Z
12
+ date: 2013-11-17 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: typhoeus