dalziel 0.1.1 → 0.1.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
- SHA1:
3
- metadata.gz: e5244735843667adaf84b089543d43d3095e437e
4
- data.tar.gz: 5f893847182a194465cb75a20417e3d07e7d0636
2
+ SHA256:
3
+ metadata.gz: d0a695dec862d15a692dc29b84df7dc5261d41aa6ec5761d2790420c6cf0ea3f
4
+ data.tar.gz: b3d06261f487b0f734339cac7b8e6c5135e613ce76ac6ff723745b83fafd19f1
5
5
  SHA512:
6
- metadata.gz: 7198ed8175e4d9968d8df06fedf1f51268e2b855a662cac327c6679bc795e50362e13c6bd5d3d4a35b0bcb6e99e3efc27b8f773ccaa67441cb063dec92dd6090
7
- data.tar.gz: 6fc7e64929e9ef8a352f688ef66bc43a5e58e78a8f670df76176a3c834878a882ee363f5f6c9f9e579f569eeb2a017004af68a5857617c37f783430619895d66
6
+ metadata.gz: 3ecbc48d6a1637cbb0b5e47af53ac36535b23a9c8a6614b6a7a04a7fa048ebae6913854cfc2f20e450f9e9786c07ffac5db8e929cbdc78670a5fd9f2bfa1a0c1
7
+ data.tar.gz: 0dc3e6e9115795d6034f10e9e07d2bc7175bfdadd930b7b448aa4eb75a70d683fefb88e1ff14c7aa369e708665bf974ba1099c53ab37734fd33a0efd9ed10fdc
@@ -147,7 +147,7 @@ module Dalziel
147
147
  end
148
148
 
149
149
  def failure_message
150
- if @request == []
150
+ if @request.nil? || @request.empty?
151
151
  "No request matched"
152
152
  elsif !@is_json
153
153
  "Accept header is not JSON.\n\n%s\n\nAccept is %s" % [ show_request, @accept.inspect ]
@@ -1,3 +1,3 @@
1
1
  module Dalziel
2
- VERSION = "0.1.1"
2
+ VERSION = "0.1.2"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: dalziel
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.1
4
+ version: 0.1.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - iain
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2017-05-02 00:00:00.000000000 Z
11
+ date: 2019-07-26 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -117,8 +117,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
117
117
  - !ruby/object:Gem::Version
118
118
  version: '0'
119
119
  requirements: []
120
- rubyforge_project:
121
- rubygems_version: 2.6.8
120
+ rubygems_version: 3.0.3
122
121
  signing_key:
123
122
  specification_version: 4
124
123
  summary: Convenience gem for testing JSON API calls