webspicy 0.20.19 → 0.20.20

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
  SHA256:
3
- metadata.gz: 945c9e5371700999a464707064c86a64b7eba56efa9deb37583f6fc79bdbff08
4
- data.tar.gz: e43c3f9b747e543925ae6a26ab618884b8811a883b155bbadd9546859fe7c962
3
+ metadata.gz: e1540c9120b24bed9351dc01d8906cad2f4ffac8ea478c4e5cdf23ec48e3439d
4
+ data.tar.gz: a188f120ff0bed71f12ed525916ccafdb89e1c62d9fe6e5fc8acc1e7576d1e40
5
5
  SHA512:
6
- metadata.gz: f26bb8fe6e18a393d5510faae5d6e5ef75b22c59ea32e64679509895659ffa94f5fc061144de9f4738584451db9ccf0cee72180b64cc5a4da1e7890f0fd9d905
7
- data.tar.gz: 3b1abd5001586434b8f79bd1d6f5edf79a4828273e155b528f49bc24f2c0eb5d866b5e9c60d825588e03c8e88c46d59337e31f26ad2a01af0cf3d8787a3bd083
6
+ metadata.gz: 582f993602ffec966ee10e7339806ce747acb5b6f93a89a9427687bb4ce098200a33fd99db9adf4fd70575177b25f07b2a3a9014f3513a17a261e0a62c797b3e
7
+ data.tar.gz: 1d42856145ee337d16bfdf85c2e94eaa8b144d8e089b9cadc4d71e607bf023ed9856d229169ca511f80111350255133f1c1c5e6c6a66cea490eff4e2d2ae5a49
@@ -32,10 +32,10 @@ module Webspicy
32
32
  end
33
33
 
34
34
  def subject
35
- @subject ||= data["headerLines"]
36
- .select{|h| h["key"] == "subject" }
37
- .map{|h| h["line"][/Subject:\s*(.*)$/, 1] }
38
- .first
35
+ @subject ||= data["subject"] || data["headerLines"]
36
+ .select{|h| h["key"] == "subject" }
37
+ .map{|h| h["line"][/Subject:\s*(.*)$/, 1] }
38
+ .first
39
39
  end
40
40
 
41
41
  def headers
@@ -2,7 +2,7 @@ module Webspicy
2
2
  module Version
3
3
  MAJOR = 0
4
4
  MINOR = 20
5
- TINY = 19
5
+ TINY = 20
6
6
  end
7
7
  VERSION = "#{Version::MAJOR}.#{Version::MINOR}.#{Version::TINY}"
8
8
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: webspicy
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.20.19
4
+ version: 0.20.20
5
5
  platform: ruby
6
6
  authors:
7
7
  - Bernard Lambeau
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2021-11-23 00:00:00.000000000 Z
11
+ date: 2021-11-25 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rake
@@ -386,7 +386,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
386
386
  - !ruby/object:Gem::Version
387
387
  version: '0'
388
388
  requirements: []
389
- rubygems_version: 3.1.6
389
+ rubygems_version: 3.1.4
390
390
  signing_key:
391
391
  specification_version: 4
392
392
  summary: Webspicy helps testing web services as software operation black boxes!