flexirest 1.5.6 → 1.5.7

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: 1b93954670ad807a5d5fd425e8dc837e6fc12391
4
- data.tar.gz: dea19725cce211d236ccf111fecf8853ca5a1ff8
3
+ metadata.gz: 8fff6bddbbfc146aed6bdf17b6cf1e209147828a
4
+ data.tar.gz: cc6acc2caf6b830ec87453d59d7f0aa7a2aecfbd
5
5
  SHA512:
6
- metadata.gz: a03ade8ba0333f75128c5d363a035b27f1d4c17257b60b2ce782513b6c89fc71f4862cb8b5b631dc8fdfe77c5ae9556a41ee1043ad45b3e746edae19fb2f448c
7
- data.tar.gz: 3fa5c79a05012ace79e041df2f403dacf58777beaa55425ae71acf17a248007860b0d0d79d2398e054c4e7472eb985a0b5bf2589394386acffc355f966774694
6
+ metadata.gz: 518b298ccea323da131c0d576cce46769f4fb7a98d2e1e4e6a3ec5826f1ef4c5c1804b93ac492c25050c310e680a2919dd3116af11794f9d29fd856a04f9959e
7
+ data.tar.gz: 05bf183436c1ce77024cebc855229c21d174ee2175472ab8c56ec964c19bef6ebe392f4f2e82dd379f2bcbc3425f4dda6acc9764c8b0bef9dbf109066319088c
@@ -1,5 +1,11 @@
1
1
  # Changelog
2
2
 
3
+ ## 1.5.7
4
+
5
+ Bugfix:
6
+
7
+ - Exceptions don't display a message if no method was set (internal exception?)
8
+
3
9
  ## 1.5.6
4
10
 
5
11
  Feature:
@@ -742,7 +742,8 @@ module Flexirest
742
742
  end
743
743
 
744
744
  def message
745
- "Sending #{@method.upcase} to '#{@request_url}' returned a #{@status} with the body of - #{@raw_response}"
745
+ method = @method.try(:upcase)
746
+ "Sending #{method} to '#{@request_url}' returned a #{@status} with the body of - #{@raw_response}"
746
747
  end
747
748
  end
748
749
  class HTTPClientException < HTTPException ; end
@@ -1,3 +1,3 @@
1
1
  module Flexirest
2
- VERSION = "1.5.6"
2
+ VERSION = "1.5.7"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: flexirest
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.5.6
4
+ version: 1.5.7
5
5
  platform: ruby
6
6
  authors:
7
7
  - Andy Jeffries
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2018-02-21 00:00:00.000000000 Z
11
+ date: 2018-02-26 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler